:root {
  --navy: #101a2b;
  --navy-deep: #0d1524;
  --gold: #efca78;
  --gold-light: #f8dc9c;
  --white: #fffdf8;
  --night-muted: #b7c1d0;
  --rule: #ffffff24;
  --card-finish: linear-gradient(150deg, #f1f5ff16, #d9e5f00a 75%);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; }
body { margin: 0; background: var(--navy-deep); color: var(--white); font: 16px/1.55 "DM Sans", system-ui, sans-serif; }
a { color: inherit; }
button { font: inherit; }
img { display: block; max-width: 100%; }
figure, h1, h2, h3, p { margin: 0; }
h1, h2 { font-weight: 800; letter-spacing: -.05em; }
h2 { font-size: clamp(2.3rem, 4.25vw, 3.9rem); line-height: 1.05; }
h3 { font-size: 1.22rem; line-height: 1.25; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--gold); outline-offset: 4px; }

.shell { width: min(1160px, calc(100% - 80px)); margin-inline: auto; }
.skip-link { position: absolute; z-index: 5; left: 20px; top: 12px; translate: 0 -150%; padding: 8px 12px; color: var(--navy-deep); background: var(--gold); }
.skip-link:focus { translate: 0; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 2;
  background: #0d1524ed;
  border-bottom: 1px solid var(--rule);
  backdrop-filter: blur(16px);
}
.header-row { width: min(1220px, calc(100% - 80px)); min-height: 77px; display: flex; align-items: center; gap: 28px; }
.brand { display: block; flex: 0 0 auto; width: 154px; height: 48px; overflow: hidden; border-radius: 12px; outline: 1px solid #ffffff28; }
.brand img { width: 100%; height: 100%; object-fit: cover; }
.site-nav { flex: 1; display: flex; align-items: center; justify-content: flex-end; gap: 26px; }
.nav-links, .nav-actions { display: flex; align-items: center; gap: clamp(16px, 1.8vw, 28px); }
.site-nav a:not(.button) { font-size: .93rem; font-weight: 600; text-decoration: none; color: #c5cfdd; }
.site-nav a:not(.button):hover { color: var(--white); }
.menu-toggle { color: var(--white); background: transparent; border: 1px solid #ffffff3b; border-radius: 6px; padding: 7px 14px; cursor: pointer; }

.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  padding: 11px 19px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: .94rem;
  font-weight: 700;
  white-space: nowrap;
  text-decoration: none;
  transition: background-color .15s, border-color .15s;
}
.button-small { min-height: 42px; padding: 7px 18px; font-size: .88rem; }
.button-gold { background: linear-gradient(125deg, #edc776, #dbb650); color: #211b12; box-shadow: 0 8px 25px #eac76a24; }
.button-gold:hover { background: var(--gold-light); }
.button-outline { border-color: #ffffff42; color: var(--white); }
.button-outline:hover { border-color: #ffffff90; background: #ffffff0e; }

.hero {
  position: relative;
  isolation: isolate;
  background:
    radial-gradient(ellipse at 86% 44%, #3a604e38, transparent 63%),
    radial-gradient(ellipse at 13% 70%, #dba75624, transparent 52%),
    linear-gradient(145deg, #182234, #0e1728 76%);
  padding-block: clamp(68px, 7.6vw, 114px) clamp(76px, 7.6vw, 112px);
}
.hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(#ffffff08 1px, transparent 1px),
    linear-gradient(90deg, #ffffff08 1px, transparent 1px);
  background-size: 55px 55px;
  mask-image: linear-gradient(150deg, #000c, transparent 84%);
  pointer-events: none;
}
.hero-grid { display: grid; align-items: center; grid-template-columns: minmax(0, .94fr) minmax(0, 1.06fr); gap: clamp(32px, 3.6vw, 55px); }
.hero-label, .section-heading .section-label {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--gold);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  margin: 0 0 20px;
}
.hero-label::before, .section-label::before { content: ""; width: 25px; height: 1px; background: linear-gradient(90deg, transparent, var(--gold)); }
.hero h1 { font-size: clamp(2.5rem, 4.35vw, 4.2rem); line-height: 1.01; letter-spacing: -.065em; }
.hero h1 span { color: var(--gold-light); }
.hero-lead { font-size: clamp(1.03rem, 1.35vw, 1.18rem); color: #d9e0eb; max-width: 33ch; margin-block: 28px 28px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.trial-note { color: var(--night-muted); font-size: .82rem; margin-top: 12px; }
.hero-figure { min-width: 0; }
.product-frame {
  overflow: hidden;
  padding: 7px;
  border: 1px solid #ffffff35;
  border-radius: 20px;
  background: linear-gradient(145deg, #ffffff2b, #dae8f70b);
  box-shadow: 0 24px 70px #040a186b, 0 0 58px #e2bd6920;
}
.product-frame img { width: 100%; height: auto; border-radius: 8px; background: #1b2537; }
.hero-figure figcaption { text-align: right; color: #bdc8d7; font-size: .75rem; margin-top: 9px; }

.product-section, .feature-section, .why-section, .pricing-section, .faq-section { padding-block: clamp(65px, 8vw, 105px); }
.product-section { background: linear-gradient(162deg, #10182a, #101b2b 70%); }
.section-heading { margin-bottom: 36px; }
.section-heading p { max-width: 52ch; margin-top: 13px; color: var(--night-muted); }
.product-heading, .pricing-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; }
.text-link { align-self: end; flex-shrink: 0; color: var(--gold); font-weight: 700; text-underline-offset: 4px; font-size: .93rem; }
.text-link:hover { color: var(--gold-light); }
.text-link span { display: inline-block; margin-left: 3px; }

.workflow-nav { display: flex; flex-wrap: wrap; gap: 6px 20px; border-bottom: 1px solid var(--rule); }
.workflow-nav button {
  color: var(--night-muted);
  background: transparent;
  cursor: pointer;
  border: 0;
  border-bottom: 2px solid transparent;
  font-size: .92rem;
  padding: 10px 2px;
  font-weight: 700;
}
.workflow-nav button[aria-pressed="true"] { color: var(--gold-light); border-bottom-color: var(--gold); }
.workflow-nav button:hover { color: var(--white); }
.workflow-panel {
  display: grid;
  grid-template-columns: minmax(0, .34fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 54px);
  align-items: center;
  padding: clamp(18px, 4vw, 45px);
  border: 1px solid var(--rule);
  border-radius: 0 0 22px 22px;
  background: var(--card-finish);
  box-shadow: 0 16px 52px #040a183d;
}
.workflow-panel + .workflow-panel { margin-top: 12px; }
.workflow-panel h3 { font-size: clamp(1.65rem, 2.8vw, 2.65rem); line-height: 1.04; letter-spacing: -.045em; }
.workflow-panel p { margin-top: 12px; color: var(--night-muted); }
.workflow-panel img { width: 100%; height: auto; border: 1px solid var(--rule); border-radius: 12px; background: var(--navy); }

.feature-section {
  border-top: 1px solid #ffffff12;
  background: radial-gradient(ellipse at 17% 30%, #b394461d, transparent 60%),
    linear-gradient(140deg, #1b212b, #111a29 82%);
}
.why-section {
  border-block: 1px solid #ffffff12;
  background: radial-gradient(ellipse at 74% 46%, #44666322, transparent 68%),
    linear-gradient(135deg, #202529, #151e2a);
}
.card-section-heading { max-width: 770px; }
.card-grid, .pricing-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.glass-card { border: 1px solid var(--rule); border-radius: 22px; background: var(--card-finish); box-shadow: 0 16px 46px #050b162d; }
.content-card {
  min-height: 218px;
  padding: clamp(22px, 2.7vw, 36px);
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.content-card::before {
  content: "";
  display: block;
  width: 34px;
  height: 2px;
  margin-bottom: 27px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--gold), #efca782b);
}
.content-card h3 { font-weight: 800; letter-spacing: -.025em; }
.content-card p { max-width: 34ch; margin-top: 10px; color: var(--night-muted); }
@media (hover: hover) {
  .content-card:hover { transform: translateY(-4px); border-color: #eec47280; box-shadow: 0 16px 45px #d9ae4e18; }
}

.pricing-section { background: radial-gradient(ellipse at 50% 45%, #d4b36918, transparent 62%), #101923; }
.billing-period { display: inline-flex; align-items: center; flex-shrink: 0; padding: 4px; border: 1px solid var(--rule); border-radius: 999px; background: #050d1952; }
.billing-period button { border: 0; border-radius: 999px; color: var(--night-muted); background: transparent; cursor: pointer; padding: 6px 13px; font-weight: 700; font-size: .91rem; }
.billing-period button[aria-pressed="true"] { background: #edd08921; color: var(--gold-light); }
.plan { display: flex; flex-direction: column; align-items: start; padding: clamp(22px, 2.65vw, 37px); }
.plan-pro { border-color: #e1bb6c88; background: linear-gradient(155deg, #d8b7702b, #ffffff0d 62%); box-shadow: 0 19px 60px #d1ac4f18; }
.plan-price { margin-top: 12px; font-size: 2.55rem; line-height: 1.13; font-weight: 700; letter-spacing: -.07em; }
.price-unit { margin-left: 3px; font-size: .89rem; font-weight: 500; letter-spacing: 0; color: var(--night-muted); }
.plan-caption { color: var(--night-muted); margin-block: 9px 16px; font-size: .92rem; }
.plan ul { margin: 0 0 25px; padding-left: 20px; color: #d6dfeb; font-size: .9rem; }
.plan li + li { margin-top: 7px; }
.plan .button { margin-top: auto; }

.faq-section { background: #0e1727; border-top: 1px solid #ffffff12; }
.faq-layout { display: grid; grid-template-columns: minmax(0,.68fr) minmax(0,1fr); gap: clamp(30px, 6vw, 82px); }
.faq details { margin-bottom: 10px; border: 1px solid var(--rule); border-radius: 13px; background: #ffffff08; }
.faq summary { cursor: pointer; padding: 15px 18px; font-weight: 700; }
.faq details[open] summary { color: var(--gold-light); }
.faq p { padding: 0 18px 17px; color: var(--night-muted); }
.faq a { text-underline-offset: 3px; }

.final-section { padding-bottom: clamp(30px, 4.4vw, 58px); background: #0e1727; }
.final-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: clamp(23px, 3.1vw, 43px);
  border: 1px solid #e1bb6c50;
  border-radius: 20px;
  background: radial-gradient(ellipse at 100% 100%, #b48b3728, transparent 66%), var(--card-finish);
}
.final-row h2 { font-size: clamp(1.95rem, 3.35vw, 3rem); }
.final-row p { color: var(--night-muted); margin-top: 9px; }
.site-footer {
  padding-block: 20px 18px;
  border-top: 1px solid var(--rule);
  background: radial-gradient(ellipse at 100% 120%, #22435c30, transparent 60%), var(--navy-deep);
  color: var(--night-muted);
}
.footer-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: clamp(14px, 2vw, 32px);
}
.footer-row .brand { width: 132px; height: 42px; }
.footer-credit { font-size: .8rem; text-align: center; }
.footer-credit strong { color: #e3cd9c; }
.footer-copyright, .footer-credit strong { white-space: nowrap; }
.footer-credit-separator { margin-inline: 4px; }
.footer-row nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 9px clamp(10px, 1.25vw, 18px); }
.footer-row nav a { font-size: .85rem; text-decoration: none; }
.footer-row nav a:hover { text-decoration: underline; }

@media (max-width: 1000px) {
  .shell { width: min(100% - 64px, 1200px); }
  .hero-grid { gap: 26px; }
  .hero-label { margin-bottom: 16px; }
}

@media (max-width: 860px) {
  html { scroll-padding-top: 78px; }
  .shell { width: calc(100% - 40px); }
  .header-row { min-height: 63px; flex-wrap: wrap; justify-content: space-between; gap: 0 18px; }
  .site-header .brand { width: 132px; height: 42px; }
  .site-nav { flex: 0 0 100%; padding-block: 10px 16px; gap: 12px; flex-wrap: wrap; justify-content: space-between; border-top: 1px solid var(--rule); }
  .hero { padding-block: 52px 52px; }
  .hero-grid { grid-template-columns: 1fr; gap: 28px; }
  .hero h1 { font-size: clamp(2.55rem, 9vw, 4.75rem); }
  .hero-lead { margin-block: 19px 21px; }
  .product-heading, .pricing-heading { flex-direction: column; align-items: start; }
  .text-link { align-self: start; }
  .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .pricing-grid { grid-template-columns: minmax(0, 1fr); }
  .faq-layout { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 820px) {
  .footer-row { grid-template-columns: auto minmax(0, 1fr); gap: 14px 8px; }
  .footer-row .brand { width: clamp(96px, 30vw, 132px); height: auto; aspect-ratio: 132 / 42; }
  .footer-credit { grid-column: 1 / -1; grid-row: 2; }
  .footer-row nav { gap: 6px 8px; }
  .footer-row nav a { font-size: .8rem; }
}

@media (max-width: 620px) {
  .hero-label { font-size: .75rem; }
  .hero h1 { line-height: .97; }
  .product-frame { padding: 4px; border-radius: 10px; }
  .hero-figure figcaption { margin-top: 6px; }
  .workflow-nav { gap: 0 12px; }
  .workflow-nav button { font-size: .83rem; }
  .workflow-panel { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .card-grid { grid-template-columns: minmax(0,1fr); }
  .content-card { min-height: 0; padding: 23px; }
  .content-card::before { margin-bottom: 19px; }
  .final-row { flex-direction: column; align-items: start; }
}

@media (max-width: 390px) {
  .hero { padding-top: 42px; }
  .hero h1 { font-size: clamp(2.15rem, 9.7vw, 2.55rem); }
  .footer-copyright { display: block; }
  .footer-credit-separator { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button, .content-card { transition: none; }
}
