@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Instrument+Serif:ital@0;1&display=swap');

:root {
  color-scheme: light;
  --paper: #f8f6ef;
  --surface: #fffdf8;
  --ink: #132a27;
  --muted: #485d55;
  --line: #d9ded3;
  --brand: #245244;
  --action: #173d32;
  --action-text: #fffdf5;
  --tint: #eaf0e3;
  --navy: #112c25;
  --gold: #f4cf83;
  --radius: 20px;
}
:root[data-theme=dark] {
  color-scheme: dark;
  --paper: #121a17;
  --surface: #1c2822;
  --ink: #f4f2e7;
  --muted: #bccabf;
  --line: #3e5146;
  --brand: #acd0a9;
  --action: #f4cf83;
  --action-text: #202619;
  --tint: #25372d;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.55 "DM Sans", system-ui, sans-serif; }
a { color: inherit; }
p { margin: 0; color: var(--muted); }
button, input, textarea { font: inherit; }
button, .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 44px;
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}
button:enabled:hover, .button:hover { filter: brightness(.93); }
button:disabled { opacity: .65; cursor: default; }
.primary { border-color: var(--action); background: var(--action); color: var(--action-text); }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 4px; }
[hidden] { display: none !important; }
.shell, body:not(.sales-page) > :is(header, main, footer) { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }
.site-header, footer { display: flex; justify-content: space-between; align-items: center; gap: 18px; padding-block: 18px; }
.sales-header-bar { position: sticky; top: 0; z-index: 20; background: var(--paper); }
.sales-instagram { display: inline-flex; align-items: center; gap: 7px; }
.sales-instagram svg { flex: none; color: var(--brand); }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 1.25rem; line-height: 1.08; font-weight: 700; text-decoration: none; }
.brand img { border-radius: 11px; }
.brand small { display: block; margin-top: 4px; color: var(--muted); font-size: .69rem; font-weight: 600; }
nav, footer > div { display: flex; gap: clamp(10px, 2vw, 25px); align-items: center; flex-wrap: wrap; }
nav a { font-size: .9rem; font-weight: 700; text-decoration: none; }
nav a:hover, .hero-link:hover { text-decoration: underline; }
nav .client { color: var(--brand); }
#theme { font-size: .82rem; }

.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  align-items: center;
  gap: clamp(30px, 6vw, 79px);
  overflow: hidden;
  padding: clamp(36px, 6vw, 82px);
  border-radius: 28px;
  background: radial-gradient(ellipse at 104% 13%, #3c6544, transparent 58%), linear-gradient(146deg,#15382d,#0e2722);
  color: #fffaf0;
}
.hero::after {
  position: absolute;
  z-index: -1;
  right: -200px;
  top: -210px;
  width: 510px;
  height: 510px;
  border: 1px solid #fff9e326;
  border-radius: 50%;
  box-shadow: 0 0 0 55px #fff9e30a, 0 0 0 110px #fff9e308;
  content: "";
}
.eyebrow { margin-bottom: 12px; color: var(--brand); font-size: .74rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
.hero .eyebrow { color: var(--gold); }
h1, h2 { margin: 0; font-family: "Instrument Serif", Georgia, serif; font-weight: 400; line-height: 1.02; }
h1 { font-size: clamp(3.5rem, 6.6vw, 6.2rem); letter-spacing: -.025em; }
h1 em { display: block; color: var(--gold); }
h2 { font-size: clamp(2.45rem, 4.4vw, 4.05rem); }
h3 { margin: 0; line-height: 1.32; }
.hero-copy > p:not(.eyebrow, .hero-note) { max-width: 45ch; margin-block: 20px 27px; color: #e0eadf; font-size: 1.05rem; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 16px 22px; }
.hero-cta { min-height: 50px; background: var(--gold); border-color: var(--gold); color: #192c21; }
.hero-link { color: #fff9ea; font-size: .91rem; font-weight: 700; text-decoration: none; }
.hero a:focus-visible { outline-color: var(--gold); }
.hero .hero-note { margin-top: 20px; color: #d5e1d5; font-size: .81rem; }

.product-preview { overflow: hidden; border: 1px solid #ffffff55; border-radius: 17px; background: #f9faf3; color: #18382b; box-shadow: 0 22px 60px #060e0b66; }
.preview-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 17px; border-bottom: 1px solid #dce4d8; background: #f0f4ea; }
.product-demo { margin: 0; }
.product-demo > a, .product-demo > a img { display: block; }
.product-demo > a img { width: 100%; height: auto; }
.product-demo figcaption { padding: 12px 17px; font-size: .85rem; }
.preview-brand { display: flex; align-items: center; gap: 7px; font-size: .94rem; font-weight: 700; }
.preview-brand img { border-radius: 7px; }
.preview-tag, .preview-label, .preview-foot { color: #456454; font-size: .75rem; font-weight: 700; }
.preview-body { padding: clamp(16px, 2.4vw, 26px); }
.preview-title { margin: 4px 0 14px; color: #19362b; font: 400 clamp(1.9rem,3vw,2.7rem)/1.08 "Instrument Serif",Georgia,serif; }
.product-preview ul { display: grid; gap: 8px; padding: 0; margin: 0; list-style: none; }
.product-preview li { display: flex; gap: 11px; align-items: center; padding: 9px; border: 1px solid #dce4d8; border-radius: 10px; background: #fffefa; font-size: .92rem; }
.product-preview small { display: block; color: #4c6256; line-height: 1.35; }
.tile-symbol { display: inline-grid; width: 36px; height: 36px; flex: 0 0 36px; place-items: center; border-radius: 10px; font-size: 1rem; font-weight: 700; }
.symbol-health { background: #f6e8e4; color: #943b40; }
.symbol-money { background: #e6eedf; color: #325942; }
.symbol-docs { background: #e9edf6; color: #385579; }
.preview-foot { margin-top: 13px; }

.section { padding-block: clamp(45px, 7vw, 86px); scroll-margin-top: 12px; }
.sales-page .section { scroll-margin-top: 90px; }
.section-head { margin-bottom: 23px; }
.section-head p { max-width: 62ch; margin-top: 8px; }
.feature-grid, .plan-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 14px; }
.feature-grid article, .plan-grid article { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); padding: clamp(17px, 2.6vw, 27px); }
.feature-grid h3 { margin-block: 12px 6px; font-size: 1.07rem; }
.feature-grid p { font-size: .94rem; }
.privacy { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 24px; padding: clamp(23px,5vw,54px); border: 1px solid var(--line); border-radius: 24px; background: var(--tint); }
.privacy a { display: inline-block; margin-top: 13px; color: var(--brand); font-weight: 700; }
body:not(.sales-page) .privacy { display: block; margin-block: 14px 30px; }
body:not(.sales-page) .privacy p { max-width: 74ch; margin-block: 12px; }

.pricing .section-head { text-align: center; }
.pricing .section-head p { margin-inline: auto; }
#plan-status:not(:empty) { margin-bottom: 12px; text-align: center; }
.plan-grid article { display: flex; flex-direction: column; align-items: flex-start; }
.plan-grid article h3 { margin-top: 11px; font-size: 1.15rem; }
.plan-grid .recommended { border-color: #325f4b; background: #163b2f; color: #fff9ed; box-shadow: 0 13px 25px #142d232c; }
.plan-grid .recommended p { color: #e8efe4; }
.plan-grid .recommended button { background: var(--gold); color: #22291a; border-color: var(--gold); }
.plan-badge { display: inline-flex; padding: 4px 10px; border: 1px solid var(--line); border-radius: 30px; color: var(--brand); font-size: .72rem; font-weight: 700; }
.plan-grid .recommended .plan-badge { background: var(--gold); color: #292517; border-color: var(--gold); }
.price { margin: 12px 0 5px; color: var(--ink); font-size: clamp(1.8rem, 3.1vw, 2.55rem); font-weight: 700; line-height: 1.12; letter-spacing: -.04em; }
.price-caption { margin-left: 5px; font-size: .8rem; font-weight: 600; letter-spacing: 0; }
.plan-detail { margin: 3px 0 19px; font-size: .9rem; }
.plan-grid button { width: 100%; margin-top: auto; }
.payment-note { margin-top: 17px; text-align: center; font-size: .86rem; }
.payment-note span { margin-inline: 3px; }

.conditions { border-top: 1px solid var(--line); max-width: 795px; margin-inline: auto; }
.conditions details { border-bottom: 1px solid var(--line); }
.conditions summary { padding-block: 13px; font-weight: 700; cursor: pointer; }
.conditions details p { padding: 0 20px 15px; }
footer { border-top: 1px solid var(--line); color: var(--muted); font-size: .86rem; }

dialog { width: min(480px,calc(100% - 24px)); max-height: calc(100dvh - 24px); border: 1px solid var(--line); border-radius: var(--radius); padding: 21px; background: var(--surface); color: var(--ink); }
dialog::backdrop { background: #091c16b8; }
.dialog-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 12px; }
.dialog-head h2 { font-size: 2.25rem; }
#total { padding: 9px 12px; border-radius: 8px; background: var(--tint); color: var(--ink); font-weight: 700; }
label { display: grid; gap: 5px; margin-block: 11px; font-weight: 600; }
input:not([type=checkbox]), textarea { width: 100%; min-height: 42px; border: 1px solid var(--line); border-radius: 8px; padding: 9px; background: var(--paper); color: var(--ink); }
.field-help { font-size: .84rem; }
.accept { display: flex; align-items: flex-start; font-size: .9rem; }
.accept input { margin: 5px 4px 0 0; }
#checkout-form .primary { width: 100%; }
#qr { display: block; max-width: 100%; height: auto; margin: 12px auto; background: white; padding: 8px; border-radius: 8px; }
#invoice-link { margin-top: 9px; }
#checkout-status:not(:empty) { margin-top: 12px; }
@media (max-width: 850px) {
  .hero { gap: 25px; padding: 34px; }
  h1 { font-size: clamp(3.15rem, 7.25vw, 4.5rem); }
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 680px) {
  .shell, body:not(.sales-page) > :is(header, main, footer) { width: calc(100% - 24px); }
  .site-header { gap: 7px; }
  nav { gap: 9px; justify-content: flex-end; }
  nav .nav-section { display: none; }
  nav a, #theme { font-size: .78rem; }
  #theme { padding-inline: 9px; }
  .brand { gap: 6px; font-size: 1rem; }
  .brand img { width: 35px; height: 35px; }
  .hero { grid-template-columns: 1fr; padding: 24px 20px; border-radius: 21px; }
  .hero-copy > p:not(.eyebrow,.hero-note) { margin-block: 16px 19px; }
  .privacy, .plan-grid { grid-template-columns: 1fr; }
}
@media (max-width: 390px) {
  .feature-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: clamp(2.75rem, 14vw, 3.3rem); }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

.sales-film { margin:0; min-width:0; }
.sales-film video { display:block; width:100%; aspect-ratio:16 / 9; background:#0c1727; }
.sales-film figcaption { padding:10px 14px; color:var(--vl-muted,var(--muted)); font-size:.84rem; }
@media (prefers-reduced-motion: reduce) { .sales-film video { scroll-behavior:auto; } }

.sales-film {
  max-width:960px;
  margin:12px auto clamp(20px,4vw,44px);
  overflow:hidden;
  border:1px solid var(--line);
  border-radius:clamp(14px,2vw,24px);
  background:var(--surface);
  box-shadow:0 18px 40px -28px #0f172a80;
}
.sales-film video { height:auto; }
.sales-film figcaption { text-align:center; }
