/* AstroGenie · patrika design system, v1.1
   Cream paper pages with deep-maroon "night sky" bands (hero, call to action, footer), gold accents, Marcellus headings, Mukta text.
   Motion: hero entrance, chart line drawing, slow zodiac ring, scroll reveals (.rv → .in by site.js). All of it switches off under prefers-reduced-motion. */
@font-face { font-family: "Marcellus"; src: url("../fonts/Marcellus-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Mukta"; src: url("../fonts/Mukta-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Mukta"; src: url("../fonts/Mukta-SemiBold.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Mukta"; src: url("../fonts/Mukta-Bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  color-scheme: light;
  --paper: #FBF5E9;
  --surface: #FFFDF8;
  --tint: #F4E7CC;
  --tint-2: #F8EEDB;
  --ink: #2B1D14;
  --muted: #6B5A4A;
  --maroon: #7B1E2B;
  --maroon-deep: #5E1520;
  --night: #1D070C;
  --night-2: #3B0E19;
  --gold: #C8922A;
  --gold-lt: #E2B35C;
  --gold-pale: #F1D9A6;
  --cream: #F6EBD9;
  --line: #E7D8BC;
  --leaf: #3F6B3A;
  --rust: #A4462E;
  --display: "Marcellus", "Cormorant Garamond", Georgia, serif;
  --body: "Mukta", "Segoe UI", system-ui, -apple-system, sans-serif;
  --r: 10px;
  --r-lg: 18px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --shadow: 0 1px 0 rgba(43, 29, 20, .04), 0 12px 32px -20px rgba(94, 21, 32, .4);
  --shadow-lg: 0 2px 4px rgba(43, 29, 20, .04), 0 28px 56px -28px rgba(94, 21, 32, .5);
  --gutter: max(16px, env(safe-area-inset-left, 0px));
  --gutter-r: max(16px, env(safe-area-inset-right, 0px));
  --head-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--head-h) + 12px); }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--body); font-size: 17px; line-height: 1.6; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; }
a { color: var(--maroon); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--maroon-deep); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--gold-pale); color: var(--ink); }
h1, h2, h3 { font-family: var(--display); font-weight: 400; color: var(--maroon); line-height: 1.16; text-wrap: balance; margin: 0 0 .5em; }
h1 { font-size: clamp(2.1rem, 1.4rem + 3vw, 3.6rem); letter-spacing: -.005em; }
h2 { font-size: clamp(1.7rem, 1.25rem + 1.6vw, 2.5rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
.sr, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--maroon); color: var(--surface); padding: 8px 12px; z-index: 60; border-radius: var(--r); }
.skip:focus { left: 8px; }
.small { font-size: .9rem; color: var(--muted); }
.muted { color: var(--muted); }
.sel { user-select: all; font-weight: 600; color: var(--ink); }
.center { text-align: center; }
.eyebrow { font-size: .78rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); margin-bottom: .9em; }
.lead { font-size: clamp(1.05rem, 1rem + .3vw, 1.2rem); color: var(--ink); max-width: 58ch; }

.wrap { max-width: 1180px; margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter-r); }
.narrow { max-width: 780px; }
.section { padding-block: clamp(56px, 8vw, 104px); position: relative; }
.band { background: var(--surface); border-block: 1px solid var(--line); }
.sec-head { margin-bottom: clamp(28px, 4vw, 44px); max-width: 64ch; }
.sec-head.center { margin-inline: auto; text-align: center; }
.sec-head p { color: var(--muted); }

/* Ornament: line · diamond · line */
.orn { display: block; width: 132px; height: 14px; margin: 0 auto 14px; position: relative; }
.orn::before { content: ""; position: absolute; inset: 6.5px 0 auto; height: 1px; background: linear-gradient(90deg, transparent, var(--gold) 30%, var(--gold) 70%, transparent); }
.orn::after { content: ""; position: absolute; left: 50%; top: 2px; width: 10px; height: 10px; margin-left: -5px; background: var(--paper); border: 1.5px solid var(--gold); transform: rotate(45deg); box-shadow: 0 0 0 4px var(--paper); }
.band .orn::after { background: var(--surface); box-shadow: 0 0 0 4px var(--surface); }

/* Icons */
.ico { width: 30px; height: 30px; display: block; }
.ico .ac { stroke: var(--gold); }
.ico .fill, .ico-s .fill { fill: var(--gold); stroke: none; }
.ico-s { width: 18px; height: 18px; flex: none; stroke-width: 2.4; }
.ico-s .ac { stroke: currentColor; }

/* ---------------------------------------------------------------- header */
.site-head { position: sticky; top: 0; z-index: 40; background: rgba(251, 245, 233, .86); -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: box-shadow .3s, border-color .3s, background .3s; padding-top: env(safe-area-inset-top, 0px); }
.scrolled .site-head { border-bottom-color: var(--line); box-shadow: 0 10px 30px -22px rgba(94, 21, 32, .45); background: rgba(255, 253, 248, .92); }
.head-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: var(--head-h); transition: min-height .3s var(--ease); }
.scrolled .head-row { min-height: 62px; }
.brand { display: inline-flex; align-items: center; text-decoration: none; flex: none; }
.brand-logo { display: block; height: 42px; width: auto; transition: height .3s var(--ease); }
.scrolled .site-head .brand-logo { height: 38px; }
.site-foot .brand-logo { height: 48px; }
@media (max-width: 420px) { .brand-logo, .scrolled .site-head .brand-logo { height: 34px; } }

.main-nav ul { list-style: none; display: flex; align-items: center; gap: 4px; margin: 0; padding: 0; }
.main-nav li { position: relative; }
.main-nav a:not(.btn), .sub-toggle { position: relative; display: inline-flex; align-items: center; gap: 6px; padding: 10px 12px; text-decoration: none; color: var(--ink); font: 400 .98rem var(--body); white-space: nowrap; background: none; border: 0; cursor: pointer; }
.main-nav > ul > li > a:not(.btn)::after, .sub-toggle::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 1.5px; background: var(--gold); transform: scaleX(0); transition: transform .3s var(--ease); }
.main-nav > ul > li > a:not(.btn):hover::after, .sub-toggle:hover::after, .has-sub:focus-within .sub-toggle::after { transform: scaleX(1); }
.main-nav a:not(.btn):hover, .sub-toggle:hover { color: var(--maroon); }
.chev { width: 7px; height: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-2px); transition: transform .25s; }
.nav-cta-li { margin-left: 10px; }
.sub { position: absolute; top: calc(100% + 8px); left: -12px; width: 560px; display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 10px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .22s, transform .22s var(--ease), visibility 0s .22s; }
.sub::before { content: ""; position: absolute; inset: -12px 0 auto; height: 12px; }
.has-sub:hover .sub, .has-sub:focus-within .sub, .has-sub.open .sub { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.has-sub:hover .chev, .has-sub.open .chev { transform: rotate(-135deg) translateY(-1px); }
.main-nav .sub-item { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 12px; white-space: normal; transition: background .2s; }
.main-nav .sub-item:hover, .main-nav .sub-item[aria-current] { background: var(--tint-2); }
.sub-item strong { display: block; font-weight: 600; color: var(--ink); line-height: 1.25; }
.sub-meta { display: block; font-size: .85rem; color: var(--muted); }
.pc-icon { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; background: var(--tint-2); color: var(--maroon); flex: none; transition: transform .5s var(--ease), background .3s; }
.pc-icon .ico { width: 32px; height: 32px; }
.pc-icon.xs { width: 40px; height: 40px; }
.pc-icon.xs .ico { width: 22px; height: 22px; }
.pc-icon.sm { width: 48px; height: 48px; margin-bottom: 8px; }
.pc-icon.sm .ico { width: 26px; height: 26px; }

.nav-toggle { display: none; position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; width: 46px; height: 42px; cursor: pointer; }
.nav-toggle .bars, .nav-toggle .bars::before, .nav-toggle .bars::after { display: block; width: 18px; height: 1.6px; background: var(--ink); margin: 0 auto; position: relative; content: ""; transition: transform .3s var(--ease), background .2s; }
.nav-toggle .bars::before { position: absolute; top: -6px; } .nav-toggle .bars::after { position: absolute; top: 6px; }
.nav-toggle[aria-expanded="true"] .bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bars::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1040px) {
  .nav-toggle { display: block; }
  /* The header's backdrop-filter makes it the containing block, so the panel is sized from the header's bottom edge. */
  .main-nav ul { position: fixed; left: 0; right: 0; top: 100%; height: calc(100vh - 62px); height: calc(100dvh - 100%); height: calc(100dvh - var(--hh, 72px)); flex-direction: column; align-items: stretch; gap: 0; overflow-y: auto; background: var(--surface); border-top: 1px solid var(--line); padding: 8px var(--gutter-r) calc(24px + env(safe-area-inset-bottom, 0px)) var(--gutter); opacity: 0; visibility: hidden; transform: translateY(-10px); transition: opacity .25s, transform .3s var(--ease), visibility 0s .3s; }
  .main-nav ul.open { box-shadow: 0 60px 0 var(--surface); opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
  .main-nav li { border-bottom: 1px solid var(--line); }
  .main-nav a:not(.btn), .sub-toggle { display: flex; width: 100%; padding: 15px 2px; font-size: 1.05rem; }
  .main-nav > ul > li > a:not(.btn)::after, .sub-toggle::after { display: none; }
  .sub-toggle { pointer-events: none; color: var(--gold); font-size: .78rem !important; font-weight: 600 !important; letter-spacing: .16em; text-transform: uppercase; padding-bottom: 4px !important; }
  .sub-toggle .chev { display: none; }
  .sub { position: static; width: auto; grid-template-columns: 1fr; padding: 0 0 8px; border: 0; box-shadow: none; background: none; opacity: 1; visibility: visible; transform: none; }
  .main-nav .sub-item { padding: 10px 4px; }
  .nav-cta-li { margin: 18px 0 0; border: 0 !important; }
  .nav-cta { width: 100%; min-height: 50px; }
  body.nav-open { overflow: hidden; }
}

/* ---------------------------------------------------------------- buttons */
.btn { position: relative; isolation: isolate; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 0 26px; border-radius: 999px; border: 1px solid var(--maroon); font: 600 1rem/1 var(--body); text-decoration: none; cursor: pointer; transition: background .2s, color .2s, transform .25s var(--ease), box-shadow .25s; }
.btn::after { content: ""; position: absolute; inset: 0 auto 0 -60%; width: 40%; z-index: -1; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .35), transparent); transform: skewX(-20deg); transition: left .7s var(--ease); }
.btn:hover::after { left: 120%; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn .arr { display: inline-block; transition: transform .25s var(--ease); }
.btn:hover .arr, a:hover > .arr, a:hover .read span { transform: translateX(4px); }
.btn-primary { background: var(--maroon); color: var(--surface); box-shadow: 0 10px 24px -12px rgba(123, 30, 43, .7); }
.btn-primary:hover { background: var(--maroon-deep); color: var(--surface); }
.btn-gold { background: linear-gradient(135deg, #EDCB7E, var(--gold) 70%); border-color: transparent; color: var(--night); box-shadow: 0 12px 28px -10px rgba(200, 146, 42, .65); }
.btn-gold:hover { color: var(--night); box-shadow: 0 16px 34px -10px rgba(226, 179, 92, .75); }
.btn-line { background: rgba(255, 255, 255, .03); border-color: rgba(246, 235, 217, .35); color: var(--cream); }
.btn-line:hover { background: rgba(255, 255, 255, .09); color: #fff; border-color: rgba(246, 235, 217, .6); }
.btn-ghost { background: transparent; color: var(--maroon); }
.btn-ghost:hover { background: var(--tint); }
.btn-small { min-height: 42px; padding: 0 18px; font-size: .95rem; background: var(--maroon); color: var(--surface); }
.btn-small:hover { background: var(--maroon-deep); color: var(--surface); }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: wait; transform: none; }
.linkish { background: none; border: 0; color: var(--maroon); text-decoration: underline; cursor: pointer; font: inherit; padding: 0; }
.link-arrow { font-weight: 600; text-decoration: none; display: inline-flex; gap: 6px; align-items: center; }
.link-arrow::after { content: "→"; transition: transform .25s var(--ease); }
.link-arrow:hover::after { transform: translateX(4px); }

/* ---------------------------------------------------------------- night sky (hero, call to action) */
.hero, .cta-band { position: relative; overflow: hidden; color: var(--cream); isolation: isolate;
  background:
    radial-gradient(ellipse 55% 75% at 78% 48%, rgba(123, 30, 43, .85), transparent 65%),
    radial-gradient(ellipse 45% 55% at 0% 0%, rgba(94, 21, 32, .9), transparent 70%),
    radial-gradient(ellipse 40% 40% at 50% 120%, rgba(200, 146, 42, .18), transparent 70%),
    linear-gradient(180deg, var(--night-2), var(--night)); }
.sky { position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    radial-gradient(1px 1px at 12% 18%, rgba(255, 240, 210, .7), transparent 60%),
    radial-gradient(1px 1px at 32% 72%, rgba(255, 240, 210, .5), transparent 60%),
    radial-gradient(1.5px 1.5px at 58% 12%, rgba(255, 240, 210, .8), transparent 60%),
    radial-gradient(1px 1px at 84% 30%, rgba(255, 240, 210, .6), transparent 60%),
    radial-gradient(1px 1px at 92% 84%, rgba(255, 240, 210, .5), transparent 60%),
    radial-gradient(1px 1px at 6% 90%, rgba(255, 240, 210, .5), transparent 60%);
  background-size: 360px 300px; }
.sky .st { position: absolute; width: var(--s, 2px); height: var(--s, 2px); border-radius: 50%; background: #FFF4DE; box-shadow: 0 0 6px rgba(255, 228, 170, .8); opacity: .25; }
.shoot { position: absolute; top: 12%; left: 62%; width: 120px; height: 1.5px; background: linear-gradient(90deg, rgba(255, 236, 200, .9), transparent); transform: rotate(-24deg); opacity: 0; }
.shoot.s2 { top: 30%; left: 18%; width: 90px; }

/* ---------------------------------------------------------------- hero */
.hero { padding-block: clamp(48px, 7vw, 96px) clamp(56px, 8vw, 104px); }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero-copy { min-width: 0; }
.hero .eyebrow { color: var(--gold-lt); }
.hero h1 { color: #FFF8EC; margin-bottom: .45em; }
.gold-text { display: inline-block; background: linear-gradient(100deg, #E2B35C 0%, #F6DFA6 30%, #E2B35C 55%, #C8922A 100%); background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { color: rgba(246, 235, 217, .84); }
.hero-actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin: 30px 0 28px; }
.pills { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.pills li { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px 7px 11px; border-radius: 999px; font-size: .9rem; color: rgba(246, 235, 217, .9); background: rgba(255, 255, 255, .05); border: 1px solid rgba(226, 179, 92, .3); }
.pills .ico-s { color: var(--gold-lt); }
.pills.light li { color: var(--ink); background: var(--surface); border-color: var(--line); }
.pills.light .ico-s { color: var(--gold); }

.chart-stage { position: relative; width: min(100%, 520px); aspect-ratio: 1; justify-self: center; --rx: 0deg; --ry: 0deg; }
.zodiac { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.z-o { fill: none; stroke: rgba(226, 179, 92, .5); stroke-width: 1; }
.z-i { fill: none; stroke: rgba(226, 179, 92, .32); stroke-width: 1; }
.z-t { stroke: rgba(226, 179, 92, .45); stroke-width: 1; }
.z-m { stroke: rgba(226, 179, 92, .28); stroke-width: 1; }
.z-txt { fill: rgba(236, 196, 120, .85); font: 600 12.5px var(--body); letter-spacing: .28em; text-transform: uppercase; }
.chart-card { position: absolute; inset: 21%; background: var(--surface); border-radius: 6px; padding: 3.2%; transform: perspective(900px) rotateX(var(--rx)) rotateY(var(--ry)); transition: transform .5s var(--ease);
  box-shadow: 0 0 0 1px rgba(226, 179, 92, .55), 0 0 0 8px rgba(226, 179, 92, .07), 0 40px 70px -24px rgba(0, 0, 0, .7), 0 0 90px rgba(226, 179, 92, .22); }
.chart-card svg { display: block; width: 100%; height: auto; }
.glow { position: absolute; inset: 22%; border-radius: 50%; z-index: -1; background: radial-gradient(circle, rgba(226, 179, 92, .5), transparent 70%); filter: blur(30px); }
.hc-frame { fill: none; stroke: var(--maroon); stroke-width: 3; }
.hc-inner { fill: none; stroke: var(--gold); stroke-width: 1; }
.hc-line { fill: none; stroke: var(--maroon); stroke-width: 1.6; stroke-dasharray: 1200; stroke-dashoffset: 0; }
.hc-num text { fill: var(--gold); font: 700 13px var(--body); text-anchor: middle; }
.hc-pl text { fill: var(--ink); font: 600 16px var(--body); text-anchor: middle; transform-box: fill-box; transform-origin: center; }
.hc-asc { fill: var(--maroon); font: 400 16px var(--display); text-anchor: middle; }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .chart-stage { width: min(94%, 400px); margin-top: 8px; }
}
@media (max-width: 480px) { .z-txt { font-size: 14px; letter-spacing: .2em; } .hero-actions .btn { flex: 1 1 auto; } }

/* ---------------------------------------------------------------- ticker */
.ticker { overflow: hidden; background: var(--tint-2); border-bottom: 1px solid var(--line); padding-block: 14px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.ticker-track { display: flex; width: max-content; }
.ticker-track span { display: inline-flex; align-items: center; white-space: nowrap; font-size: .92rem; font-weight: 600; color: var(--maroon); letter-spacing: .02em; }
.ticker-track span::after { content: ""; width: 7px; height: 7px; margin: 0 26px; border: 1.5px solid var(--gold); transform: rotate(45deg); }

/* ---------------------------------------------------------------- cards and products */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 22px; }
.cards-3 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px; box-shadow: var(--shadow); min-width: 0; }
.product-card { display: flex; flex-direction: column; position: relative; padding: 28px 24px 22px; transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .3s; }
.product-card::before { content: ""; position: absolute; inset: -1px -1px auto; height: 4px; border-radius: var(--r-lg) var(--r-lg) 0 0; background: linear-gradient(90deg, var(--gold), var(--gold-pale), var(--gold)); transform: scaleX(.18); transform-origin: left; transition: transform .6s var(--ease); }
.product-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: var(--gold-pale); }
.product-card:hover::before { transform: scaleX(1); }
.product-card:hover .pc-icon { transform: rotate(-8deg) scale(1.06); background: var(--tint); }
.product-card .pc-icon { margin-bottom: 18px; }
.product-card h3 { font-size: 1.4rem; margin-bottom: .35em; }
.product-card h3 a { text-decoration: none; color: inherit; }
.stretched::after { content: ""; position: absolute; inset: 0; z-index: 0; border-radius: inherit; }
.product-card .tag { color: var(--muted); font-size: .97rem; }
.product-card .ticks li { font-size: .95rem; }
.card-foot { position: relative; z-index: 1; margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 18px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.price { font-family: var(--display); font-size: 1.75rem; color: var(--ink); font-variant-numeric: tabular-nums; line-height: 1.1; }
.price small { display: block; font-family: var(--body); font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.price s { font-size: 1rem; color: var(--muted); }
.price.big { font-size: 2.6rem; }
.ribbon { position: absolute; top: 18px; right: 18px; z-index: 1; padding: 5px 12px; border-radius: 999px; font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; background: linear-gradient(135deg, #EDCB7E, var(--gold)); color: var(--night); }
.ribbon.soft { background: var(--tint-2); color: var(--maroon); border: 1px solid var(--line); }
.product-card.featured { color: var(--cream); border-color: transparent; background: radial-gradient(ellipse 90% 60% at 100% 0%, rgba(200, 146, 42, .28), transparent 60%), linear-gradient(165deg, #8A2433, var(--maroon-deep) 55%, #3A0C15); box-shadow: 0 30px 60px -30px rgba(94, 21, 32, .9); }
.featured h3 { color: #FFF8EC; }
.featured .tag, .featured .ticks li { color: rgba(246, 235, 217, .86); }
.featured .ticks li::before { border-color: var(--gold-lt); }
.featured .pc-icon { background: rgba(255, 255, 255, .08); color: var(--cream); }
.featured:hover .pc-icon { background: rgba(255, 255, 255, .14); }
.featured .price { color: #FFF8EC; }
.featured .price small { color: rgba(246, 235, 217, .7); }
.featured .card-foot { border-top-color: rgba(246, 235, 217, .18); }
.featured .btn-small { background: linear-gradient(135deg, #EDCB7E, var(--gold)); border-color: transparent; color: var(--night); }
.card.mini { position: relative; text-decoration: none; color: var(--ink); display: flex; flex-direction: column; gap: 4px; transition: transform .4s var(--ease), box-shadow .4s, border-color .3s; }
.card.mini:hover { border-color: var(--gold-pale); transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.card.mini:hover .pc-icon { transform: rotate(-8deg); }
.card.mini h3 { font-size: 1.2rem; margin-bottom: .2em; }
.card.mini p { color: var(--muted); font-size: .95rem; }
.mini-foot { margin-top: auto; display: flex; justify-content: space-between; align-items: center; padding-top: 12px; border-top: 1px solid var(--line); }
.mini-foot .price { font-size: 1.4rem; }
.read { font-weight: 600; color: var(--maroon); font-size: .95rem; }
.read span { display: inline-block; transition: transform .25s var(--ease); }
.card.mini:hover .read span, .post-card:hover .read span { transform: translateX(4px); }
.ticks { list-style: none; padding: 0; margin: 0 0 1.1em; display: grid; gap: 9px; }
.ticks li { padding-left: 28px; position: relative; }
.ticks li::before { content: ""; position: absolute; left: 3px; top: .42em; width: 12px; height: 7px; border-left: 2px solid var(--leaf); border-bottom: 2px solid var(--leaf); transform: rotate(-45deg); }

/* ---------------------------------------------------------------- report preview */
.preview { overflow: hidden; overflow: clip; }
.preview-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.preview-grid > div { min-width: 0; }
.pages { position: relative; height: clamp(340px, 42vw, 500px); }
.pg { position: absolute; left: 50%; top: 50%; width: min(46%, 260px); margin: 0; border-radius: 6px; overflow: hidden; background: #fff; box-shadow: 0 1px 0 rgba(0, 0, 0, .05), 0 26px 50px -24px rgba(43, 29, 20, .55); transition: transform .9s var(--ease), box-shadow .4s; }
.pg img { display: block; width: 100%; height: auto; }
.pg-1 { transform: translate(-50%, -50%) rotate(0); z-index: 1; }
.pg-2 { transform: translate(-50%, -50%) rotate(0); z-index: 2; }
.pg-3 { transform: translate(-50%, -50%) rotate(0); z-index: 3; }
.pages.in .pg-1, .no-io .pg-1 { transform: translate(-128%, -44%) rotate(-10deg); }
.pages.in .pg-2, .no-io .pg-2 { transform: translate(28%, -46%) rotate(9deg); }
.pages.in .pg-3, .no-io .pg-3 { transform: translate(-52%, -52%) rotate(-1.5deg); }
.pages.in:hover .pg-1 { transform: translate(-138%, -46%) rotate(-13deg); }
.pages.in:hover .pg-2 { transform: translate(38%, -48%) rotate(12deg); }
.pages.in:hover .pg-3 { transform: translate(-52%, -56%) rotate(0); box-shadow: 0 40px 70px -26px rgba(43, 29, 20, .6); }
@media (max-width: 860px) { .preview-grid { grid-template-columns: 1fr; } .pages { order: -1; height: min(100vw, 420px); } .pg { width: min(44%, 220px); } }

/* ---------------------------------------------------------------- steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 36px); position: relative; }
.steps::before { content: ""; position: absolute; top: 40px; left: 16.6%; right: 16.6%; height: 0; border-top: 1.5px dashed var(--gold); opacity: .6; transform: scaleX(0); transform-origin: left; transition: transform 1.4s var(--ease) .3s; }
.steps.in::before, .no-io .steps::before { transform: scaleX(1); }
.steps li { text-align: center; position: relative; min-width: 0; }
.step-ico { position: relative; display: grid; place-items: center; width: 80px; height: 80px; margin: 0 auto 18px; color: var(--maroon); }
.step-ico::before { content: ""; position: absolute; inset: 10px; background: var(--surface); border: 1.5px solid var(--gold); transform: rotate(45deg); border-radius: 8px; box-shadow: 0 0 0 8px var(--paper), var(--shadow); transition: transform .6s var(--ease); }
.steps li:hover .step-ico::before { transform: rotate(135deg); }
.step-ico .ico { position: relative; width: 32px; height: 32px; }
.step-n { display: block; font-size: .75rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); margin-bottom: 4px; }
.steps h3 { font-size: 1.35rem; }
.steps p { color: var(--muted); max-width: 34ch; margin-inline: auto; }
@media (max-width: 760px) {
  .steps { grid-template-columns: 1fr; gap: 34px; }
  .steps::before { top: 40px; bottom: 40px; left: 40px; right: auto; width: 0; height: auto; border-top: 0; border-left: 1.5px dashed var(--gold); transform: scaleY(0); transform-origin: top; }
  .steps.in::before, .no-io .steps::before { transform: scaleY(1); }
  .steps li { text-align: left; padding-left: 104px; min-height: 80px; }
  .step-ico { position: absolute; left: 0; top: -4px; margin: 0; }
  .steps p { margin-inline: 0; }
}

/* ---------------------------------------------------------------- method */
.method { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.method > * { min-width: 0; }
.spec { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.spec div { background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; transition: transform .35s var(--ease), border-color .3s, background .3s; }
.spec div:hover { transform: translateY(-3px); border-color: var(--gold-pale); background: #fff; }
.spec dt { display: flex; align-items: center; gap: 8px; font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); font-weight: 700; }
.spec dt::before { content: ""; width: 6px; height: 6px; background: var(--gold); transform: rotate(45deg); }
.spec dd { margin: 6px 0 0; font-weight: 600; }
@media (max-width: 860px) { .method { grid-template-columns: 1fr; } }
@media (max-width: 420px) { .spec { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- faq, posts, quotes */
.faq-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.faq-wrap .sec-head { position: sticky; top: 100px; }
@media (max-width: 860px) { .faq-wrap { grid-template-columns: 1fr; } .faq-wrap .sec-head { position: static; } }
.faqs { display: grid; gap: 10px; }
.faqs details { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 0 20px; transition: border-color .3s, box-shadow .3s; }
.band .faqs details { background: var(--paper); }
.faqs details[open] { border-color: var(--gold-pale); box-shadow: var(--shadow); }
.faqs summary { cursor: pointer; list-style: none; padding: 18px 44px 18px 0; font-weight: 600; position: relative; }
.faqs summary::-webkit-details-marker { display: none; }
.faqs summary::before { content: ""; position: absolute; right: 0; top: 50%; width: 28px; height: 28px; margin-top: -14px; border-radius: 50%; background: var(--tint-2); transition: background .3s; }
.faqs summary::after { content: ""; position: absolute; right: 10px; top: 50%; width: 8px; height: 8px; margin-top: -6px; border-right: 1.6px solid var(--maroon); border-bottom: 1.6px solid var(--maroon); transform: rotate(45deg); transition: transform .35s var(--ease), margin .35s; }
.faqs details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faqs details[open] summary::before { background: var(--gold-pale); }
.faqs .ans { padding: 0 0 18px; color: var(--muted); overflow: hidden; }
.faqs .ans p:last-child { margin: 0; }
.more { margin-top: 22px; }
.sub-h { margin-top: 44px; }
.posts { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 22px; }
.post-card { display: flex; flex-direction: column; text-decoration: none; color: var(--ink); background: var(--paper); border: 1px solid var(--line); padding: 26px; border-radius: var(--r-lg); min-width: 0; transition: transform .4s var(--ease), box-shadow .4s, border-color .3s; }
.page .post-card { background: var(--surface); }
.post-card:hover { border-color: var(--gold-pale); transform: translateY(-6px); box-shadow: var(--shadow-lg); color: var(--ink); }
.pc-art { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; margin-bottom: 18px; color: var(--maroon); background: linear-gradient(135deg, var(--tint), var(--tint-2)); transform: rotate(45deg); transition: transform .6s var(--ease); }
.pc-art .ico { transform: rotate(-45deg); width: 26px; height: 26px; }
.post-card:hover .pc-art { transform: rotate(135deg); }
.post-card:hover .pc-art .ico { transform: rotate(-135deg); }
.pc-art .ico { transition: transform .6s var(--ease); }
.post-card h2, .post-card h3 { font-size: 1.25rem; }
.post-card p { color: var(--muted); font-size: .95rem; margin: 0 0 16px; }
.post-card .read { margin-top: auto; }
.post-card time { display: block; font-size: .78rem; color: var(--gold); letter-spacing: .1em; text-transform: uppercase; margin-bottom: 6px; font-weight: 600; }
.narrow-lead { margin-bottom: 32px; }
.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 22px; }
.quote { margin: 0; padding: 26px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); position: relative; }
.quote::before { content: "“"; position: absolute; right: 20px; top: -6px; font: 400 5rem/1 var(--display); color: var(--tint); }
.stars-row { color: var(--gold); letter-spacing: 3px; display: block; margin-bottom: 8px; }
.quote footer { color: var(--muted); font-size: .9rem; margin-top: 8px; font-weight: 600; }

/* ---------------------------------------------------------------- call-to-action band */
.cta-band { padding-block: clamp(64px, 9vw, 112px); text-align: center; }
.cta-inner { max-width: 720px; }
.cta-band h2 { color: #FFF8EC; }
.cta-band p { color: rgba(246, 235, 217, .82); font-size: 1.1rem; margin-bottom: 28px; }
.cta-mark { display: block; margin: 0 auto 18px; width: 64px; height: 64px; filter: drop-shadow(0 0 18px rgba(226, 179, 92, .45)); }

/* ---------------------------------------------------------------- prose pages */
.section.page { background: radial-gradient(ellipse 60% 300px at 50% 0, rgba(200, 146, 42, .13), transparent 70%); }
.page h1 { margin-bottom: .4em; }
.crumbs { font-size: .85rem; color: var(--muted); margin-bottom: 16px; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--maroon); text-decoration: underline; }
.prose { font-size: 1.05rem; }
.prose h2 { margin-top: 1.6em; font-size: clamp(1.5rem, 1.2rem + 1vw, 1.9rem); }
.prose h3 { margin-top: 1.3em; font-size: 1.25rem; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: .4em; }
.prose li::marker { color: var(--gold); }
.prose blockquote { margin: 1.6em 0; padding: 20px 24px; border-left: 3px solid var(--gold); border-radius: 0 var(--r) var(--r) 0; background: var(--surface); font-family: var(--display); font-size: 1.18rem; color: var(--maroon); }
.prose .meta { color: var(--muted); font-size: .9rem; }
.cta-box { margin-top: 52px; padding: 30px; border-radius: var(--r-lg); color: var(--cream); background: radial-gradient(ellipse 80% 80% at 100% 0, rgba(200, 146, 42, .25), transparent 60%), linear-gradient(160deg, var(--maroon), var(--maroon-deep)); box-shadow: var(--shadow-lg); }
.cta-box h2 { color: #FFF8EC; margin-top: 0; }
.cta-box p { color: rgba(246, 235, 217, .85); }
.cta-box .btn-small { background: linear-gradient(135deg, #EDCB7E, var(--gold)); color: var(--night); border-color: transparent; }
.cta-links { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------------------------------------------------------------- product page */
.p-hero { position: relative; padding-block: clamp(28px, 5vw, 60px) clamp(56px, 7vw, 96px); }
.p-glow { position: absolute; inset: 0 0 auto; height: 420px; z-index: -1; background: radial-gradient(ellipse 50% 100% at 20% 0, rgba(200, 146, 42, .16), transparent 70%), radial-gradient(ellipse 40% 80% at 90% 10%, rgba(123, 30, 43, .07), transparent 70%); }
.p-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 480px); gap: clamp(28px, 5vw, 64px); align-items: start; }
.p-intro { min-width: 0; }
.p-title { display: flex; align-items: center; gap: 18px; margin-bottom: 14px; }
.p-title h1 { margin: 0; font-size: clamp(2rem, 1.5rem + 2vw, 2.9rem); }
.p-icon { display: grid; place-items: center; flex: none; width: 72px; height: 72px; border-radius: 50%; color: var(--maroon); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.p-icon .ico { width: 38px; height: 38px; }
.price-line { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; margin: 20px 0 22px; }
.price-note { color: var(--muted); font-size: .95rem; }
.p-head .pills { margin-bottom: 8px; }
.inside { margin-top: 36px; padding: 28px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow); }
.inside h2 { font-size: 1.6rem; }
.sample-strip { display: flex; align-items: center; gap: 18px; padding: 14px 18px 14px 14px; border-radius: 14px; background: var(--tint-2); border: 1px solid var(--line); text-decoration: none; color: var(--ink); transition: transform .3s var(--ease), border-color .3s; }
.sample-strip:hover { transform: translateY(-3px); border-color: var(--gold-pale); color: var(--ink); }
.sample-strip strong { display: block; color: var(--maroon); }
.sample-strip .small { display: block; }
.thumbs { position: relative; display: block; width: 92px; height: 74px; flex: none; }
.thumbs img { position: absolute; top: 0; width: 52px; height: auto; border-radius: 3px; box-shadow: 0 6px 14px -6px rgba(43, 29, 20, .5); transition: transform .5s var(--ease); }
.thumbs img:first-child { left: 0; transform: rotate(-6deg); z-index: 2; }
.thumbs img:last-child { left: 36px; transform: rotate(6deg); }
.sample-strip:hover .thumbs img:first-child { transform: rotate(-10deg) translateX(-4px); }
.sample-strip:hover .thumbs img:last-child { transform: rotate(10deg) translateX(4px); }
.order-col { position: sticky; top: 90px; min-width: 0; scroll-margin-top: 84px; }
.only-mobile { display: none; }
.m-bar { display: none; }
@media (max-width: 900px) {
  .p-grid { grid-template-columns: 1fr; }
  .order-col { position: static; order: 2; }
  .p-intro { display: contents; }
  .p-intro > .inside { order: 3; margin-top: 0; }
  .only-mobile { display: inline-flex; margin-top: 10px; }
  .p-icon { width: 56px; height: 56px; } .p-icon .ico { width: 30px; height: 30px; }
  .m-bar { display: flex; position: fixed; z-index: 30; left: 0; right: 0; bottom: 0; align-items: center; justify-content: space-between; gap: 12px; padding: 10px var(--gutter-r) calc(10px + env(safe-area-inset-bottom, 0px)) var(--gutter); background: rgba(255, 253, 248, .94); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-top: 1px solid var(--line); box-shadow: 0 -12px 30px -20px rgba(94, 21, 32, .5); transform: translateY(110%); transition: transform .4s var(--ease); }
  .m-bar[hidden] { display: none; }
  .m-bar.show { transform: none; }
  .m-bar strong { display: block; font-family: var(--display); font-size: 1.35rem; font-weight: 400; line-height: 1.1; }
  .m-bar .small { display: block; font-size: .8rem; }
  .m-bar .btn { min-height: 46px; padding: 0 20px; }
}

/* ---------------------------------------------------------------- forms */
.order-form { position: relative; padding: 28px; display: grid; gap: 18px; border-radius: 22px; box-shadow: var(--shadow-lg); overflow: hidden; }
.order-form::before { content: ""; position: absolute; inset: 0 0 auto; height: 4px; background: linear-gradient(90deg, var(--maroon), var(--gold), var(--maroon)); }
.form-head { display: grid; gap: 2px; }
.form-step { margin: 0; font-size: .74rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.form-title { font-size: 1.5rem; margin: 0; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.person { display: grid; gap: 14px; padding-bottom: 20px; border-bottom: 1px dashed var(--line); }
.person legend { font-family: var(--display); color: var(--maroon); font-size: 1.2rem; margin-bottom: 8px; padding: 0; }
.contact { display: grid; gap: 14px; }
.field { display: grid; gap: 6px; min-width: 0; position: relative; align-content: start; }
.field label, .label { font-weight: 600; font-size: .95rem; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 420px) { .row2 { grid-template-columns: 1fr; } .order-form { padding: 22px 18px; } }
input[type=text], input[type=email], input[type=tel], input[type=date], input[type=time], input:not([type]), select, textarea {
  width: 100%; min-height: 50px; padding: 10px 14px; font: 400 1rem var(--body); color: var(--ink); background: #fff; border: 1px solid #DCCBAA; border-radius: 12px; appearance: none; -webkit-appearance: none; transition: border-color .2s, box-shadow .25s, background .2s;
}
input:hover:not(:disabled), select:hover, textarea:hover { border-color: #C9B087; }
select { background-image: linear-gradient(45deg, transparent 50%, var(--maroon) 50%), linear-gradient(135deg, var(--maroon) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 40px; }
textarea { min-height: 130px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--maroon); box-shadow: 0 0 0 4px rgba(200, 146, 42, .22); }
input:disabled { background: var(--tint-2); color: var(--muted); }
.has-err input, .has-err select, .has-err .seg { border-color: var(--rust); }
.has-err input { animation: shake .4s; }
.err { color: var(--rust); font-size: .9rem; margin: 0; }
.hint { color: var(--muted); font-size: .82rem; margin: 0; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .95rem; font-weight: 400 !important; cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--maroon); flex: none; }
.check.small { font-size: .85rem; color: var(--muted); }
.seg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; padding: 4px; border: 1px solid #DCCBAA; border-radius: 14px; background: #fff; }
.seg label { position: relative; font-weight: 400; }
.seg input { position: absolute; opacity: 0; inset: 0; }
.seg span { display: grid; place-items: center; min-height: 42px; cursor: pointer; border-radius: 10px; transition: background .25s, color .25s, box-shadow .25s; }
.seg span:hover { background: var(--tint-2); }
.seg input:checked + span { background: var(--maroon); color: var(--surface); box-shadow: 0 6px 14px -8px rgba(123, 30, 43, .8); }
.seg input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 1px; }
.phone { display: flex; align-items: stretch; }
.phone span { display: grid; place-items: center; padding: 0 14px; border: 1px solid #DCCBAA; border-right: 0; border-radius: 12px 0 0 12px; background: var(--tint-2); color: var(--muted); font-weight: 600; }
.phone input { border-radius: 0 12px 12px 0; }
.city-list { list-style: none; margin: 0; padding: 6px; position: absolute; left: 0; right: 0; top: calc(100% - 18px); z-index: 10; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-lg); max-height: 290px; overflow-y: auto; animation: drop .2s var(--ease); }
.city-list li { padding: 10px 12px; cursor: pointer; border-radius: 8px; }
.city-list li[aria-selected=true], .city-list li:hover { background: var(--tint-2); }
.city-field .hint { order: 3; }
.trust { display: block; font-size: .82rem; color: var(--muted); text-align: center; margin: 0; }
.trust::before { content: ""; display: inline-block; vertical-align: -2px; margin-right: 6px; width: 14px; height: 14px; background: no-repeat center/contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48' fill='none' stroke='%233F6B3A' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='10' y='21' width='28' height='21' rx='3'/%3E%3Cpath d='M16 21v-6a8 8 0 0 1 16 0v6'/%3E%3C/svg%3E"); }
.alert { background: #FBE9E3; border-left: 3px solid var(--rust); padding: 12px 16px; margin: 0 0 14px; border-radius: 0 var(--r) var(--r) 0; }
.alert.ok { background: #E9F1E4; border-left-color: var(--leaf); }
.form-plain { display: grid; gap: 16px; margin-top: 22px; }
.stars { display: inline-flex; flex-direction: row-reverse; gap: 4px; }
.stars input { position: absolute; opacity: 0; }
.stars label { font-size: 2.1rem; color: var(--line); cursor: pointer; transition: color .15s, transform .2s var(--ease); }
.stars label:hover { transform: scale(1.15); }
.stars input:checked ~ label, .stars label:hover, .stars label:hover ~ label { color: var(--gold); }

/* ---------------------------------------------------------------- checkout and status */
.checkout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 390px); gap: 32px; align-items: start; }
@media (max-width: 860px) { .checkout { grid-template-columns: 1fr; } }
.summary h2 { font-size: 1.45rem; }
.kv { margin: 0 0 14px; display: grid; gap: 6px; }
.kv div { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 12px; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; overflow-wrap: anywhere; }
.summary .kv + .kv { padding-top: 12px; border-top: 1px dashed var(--line); }
.pay-card { display: grid; gap: 12px; position: sticky; top: 90px; border-radius: 22px; box-shadow: var(--shadow-lg); }
.pay-card .line { display: flex; justify-content: space-between; font-variant-numeric: tabular-nums; }
.pay-card .disc { color: var(--leaf); }
.pay-card .total { font-family: var(--display); font-size: 1.6rem; padding-top: 10px; border-top: 1px solid var(--line); }
.coupon { display: flex; gap: 8px; }
.coupon input { min-height: 42px; }
.mock-note { font-size: .82rem; background: var(--tint); padding: 8px 10px; margin: 0; border-radius: 8px; }
.mock-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.status-card { display: grid; gap: 20px; border-radius: 22px; }
.progress { height: 10px; background: var(--tint-2); border-radius: 999px; overflow: hidden; border: 1px solid var(--line); }
.progress span { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--gold), var(--gold-lt), var(--gold)); background-size: 200% 100%; transition: width .8s var(--ease); }
.stages { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.stages li { padding-left: 32px; position: relative; color: var(--muted); transition: color .3s; }
.stages li::before { content: ""; position: absolute; left: 4px; top: .45em; width: 13px; height: 13px; border: 1.5px solid var(--line); transform: rotate(45deg); border-radius: 2px; transition: background .3s, border-color .3s; }
.stages li.active { color: var(--ink); font-weight: 600; }
.stages li.active::before { border-color: var(--gold); background: var(--gold-pale); }
.stages li.done { color: var(--ink); }
.stages li.done::before { background: var(--leaf); border-color: var(--leaf); }
.delayed { background: var(--tint); padding: 12px 14px; margin: 0; border-radius: var(--r); }

/* ---------------------------------------------------------------- footer */
.site-foot { position: relative; color: #F3E6D4; padding-bottom: env(safe-area-inset-bottom, 0px); background: radial-gradient(ellipse 50% 80% at 100% 0, rgba(200, 146, 42, .14), transparent 60%), linear-gradient(180deg, var(--maroon-deep), #3E0D16); }
.foot-orn { height: 4px; background: linear-gradient(90deg, var(--maroon), var(--gold), var(--gold-pale), var(--gold), var(--maroon)); }
.site-foot a { color: #F3E6D4; }
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 32px; padding-block: 60px 36px; }
.foot-grid > div { min-width: 0; }
.foot-brand .brand { margin-bottom: 14px; }
.foot-grid p { color: #E3CFB5; max-width: 34ch; }
.foot-grid .small, .site-foot .sel { color: #F3E6D4; }
.foot-h { font-family: var(--body); font-size: .76rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-lt); font-weight: 700; margin-bottom: 14px; }
.foot-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.foot-grid ul a { text-decoration: none; font-size: .95rem; opacity: .9; transition: opacity .2s, padding .25s var(--ease); }
.foot-grid ul a:hover { opacity: 1; padding-left: 4px; color: #fff; }
.foot-base { display: flex; justify-content: space-between; gap: 8px 24px; flex-wrap: wrap; border-top: 1px solid rgba(243, 230, 212, .16); padding-block: 20px 28px; font-size: .82rem; color: #D6C0A4; }
.foot-base p { margin: 0; color: #D6C0A4; }
.foot-pay { color: var(--gold-lt) !important; }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: 1 / -1; } }
@media (max-width: 900px) { .page-product .site-foot { padding-bottom: calc(76px + env(safe-area-inset-bottom, 0px)); } }

/* ---------------------------------------------------------------- motion */
@keyframes shake { 0%, 100% { transform: none; } 25% { transform: translateX(-4px); } 75% { transform: translateX(4px); } }
@keyframes drop { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: no-preference) {
  .js .rv { opacity: 0; translate: 0 26px; --rd: calc(var(--d, 0) * 90ms); transition: opacity .9s var(--ease) var(--rd), translate .9s var(--ease) var(--rd), transform .45s var(--ease), box-shadow .45s var(--ease), border-color .3s, background .3s; }
  .js .rv.in { opacity: 1; translate: none; }
  .rise { animation: rise .9s var(--ease) both; animation-delay: calc(var(--d, 0) * 110ms + 80ms); }
  @keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
  .gold-text { animation: shimmer 7s ease-in-out infinite; }
  @keyframes shimmer { 0%, 100% { background-position: 100% 0; } 50% { background-position: 0 0; } }
  .zodiac { animation: spin 160s linear infinite, fadein 1.6s ease both; }
  @keyframes spin { to { transform: rotate(360deg); } }
  @keyframes fadein { from { opacity: 0; } }
  .chart-card { animation: card-in 1.1s var(--ease) .15s both; }
  @keyframes card-in { from { opacity: 0; transform: perspective(900px) rotateX(18deg) translateY(30px) scale(.94); } }
  .glow { animation: breathe 6s ease-in-out infinite; }
  @keyframes breathe { 50% { opacity: .55; transform: scale(1.12); } }
  .hc-line { animation: draw 1.8s cubic-bezier(.4, .1, .2, 1) .5s both; }
  .hc-diamond { animation-delay: .9s; }
  .hc-num { animation: fadein .8s 1.6s both; }
  .hc-asc { animation: fadein .8s 1.7s both; }
  .hc-pl text { animation: pop .6s var(--ease) both; animation-delay: calc(1.9s + var(--d, 0) * 120ms); }
  @keyframes draw { from { stroke-dashoffset: 1200; } to { stroke-dashoffset: 0; } }
  @keyframes pop { from { opacity: 0; transform: scale(.4); } to { opacity: 1; transform: none; } }
  .sky .st { animation: twinkle var(--t, 4s) ease-in-out var(--dl, 0s) infinite; }
  @keyframes twinkle { 50% { opacity: var(--o, .9); transform: scale(1.3); } }
  .shoot { animation: shoot 11s linear 3s infinite; }
  .shoot.s2 { animation-duration: 17s; animation-delay: 8s; }
  @keyframes shoot { 0% { opacity: 0; transform: rotate(-24deg) translateX(0); } 1% { opacity: 1; } 7% { opacity: 0; transform: rotate(-24deg) translateX(-340px); } 100% { opacity: 0; transform: rotate(-24deg) translateX(-340px); } }
  .ticker-track { animation: tick 46s linear infinite; }
  .ticker:hover .ticker-track { animation-play-state: paused; }
  @keyframes tick { to { transform: translateX(-50%); } }
  .cta-mark { animation: float 6s ease-in-out infinite; }
  @keyframes float { 50% { transform: translateY(-8px); } }
  .stages li.active::before { animation: pulse 1.4s ease-in-out infinite; }
  @keyframes pulse { 50% { box-shadow: 0 0 0 6px rgba(200, 146, 42, .18); } }
  .progress span { animation: flow 2.4s linear infinite; }
  @keyframes flow { to { background-position: -200% 0; } }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .pages .pg-1 { transform: translate(-128%, -44%) rotate(-10deg); }
  .pages .pg-2 { transform: translate(28%, -46%) rotate(9deg); }
  .pages .pg-3 { transform: translate(-52%, -52%) rotate(-1.5deg); }
  .steps::before { transform: none; }
}
