:root {
  --ink: #090907;
  --ink-2: #171511;
  --paper: #f7f7f4;
  --paper-2: #e9eae6;
  --muted: #66635b;
  --line: rgba(9, 9, 7, 0.14);
  --line-dark: rgba(255, 255, 255, 0.16);
  --jade: #0e6b58;
  --jade-2: #11483e;
  --gold: #c6a15b;
  --coral: #c85246;
  --violet: #6654a4;
  --white: #ffffff;
  --shadow: 0 18px 55px rgba(9, 9, 7, 0.16);
  --radius: 8px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  color-scheme: light;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  letter-spacing: 0;
}

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

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

button,
input,
textarea,
select {
  font: inherit;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 100;
  background: var(--paper);
  color: var(--ink);
  padding: 10px 14px;
  border-radius: var(--radius);
  transition: top 160ms ease;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(9, 9, 7, 0.92);
  backdrop-filter: blur(18px);
  color: var(--paper);
}

.nav-shell {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.08rem;
  white-space: nowrap;
}

.brand-mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--gold), var(--jade));
  color: var(--ink);
  font-weight: 900;
}

.nav-menu {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  color: rgba(251, 250, 246, 0.82);
  font-size: 0.95rem;
}

.nav-menu a {
  padding: 8px 0;
}

.nav-menu a[aria-current="page"],
.nav-menu a:hover {
  color: var(--white);
}

.nav-actions {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: transparent;
  color: var(--paper);
}

.btn {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  padding: 11px 17px;
  font-weight: 750;
  cursor: pointer;
  transition: transform 150ms ease, box-shadow 150ms ease, background 150ms ease, border-color 150ms ease;
}

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

.btn-primary {
  background: var(--gold);
  color: #15120d;
  box-shadow: 0 12px 28px rgba(198, 161, 91, 0.28);
}

.btn-primary:hover {
  background: #d4b371;
}

.btn-secondary {
  border-color: rgba(251, 250, 246, 0.32);
  color: var(--paper);
  background: rgba(255, 255, 255, 0.08);
}

.btn-secondary:hover {
  border-color: rgba(251, 250, 246, 0.54);
}

.btn-dark {
  background: var(--ink);
  color: var(--paper);
}

.btn-quiet {
  border-color: var(--line);
  background: transparent;
  color: var(--ink);
}

.icon {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
}

.hero {
  position: relative;
  min-height: 86svh;
  overflow: hidden;
  color: var(--paper);
  background: var(--ink);
  isolation: isolate;
}

.hero-canvas,
.hero-visual {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-canvas {
  z-index: -3;
  opacity: 0.55;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(9, 9, 7, 0.96), rgba(9, 9, 7, 0.72) 45%, rgba(9, 9, 7, 0.38)),
    radial-gradient(circle at 78% 32%, rgba(14, 107, 88, 0.28), transparent 34%),
    radial-gradient(circle at 62% 76%, rgba(198, 161, 91, 0.18), transparent 30%);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.9), transparent 72%);
}

.hero-visual {
  z-index: -1;
  pointer-events: none;
}

.console-layer {
  position: absolute;
  right: clamp(12px, 6vw, 92px);
  top: 10%;
  width: min(610px, 52vw);
  min-height: 72%;
  opacity: 0.92;
}

.product-screen {
  position: absolute;
  right: 0;
  top: 8%;
  width: 72%;
  min-width: 360px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(18, 17, 13, 0.9);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.42);
  overflow: hidden;
}

.screen-top {
  height: 42px;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
}

.screen-dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--coral);
}

.screen-dot:nth-child(2) {
  background: var(--gold);
}

.screen-dot:nth-child(3) {
  background: var(--jade);
}

.screen-body {
  padding: 20px;
}

.scan-row {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 14px;
  align-items: center;
  padding: 15px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.scan-icon {
  width: 54px;
  height: 54px;
  border: 1px solid rgba(198, 161, 91, 0.38);
  border-radius: var(--radius);
  display: grid;
  place-items: center;
  background: rgba(198, 161, 91, 0.12);
}

.bar {
  height: 9px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.11);
  overflow: hidden;
}

.bar + .bar {
  margin-top: 10px;
  width: 72%;
}

.bar span {
  display: block;
  height: 100%;
  width: var(--w, 62%);
  border-radius: 99px;
  background: linear-gradient(90deg, var(--jade), var(--gold));
}

.phone-stack {
  position: absolute;
  left: 0;
  bottom: 3%;
  width: 230px;
  aspect-ratio: 0.52;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: #11100d;
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.48);
  padding: 14px;
  transform: rotate(-4deg);
}

.phone-stack::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 12px;
  width: 78px;
  height: 17px;
  border-radius: 99px;
  background: #070706;
  transform: translateX(-50%);
}

.phone-inner {
  width: 100%;
  height: 100%;
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(251, 250, 246, 0.13), transparent 25%),
    linear-gradient(145deg, #1b1913, #0d0c0a);
  display: flex;
  align-items: end;
  padding: 18px;
}

.phone-status {
  width: 100%;
}

.hero-content {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  padding: clamp(86px, 12vh, 130px) 0 56px;
  max-width: 750px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: rgba(251, 250, 246, 0.82);
  font-size: 0.92rem;
  font-weight: 700;
  margin: 0 0 18px;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--gold);
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 760px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.15rem, 4.8rem, 4.8rem);
  line-height: 0.98;
  font-weight: 700;
}

.hero-copy {
  max-width: 660px;
  margin: 22px 0 0;
  color: rgba(251, 250, 246, 0.82);
  font-size: 1.18rem;
  line-height: 1.7;
}

.hero-actions,
.section-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
}

.hero-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  max-width: 700px;
  margin-top: 42px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  background: rgba(255, 255, 255, 0.13);
}

.proof-item {
  min-height: 88px;
  padding: 16px;
  background: rgba(9, 9, 7, 0.68);
}

.proof-item strong {
  display: block;
  color: var(--paper);
  font-size: 1.1rem;
}

.proof-item span {
  display: block;
  margin-top: 5px;
  color: rgba(251, 250, 246, 0.68);
  font-size: 0.9rem;
  line-height: 1.45;
}

.section {
  padding: 86px 0;
}

.section-tight {
  padding: 58px 0;
}

.section-dark {
  background: var(--ink);
  color: var(--paper);
}

.section-jade {
  background: var(--jade-2);
  color: var(--paper);
}

.section-paper {
  background: var(--paper-2);
}

.container {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.55fr);
  gap: 34px;
  align-items: end;
  margin-bottom: 40px;
}

.section-kicker {
  margin: 0 0 10px;
  color: var(--jade);
  font-weight: 800;
}

.section-dark .section-kicker,
.section-jade .section-kicker {
  color: var(--gold);
}

.section-title {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.1rem, 3.2rem, 3.2rem);
  line-height: 1.04;
  font-weight: 700;
}

.section-copy {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
  font-size: 1rem;
}

.section-dark .section-copy,
.section-jade .section-copy {
  color: rgba(251, 250, 246, 0.72);
}

.trust-strip {
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
}

.trust-item {
  min-height: 110px;
  padding: 22px;
  background: var(--paper);
}

.trust-item strong {
  display: block;
  font-size: 1rem;
}

.trust-item span {
  display: block;
  margin-top: 7px;
  color: var(--muted);
  line-height: 1.5;
  font-size: 0.92rem;
}

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

.feature-card,
.price-card,
.guide-card,
.testimonial,
.support-card,
.article-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 1px 0 rgba(9, 9, 7, 0.04);
}

.section-dark .feature-card,
.section-dark .testimonial,
.section-dark .support-card {
  border-color: var(--line-dark);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: none;
}

.feature-card {
  padding: 24px;
  min-height: 250px;
  display: flex;
  flex-direction: column;
}

.feature-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius);
  border: 1px solid rgba(14, 107, 88, 0.24);
  background: rgba(14, 107, 88, 0.08);
  color: var(--jade);
  display: grid;
  place-items: center;
}

.feature-card h3,
.price-card h3,
.guide-card h3,
.testimonial h3,
.support-card h3,
.article-card h3 {
  margin: 18px 0 10px;
  font-size: 1.1rem;
  line-height: 1.28;
}

.feature-card p,
.price-card p,
.guide-card p,
.testimonial p,
.support-card p,
.article-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.62;
}

.section-dark .feature-card p,
.section-dark .testimonial p,
.section-dark .support-card p {
  color: rgba(251, 250, 246, 0.72);
}

.feature-list,
.check-list {
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
  display: grid;
  gap: 10px;
}

.feature-list li,
.check-list li {
  position: relative;
  padding-left: 26px;
  color: var(--muted);
  line-height: 1.45;
}

.feature-list li::before,
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.4em;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  border: 1px solid var(--jade);
  background: radial-gradient(circle, var(--jade) 0 35%, transparent 38%);
}

.section-dark .feature-list li,
.section-dark .check-list li,
.section-jade .check-list li {
  color: rgba(251, 250, 246, 0.76);
}

.mode-tabs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}

.mode-tab {
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: transparent;
  color: var(--ink);
  padding: 8px 13px;
  cursor: pointer;
  font-weight: 750;
}

.mode-tab[aria-selected="true"] {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}

.mode-panel {
  display: none;
}

.mode-panel.is-active {
  display: block;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 0.72fr);
  gap: 44px;
  align-items: center;
}

.split-reverse {
  grid-template-columns: minmax(320px, 0.72fr) minmax(0, 0.92fr);
}

.lux-panel {
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.lux-panel-dark {
  border-color: var(--line-dark);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: none;
}

.workflow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--line-dark);
  background: var(--line-dark);
}

.step {
  min-height: 260px;
  padding: 25px;
  background: rgba(255, 255, 255, 0.06);
}

.step-number {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(198, 161, 91, 0.48);
  color: var(--gold);
  font-weight: 900;
}

.step h3 {
  margin: 24px 0 10px;
}

.step p {
  color: rgba(251, 250, 246, 0.72);
  line-height: 1.62;
  margin: 0;
}

.compat-shell {
  display: grid;
  grid-template-columns: 0.8fr 1fr;
  gap: 30px;
  align-items: start;
}

.compat-controls {
  display: grid;
  gap: 14px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.field {
  display: grid;
  gap: 7px;
}

.field label {
  color: var(--ink);
  font-weight: 750;
}

.field select,
.field input,
.field textarea {
  width: 100%;
  min-height: 45px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--ink);
  padding: 10px 12px;
}

.compat-result {
  min-height: 194px;
  border: 1px solid rgba(14, 107, 88, 0.28);
  border-radius: var(--radius);
  padding: 24px;
  background: linear-gradient(135deg, rgba(14, 107, 88, 0.08), rgba(198, 161, 91, 0.1));
}

.compat-result strong {
  display: block;
  font-size: 1.35rem;
  margin-bottom: 10px;
}

.compat-result p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

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

.comparison-table {
  width: 100%;
  min-width: 780px;
  border-collapse: collapse;
}

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

.comparison-table th {
  background: var(--ink);
  color: var(--paper);
  font-size: 0.95rem;
}

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

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  border: 1px solid rgba(14, 107, 88, 0.24);
  border-radius: 999px;
  background: rgba(14, 107, 88, 0.08);
  color: var(--jade-2);
  padding: 4px 10px;
  font-size: 0.84rem;
  font-weight: 750;
}

.tag-gold {
  border-color: rgba(198, 161, 91, 0.36);
  background: rgba(198, 161, 91, 0.13);
  color: #674b17;
}

.tag-coral {
  border-color: rgba(200, 82, 70, 0.3);
  background: rgba(200, 82, 70, 0.1);
  color: #7b2119;
}

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

.price-card {
  padding: 26px;
  position: relative;
}

.price-card.featured {
  border-color: rgba(198, 161, 91, 0.72);
  box-shadow: 0 20px 60px rgba(198, 161, 91, 0.18);
}

.price {
  display: flex;
  align-items: baseline;
  gap: 5px;
  margin: 18px 0;
}

.price strong {
  font-size: 2.8rem;
  line-height: 1;
}

.billing-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 6px;
  background: var(--white);
}

.billing-toggle button {
  border: 0;
  border-radius: 6px;
  min-height: 36px;
  padding: 8px 13px;
  background: transparent;
  cursor: pointer;
  font-weight: 750;
}

.billing-toggle button[aria-pressed="true"] {
  background: var(--ink);
  color: var(--paper);
}

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

.guide-card,
.testimonial,
.support-card,
.article-card {
  padding: 24px;
}

.guide-card a,
.article-card a {
  display: inline-flex;
  margin-top: 18px;
  color: var(--jade);
  font-weight: 800;
}

.testimonial cite {
  display: block;
  margin-top: 18px;
  color: var(--ink);
  font-style: normal;
  font-weight: 800;
}

.section-dark .testimonial cite {
  color: var(--paper);
}

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

.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  min-height: 58px;
  border: 0;
  background: transparent;
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 20px;
  cursor: pointer;
  text-align: left;
  font-weight: 800;
}

.faq-question span:last-child {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  flex: 0 0 24px;
}

.faq-answer {
  display: none;
  padding: 0 20px 20px;
  color: var(--muted);
  line-height: 1.65;
}

.faq-item.is-open .faq-answer {
  display: block;
}

.faq-item.is-open .faq-question span:last-child {
  background: var(--ink);
  color: var(--paper);
}

.page-hero {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: var(--paper);
  padding: 92px 0 74px;
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(9, 9, 7, 0.94), rgba(9, 9, 7, 0.68)),
    linear-gradient(135deg, rgba(14, 107, 88, 0.3), transparent 45%),
    linear-gradient(45deg, transparent 50%, rgba(198, 161, 91, 0.16));
  z-index: 0;
}

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

.page-hero h1 {
  font-size: clamp(2.7rem, 4rem, 4rem);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-bottom: 16px;
  color: rgba(251, 250, 246, 0.68);
  font-size: 0.92rem;
}

.breadcrumb a {
  color: var(--paper);
}

.legal-note {
  border-left: 3px solid var(--gold);
  background: rgba(198, 161, 91, 0.12);
  padding: 16px 18px;
  color: var(--ink);
  line-height: 1.6;
}

.section-dark .legal-note,
.section-jade .legal-note {
  color: var(--paper);
}

.support-form {
  display: grid;
  gap: 14px;
  padding: 26px;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: var(--radius);
}

.article-body {
  max-width: 850px;
  margin: 0 auto;
}

.article-body h2 {
  margin-top: 42px;
  font-size: 1.7rem;
}

.article-body p,
.article-body li {
  color: var(--muted);
  line-height: 1.78;
}

.article-body ol,
.article-body ul {
  display: grid;
  gap: 12px;
}

.site-footer {
  background: var(--ink);
  color: var(--paper);
  padding: 54px 0 34px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr repeat(3, minmax(140px, 0.6fr));
  gap: 30px;
}

.footer-grid h2,
.footer-grid h3 {
  margin: 0 0 14px;
  font-size: 1rem;
}

.footer-grid p,
.footer-grid a,
.footer-bottom {
  color: rgba(251, 250, 246, 0.68);
  line-height: 1.65;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 9px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  margin-top: 34px;
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 0.92rem;
}

@media (max-width: 980px) {
  .nav-menu {
    position: absolute;
    left: 16px;
    right: 16px;
    top: 72px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: var(--radius);
    background: rgba(9, 9, 7, 0.98);
    padding: 10px;
  }

  .nav-menu.is-open {
    display: flex;
  }

  .nav-menu a {
    padding: 13px 12px;
  }

  .menu-toggle {
    display: grid;
    place-items: center;
  }

  .nav-actions .btn {
    display: none;
  }

  .console-layer {
    width: 70vw;
    right: -20vw;
    opacity: 0.48;
  }

  .hero-content {
    max-width: none;
  }

  .section-head,
  .split,
  .split-reverse,
  .compat-shell {
    grid-template-columns: 1fr;
  }

  .feature-grid,
  .price-grid,
  .guides-grid,
  .testimonial-grid,
  .support-grid,
  .article-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 680px) {
  .hero {
    min-height: 78svh;
  }

  .hero::before {
    background:
      linear-gradient(180deg, rgba(9, 9, 7, 0.94), rgba(9, 9, 7, 0.7)),
      radial-gradient(circle at 72% 34%, rgba(14, 107, 88, 0.22), transparent 36%);
  }

  .console-layer {
    width: 100vw;
    right: -48vw;
    top: 14%;
  }

  .product-screen {
    min-width: 330px;
  }

  .phone-stack {
    width: 170px;
    left: 12vw;
    bottom: 5%;
  }

  .hero-content {
    padding-top: 72px;
    padding-bottom: 40px;
  }

  h1,
  .page-hero h1 {
    font-size: 3rem;
  }

  .hero-copy {
    font-size: 1.02rem;
  }

  .hero-proof {
    display: none;
  }

  .feature-grid,
  .price-grid,
  .guides-grid,
  .testimonial-grid,
  .support-grid,
  .article-grid,
  .trust-grid,
  .workflow {
    grid-template-columns: 1fr;
  }

  .proof-item {
    min-height: 76px;
  }

  .section {
    padding: 64px 0;
  }

  .section-tight {
    padding: 42px 0;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

/* ── Download page ─────────────────────────────────────────────────────────── */

.download-platform-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 28px;
}

.platform-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  padding: 30px;
  text-align: center;
  transition: border-color 200ms ease, box-shadow 200ms ease;
}

.platform-card:hover {
  border-color: var(--jade);
  box-shadow: 0 8px 30px rgba(14, 107, 88, 0.12);
}

.platform-icon {
  width: 68px;
  height: 68px;
  margin: 0 auto 16px;
  display: grid;
  place-items: center;
  background: var(--paper-2);
  border-radius: 16px;
  color: var(--ink);
}

.version-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  border-radius: 99px;
  background: rgba(14, 107, 88, 0.1);
  border: 1px solid rgba(14, 107, 88, 0.2);
  color: var(--jade-2);
  font-size: 0.82rem;
  font-weight: 750;
  margin-bottom: 14px;
}

.platform-card h3 {
  margin: 0 0 12px;
  font-size: 1.25rem;
}

.platform-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 18px;
  margin-bottom: 20px;
  color: var(--muted);
  font-size: 0.86rem;
}

.key-activation-card {
  border: 1px solid rgba(198, 161, 91, 0.36);
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(198, 161, 91, 0.06), rgba(14, 107, 88, 0.04));
  padding: 32px;
}

.key-input-row {
  display: flex;
  gap: 10px;
  align-items: start;
}

.key-input-row input {
  flex: 1;
  min-height: 50px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
  padding: 12px 16px;
  font-family: "Courier New", Courier, monospace;
  font-size: 1.05rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.key-input-row input:focus {
  outline: none;
  border-color: var(--jade);
  box-shadow: 0 0 0 3px rgba(14, 107, 88, 0.12);
}

.key-status {
  margin-top: 12px;
  font-size: 0.9rem;
  font-weight: 700;
  min-height: 22px;
  line-height: 1.5;
}

.key-status.success { color: var(--jade); }
.key-status.error   { color: var(--coral); }

.sysreq-table {
  width: 100%;
  border-collapse: collapse;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--white);
}

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

.sysreq-table th {
  background: var(--ink);
  color: var(--paper);
  font-size: 0.92rem;
  font-weight: 750;
}

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

.sysreq-table tr:nth-child(even) td { background: var(--paper); }

.changelog-list {
  display: grid;
  gap: 14px;
}

.changelog-item {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 16px;
  align-items: start;
  padding: 18px 20px;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
}

.changelog-version {
  text-align: center;
  padding: 5px 8px;
  border-radius: var(--radius);
  background: rgba(198, 161, 91, 0.18);
  border: 1px solid rgba(198, 161, 91, 0.3);
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 800;
  white-space: nowrap;
}

.changelog-body h4 {
  margin: 0 0 6px;
  color: var(--paper);
  font-size: 1rem;
}

.changelog-body p {
  margin: 0;
  color: rgba(251, 250, 246, 0.72);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* ── Blog ──────────────────────────────────────────────────────────────────── */

.blog-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 36px;
  align-items: start;
}

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

.blog-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 180ms ease, transform 180ms ease;
}

.blog-card:hover {
  box-shadow: 0 12px 40px rgba(9, 9, 7, 0.1);
  transform: translateY(-3px);
}

.blog-card-thumb {
  height: 180px;
  background: linear-gradient(135deg, var(--ink), var(--jade-2));
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.22);
}

.blog-card-thumb svg { width: 60px; height: 60px; }

.blog-card-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 28% 52%, rgba(198, 161, 91, 0.2), transparent 50%),
    radial-gradient(circle at 78% 78%, rgba(14, 107, 88, 0.22), transparent 45%);
}

.blog-card-body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.blog-category {
  display: inline-flex;
  align-items: center;
  margin-bottom: 8px;
  color: var(--jade);
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.blog-card-body h3 {
  margin: 0 0 10px;
  font-size: 1.05rem;
  line-height: 1.38;
}

.blog-card-body p {
  margin: 0;
  color: var(--muted);
  line-height: 1.62;
  font-size: 0.93rem;
  flex: 1;
}

.blog-card-footer {
  padding: 13px 20px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.blog-meta {
  color: var(--muted);
  font-size: 0.83rem;
}

.blog-card-footer a {
  color: var(--jade);
  font-weight: 800;
  font-size: 0.88rem;
  white-space: nowrap;
}

.blog-sidebar { display: grid; gap: 20px; }

.blog-widget {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  padding: 20px;
}

.blog-widget h3 { margin: 0 0 14px; font-size: 1rem; }

.blog-category-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}

.blog-category-list li a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
  padding: 3px 0;
  font-size: 0.92rem;
  transition: color 150ms ease;
}

.blog-category-list li a:hover { color: var(--jade); }

.blog-category-list .count {
  background: var(--paper-2);
  border-radius: 99px;
  padding: 2px 8px;
  font-size: 0.78rem;
  font-weight: 750;
}

.blog-post-header { max-width: 820px; }

.blog-post-header h1 {
  font-size: clamp(2.2rem, 3.4rem, 3.4rem);
  margin-top: 12px;
}

.post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 14px;
  color: rgba(251, 250, 246, 0.72);
  font-size: 0.88rem;
}

/* ── Stats counter ─────────────────────────────────────────────────────────── */

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  overflow: hidden;
}

.stat-item {
  padding: 28px 22px;
  background: rgba(255, 255, 255, 0.05);
  text-align: center;
}

.stat-number {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.6rem;
  font-weight: 700;
  line-height: 1;
  color: var(--gold);
}

.stat-label {
  margin-top: 8px;
  color: rgba(251, 250, 246, 0.72);
  font-size: 0.88rem;
  line-height: 1.45;
}

/* ── Back to top ───────────────────────────────────────────────────────────── */

.back-to-top {
  position: fixed;
  right: 22px;
  bottom: 26px;
  z-index: 40;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: var(--ink);
  color: var(--paper);
  display: grid;
  place-items: center;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease, transform 200ms ease;
  box-shadow: 0 8px 28px rgba(9, 9, 7, 0.32);
}

.back-to-top.visible {
  opacity: 1;
  pointer-events: all;
}

.back-to-top:hover { transform: translateY(-3px); }

/* ── Toast notification ────────────────────────────────────────────────────── */

.toast {
  position: fixed;
  bottom: 84px;
  right: 22px;
  z-index: 100;
  padding: 13px 16px;
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--paper);
  font-weight: 750;
  font-size: 0.91rem;
  box-shadow: 0 14px 44px rgba(9, 9, 7, 0.32);
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 300px;
  transform: translateX(120%);
  transition: transform 320ms cubic-bezier(0.16, 1, 0.3, 1);
}

.toast.show { transform: translateX(0); }

.toast-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--jade);
  color: var(--white);
  display: grid;
  place-items: center;
  flex: 0 0 22px;
}

/* ── Scroll reveal ─────────────────────────────────────────────────────────── */

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 480ms ease, transform 480ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Responsive additions ──────────────────────────────────────────────────── */

@media (max-width: 980px) {
  .download-platform-grid { grid-template-columns: 1fr; }

  .blog-layout { grid-template-columns: 1fr; }

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

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

  .key-input-row { flex-direction: column; }

  .key-input-row .btn { width: 100%; justify-content: center; }

  .changelog-item { grid-template-columns: 1fr; gap: 10px; }
}

@media (max-width: 680px) {
  .blog-grid { grid-template-columns: 1fr; }

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

  .stat-number { font-size: 2rem; }
}

/* ── Language select ───────────────────────────────────────────────────────── */

.lang-select {
  appearance: none;
  -webkit-appearance: none;
  background-color: rgba(255, 255, 255, 0.07);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 6'%3E%3Cpath fill='%23ffffff80' d='M0 0l5 6 5-6z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 10px 6px;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  padding: 7px 32px 7px 12px;
  font-size: 0.84rem;
  font-family: inherit;
  font-weight: 500;
  cursor: pointer;
  min-width: 140px;
  outline: none;
  transition: background-color 150ms, border-color 150ms;
}

.lang-select:hover {
  background-color: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.32);
}

.lang-select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 2px rgba(198, 161, 91, 0.25);
}

.lang-select option {
  background: #111;
  color: #fff;
}
