/* Hitmark's public pages: cream, deep green, lime. Light only, like the brand.
   The one loud thing is the review page in the hero; everything else stays quiet. Nothing
   moves on its own. */
:root {
  --page: #f2f1e9;
  --ink: #17201a;
  --body: #4a5741;
  --card: #f8f9f2;
  --line: #c6cfba;
  --green: #48663c;
  --deep: #1f3324;
  --accent: #5f7a25;
  --lime: #c6ee65;
  --lime-ink: #1c2b16;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; background: var(--page); color: var(--ink); font: 17px/1.55 'Helvetica Neue', Helvetica, Arial, sans-serif; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; border-radius: 4px; }
[hidden] { display: none !important; }

/* ---------------------------------------------------------------- top bar */
.top { position: sticky; top: 0; z-index: 5; background: color-mix(in srgb, var(--page) 92%, transparent); backdrop-filter: blur(8px); border-bottom: 1px solid transparent; }
.bar, main > section, .foot { max-width: 1120px; margin-inline: auto; padding-inline: 20px; }
.bar { display: flex; align-items: center; gap: 24px; height: 68px; }
.logo { font-size: 30px; font-weight: 800; letter-spacing: -0.045em; text-decoration: none; line-height: 1; white-space: nowrap; }
.logo-mark { font-weight: 400; margin-right: 5px; }
.links { display: flex; gap: 26px; margin-left: auto; font-size: 15px; }
.links a { text-decoration: none; color: var(--body); }
.links a:hover { color: var(--ink); }

.button { display: inline-flex; align-items: center; justify-content: center; min-height: 54px; padding: 0 28px; border-radius: 10px; background: var(--deep); color: #f4f8ea; font-size: 17px; font-weight: 700; letter-spacing: -0.01em; text-decoration: none; cursor: pointer; border: 1px solid var(--deep); transition: transform 0.12s ease; }
.button:hover { background: #16261a; }
.button:active { transform: translateY(1px); }
.button.small { min-height: 40px; padding: 0 16px; font-size: 15px; border-radius: 8px; }
.button.light { background: var(--lime); border-color: var(--lime); color: var(--lime-ink); }
.button.light:hover { background: #d3f482; }
.button.quiet { min-height: 42px; padding: 0 16px; font-size: 15px; background: transparent; color: var(--deep); border-color: var(--line); }
.button.quiet:hover { background: var(--card); }
.button.quiet:not([href]) { display: none; }

/* ---------------------------------------------------------------- hero */
.hero { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.6fr); gap: 48px; align-items: center; padding-block: 56px 88px; }
.hero h1 { font-size: clamp(36px, 5vw, 60px); line-height: 1.02; letter-spacing: -0.045em; font-weight: 800; text-wrap: balance; }
.lead { margin-top: 22px; max-width: 34em; color: var(--body); font-size: 19px; line-height: 1.5; text-wrap: pretty; }
.cta-row { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 30px; }
.cta-note { color: var(--body); font-size: 15px; line-height: 1.35; }
.cta-note strong { color: var(--ink); display: block; font-size: 17px; }
.ticks { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 30px; font-size: 15px; color: var(--body); }
.ticks li { padding-left: 22px; position: relative; }
.ticks li::before { content: ''; position: absolute; left: 0; top: 0.42em; width: 12px; height: 7px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }

/* The review page, drawn. */
.review { justify-self: center; width: min(100%, 340px); }
.screen { background: var(--deep); border-radius: 22px; padding: 14px; box-shadow: 0 30px 60px -28px rgba(23, 32, 26, 0.55); }
.frame { position: relative; aspect-ratio: 9 / 13; border-radius: 12px; overflow: hidden; background: linear-gradient(165deg, #6f8457 0%, #3c5136 48%, #22301f 100%); }
.subject { position: absolute; left: 50%; bottom: -8%; width: 78%; aspect-ratio: 1 / 1.05; transform: translateX(-50%); border-radius: 46% 46% 0 0; background: linear-gradient(180deg, #d9c9a8 0 34%, #2b3a2a 34%); opacity: 0.9; }
.subject::before { content: ''; position: absolute; left: 50%; top: -30%; width: 46%; aspect-ratio: 1; transform: translateX(-50%); border-radius: 50%; background: #e3d3b4; }
.wm { position: absolute; inset: -25% -45%; display: flex; flex-wrap: wrap; gap: 44px 30px; align-content: center; justify-content: center; transform: rotate(-30deg); z-index: 2; pointer-events: none; }
.wm span:nth-child(odd) { margin-left: 40px; }
.wm span { font-size: 13px; font-weight: 800; letter-spacing: 0.06em; color: rgba(255, 255, 255, 0.34); white-space: nowrap; text-shadow: 0 0 2px rgba(0, 0, 0, 0.35); }
.caption { position: absolute; left: 0; right: 0; bottom: 15%; z-index: 1; text-align: center; color: #fff; font-size: 20px; line-height: 1.1; font-weight: 800; letter-spacing: -0.02em; text-shadow: 0 2px 10px rgba(0, 0, 0, 0.55); }
.pin { position: absolute; left: 61%; top: 33%; z-index: 3; width: 58px; height: 40px; border: 3px solid #ff5a47; border-radius: 50%; transform: rotate(-8deg); }
.timeline { position: relative; height: 6px; margin: 14px 4px 0; border-radius: 3px; background: rgba(244, 248, 234, 0.2); }
.timeline .played { position: absolute; inset: 0 62% 0 0; border-radius: 3px; background: var(--lime); }
.timeline .head { position: absolute; left: 38%; top: 50%; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: #fff; }
.timeline .mark { position: absolute; left: 38%; top: -9px; width: 10px; height: 10px; margin-left: -5px; border-radius: 50%; background: #ff5a47; border: 2px solid var(--deep); }
.note { display: flex; gap: 10px; align-items: baseline; margin-top: 16px; padding: 11px 13px; border-radius: 10px; background: #f4f8ea; color: var(--ink); font-size: 14px; line-height: 1.35; }
.note b { color: #c93a28; font-variant-numeric: tabular-nums; }
.verdict { display: grid; grid-template-columns: 1fr 1.25fr; gap: 8px; margin-top: 10px; }
.verdict span { display: grid; place-items: center; min-height: 40px; border-radius: 9px; font-size: 13px; font-weight: 700; text-align: center; padding: 0 8px; }
.verdict .ghost { border: 1px solid rgba(244, 248, 234, 0.3); color: #dfe8cf; }
.verdict .solid { background: var(--lime); color: var(--lime-ink); }
.review figcaption { margin-top: 14px; text-align: center; color: var(--body); font-size: 14px; text-wrap: balance; }

/* ---------------------------------------------------------------- sections */
.band { padding-block: 72px; border-top: 1px solid var(--line); }
.band h2, .closing h2 { font-size: clamp(28px, 3.4vw, 40px); line-height: 1.1; letter-spacing: -0.035em; font-weight: 800; max-width: 20em; text-wrap: balance; }
.sub { margin-top: 12px; max-width: 40em; color: var(--body); text-wrap: pretty; }
.split { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 48px; }

.steps { counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; margin-top: 40px; }
.steps li { counter-increment: step; padding-top: 18px; border-top: 3px solid var(--deep); }
.steps li::before { content: counter(step); display: block; font-size: 15px; font-weight: 800; color: var(--accent); margin-bottom: 8px; }
.steps h3 { font-size: 21px; letter-spacing: -0.02em; line-height: 1.2; }
.steps p { margin-top: 8px; color: var(--body); font-size: 16px; }

.includes li { display: grid; gap: 2px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.includes li:first-child { padding-top: 0; }
.includes b { font-size: 18px; letter-spacing: -0.01em; }
.includes span { color: var(--body); font-size: 16px; }

.prices { display: grid; grid-template-columns: 1.25fr 1fr 1fr; gap: 16px; margin-top: 36px; align-items: stretch; }
.price-card { display: flex; flex-direction: column; gap: 10px; padding: 26px; border-radius: 16px; border: 1px solid var(--line); background: var(--card); }
.price-card h3 { font-size: 17px; font-weight: 700; }
.amount { font-size: 54px; line-height: 1; letter-spacing: -0.05em; font-weight: 800; font-variant-numeric: tabular-nums; }
.amount span { font-size: 16px; letter-spacing: 0; font-weight: 500; color: var(--body); }
.terms { color: var(--body); font-size: 16px; }
.price-card.main { background: var(--deep); border-color: var(--deep); color: #f4f8ea; }
.price-card.main .amount span, .price-card.main .terms { color: #cfdcbb; }
.price-card.main .button { margin-top: auto; background: var(--lime); border-color: var(--lime); color: var(--lime-ink); }
.price-card.main .button:hover { background: #d3f482; }
.fine { margin-top: 20px; max-width: 62em; color: var(--body); font-size: 14px; text-wrap: pretty; }

.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 18px 34px 18px 0; font-size: 19px; font-weight: 700; letter-spacing: -0.015em; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 4px; top: 14px; font-size: 24px; font-weight: 400; color: var(--accent); }
.faq details[open] summary::after { content: '–'; }
.faq p { padding: 0 34px 20px 0; color: var(--body); max-width: 38em; }

.rows { margin-top: 30px; border-top: 1px solid var(--line); }
.rows li { display: grid; grid-template-columns: minmax(0, 1fr) 90px 150px; gap: 20px; align-items: center; padding: 20px 0; border-bottom: 1px solid var(--line); }
.rows div { display: grid; gap: 2px; }
.rows b { font-size: 18px; letter-spacing: -0.01em; }
.rows span { color: var(--body); font-size: 16px; }
.rows strong { font-size: 24px; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.rows .button { justify-self: end; }

.closing { margin-block: 24px 72px; padding-block: 64px; border-radius: 24px; background: var(--deep); color: #f4f8ea; display: grid; justify-items: center; gap: 22px; text-align: center; }
main > .closing { max-width: 1080px; }
.closing p { color: #cfdcbb; font-size: 16px; }

.foot { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-block: 22px 40px; border-top: 1px solid var(--line); color: var(--body); font-size: 14px; }
.foot nav { display: flex; gap: 22px; flex-wrap: wrap; }

/* ---------------------------------------------------------------- the offer cards of /ai */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 36px; }
.card { display: flex; flex-direction: column; gap: 8px; padding: 24px; border-radius: 16px; border: 1px solid var(--line); background: var(--card); }
.card h3 { font-size: 21px; line-height: 1.2; letter-spacing: -0.02em; }
.card .when { font-size: 14px; font-weight: 700; color: var(--accent); }
.card .fit { color: var(--body); font-size: 16px; }
.card .amount { margin-top: 10px; font-size: 44px; }
.card .features { display: grid; gap: 7px; margin: 12px 0 20px; font-size: 15px; }
.card .features li { padding-left: 22px; position: relative; }
.card .features li::before { content: ''; position: absolute; left: 0; top: 0.42em; width: 12px; height: 7px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }
.card .button { margin-top: auto; }
.card.featured { background: var(--deep); border-color: var(--deep); color: #f4f8ea; }
.card.featured .fit, .card.featured .amount span { color: #cfdcbb; }
.card.featured .when { color: var(--lime); }
.card.featured .features li::before { border-color: var(--lime); }
.card.featured .button.quiet { background: var(--lime); border-color: var(--lime); color: var(--lime-ink); }
.card .button.quiet:not([href]) { display: none; }

/* ---------------------------------------------------------------- small screens */
@media (max-width: 900px) {
  .links a:not([href='/start']) { display: none; }
  .hero { grid-template-columns: 1fr; gap: 44px; padding-block: 28px 64px; }
  .review { width: min(100%, 300px); }
  .split { grid-template-columns: 1fr; gap: 28px; }
  .steps { grid-template-columns: 1fr 1fr; }
  .prices, .grid { grid-template-columns: 1fr; }
  .band { padding-block: 56px; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .bar { gap: 12px; height: 60px; }
  .logo { font-size: 25px; }
  .links { display: none; }
  .bar .button { margin-left: auto; }
  .lead { font-size: 17px; }
  .cta-row .button { width: 100%; }
  .steps { grid-template-columns: 1fr; gap: 22px; }
  .rows li { grid-template-columns: 1fr auto; }
  .rows .button { grid-column: 1 / -1; justify-self: stretch; }
  .closing { margin-inline: 12px; padding: 48px 20px; border-radius: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button { transition: none; }
}
