:root {
  --ink: #17211e;
  --ink-muted: #5b6963;
  --ink-faint: #88938e;
  --paper: #f6f3eb;
  --paper-deep: #ede8dc;
  --surface: #fffdf8;
  --surface-muted: #f0ede3;
  --line: rgba(23, 33, 30, 0.12);
  --line-strong: rgba(23, 33, 30, 0.2);
  --green: #166b55;
  --green-deep: #0b4438;
  --green-pale: #dfeee5;
  --coral: #de714f;
  --coral-pale: #f9dfd4;
  --gold: #e2af45;
  --navy: #172a2a;
  --shadow-sm: 0 10px 30px rgba(25, 35, 30, 0.07);
  --shadow-lg: 0 28px 80px rgba(25, 35, 30, 0.15);
  --radius-sm: 14px;
  --radius-md: 22px;
  --radius-lg: 34px;
  --container: 1160px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 7%, rgba(226, 175, 69, 0.13), transparent 22rem),
    radial-gradient(circle at 93% 20%, rgba(22, 107, 85, 0.1), transparent 30rem),
    var(--paper);
  font-family: "Be Vietnam Pro", "Manrope", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

::selection {
  color: var(--surface);
  background: var(--green);
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

img,
svg {
  display: block;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 1rem;
  left: 1rem;
  padding: 0.7rem 1rem;
  color: var(--surface);
  background: var(--green-deep);
  border-radius: 8px;
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.container {
  width: min(calc(100% - 3rem), var(--container));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  z-index: 30;
  top: 0;
  padding: 0.85rem 0;
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(0);
  transition: background 220ms ease, border-color 220ms ease, backdrop-filter 220ms ease;
}

.site-header.is-scrolled {
  border-color: var(--line);
  background: rgba(246, 243, 235, 0.86);
  backdrop-filter: blur(15px);
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.72rem;
  color: var(--ink);
  font-family: "Sora", "Be Vietnam Pro", sans-serif;
  font-size: 0.94rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-decoration: none;
}

.brand-mark {
  position: relative;
  display: grid;
  width: 28px;
  height: 28px;
  overflow: hidden;
  place-items: center;
  border: 1px solid rgba(22, 107, 85, 0.24);
  border-radius: 9px;
  background: var(--green-pale);
}

.brand-mark::before,
.brand-mark::after {
  position: absolute;
  width: 12px;
  height: 12px;
  content: "";
  border-radius: 50%;
}

.brand-mark::before {
  top: 5px;
  left: 5px;
  background: var(--green);
}

.brand-mark::after {
  right: 5px;
  bottom: 5px;
  background: var(--coral);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.55rem;
}

.nav-links > a:not(.button) {
  color: var(--ink-muted);
  font-size: 0.83rem;
  font-weight: 700;
  text-decoration: none;
  transition: color 160ms ease;
}

.nav-links > a:not(.button):hover,
.nav-links > a:not(.button)[aria-current="page"] {
  color: var(--green);
}

.nav-links .nav-login {
  margin-left: 0.25rem;
}

.nav-toggle {
  display: none;
  width: 43px;
  height: 43px;
  padding: 0;
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--line-strong);
  border-radius: 11px;
}

.nav-toggle span,
.nav-toggle::before,
.nav-toggle::after {
  display: block;
  width: 18px;
  height: 1.5px;
  margin: 4px auto;
  content: "";
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

.nav-toggle[aria-expanded="true"] span {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"]::before {
  transform: translateY(5.5px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"]::after {
  transform: translateY(-5.5px) rotate(-45deg);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.58rem;
  min-height: 44px;
  padding: 0.72rem 1.1rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  transition: transform 180ms var(--ease-out), box-shadow 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button:focus-visible,
.nav-toggle:focus-visible,
a:focus-visible,
summary:focus-visible {
  outline: 3px solid rgba(226, 175, 69, 0.72);
  outline-offset: 3px;
}

.button-primary {
  color: #fffdf8;
  background: var(--green);
  box-shadow: 0 8px 18px rgba(22, 107, 85, 0.23);
}

.button-primary:hover {
  background: var(--green-deep);
  box-shadow: 0 12px 24px rgba(22, 107, 85, 0.3);
}

.button-outline {
  color: var(--ink);
  border-color: var(--line-strong);
  background: rgba(255, 253, 248, 0.55);
}

.button-outline:hover {
  border-color: var(--green);
  background: var(--surface);
}

.button-light {
  color: var(--green-deep);
  background: var(--surface);
}

.button-light:hover {
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.button svg,
.text-link svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
}

.site-main {
  overflow: hidden;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 1.3rem;
  color: var(--green);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 22px;
  height: 1px;
  content: "";
  background: var(--coral);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-family: "Sora", "Be Vietnam Pro", sans-serif;
  letter-spacing: -0.045em;
}

h1 {
  max-width: 760px;
  margin-bottom: 1.35rem;
  font-size: clamp(2.65rem, 5.6vw, 5.4rem);
  font-weight: 700;
  line-height: 1.03;
}

h2 {
  margin-bottom: 0.95rem;
  font-size: clamp(1.9rem, 3.5vw, 3.25rem);
  line-height: 1.12;
}

h3 {
  margin-bottom: 0.65rem;
  font-size: 1.08rem;
  line-height: 1.3;
}

.accent-word {
  color: var(--green);
  font-style: italic;
}

.lead {
  max-width: 630px;
  margin-bottom: 0;
  color: var(--ink-muted);
  font-size: clamp(1rem, 1.5vw, 1.16rem);
  line-height: 1.75;
}

.site-hero {
  position: relative;
  padding: 6.4rem 0 4.3rem;
}

.site-hero::before {
  position: absolute;
  z-index: -1;
  top: 2.5rem;
  right: -9rem;
  width: min(46vw, 630px);
  aspect-ratio: 1;
  content: "";
  border: 1px solid rgba(22, 107, 85, 0.1);
  border-radius: 48% 52% 60% 40% / 45% 43% 57% 55%;
  background: linear-gradient(135deg, rgba(223, 238, 229, 0.76), rgba(249, 223, 212, 0.55));
  filter: blur(0.1px);
  transform: rotate(-18deg);
}

.home-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 0.98fr);
  align-items: center;
  gap: clamp(2.75rem, 7vw, 8.25rem);
}

.hero-copy {
  padding-bottom: 1rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.hero-microcopy {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1.25rem;
  margin: 1.35rem 0 0;
  color: var(--ink-muted);
  font-size: 0.75rem;
  font-weight: 650;
}

.hero-microcopy span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.hero-microcopy span::before {
  width: 6px;
  height: 6px;
  content: "";
  border-radius: 50%;
  background: var(--coral);
}

.product-stage {
  position: relative;
  margin: 0;
}

.product-stage::after {
  position: absolute;
  z-index: -1;
  top: 10%;
  right: -7%;
  width: 43%;
  height: 80%;
  content: "";
  border-radius: 999px;
  background: var(--gold);
  opacity: 0.35;
  filter: blur(40px);
}

.app-window {
  overflow: hidden;
  border: 1px solid rgba(23, 42, 42, 0.22);
  border-radius: 22px;
  background: #fcfbf6;
  box-shadow: var(--shadow-lg), 18px 18px 0 rgba(222, 113, 79, 0.15);
  transform: perspective(1400px) rotateY(-5deg) rotateX(2deg);
}

.window-topbar {
  display: flex;
  align-items: center;
  gap: 0.38rem;
  height: 34px;
  padding: 0 13px;
  border-bottom: 1px solid #e1ded4;
  background: #eeece4;
}

.window-topbar span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #c5c2bb;
}

.window-topbar span:first-child {
  background: var(--coral);
}

.window-content {
  display: grid;
  grid-template-columns: 128px 1fr;
  min-height: 365px;
}

.window-sidebar {
  padding: 1rem 0.75rem;
  color: #b7d4c9;
  background: #173e36;
}

.window-sidebar .mini-logo {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0 0 1.45rem 0.2rem;
  color: #fffdfa;
  font-size: 0.59rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.mini-logo i {
  width: 13px;
  height: 13px;
  border: 3px solid var(--coral);
  border-radius: 4px;
}

.side-menu {
  display: grid;
  gap: 0.24rem;
}

.side-menu span {
  display: block;
  padding: 0.48rem 0.55rem;
  border-radius: 6px;
  font-size: 0.55rem;
  font-weight: 600;
}

.side-menu span.active {
  color: #fffdfa;
  background: rgba(255, 255, 255, 0.14);
}

.window-main {
  padding: 1.3rem 1.4rem;
  background: #fffdf8;
}

.window-kicker {
  margin-bottom: 0.22rem;
  color: #7c877e;
  font-size: 0.52rem;
  font-weight: 750;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.window-heading {
  margin: 0;
  font-family: "Sora", sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.035em;
}

.window-cards {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 0.65rem;
  margin-top: 1rem;
}

.window-card {
  min-height: 112px;
  padding: 0.75rem;
  border: 1px solid #e9e5db;
  border-radius: 10px;
  background: #fff;
}

.window-card-label {
  color: #77837b;
  font-size: 0.49rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.keyword-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.25rem;
  padding: 0.45rem 0;
  border-bottom: 1px solid #efede7;
  color: #2f3c35;
  font-size: 0.53rem;
}

.keyword-row:last-child {
  border: 0;
}

.keyword-row b {
  padding: 0.15rem 0.28rem;
  color: var(--green);
  background: var(--green-pale);
  border-radius: 4px;
  font-size: 0.46rem;
}

.score-number {
  display: block;
  margin-top: 0.5rem;
  color: var(--green);
  font-family: "Sora", sans-serif;
  font-size: 2rem;
  font-weight: 750;
  letter-spacing: -0.1em;
  line-height: 1;
}

.score-number small {
  font-size: 0.55rem;
  letter-spacing: 0;
}

.score-line {
  display: block;
  height: 5px;
  margin-top: 0.7rem;
  overflow: hidden;
  background: #e9e7df;
  border-radius: 99px;
}

.score-line::after {
  display: block;
  width: 84%;
  height: 100%;
  content: "";
  border-radius: inherit;
  background: var(--coral);
}

.window-draft {
  margin-top: 0.65rem;
  padding: 0.72rem;
  border-radius: 10px;
  background: #f3f0e8;
}

.draft-top {
  display: flex;
  justify-content: space-between;
  color: #67746c;
  font-size: 0.51rem;
}

.draft-top b {
  color: var(--green);
}

.fake-lines {
  display: grid;
  gap: 0.35rem;
  margin-top: 0.65rem;
}

.fake-lines i {
  display: block;
  height: 4px;
  border-radius: 99px;
  background: #d4d6cf;
}

.fake-lines i:nth-child(2) { width: 86%; }
.fake-lines i:nth-child(3) { width: 73%; }
.fake-lines i:nth-child(4) { width: 92%; }

.stage-caption {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin: 1.1rem 0 0 1.1rem;
  color: var(--ink-muted);
  font-size: 0.7rem;
  font-weight: 650;
}

.stage-caption::before {
  width: 26px;
  height: 1px;
  content: "";
  background: var(--green);
}

.proof-strip {
  padding: 1.35rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.proof-strip .container {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: 1.5rem;
  align-items: center;
}

.proof-intro {
  color: var(--ink-muted);
  font-size: 0.78rem;
  font-weight: 700;
}

.proof-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--ink);
  font-size: 0.73rem;
  font-weight: 800;
}

.proof-number {
  color: var(--coral);
  font-family: "Sora", sans-serif;
  font-size: 1.35rem;
  font-weight: 750;
  letter-spacing: -0.08em;
}

.section {
  padding: clamp(4.8rem, 9vw, 8rem) 0;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 2.7rem;
}

.section-head h2 {
  max-width: 650px;
  margin-bottom: 0;
}

.section-head .lead {
  max-width: 370px;
  font-size: 0.95rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.2rem;
}

.feature-card {
  position: relative;
  min-height: 285px;
  padding: 1.7rem;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.feature-card:nth-child(1) {
  grid-column: span 5;
  background: #e1efe6;
}

.feature-card:nth-child(2) {
  grid-column: span 7;
  color: #fbfaf4;
  background: var(--navy);
}

.feature-card:nth-child(3) {
  grid-column: span 7;
  background: #f8ded3;
}

.feature-card:nth-child(4) {
  grid-column: span 5;
  background: #f2eddf;
}

.feature-card h3 {
  max-width: 330px;
  font-size: 1.38rem;
}

.feature-card p {
  max-width: 350px;
  margin-bottom: 0;
  color: var(--ink-muted);
  font-size: 0.88rem;
}

.feature-card:nth-child(2) p {
  color: rgba(255, 253, 248, 0.68);
}

.feature-icon {
  display: grid;
  width: 42px;
  height: 42px;
  margin-bottom: 2.8rem;
  color: var(--green-deep);
  place-items: center;
  border: 1px solid rgba(22, 107, 85, 0.2);
  border-radius: 13px;
  background: rgba(255, 253, 248, 0.5);
}

.feature-icon svg {
  width: 21px;
  height: 21px;
  stroke: currentColor;
  stroke-width: 1.8;
  fill: none;
}

.feature-card:nth-child(2) .feature-icon {
  color: #fffdfa;
  border-color: rgba(255, 253, 248, 0.22);
  background: rgba(255, 253, 248, 0.1);
}

.feature-orbit,
.feature-bars,
.feature-link-map {
  position: absolute;
  pointer-events: none;
}

.feature-orbit {
  right: -3rem;
  bottom: -5.8rem;
  width: 230px;
  height: 230px;
  border: 1px solid rgba(22, 107, 85, 0.22);
  border-radius: 50%;
}

.feature-orbit::after {
  position: absolute;
  inset: 28px;
  content: "";
  border: 1px solid rgba(222, 113, 79, 0.55);
  border-radius: 50%;
}

.feature-bars {
  right: 1.5rem;
  bottom: 1.55rem;
  display: flex;
  align-items: end;
  gap: 0.34rem;
  height: 86px;
}

.feature-bars i {
  width: 17px;
  border-radius: 6px 6px 0 0;
  background: rgba(255, 253, 248, 0.75);
}

.feature-bars i:nth-child(1) { height: 35%; }
.feature-bars i:nth-child(2) { height: 70%; background: var(--gold); }
.feature-bars i:nth-child(3) { height: 52%; }
.feature-bars i:nth-child(4) { height: 90%; background: var(--coral); }

.feature-link-map {
  right: 1.3rem;
  bottom: 1.2rem;
  width: 132px;
  height: 90px;
  background:
    radial-gradient(circle at 12% 78%, var(--coral) 0 5px, transparent 6px),
    radial-gradient(circle at 47% 35%, var(--green) 0 7px, transparent 8px),
    radial-gradient(circle at 83% 74%, var(--gold) 0 5px, transparent 6px),
    linear-gradient(27deg, transparent 47%, rgba(23, 33, 30, 0.38) 48% 49%, transparent 50%),
    linear-gradient(-28deg, transparent 48%, rgba(23, 33, 30, 0.38) 49% 50%, transparent 51%);
}

.workflow-section {
  position: relative;
  color: #fffdf8;
  background: var(--navy);
}

.workflow-section::before {
  position: absolute;
  inset: 0;
  content: "";
  opacity: 0.3;
  background-image: linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 38px 38px;
  mask-image: linear-gradient(to right, transparent, black 28%, black 75%, transparent);
}

.workflow-section .container {
  position: relative;
}

.workflow-section .eyebrow {
  color: #b7d6c7;
}

.workflow-section .lead {
  color: rgba(255, 253, 248, 0.68);
}

.workflow-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 3.5rem;
  overflow: hidden;
  border: 1px solid rgba(255, 253, 248, 0.18);
  border-radius: var(--radius-md);
  background: rgba(255, 253, 248, 0.18);
}

.workflow-step {
  position: relative;
  min-height: 265px;
  padding: 1.65rem;
  background: rgba(18, 42, 40, 0.88);
}

.workflow-step h3 {
  margin-top: 3rem;
  color: #fffdfa;
  font-size: 1.32rem;
}

.workflow-step p {
  max-width: 280px;
  margin-bottom: 0;
  color: rgba(255, 253, 248, 0.65);
  font-size: 0.87rem;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  color: var(--navy);
  background: var(--gold);
  border-radius: 50%;
  font-family: "Sora", sans-serif;
  font-size: 0.7rem;
  font-weight: 800;
}

.workflow-step::after {
  position: absolute;
  top: 1.65rem;
  right: -0.5rem;
  z-index: 2;
  width: 1rem;
  height: 1rem;
  content: "";
  border-top: 1px solid #f6f3eb;
  border-right: 1px solid #f6f3eb;
  transform: rotate(45deg);
}

.workflow-step:last-child::after {
  display: none;
}

.privacy-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2.2rem, 7vw, 8rem);
  align-items: center;
}

.privacy-statement {
  position: relative;
  padding: clamp(2.1rem, 4vw, 3.7rem);
  overflow: hidden;
  color: #fffdfa;
  border-radius: var(--radius-lg);
  background: var(--green);
}

.privacy-statement::before {
  position: absolute;
  right: -2rem;
  bottom: -3.5rem;
  width: 220px;
  height: 220px;
  content: "";
  border: 1px solid rgba(255, 253, 248, 0.32);
  border-radius: 50%;
}

.privacy-statement p {
  position: relative;
  max-width: 450px;
  margin-bottom: 1.8rem;
  font-family: "Sora", sans-serif;
  font-size: clamp(1.35rem, 2.4vw, 2rem);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1.35;
}

.privacy-statement span {
  position: relative;
  color: #c5e5d4;
  font-size: 0.76rem;
  font-weight: 700;
}

.check-list {
  display: grid;
  gap: 1.1rem;
  padding: 0;
  margin: 1.9rem 0 0;
  list-style: none;
}

.check-list li {
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 0.85rem;
  align-items: start;
  color: var(--ink-muted);
  font-size: 0.9rem;
}

.check-list i {
  display: grid;
  width: 30px;
  height: 30px;
  color: var(--green);
  place-items: center;
  border-radius: 50%;
  background: var(--green-pale);
  font-style: normal;
  font-weight: 900;
}

.check-list strong {
  display: block;
  margin-bottom: 0.15rem;
  color: var(--ink);
  font-size: 0.86rem;
}

.cta-band {
  padding-bottom: clamp(4.8rem, 9vw, 8rem);
}

.cta-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: center;
  padding: clamp(2.1rem, 5vw, 4rem);
  border-radius: var(--radius-lg);
  background: var(--coral-pale);
}

.cta-inner h2 {
  max-width: 610px;
  margin-bottom: 0.7rem;
  font-size: clamp(1.7rem, 3.3vw, 2.8rem);
}

.cta-inner p {
  max-width: 600px;
  margin-bottom: 0;
  color: var(--ink-muted);
  font-size: 0.91rem;
}

.page-intro {
  position: relative;
  padding: 5rem 0 3.8rem;
}

.page-intro::after {
  position: absolute;
  top: 2.5rem;
  right: 3%;
  width: min(22vw, 280px);
  aspect-ratio: 1;
  content: "";
  border: 1px solid rgba(222, 113, 79, 0.42);
  border-radius: 42% 58% 49% 51% / 49% 44% 56% 51%;
  transform: rotate(22deg);
}

.page-intro .container {
  position: relative;
  z-index: 1;
}

.page-intro h1 {
  max-width: 800px;
  font-size: clamp(2.5rem, 5vw, 4.5rem);
}

.page-intro .lead {
  max-width: 680px;
}

.small-note {
  margin: 1.1rem 0 0;
  color: var(--ink-muted);
  font-size: 0.77rem;
}

.small-note strong {
  color: var(--green);
}

.plan-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(190px, 1fr));
  gap: 1rem;
  overflow-x: auto;
  padding: 0.2rem 0 0.8rem;
}

.plan {
  display: flex;
  flex-direction: column;
  min-width: 205px;
  padding: 1.55rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
  box-shadow: 0 9px 22px rgba(25, 35, 30, 0.045);
}

.plan.featured {
  position: relative;
  border-color: var(--green);
  background: var(--green-deep);
  box-shadow: 0 18px 35px rgba(11, 68, 56, 0.25);
}

.plan.featured::before {
  position: absolute;
  top: -0.7rem;
  left: 1.35rem;
  padding: 0.32rem 0.6rem;
  color: var(--navy);
  content: "Phổ biến";
  border-radius: 999px;
  background: var(--gold);
  font-size: 0.62rem;
  font-weight: 850;
}

.plan h2 {
  margin-bottom: 0.75rem;
  font-size: 1.18rem;
}

.plan.featured h2,
.plan.featured .plan-price,
.plan.featured .plan-limit,
.plan.featured li {
  color: #fffdfa;
}

.plan-price {
  color: var(--ink);
  font-family: "Sora", sans-serif;
  font-size: 1.25rem;
  font-weight: 750;
  letter-spacing: -0.045em;
}

.plan-price small {
  color: inherit;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0;
}

.plan-limit {
  min-height: 2.8em;
  margin: 0.45rem 0 1.4rem;
  color: var(--ink-muted);
  font-size: 0.73rem;
  font-weight: 650;
}

.plan ul {
  display: grid;
  gap: 0.62rem;
  padding: 0;
  margin: 0 0 1.75rem;
  list-style: none;
}

.plan li {
  color: var(--ink-muted);
  font-size: 0.73rem;
}

.plan li::before {
  margin-right: 0.45rem;
  color: var(--green);
  content: "✓";
  font-weight: 900;
}

.plan li.off {
  opacity: 0.52;
}

.plan li.off::before {
  color: var(--coral);
  content: "−";
}

.plan .button {
  width: 100%;
  margin-top: auto;
}

.plan.featured .button-outline {
  color: var(--green-deep);
  border-color: #fffdfa;
  background: #fffdfa;
}

.comparison-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
}

.comparison-table {
  width: 100%;
  min-width: 700px;
  border-collapse: collapse;
  font-size: 0.79rem;
}

.comparison-table th,
.comparison-table td {
  padding: 1rem 1.15rem;
  text-align: center;
  border-bottom: 1px solid var(--line);
}

.comparison-table th {
  color: var(--ink);
  font-size: 0.75rem;
  font-weight: 800;
}

.comparison-table th:first-child,
.comparison-table td:first-child {
  width: 34%;
  text-align: left;
}

.comparison-table td {
  color: var(--ink-muted);
}

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

.table-check {
  color: var(--green);
  font-size: 1rem;
  font-weight: 900;
}

.table-off {
  color: var(--ink-faint);
}

.notice {
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
  padding: 1rem 1.1rem;
  color: #705015;
  border: 1px solid rgba(226, 175, 69, 0.46);
  border-radius: 14px;
  background: #fcf4da;
  font-size: 0.82rem;
}

.notice[hidden] {
  display: none;
}

.notice::before {
  flex: 0 0 auto;
  content: "!";
  display: grid;
  width: 20px;
  height: 20px;
  place-items: center;
  color: #684707;
  border-radius: 50%;
  background: var(--gold);
  font-size: 0.72rem;
  font-weight: 900;
}

.notice a {
  color: inherit;
  font-weight: 800;
}

.download-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.2rem;
}

.download-card {
  display: flex;
  flex-direction: column;
  min-height: 330px;
  padding: 1.6rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.download-card-top {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  justify-content: space-between;
}

.download-card h2 {
  max-width: 330px;
  margin: 0;
  font-size: 1.18rem;
}

.download-file {
  min-height: 2.8em;
  margin: 0.45rem 0 1.15rem;
  color: var(--ink-muted);
  font-size: 0.75rem;
  overflow-wrap: anywhere;
}

.status-badge {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.55rem;
  border-radius: 999px;
  font-size: 0.61rem;
  font-weight: 850;
  white-space: nowrap;
}

.status-badge::before {
  width: 6px;
  height: 6px;
  content: "";
  border-radius: 50%;
}

.status-ready {
  color: #126145;
  background: var(--green-pale);
}

.status-ready::before { background: var(--green); }

.status-pending {
  color: #725219;
  background: #fcf0c6;
}

.status-pending::before { background: var(--gold); }

.status-unavailable {
  color: #90452f;
  background: var(--coral-pale);
}

.status-unavailable::before { background: var(--coral); }

.download-meta {
  display: grid;
  gap: 0;
  margin-bottom: 1.45rem;
  border-top: 1px solid var(--line);
}

.download-meta-row {
  display: grid;
  grid-template-columns: 112px 1fr;
  gap: 1rem;
  padding: 0.73rem 0;
  border-bottom: 1px solid var(--line);
}

.download-meta-row span {
  color: var(--ink-muted);
  font-size: 0.72rem;
}

.download-meta-row strong,
.download-meta-row code {
  overflow-wrap: anywhere;
  color: var(--ink);
  font-size: 0.72rem;
  font-weight: 750;
}

.download-card .button {
  width: 100%;
  margin-top: auto;
}

.download-card button.button[disabled] {
  cursor: not-allowed;
  opacity: 0.57;
  transform: none;
}

.download-help-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 1.2rem;
  margin-top: 1.2rem;
}

.info-card {
  padding: 1.55rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface-muted);
}

.info-card h2 {
  margin-bottom: 0.7rem;
  font-size: 1.1rem;
}

.info-card p,
.info-card li {
  color: var(--ink-muted);
  font-size: 0.84rem;
}

.info-card p:last-child {
  margin-bottom: 0;
}

.requirements-list {
  display: grid;
  gap: 0.55rem;
  padding-left: 1.2rem;
  margin: 0;
}

.command-code {
  display: block;
  padding: 0.8rem 0.9rem;
  overflow-x: auto;
  color: #d4f0df;
  border-radius: 10px;
  background: var(--navy);
  font-family: "Cascadia Code", "Roboto Mono", monospace;
  font-size: 0.72rem;
  line-height: 1.65;
  white-space: nowrap;
}

.download-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 1.25rem;
}

.download-step {
  padding: 1.3rem;
  border-top: 2px solid var(--coral);
  background: var(--surface);
}

.download-step strong {
  display: block;
  margin-bottom: 0.45rem;
  font-family: "Sora", sans-serif;
  font-size: 0.85rem;
}

.download-step p {
  margin: 0;
  color: var(--ink-muted);
  font-size: 0.78rem;
}

.support-channel-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}

.support-channel {
  min-height: 260px;
  padding: 1.6rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
}

.support-channel:nth-child(2) { background: var(--green-pale); }
.support-channel:nth-child(3) { background: var(--coral-pale); }

.support-channel .feature-icon {
  margin-bottom: 2.4rem;
}

.support-channel p {
  min-height: 4.5em;
  color: var(--ink-muted);
  font-size: 0.84rem;
}

.support-channel .button {
  margin-top: 1rem;
}

.faq-layout {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: clamp(2rem, 6vw, 7rem);
  align-items: start;
}

.faq-list {
  border-top: 1px solid var(--line-strong);
}

.faq-list details {
  border-bottom: 1px solid var(--line-strong);
}

.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 0;
  color: var(--ink);
  cursor: pointer;
  font-family: "Sora", sans-serif;
  font-size: 0.91rem;
  font-weight: 680;
  line-height: 1.45;
  list-style: none;
}

.faq-list summary::-webkit-details-marker { display: none; }

.faq-list summary::after {
  flex: 0 0 auto;
  color: var(--coral);
  content: "+";
  font-family: "Sora", sans-serif;
  font-size: 1.25rem;
  font-weight: 500;
  transition: transform 180ms ease;
}

.faq-list details[open] summary::after {
  transform: rotate(45deg);
}

.faq-list details p {
  max-width: 660px;
  margin: -0.15rem 2.3rem 1.25rem 0;
  color: var(--ink-muted);
  font-size: 0.84rem;
}

.release-list {
  display: grid;
  gap: 1.2rem;
}

.release-card {
  padding: clamp(1.45rem, 4vw, 2.35rem);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
}

.release-card.current {
  border-color: rgba(22, 107, 85, 0.35);
  background: linear-gradient(130deg, #e4f0e8, #fffdf8 65%);
}

.release-heading {
  display: flex;
  gap: 1.25rem;
  align-items: start;
  justify-content: space-between;
}

.release-heading h2 {
  margin-bottom: 0.3rem;
  font-size: 1.45rem;
}

.release-date {
  color: var(--ink-muted);
  font-size: 0.75rem;
  font-weight: 650;
}

.release-tag {
  display: inline-flex;
  align-items: center;
  padding: 0.34rem 0.58rem;
  color: var(--green-deep);
  border-radius: 999px;
  background: var(--green-pale);
  font-size: 0.63rem;
  font-weight: 850;
}

.release-card p {
  max-width: 760px;
  margin: 1.25rem 0;
  color: var(--ink-muted);
  font-size: 0.87rem;
}

.release-changes {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem 1.4rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.release-changes li {
  color: var(--ink-muted);
  font-size: 0.81rem;
}

.release-changes strong {
  color: var(--ink);
}

.release-tech {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  padding-top: 1.2rem;
  margin-top: 1.5rem;
  border-top: 1px solid var(--line);
}

.release-tech span {
  display: block;
  margin-bottom: 0.18rem;
  color: var(--ink-muted);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.release-tech strong {
  font-size: 0.74rem;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--green);
  font-size: 0.81rem;
  font-weight: 800;
  text-decoration: none;
}

.text-link:hover { text-decoration: underline; }

.site-footer {
  color: #c3d1ca;
  background: var(--navy);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.65fr repeat(3, 1fr);
  gap: 2.1rem;
  padding: 4rem 0 3rem;
}

.footer-brand {
  max-width: 280px;
}

.site-footer .brand {
  color: #fffdfa;
}

.site-footer .brand-mark {
  border-color: rgba(255, 253, 248, 0.2);
  background: rgba(255, 253, 248, 0.12);
}

.footer-brand p {
  margin: 1.15rem 0 0;
  color: #b2c3ba;
  font-size: 0.78rem;
}

.footer-column {
  display: grid;
  align-content: start;
  gap: 0.6rem;
}

.footer-column strong {
  margin-bottom: 0.45rem;
  color: #fffdfa;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-column a {
  color: #b2c3ba;
  font-size: 0.78rem;
  text-decoration: none;
}

.footer-column a:hover { color: #fffdfa; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 0;
  border-top: 1px solid rgba(255, 253, 248, 0.13);
  color: #91a79b;
  font-size: 0.68rem;
}

.footer-bottom a { text-decoration: none; }

body.enhanced [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 650ms var(--ease-out), transform 650ms var(--ease-out);
}

body.enhanced [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

body.enhanced [data-reveal][data-delay="1"] { transition-delay: 80ms; }
body.enhanced [data-reveal][data-delay="2"] { transition-delay: 160ms; }
body.enhanced [data-reveal][data-delay="3"] { transition-delay: 240ms; }

@media (max-width: 960px) {
  .nav-links { gap: 1rem; }
  .nav-links > a:not(.button) { font-size: 0.76rem; }
  .nav-links .nav-login { display: none; }
  .home-hero-grid { grid-template-columns: 1fr 0.9fr; gap: 2.5rem; }
  .window-content { grid-template-columns: 104px 1fr; }
  .feature-card:nth-child(1), .feature-card:nth-child(4) { grid-column: span 6; }
  .feature-card:nth-child(2), .feature-card:nth-child(3) { grid-column: span 6; }
  .privacy-grid { gap: 3rem; }
  .footer-top { grid-template-columns: 1.5fr repeat(3, 1fr); }
}

@media (max-width: 760px) {
  .container { width: min(calc(100% - 2rem), var(--container)); }
  .site-header { padding: 0.65rem 0; }
  .site-header.is-scrolled { background: rgba(246, 243, 235, 0.95); }
  .nav-toggle { display: block; }
  .nav-links {
    position: fixed;
    z-index: 1;
    inset: 61px 1rem auto;
    display: grid;
    gap: 0.1rem;
    padding: 0.75rem;
    visibility: hidden;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: var(--surface);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 180ms ease, transform 180ms ease, visibility 180ms;
  }
  .nav-links.is-open { visibility: visible; opacity: 1; transform: none; }
  .nav-links > a:not(.button) { padding: 0.72rem 0.75rem; font-size: 0.9rem; }
  .nav-links .nav-login { display: block; margin-left: 0; }
  .nav-links .button { margin-top: 0.35rem; }
  .site-hero { padding: 4.25rem 0 3.7rem; }
  .home-hero-grid, .privacy-grid, .faq-layout, .download-help-grid { grid-template-columns: 1fr; }
  .home-hero-grid { gap: 3.3rem; }
  h1 { font-size: clamp(2.6rem, 12vw, 4.1rem); }
  .app-window { transform: none; }
  .proof-strip .container { grid-template-columns: repeat(2, 1fr); gap: 1rem 1.2rem; }
  .proof-intro { grid-column: 1 / -1; }
  .section-head { display: block; margin-bottom: 2rem; }
  .section-head .lead { margin-top: 1rem; }
  .feature-grid { display: grid; grid-template-columns: 1fr; }
  .feature-card:nth-child(n) { grid-column: auto; min-height: 245px; }
  .workflow-grid { grid-template-columns: 1fr; }
  .workflow-step { min-height: 215px; }
  .workflow-step h3 { margin-top: 1.8rem; }
  .workflow-step::after { top: auto; right: 1.65rem; bottom: -0.5rem; transform: rotate(135deg); }
  .cta-inner { grid-template-columns: 1fr; }
  .cta-inner .button { width: fit-content; }
  .page-intro { padding: 4rem 0 3rem; }
  .page-intro::after { top: 1.8rem; right: -4rem; width: 170px; }
  .download-grid, .support-channel-grid { grid-template-columns: 1fr; }
  .download-steps { grid-template-columns: 1fr; gap: 0.7rem; }
  .release-changes, .release-tech { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; padding: 3rem 0 2rem; }
  .footer-brand { grid-column: 1 / -1; margin-bottom: 0.8rem; }
}

@media (max-width: 440px) {
  .window-content { grid-template-columns: 82px 1fr; }
  .window-main { padding: 1rem; }
  .window-sidebar { padding: 0.8rem 0.45rem; }
  .side-menu span { padding: 0.42rem 0.35rem; font-size: 0.48rem; }
  .window-cards { grid-template-columns: 1fr; }
  .window-card { min-height: auto; }
  .window-draft { display: none; }
  .proof-strip .container { grid-template-columns: 1fr; }
  .proof-intro { grid-column: auto; }
  .hero-actions .button { width: 100%; }
  .download-meta-row { grid-template-columns: 90px 1fr; gap: 0.5rem; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-brand { grid-column: auto; }
  .footer-bottom { display: grid; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
  body.enhanced [data-reveal] { opacity: 1; transform: none; }
}
