:root {
  --bg: #07111f;
  --bg-2: #0b1728;
  --panel: #101d2f;
  --panel-2: #132337;
  --line: rgba(174, 199, 224, 0.16);
  --text: #eef6ff;
  --muted: #9fb0c5;
  --cyan: #23d7ef;
  --cyan-2: #77ecff;
  --orange: #ff8a3d;
  --white: #ffffff;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.34);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font-family: "Inter", "Pretendard", "Segoe UI", system-ui, -apple-system, sans-serif;
  line-height: 1.6;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: -48px;
  z-index: 100;
  background: var(--cyan);
  color: #041019;
  padding: 10px 14px;
  border-radius: 6px;
}

.skip-link:focus {
  top: 16px;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  border-bottom: 1px solid transparent;
  transition: background 180ms ease, border-color 180ms ease;
}

.site-header.is-scrolled {
  background: rgba(5, 12, 22, 0.9);
  border-color: var(--line);
  backdrop-filter: blur(14px);
}

.nav-shell,
.container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.nav-shell {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
}

.brand img {
  flex: 0 0 auto;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 1rem;
}

.brand small {
  color: var(--muted);
  font-size: 0.75rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  color: #c7d6e8;
  font-size: 0.95rem;
}

.nav-links a {
  transition: color 160ms ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--white);
}

.nav-cta {
  border: 1px solid rgba(35, 215, 239, 0.45);
  padding: 9px 14px;
  color: var(--cyan-2);
  border-radius: 6px;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  place-items: center;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 3px auto;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 92vh;
  overflow: hidden;
  display: grid;
  align-items: center;
  padding: 120px 0 72px;
}

.hero-media,
.hero-media img,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(4, 10, 18, 0.94) 0%, rgba(4, 10, 18, 0.78) 43%, rgba(4, 10, 18, 0.2) 100%),
    linear-gradient(0deg, #07111f 0%, rgba(7, 17, 31, 0) 28%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 56px;
  align-items: end;
}

.eyebrow,
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--cyan-2);
  font-weight: 700;
  letter-spacing: 0;
}

.hero h1 {
  margin: 22px 0 6px;
  font-size: clamp(3.7rem, 7vw, 7.2rem);
  line-height: 0.92;
  letter-spacing: 0;
}

.hero-kicker {
  margin: 0;
  color: var(--white);
  font-size: clamp(1.35rem, 2.3vw, 2.3rem);
  font-weight: 700;
}

.hero-ko {
  margin: 10px 0 0;
  color: var(--orange);
  font-size: clamp(1.1rem, 1.7vw, 1.45rem);
  font-weight: 700;
}

.hero-desc {
  max-width: 620px;
  margin: 18px 0 0;
  color: #d4e2f2;
  font-size: 1.12rem;
}

.hero-actions,
.download-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 6px;
  border: 1px solid transparent;
  font-weight: 800;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--cyan);
  color: #031018;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.22);
  color: var(--text);
}

.btn-ghost {
  background: transparent;
  border-color: rgba(119, 236, 255, 0.28);
  color: var(--cyan-2);
}

.console-preview {
  background: rgba(9, 20, 35, 0.76);
  border: 1px solid rgba(160, 195, 230, 0.22);
  border-radius: 8px;
  box-shadow: var(--shadow);
  padding: 18px;
  backdrop-filter: blur(16px);
}

.preview-top,
.preview-status p {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
}

.preview-top span {
  color: var(--muted);
}

.preview-top strong {
  color: var(--cyan-2);
}

.monitor-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin: 18px 0;
}

.monitor-grid span {
  aspect-ratio: 1.35;
  border-radius: 4px;
  background: linear-gradient(135deg, #162b42, #0d1929);
  border: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
}

.monitor-grid span::after {
  content: "";
  position: absolute;
  left: 8px;
  top: 8px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #6d7b8d;
}

.monitor-grid .active::after {
  background: var(--cyan);
}

.monitor-grid .warn::after {
  background: var(--orange);
}

.preview-status {
  border-top: 1px solid var(--line);
  padding-top: 10px;
}

.preview-status p {
  margin: 8px 0 0;
  font-size: 0.82rem;
  color: var(--muted);
}

.preview-status span {
  overflow-wrap: anywhere;
  text-align: right;
}

.section {
  padding: 96px 0;
  background: var(--bg);
}

.section:nth-of-type(even) {
  background: var(--bg-2);
}

.section-head {
  max-width: 760px;
  margin-bottom: 38px;
}

h2 {
  margin: 10px 0 12px;
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.12;
  letter-spacing: 0;
}

h3 {
  margin: 0 0 10px;
  font-size: 1.15rem;
  line-height: 1.35;
}

p {
  color: var(--muted);
}

.intro-band {
  padding: 70px 0;
}

.intro-grid,
.split,
.pricing-grid,
.contact-grid,
.roadmap-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.82fr);
  gap: 48px;
  align-items: center;
}

.intro-grid picture,
.split img {
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--panel);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.feature-grid article,
.price-panel,
.roadmap-items article,
.contact-form,
.flow-node {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.02));
}

.feature-grid article {
  padding: 24px;
  min-height: 190px;
}

.feature-grid article span {
  display: block;
  margin-bottom: 24px;
  color: var(--orange);
  font-weight: 800;
}

.feature-grid .wide {
  grid-column: span 3;
  min-height: 0;
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 0 24px;
}

.feature-grid .wide p {
  grid-column: 2;
}

.architecture {
  background: #081320;
}

.flow {
  display: grid;
  grid-template-columns: 1fr 150px 1fr 150px 1fr;
  align-items: center;
  gap: 0;
}

.flow-node {
  padding: 24px;
  min-height: 210px;
}

.flow-node b,
.flow-node span {
  display: block;
}

.flow-node b {
  font-size: 1.25rem;
}

.flow-node span {
  color: var(--cyan-2);
  margin: 6px 0 18px;
}

.flow-node p {
  overflow-wrap: anywhere;
}

.flow-node.relay {
  border-color: rgba(35, 215, 239, 0.42);
}

.flow-line {
  height: 1px;
  background: rgba(119, 236, 255, 0.46);
  position: relative;
}

.flow-line span {
  position: absolute;
  left: 50%;
  top: -16px;
  transform: translateX(-50%);
  color: var(--muted);
  white-space: nowrap;
  font-size: 0.8rem;
}

.check-list,
.price-panel ul {
  padding: 0;
  margin: 24px 0 0;
  list-style: none;
}

.check-list li,
.price-panel li {
  position: relative;
  padding-left: 24px;
  margin: 12px 0;
  color: #c7d6e8;
}

.check-list li::before,
.price-panel li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 8px;
  height: 8px;
  background: var(--cyan);
}

.pricing {
  background: #07111f;
}

.price-panel {
  padding: 30px;
}

.price-panel strong {
  display: block;
  margin: 10px 0 20px;
  font-size: 2.6rem;
  color: var(--orange);
}

.roadmap-items {
  display: grid;
  gap: 14px;
}

.roadmap-items article {
  padding: 24px;
}

.contact {
  background: #081320;
}

.contact-note {
  display: grid;
  gap: 6px;
  margin-top: 28px;
  color: var(--muted);
}

.contact-note b {
  color: var(--text);
}

.contact-note span {
  overflow-wrap: anywhere;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  padding: 24px;
}

.contact-form label {
  display: grid;
  gap: 7px;
  color: #d8e7f7;
  font-weight: 700;
}

.contact-form .full {
  grid-column: 1 / -1;
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid rgba(174, 199, 224, 0.24);
  border-radius: 6px;
  background: rgba(3, 10, 18, 0.6);
  color: var(--text);
  padding: 12px 13px;
  outline: none;
}

textarea {
  resize: vertical;
}

input:focus,
textarea:focus,
select:focus,
.btn:focus-visible,
.nav-cta:focus-visible,
.menu-toggle:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 2px;
}

.form-status {
  grid-column: 1 / -1;
  min-height: 24px;
  margin: 0;
  color: var(--cyan-2);
}

.footer {
  border-top: 1px solid var(--line);
  padding: 28px 0;
  background: #050c16;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer p {
  margin: 0;
}

.detail-hero,
.pricing-hero {
  position: relative;
  overflow: hidden;
  padding: 150px 0 90px;
  background: #06101d;
}

.detail-hero-media {
  position: absolute;
  inset: 0;
  opacity: 0.42;
}

.detail-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.detail-hero::after,
.pricing-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(5, 12, 22, 0.96), rgba(5, 12, 22, 0.72), rgba(5, 12, 22, 0.34));
}

.detail-hero-inner,
.pricing-hero-grid {
  position: relative;
  z-index: 1;
}

.detail-hero h1,
.pricing-hero h1 {
  max-width: 920px;
  margin: 12px 0 18px;
  font-size: clamp(2.5rem, 5vw, 5rem);
  line-height: 1.05;
  letter-spacing: 0;
}

.detail-hero p,
.pricing-hero p {
  max-width: 760px;
  font-size: 1.08rem;
  color: #d2dfed;
}

.story-grid,
.calculator-grid,
.estimate-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1fr);
  gap: 44px;
  align-items: start;
}

.story-points,
.pricing-notes {
  display: grid;
  gap: 14px;
}

.story-points article,
.pricing-notes article,
.estimate-card,
.calculator,
.pricing-summary,
.detail-flow div {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.02));
}

.story-points article,
.pricing-notes article {
  padding: 22px;
}

.story-points b,
.pricing-notes b {
  display: block;
  margin-bottom: 8px;
}

.story-points span {
  display: block;
  color: var(--muted);
}

.product-shot {
  padding-top: 0;
}

.product-shot img {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.product-shot-caption {
  max-width: 780px;
  margin-top: 28px;
}

.usecase-grid,
.detail-flow {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.usecase-grid article {
  border-top: 2px solid rgba(35, 215, 239, 0.72);
  padding: 24px 0 0;
}

.usecase-grid span {
  display: block;
  margin-bottom: 22px;
  color: var(--orange);
  font-weight: 800;
}

.detail-flow div {
  padding: 24px;
  min-height: 190px;
}

.detail-flow b {
  display: block;
  margin-bottom: 14px;
  color: var(--cyan-2);
  font-size: 1.1rem;
}

.final-cta {
  background: #081320;
}

.final-cta .container {
  max-width: 880px;
}

.pricing-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 48px;
  align-items: center;
}

.pricing-summary {
  padding: 28px;
}

.pricing-summary b,
.pricing-summary span {
  display: block;
}

.pricing-summary strong {
  display: block;
  margin: 12px 0 4px;
  color: var(--orange);
  font-size: 3rem;
  line-height: 1;
}

.pricing-summary .btn {
  margin-top: 24px;
  width: 100%;
}

.pricing-overview {
  background: #07111f;
}

.plan-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.plan-cards article {
  min-height: 260px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.018));
}

.plan-cards article.featured {
  border-color: rgba(35, 215, 239, 0.58);
  background: linear-gradient(180deg, rgba(35, 215, 239, 0.12), rgba(255, 255, 255, 0.02));
}

.plan-cards span {
  color: var(--cyan-2);
  font-weight: 800;
}

.plan-cards h3 {
  margin-top: 18px;
}

.plan-cards strong {
  display: block;
  margin: 18px 0 14px;
  color: var(--orange);
  font-size: clamp(2rem, 3vw, 3.1rem);
  line-height: 1;
}

.plan-cards small {
  color: var(--muted);
  font-size: 0.9rem;
}

.price-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.price-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
  background: rgba(255, 255, 255, 0.025);
}

.price-table th,
.price-table td {
  padding: 17px 18px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

.price-table th {
  color: var(--cyan-2);
  font-size: 0.92rem;
}

.price-table td:nth-child(2) {
  color: var(--white);
  font-weight: 800;
}

.price-table tr:last-child td {
  border-bottom: 0;
}

.pricing-notes {
  grid-template-columns: repeat(3, 1fr);
  margin-top: 18px;
}

.calculator-section {
  background: #081320;
}

.calculator {
  display: grid;
  gap: 20px;
  padding: 28px;
  box-shadow: var(--shadow);
}

.calculator-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.calculator-fields .full {
  grid-column: 1 / -1;
}

.calculator label {
  display: grid;
  gap: 8px;
  color: #d8e7f7;
  font-weight: 800;
}

.calculator-result {
  display: grid;
  gap: 0;
  margin-top: 0;
  padding-top: 8px;
  border-top: 1px solid var(--line);
}

.calculator-result p,
.estimate-card p {
  margin: 0;
}

.calculator-result p {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(174, 199, 224, 0.1);
}

.calculator-result b {
  color: var(--white);
  text-align: right;
}

.calculator-result .total {
  margin-top: 4px;
  border-bottom: 0;
  color: var(--text);
  font-size: 1.18rem;
}

.calculator-result .total b {
  color: var(--orange);
}

.calculator-note {
  display: grid;
  gap: 8px;
  margin-top: 24px;
  padding: 18px;
  border-left: 2px solid var(--cyan);
  background: rgba(255, 255, 255, 0.035);
}

.calculator-note b {
  color: var(--text);
}

.calculator-note span {
  color: var(--muted);
}

.estimate-section {
  background: #081320;
}

.estimate-card {
  padding: 30px;
}

.estimate-card span {
  color: var(--cyan-2);
  font-weight: 800;
}

.estimate-card strong {
  display: block;
  margin: 12px 0;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  line-height: 1.15;
  color: var(--orange);
}

.price-matrix {
  display: grid;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.matrix-row {
  display: grid;
  grid-template-columns: 180px 220px 1fr;
  align-items: center;
  gap: 18px;
  min-height: 64px;
  padding: 0 22px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.025);
}

.matrix-row:last-child {
  border-bottom: 0;
}

.matrix-row.head {
  min-height: 52px;
  color: var(--cyan-2);
  font-size: 0.9rem;
  font-weight: 800;
  background: rgba(35, 215, 239, 0.08);
}

.matrix-row b {
  color: var(--white);
}

.matrix-row.highlight {
  background: rgba(35, 215, 239, 0.075);
}

.matrix-row span:last-child {
  color: var(--muted);
}

.download-hero {
  position: relative;
  overflow: hidden;
  padding: 118px 0 78px;
  background:
    linear-gradient(90deg, rgba(6, 16, 29, 0.96), rgba(6, 16, 29, 0.9)),
    url("/assets/SEOA_product_family_banner_1920x640.png") center / cover;
}

.download-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: var(--line);
}

.download-hero .container {
  position: relative;
  z-index: 1;
}

.download-hero-copy {
  max-width: 840px;
  margin-bottom: 30px;
}

.download-hero h1 {
  margin: 10px 0 14px;
  font-size: clamp(2.4rem, 5vw, 4.6rem);
  line-height: 1.02;
}

.download-hero p {
  max-width: 760px;
  margin: 0;
  font-size: 1.08rem;
  color: #d1dfef;
}

.insight-hero {
  padding: calc(var(--header-h) + 72px) 0 78px;
  background:
    linear-gradient(90deg, rgba(5, 12, 22, 0.96), rgba(5, 12, 22, 0.86)),
    url("/assets/SEOA_clean_brand_banner_1600x840.png") center / cover;
}

.insight-hero h1 {
  max-width: 760px;
  margin: 14px 0 14px;
  font-size: clamp(2.25rem, 4vw, 3.8rem);
  line-height: 1.16;
  word-break: keep-all;
}

.insight-hero p {
  max-width: 720px;
  margin: 0;
  color: #c7d7e9;
  font-size: 1.06rem;
}

.insight-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.44fr) minmax(0, 1fr);
  gap: 34px;
  align-items: start;
}

.notice-panel {
  position: sticky;
  top: calc(var(--header-h) + 22px);
  display: grid;
  gap: 16px;
  padding: 24px;
  border: 1px solid rgba(174, 199, 224, 0.16);
  border-radius: 8px;
  background: rgba(9, 20, 35, 0.86);
}

.notice-panel h2 {
  margin: 0;
  font-size: 1.7rem;
}

.notice-panel article {
  padding-top: 16px;
  border-top: 1px solid rgba(174, 199, 224, 0.12);
}

.notice-panel time,
.article-card span,
.article-back {
  color: var(--cyan-2);
  font-size: 0.88rem;
  font-weight: 800;
}

.notice-panel h3,
.article-card h3 {
  margin: 7px 0 8px;
}

.notice-panel p,
.article-card p {
  margin: 0;
  color: var(--muted);
}

.article-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.article-card {
  display: grid;
  align-content: start;
  min-height: 260px;
  padding: 24px;
  border: 1px solid rgba(174, 199, 224, 0.16);
  border-radius: 8px;
  background: linear-gradient(145deg, rgba(17, 31, 49, 0.86), rgba(9, 20, 35, 0.86));
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.article-card:hover,
.article-card:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(119, 236, 255, 0.36);
  background: linear-gradient(145deg, rgba(20, 38, 59, 0.94), rgba(9, 20, 35, 0.9));
}

.article-main {
  padding: calc(var(--header-h) + 54px) 20px 84px;
}

.article-body {
  width: min(860px, 100%);
  margin: 0 auto;
}

.article-back {
  display: inline-flex;
  margin-bottom: 20px;
}

.article-body h1 {
  margin: 14px 0 18px;
  font-size: clamp(2.05rem, 3.7vw, 3.6rem);
  line-height: 1.18;
  word-break: keep-all;
}

.article-lead {
  color: #d5e4f4;
  font-size: 1.12rem;
}

.article-body img {
  width: 100%;
  margin: 30px 0 36px;
  border: 1px solid rgba(174, 199, 224, 0.14);
  border-radius: 8px;
}

.article-body h2 {
  margin: 34px 0 10px;
  font-size: clamp(1.35rem, 2.2vw, 2rem);
}

.article-body p {
  color: #b8c9dc;
  word-break: keep-all;
}

.download-choice-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.download-choice {
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  gap: 14px;
  min-height: 310px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(7, 17, 31, 0.88);
  backdrop-filter: blur(12px);
}

.download-choice.console {
  border-color: rgba(35, 215, 239, 0.48);
}

.download-choice.agent {
  border-color: rgba(255, 138, 61, 0.42);
}

.choice-label {
  width: fit-content;
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  padding: 0 11px;
  border: 1px solid rgba(119, 236, 255, 0.34);
  border-radius: 999px;
  color: var(--cyan-2);
  font-size: 0.86rem;
  font-weight: 800;
}

.download-choice.agent .choice-label {
  border-color: rgba(255, 138, 61, 0.36);
  color: var(--orange);
}

.download-choice h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.download-choice p {
  max-width: 520px;
  margin: 0;
}

.download-choice dl {
  display: grid;
  gap: 8px;
  margin: 2px 0 4px;
}

.download-choice dl div {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 10px 0;
  border-top: 1px solid rgba(174, 199, 224, 0.12);
}

.download-choice dt {
  color: var(--muted);
}

.download-choice dd {
  margin: 0;
  color: var(--text);
  font-weight: 800;
  text-align: right;
}

.download-choice .btn {
  align-self: end;
}

.role-card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.role-card-grid article {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
}

.role-card-grid span {
  color: var(--cyan-2);
  font-weight: 800;
}

.role-card-grid h3 {
  margin-top: 14px;
  font-size: 1.55rem;
}

.install-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.install-steps article {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
}

.install-steps b {
  display: inline-flex;
  width: 32px;
  height: 32px;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  background: var(--cyan);
  color: #041019;
  border-radius: 50%;
}

@media (max-width: 980px) {
  .menu-toggle {
    display: block;
  }

  .nav-links {
    position: fixed;
    left: 20px;
    right: 20px;
    top: 78px;
    display: none;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(6, 14, 25, 0.97);
    box-shadow: var(--shadow);
  }

  .nav-links.is-open {
    display: grid;
  }

  .nav-cta {
    text-align: center;
  }

  .hero-inner,
  .intro-grid,
  .split,
  .pricing-grid,
  .contact-grid,
  .roadmap-grid,
  .story-grid,
  .calculator-grid,
  .estimate-grid,
  .pricing-hero-grid {
    grid-template-columns: 1fr;
  }

  .console-preview {
    max-width: 520px;
  }

  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .feature-grid .wide {
    grid-column: span 2;
  }

  .flow {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .usecase-grid,
  .detail-flow,
  .pricing-notes,
  .plan-cards,
  .install-steps {
    grid-template-columns: 1fr;
  }

  .download-choice-grid,
  .role-card-grid {
    grid-template-columns: 1fr;
  }

  .flow-line {
    width: 1px;
    height: 42px;
    margin: 0 auto;
  }

  .flow-line span {
    left: 18px;
    top: 8px;
    transform: none;
  }
}

@media (max-width: 640px) {
  .nav-shell,
  .container,
  .hero-inner {
    width: min(100% - 28px, 1180px);
  }

  .hero {
    min-height: auto;
    padding: 104px 0 52px;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(4, 10, 18, 0.96), rgba(4, 10, 18, 0.72)),
      linear-gradient(0deg, #07111f 0%, rgba(7, 17, 31, 0) 34%);
  }

  .hero h1 {
    font-size: clamp(3.25rem, 18vw, 4.5rem);
  }

  .btn {
    width: 100%;
  }

  .section {
    padding: 68px 0;
  }

  .detail-hero,
  .pricing-hero,
  .download-hero {
    padding: 120px 0 64px;
  }

  .feature-grid,
  .feature-grid .wide,
  .contact-form {
    grid-template-columns: 1fr;
  }

  .feature-grid .wide {
    display: block;
    grid-column: auto;
  }

  .feature-grid .wide p,
  .contact-form .full {
    grid-column: auto;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .calculator-result p {
    display: grid;
    gap: 2px;
  }

  .calculator-result b {
    text-align: left;
  }

  .calculator-fields,
  .matrix-row {
    grid-template-columns: 1fr;
  }

  .matrix-row {
    gap: 4px;
    padding: 16px;
  }

  .matrix-row.head {
    display: none;
  }
}

/* Download page refinement */
.download-page .site-header {
  background: rgba(5, 12, 22, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.download-page .download-hero {
  min-height: 720px;
  padding: 132px 0 78px;
  display: flex;
  align-items: center;
  background:
    linear-gradient(90deg, rgba(5, 12, 22, 0.98) 0%, rgba(5, 12, 22, 0.94) 46%, rgba(5, 12, 22, 0.84) 100%),
    url("/assets/SEOA_product_family_banner_1920x640.png") center / cover;
}

.download-page .download-hero-copy {
  max-width: 760px;
  margin-bottom: 34px;
}

.download-page .download-hero h1 {
  margin: 8px 0 14px;
  font-size: clamp(2.6rem, 4.2vw, 4.4rem);
  line-height: 1.04;
  font-weight: 850;
}

.download-page .download-hero p {
  max-width: 720px;
  font-size: 1.04rem;
  line-height: 1.75;
  color: #c8d8e9;
}

.download-page .download-choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.download-page .download-choice {
  min-height: 300px;
  padding: 28px;
  border-radius: 8px;
  background: rgba(9, 20, 35, 0.9);
  box-shadow: 0 18px 54px rgba(0, 0, 0, 0.24);
}

.download-page .download-choice h2 {
  font-size: clamp(1.75rem, 2.4vw, 2.45rem);
  line-height: 1.12;
}

.download-page .download-choice p {
  font-size: 0.98rem;
  line-height: 1.65;
}

.download-page .download-choice dl {
  align-self: end;
}

.download-page .download-choice dl div {
  padding: 9px 0;
}

.download-page .download-choice .btn {
  width: 100%;
  margin-top: 2px;
}

.download-page .role-card-grid {
  align-items: stretch;
}

.download-page .role-card-grid article,
.download-page .install-steps article {
  background: rgba(255, 255, 255, 0.025);
}

.download-page .role-card-grid h3 {
  font-size: 1.35rem;
}

@media (max-width: 980px) {
  .download-page .download-hero {
    min-height: auto;
    padding: 118px 0 64px;
  }

  .download-page .download-choice-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .download-page .download-hero h1 {
    font-size: clamp(2.25rem, 12vw, 3.25rem);
  }

  .download-page .download-choice {
    min-height: 0;
    padding: 22px;
  }

  .download-page .download-choice dl div {
    display: grid;
    gap: 2px;
  }

  .download-page .download-choice dd {
    text-align: left;
  }
}

/* Site-wide polish pass */
:root {
  --container: 1120px;
  --header-h: 72px;
  --section-y: 88px;
}

body {
  text-rendering: optimizeLegibility;
}

.nav-shell,
.container,
.hero-inner {
  width: min(var(--container), calc(100% - 48px));
}

.site-header {
  min-height: var(--header-h);
  background: rgba(5, 12, 22, 0.84);
  border-bottom: 1px solid rgba(174, 199, 224, 0.12);
  backdrop-filter: blur(16px);
}

.nav-shell {
  min-height: var(--header-h);
}

.brand strong {
  font-size: 0.98rem;
  line-height: 1.2;
}

.brand small {
  margin-top: 2px;
  font-size: 0.72rem;
}

.nav-links {
  gap: 22px;
  font-size: 0.92rem;
}

.nav-links a[aria-current="page"] {
  color: var(--cyan-2);
}

.nav-cta {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
}

.section {
  padding: var(--section-y) 0;
}

.section-head {
  max-width: 720px;
  margin-bottom: 34px;
}

.section-label {
  font-size: 0.9rem;
}

h2 {
  font-size: clamp(1.85rem, 3.1vw, 2.75rem);
  line-height: 1.16;
}

h3 {
  font-size: 1.08rem;
}

p {
  line-height: 1.72;
}

.btn {
  min-height: 44px;
  padding: 0 17px;
  border-radius: 6px;
  font-size: 0.94rem;
}

.detail-hero,
.pricing-hero {
  padding: calc(var(--header-h) + 66px) 0 74px;
}

.detail-hero h1,
.pricing-hero h1 {
  max-width: 820px;
  font-size: clamp(2.35rem, 4.2vw, 4.35rem);
}

.detail-hero p,
.pricing-hero p {
  font-size: 1.02rem;
  line-height: 1.76;
}

.feature-grid article,
.price-panel,
.roadmap-items article,
.contact-form,
.flow-node,
.story-points article,
.pricing-notes article,
.estimate-card,
.calculator,
.pricing-summary,
.detail-flow div,
.role-card-grid article,
.install-steps article {
  border-radius: 8px;
}

.feature-grid article,
.roadmap-items article,
.story-points article,
.pricing-notes article,
.detail-flow div,
.role-card-grid article,
.install-steps article {
  padding: 22px;
}

.check-list li,
.price-panel li {
  margin: 10px 0;
}

.pricing-page .pricing-hero {
  padding: calc(var(--header-h) + 58px) 0 62px;
}

.pricing-page .pricing-hero h1 {
  max-width: 680px;
  font-size: clamp(2.05rem, 3.15vw, 3.35rem);
  line-height: 1.18;
  word-break: keep-all;
}

.pricing-page .pricing-hero p {
  max-width: 690px;
}

.pricing-page .pricing-summary {
  padding: 24px;
}

.pricing-page .pricing-summary strong {
  font-size: 2.65rem;
}

.pricing-page .plan-cards {
  align-items: stretch;
}

.pricing-page .plan-cards article {
  min-height: 238px;
  padding: 24px;
}

.pricing-page .plan-cards strong {
  font-size: clamp(1.9rem, 2.7vw, 2.65rem);
}

.pricing-page .calculator-grid {
  grid-template-columns: minmax(0, 0.82fr) minmax(420px, 1fr);
  align-items: center;
}

.pricing-page .calculator {
  padding: 26px;
}

.pricing-page .calculator label {
  font-size: 0.92rem;
}

.pricing-page .calculator-result p {
  min-height: 45px;
  align-items: center;
}

.pricing-page .price-matrix {
  background: rgba(255, 255, 255, 0.018);
}

.pricing-page .matrix-row {
  min-height: 60px;
}

.download-page .download-hero {
  min-height: calc(100vh - 0px);
  padding: calc(var(--header-h) + 56px) 0 60px;
}

.download-page .download-hero-copy {
  margin-bottom: 28px;
}

.download-page .download-hero h1 {
  font-size: clamp(2.5rem, 4vw, 4.15rem);
}

.detail-hero h1 {
  max-width: 760px;
  font-size: clamp(2.1rem, 3.25vw, 3.4rem);
  line-height: 1.18;
  word-break: keep-all;
}

.detail-hero p,
.download-page .download-hero p {
  word-break: keep-all;
}

.mobile-break {
  display: none;
}

@media (max-width: 1120px) {
  .pricing-hero-grid {
    grid-template-columns: 1fr;
  }

  .pricing-page .pricing-summary {
    max-width: 440px;
  }
}

.download-page .download-choice {
  min-height: 286px;
  padding: 26px;
}

.download-page .download-choice h2 {
  font-size: clamp(1.7rem, 2.2vw, 2.25rem);
}

.download-page .download-choice p {
  line-height: 1.68;
}

@media (max-width: 980px) {
  :root {
    --section-y: 74px;
  }

  .nav-links {
    gap: 14px;
  }

  .pricing-page .calculator-grid {
    grid-template-columns: 1fr;
  }

  .insight-layout,
  .article-grid {
    grid-template-columns: 1fr;
  }

  .notice-panel {
    position: static;
  }

  .download-page .download-hero {
    min-height: auto;
  }
}

@media (max-width: 640px) {
  .nav-shell,
  .container,
  .hero-inner {
    width: min(100% - 32px, var(--container));
  }

  .brand small {
    display: none;
  }

  .detail-hero,
  .pricing-hero,
  .download-page .download-hero {
    padding: calc(var(--header-h) + 38px) 0 50px;
  }

  .detail-hero h1,
  .pricing-hero h1,
  .download-page .download-hero h1 {
    font-size: clamp(2.1rem, 10vw, 3.15rem);
  }

  .section {
    padding: 62px 0;
  }

  .pricing-page .plan-cards article,
  .download-page .download-choice {
    padding: 22px;
  }
}

/* Auth pages */
.auth-page {
  min-height: 100vh;
  background:
    linear-gradient(90deg, rgba(5, 12, 22, 0.97), rgba(5, 12, 22, 0.9)),
    url("/assets/SEOA_clean_brand_banner_1600x840.png") center / cover fixed;
}

.auth-main {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: calc(var(--header-h) + 58px) 24px 64px;
}

.auth-shell {
  width: min(960px, 100%);
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 0.78fr);
  gap: 26px;
  align-items: stretch;
}

.auth-shell.wide {
  width: min(1040px, 100%);
  grid-template-columns: minmax(0, 0.74fr) minmax(520px, 1fr);
}

.auth-copy,
.auth-form {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(9, 20, 35, 0.9);
  backdrop-filter: blur(14px);
}

.auth-copy {
  display: grid;
  align-content: end;
  padding: 32px;
  min-height: 430px;
}

.auth-copy h1 {
  margin: 12px 0 14px;
  font-size: clamp(2.2rem, 4vw, 4rem);
  line-height: 1.08;
}

.auth-form {
  display: grid;
  gap: 14px;
  padding: 28px;
}

.signup-form {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.auth-form label {
  display: grid;
  gap: 8px;
  color: #d8e7f7;
  font-weight: 800;
}

.auth-form .full {
  grid-column: 1 / -1;
}

.auth-form .btn {
  width: 100%;
}

.auth-links {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  font-size: 0.92rem;
}

.auth-links a {
  color: var(--cyan-2);
}

.auth-page .form-status {
  min-height: 46px;
  padding-top: 4px;
  color: var(--cyan-2);
}

.admin-page {
  background: #07111f;
}

.admin-main {
  padding-top: var(--header-h);
}

.admin-console {
  display: grid;
  grid-template-columns: 248px minmax(0, 1fr);
  min-height: calc(100vh - var(--header-h));
}

.admin-sidebar {
  position: sticky;
  top: var(--header-h);
  height: calc(100vh - var(--header-h));
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 28px 18px;
  border-right: 1px solid rgba(174, 199, 224, 0.12);
  background: rgba(5, 12, 22, 0.78);
}

.admin-sidebar strong {
  display: block;
  margin: 4px 0 18px;
  font-size: 1.18rem;
}

.admin-sidebar a {
  min-height: 42px;
  display: flex;
  align-items: center;
  padding: 0 12px;
  border: 1px solid transparent;
  border-radius: 7px;
  color: #b8c9dc;
  font-weight: 760;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease;
}

.admin-sidebar a:hover,
.admin-sidebar a:focus-visible,
.admin-sidebar a[aria-current="page"] {
  color: #f5fbff;
  border-color: rgba(119, 236, 255, 0.22);
  background: rgba(119, 236, 255, 0.07);
}

.admin-workspace {
  min-width: 0;
  padding: 34px clamp(20px, 4vw, 54px) 70px;
}

.admin-toolbar {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 26px;
}

.admin-toolbar h1 {
  max-width: 820px;
  margin: 8px 0 8px;
  font-size: clamp(1.9rem, 3vw, 3rem);
  line-height: 1.18;
}

.admin-toolbar p {
  margin: 0;
  color: var(--muted);
}

.admin-panel {
  margin-top: 28px;
  padding: 24px;
  border: 1px solid rgba(174, 199, 224, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.018);
}

.nav-button {
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid rgba(255, 138, 61, 0.4);
  border-radius: 6px;
  background: transparent;
  color: var(--orange);
  cursor: pointer;
}

.admin-hero {
  padding: calc(var(--header-h) + 42px) 0 44px;
  background: linear-gradient(135deg, #06101d, #0d1a2b);
}

.admin-hero h1 {
  margin: 10px 0 10px;
  font-size: clamp(2.05rem, 3.2vw, 3.4rem);
}

.admin-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 28px;
}

.admin-stats article,
.admin-row {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
}

.admin-stats article {
  padding: 22px;
}

.admin-stats span {
  display: block;
  color: var(--muted);
}

.admin-stats b {
  display: block;
  margin-top: 8px;
  font-size: 2rem;
  color: var(--cyan-2);
}

.admin-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 34px;
}

.section-head.compact {
  margin-bottom: 18px;
}

.section-head.compact h2 {
  font-size: 1.65rem;
}

.admin-list {
  display: grid;
  gap: 12px;
}

.admin-row {
  display: grid;
  gap: 18px;
  align-items: stretch;
  padding: 22px;
}

.admin-row b,
.admin-row span {
  display: block;
}

.admin-row span,
.admin-row p,
.admin-row time {
  color: var(--muted);
}

.admin-row p {
  margin: 10px 0 0;
}

.admin-member-main {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.admin-member-main b {
  margin-bottom: 6px;
  font-size: 1.02rem;
}

.admin-row-meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.admin-row-meta span {
  padding: 5px 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.8rem;
}

.admin-row-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.admin-row-actions button {
  min-height: 38px;
  padding: 0 13px;
  border: 1px solid rgba(35, 215, 239, 0.36);
  border-radius: 6px;
  background: transparent;
  color: var(--cyan-2);
  cursor: pointer;
  transition: background 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.admin-row-actions button:hover {
  border-color: rgba(35, 215, 239, 0.62);
  background: rgba(35, 215, 239, 0.08);
  transform: translateY(-1px);
}

.admin-row.inquiry {
  grid-template-columns: 1fr;
}

.account-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.account-panel {
  min-height: 320px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
}

.account-panel h2 {
  margin-top: 12px;
  font-size: 2rem;
}

.account-panel dl {
  display: grid;
  gap: 0;
  margin: 22px 0 0;
}

.account-panel dl div {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 13px 0;
  border-top: 1px solid rgba(174, 199, 224, 0.12);
}

.account-panel dt {
  color: var(--muted);
}

.account-panel dd {
  margin: 0;
  color: var(--text);
  font-weight: 800;
  text-align: right;
}

.license-controls {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) minmax(130px, 0.55fr) minmax(140px, 0.55fr);
  gap: 12px;
  padding: 14px;
  border: 1px solid rgba(174, 199, 224, 0.12);
  border-radius: 8px;
  background: rgba(3, 10, 18, 0.28);
}

.license-controls label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 0.82rem;
}

.license-controls input {
  min-height: 40px;
  padding: 8px 10px;
  font-size: 0.9rem;
}

.admin-list > p {
  margin: 0;
  padding: 22px;
  border: 1px solid var(--card-border);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.025);
}

@media (max-width: 980px) {
  .auth-shell,
  .auth-shell.wide {
    grid-template-columns: 1fr;
  }

  .auth-copy {
    min-height: 260px;
  }

  .admin-stats,
  .admin-layout,
  .account-grid {
    grid-template-columns: 1fr;
  }

  .admin-row {
    grid-template-columns: 1fr;
  }

  .license-controls {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .auth-main {
    padding: calc(var(--header-h) + 38px) 16px 46px;
  }

  .auth-copy,
  .auth-form {
    padding: 22px;
  }

  .signup-form {
    grid-template-columns: 1fr;
  }

  .auth-form .full {
    grid-column: auto;
  }

  .auth-links {
    display: grid;
  }
}

/* Premium interaction and typography pass */
:root {
  --card-bg: rgba(10, 22, 38, 0.86);
  --card-bg-hover: rgba(13, 29, 49, 0.94);
  --card-border: rgba(154, 190, 225, 0.2);
  --card-border-hover: rgba(35, 215, 239, 0.42);
}

body {
  font-weight: 500;
}

h1,
h2,
h3,
.brand strong {
  font-weight: 820;
}

.section-label,
.eyebrow {
  text-transform: none;
  font-size: 0.84rem;
  color: #66e6f7;
}

.feature-grid article,
.price-panel,
.roadmap-items article,
.contact-form,
.flow-node,
.story-points article,
.pricing-notes article,
.estimate-card,
.calculator,
.pricing-summary,
.detail-flow div,
.role-card-grid article,
.install-steps article,
.download-choice,
.auth-copy,
.auth-form,
.account-panel,
.admin-stats article,
.admin-row {
  border-color: var(--card-border);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.018)),
    var(--card-bg);
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.18);
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.feature-grid article:hover,
.price-panel:hover,
.roadmap-items article:hover,
.flow-node:hover,
.story-points article:hover,
.pricing-notes article:hover,
.estimate-card:hover,
.calculator:hover,
.pricing-summary:hover,
.detail-flow div:hover,
.role-card-grid article:hover,
.install-steps article:hover,
.download-choice:hover,
.auth-copy:hover,
.auth-form:hover,
.account-panel:hover,
.admin-stats article:hover,
.admin-row:hover {
  border-color: var(--card-border-hover);
  background:
    linear-gradient(180deg, rgba(35, 215, 239, 0.055), rgba(255, 255, 255, 0.018)),
    var(--card-bg-hover);
  transform: translateY(-2px);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.26);
}

.btn {
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.16);
}

.btn-primary {
  background: linear-gradient(180deg, #37dcec, #22c9dd);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: linear-gradient(180deg, #5ae8f4, #24d5e7);
}

.btn-secondary:hover,
.btn-ghost:hover {
  border-color: rgba(119, 236, 255, 0.48);
  background: rgba(119, 236, 255, 0.08);
}

input,
textarea,
select {
  min-height: 48px;
  border-color: rgba(174, 199, 224, 0.28);
  background: rgba(3, 10, 18, 0.72);
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

input:hover,
textarea:hover,
select:hover {
  border-color: rgba(119, 236, 255, 0.34);
}

input:focus,
textarea:focus,
select:focus {
  background: rgba(4, 12, 22, 0.94);
  box-shadow: 0 0 0 4px rgba(35, 215, 239, 0.1);
}

.auth-main {
  padding-top: calc(var(--header-h) + 44px);
}

.auth-shell,
.auth-shell.wide {
  width: min(980px, 100%);
  gap: 18px;
}

.auth-copy {
  min-height: 392px;
  padding: 30px;
  align-content: center;
}

.auth-copy .section-label {
  margin-bottom: 18px;
}

.auth-copy h1 {
  max-width: 420px;
  margin: 0 0 18px;
  font-size: clamp(2.35rem, 4.4vw, 3.85rem);
  line-height: 1.08;
  letter-spacing: 0;
}

.auth-copy p {
  max-width: 390px;
  margin: 0;
  color: #aebed1;
  font-size: 1rem;
  line-height: 1.75;
}

.auth-form {
  align-content: center;
  padding: 30px;
}

.auth-form label {
  color: #e6f1ff;
  font-size: 0.92rem;
  font-weight: 760;
}

.auth-form input::placeholder {
  color: #6f8196;
}

.signup-form {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-content: center;
}

@media (max-width: 980px) {
  .auth-copy {
    min-height: 230px;
  }

  .auth-copy h1,
  .auth-copy p {
    max-width: 100%;
  }
}

@media (max-width: 640px) {
  .auth-copy h1 {
    font-size: clamp(2.1rem, 10vw, 2.9rem);
  }

  .feature-grid article:hover,
  .price-panel:hover,
  .download-choice:hover,
  .auth-copy:hover,
  .auth-form:hover {
    transform: none;
  }
}

/* Unified navigation and admin refinement */
.site-header {
  height: var(--header-h);
}

.nav-shell {
  height: var(--header-h);
}

.brand {
  min-height: 44px;
}

.brand img {
  width: 40px;
  height: 40px;
  border-radius: 8px;
}

.nav-links {
  gap: 6px;
  font-size: 0.93rem;
  font-weight: 720;
  letter-spacing: 0;
}

.nav-links a,
.nav-button {
  position: relative;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  border-radius: 7px;
  transition: color 160ms ease, background 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.nav-links a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 5px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--cyan), rgba(255, 138, 61, 0.85));
  opacity: 0;
  transform: scaleX(0.45);
  transition: opacity 160ms ease, transform 160ms ease;
}

.nav-links a:not(.nav-cta):hover,
.nav-links a:not(.nav-cta):focus-visible,
.nav-links a[aria-current="page"] {
  color: #f5fbff;
  background: rgba(119, 236, 255, 0.055);
}

.nav-links a:not(.nav-cta):hover::after,
.nav-links a:not(.nav-cta):focus-visible::after,
.nav-links a[aria-current="page"]::after {
  opacity: 1;
  transform: scaleX(1);
}

.nav-cta {
  min-width: 94px;
  border-color: rgba(35, 215, 239, 0.52);
  background: linear-gradient(180deg, rgba(35, 215, 239, 0.14), rgba(35, 215, 239, 0.06));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.nav-cta:hover,
.nav-cta:focus-visible {
  color: #041019;
  border-color: rgba(119, 236, 255, 0.82);
  background: linear-gradient(180deg, #77ecff, #25d1e5);
  transform: translateY(-1px);
}

.nav-button:hover,
.nav-button:focus-visible {
  border-color: rgba(255, 138, 61, 0.74);
  background: rgba(255, 138, 61, 0.08);
  transform: translateY(-1px);
}

.auth-shell {
  grid-template-columns: minmax(0, 0.76fr) minmax(380px, 0.86fr);
}

.auth-shell.wide {
  width: min(1010px, 100%);
  grid-template-columns: minmax(0, 0.72fr) minmax(500px, 1fr);
}

.auth-copy,
.auth-form,
.account-panel,
.admin-stats article,
.admin-row {
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.035);
}

.auth-copy {
  min-height: 360px;
  background:
    linear-gradient(145deg, rgba(12, 27, 45, 0.94), rgba(7, 17, 31, 0.92)),
    radial-gradient(circle at 18% 15%, rgba(35, 215, 239, 0.12), transparent 34%);
}

.auth-copy h1 {
  font-size: clamp(2.25rem, 3.4vw, 3.35rem);
}

.auth-form {
  gap: 13px;
}

.admin-section .container {
  width: min(1120px, calc(100% - 48px));
}

.admin-hero {
  padding: calc(var(--header-h) + 34px) 0 38px;
}

.admin-hero h1 {
  max-width: 860px;
  font-size: clamp(2rem, 3vw, 3.05rem);
  line-height: 1.16;
}

.admin-stats {
  gap: 16px;
  margin-bottom: 34px;
}

.admin-stats article {
  min-height: 118px;
  padding: 22px 24px;
  background: linear-gradient(145deg, rgba(19, 35, 55, 0.82), rgba(11, 23, 40, 0.82));
  transition: border-color 160ms ease, transform 160ms ease, background 160ms ease;
}

.admin-stats article:hover {
  border-color: rgba(119, 236, 255, 0.35);
  transform: translateY(-2px);
}

.admin-layout {
  gap: 42px;
}

.admin-layout > section {
  min-width: 0;
}

.admin-list {
  gap: 14px;
}

.admin-row {
  border-color: rgba(174, 199, 224, 0.18);
  background: linear-gradient(145deg, rgba(17, 31, 49, 0.88), rgba(9, 20, 35, 0.88));
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.admin-row:hover {
  border-color: rgba(119, 236, 255, 0.34);
  background: linear-gradient(145deg, rgba(20, 38, 59, 0.92), rgba(10, 23, 39, 0.92));
}

.admin-member-main {
  padding-bottom: 2px;
}

.admin-member-main b {
  color: #f5fbff;
  font-size: 1.08rem;
}

.admin-member-main span {
  overflow-wrap: anywhere;
}

.admin-member-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.admin-member-grid dl {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 14px 16px;
  border: 1px solid rgba(174, 199, 224, 0.12);
  border-radius: 8px;
  background: rgba(3, 10, 18, 0.24);
}

.admin-member-grid div {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 8px 0;
  border-top: 1px solid rgba(174, 199, 224, 0.1);
}

.admin-member-grid div:first-child {
  border-top: 0;
}

.admin-member-grid dt {
  color: var(--muted);
  white-space: nowrap;
}

.admin-member-grid dd {
  margin: 0;
  color: var(--text);
  font-weight: 780;
  text-align: right;
  overflow-wrap: anywhere;
}

.remaining-pill {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 0.82rem;
}

.remaining-pill.good {
  color: #92f7c1;
  background: rgba(34, 197, 94, 0.12);
}

.remaining-pill.warning {
  color: #ffd18a;
  background: rgba(255, 138, 61, 0.13);
}

.remaining-pill.danger {
  color: #ff9b9b;
  background: rgba(255, 76, 76, 0.13);
}

.remaining-pill.neutral {
  color: #b8c9dc;
  background: rgba(174, 199, 224, 0.1);
}

.admin-row-meta span {
  color: #c5d8ea;
  background: rgba(119, 236, 255, 0.055);
}

.license-controls {
  grid-template-columns: minmax(220px, 1.2fr) minmax(150px, 0.7fr) minmax(150px, 0.7fr);
  padding: 16px;
  background: rgba(3, 10, 18, 0.36);
}

.license-controls input {
  width: 100%;
}

.admin-row-actions button:last-child {
  color: #06111c;
  border-color: rgba(119, 236, 255, 0.82);
  background: linear-gradient(180deg, #77ecff, #26cfe3);
}

.admin-row-actions button:last-child:hover {
  background: linear-gradient(180deg, #95f3ff, #30dcec);
}

.admin-row.inquiry {
  padding: 22px 24px;
}

.admin-row.inquiry time {
  font-size: 0.86rem;
}

@media (max-width: 980px) {
  .nav-links {
    gap: 4px;
  }

  .auth-shell,
  .auth-shell.wide {
    grid-template-columns: 1fr;
  }

  .admin-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .admin-console {
    grid-template-columns: 1fr;
  }

  .admin-sidebar {
    position: static;
    height: auto;
    flex-direction: row;
    flex-wrap: wrap;
    padding: 18px;
    border-right: 0;
    border-bottom: 1px solid rgba(174, 199, 224, 0.12);
  }

  .admin-sidebar div {
    flex: 1 0 100%;
  }

  .admin-member-main {
    display: grid;
  }

  .admin-row-meta {
    justify-content: flex-start;
  }

  .license-controls {
    grid-template-columns: 1fr;
  }

  .admin-member-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .site-header {
    height: auto;
  }

  .pricing-page .pricing-hero h1,
  .detail-hero h1,
  .download-page .download-hero h1,
  .insight-hero h1,
  .article-body h1 {
    font-size: clamp(1.95rem, 8.5vw, 2.75rem);
    line-height: 1.22;
  }

  .pricing-page .pricing-summary {
    max-width: none;
  }

  .mobile-break {
    display: block;
  }

  .nav-links {
    gap: 8px;
    padding: 14px;
  }

  .nav-links a,
  .nav-button {
    width: 100%;
    justify-content: flex-start;
    padding: 0 12px;
  }

  .nav-cta {
    justify-content: center;
  }

  .admin-section .container {
    width: min(100% - 32px, 1120px);
  }

  .admin-workspace {
    padding: 26px 16px 52px;
  }

  .admin-panel {
    padding: 18px;
  }

  .admin-stats {
    grid-template-columns: 1fr;
  }

  .admin-row-actions {
    justify-content: stretch;
  }

  .admin-row-actions button {
    flex: 1 1 120px;
  }
}
