/* AutoYear landing — light, airy, conversion-focused. No dependencies, no external fonts.
   Shared by index.html, install.html, terms.html and privacy.html: the primitives below
   (.wrap .nav .brand .btn .footer .legal .muted) are what those pages rely on. */

:root {
  --paper: #ffffff;
  --paper-2: #fbfcfd;
  --tint: #f4f5f7;
  --ink: #101318;
  --ink-2: #3f4650;
  --muted: #78808b;
  --line: #e7e9ed;
  --line-soft: #f1f2f5;

  --green: #0f8a5f;
  --green-deep: #0a6a48;
  --green-tint: #f1faf5;
  --green-line: #bfe5d2;

  --radius: 16px;
  --radius-lg: 24px;
  --wrap: 1080px;
  --pad: clamp(76px, 10vw, 148px);
  --shadow-sm: 0 1px 2px rgba(16, 19, 24, .04), 0 8px 24px rgba(16, 19, 24, .05);
  --shadow-lg: 0 2px 4px rgba(16, 19, 24, .04), 0 24px 60px rgba(16, 19, 24, .10);
}

* { box-sizing: border-box; }
/* several elements below set an explicit display, which would otherwise beat the
   UA's [hidden] rule — the personalized hero relies on hidden actually hiding */
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, Helvetica, Arial, sans-serif;
  background: var(--paper);
  color: var(--ink-2);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.wrap { width: min(var(--wrap), 90vw); margin: 0 auto; }
h1, h2, h3, h4 {
  color: var(--ink);
  line-height: 1.12;
  letter-spacing: -0.025em;
  font-weight: 750;
  margin: 0;
}
p { margin: 0; }
a { color: var(--green-deep); text-decoration: none; }
a:hover { text-decoration: underline; }
strong { color: var(--ink); font-weight: 650; }
em { font-style: normal; color: var(--ink); }
img { max-width: 100%; }
code {
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
  background: var(--tint); border: 1px solid var(--line);
  border-radius: 6px; padding: 1px 6px; font-size: 0.88em; color: var(--ink);
}
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; border-radius: 4px; }

/* ------------------------------------------------------------------ buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font: inherit; font-weight: 650; letter-spacing: -0.01em;
  border-radius: 999px; cursor: pointer; text-align: center;
  padding: 13px 26px; border: 1px solid transparent;
  transition: transform .12s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
}
.btn:hover { text-decoration: none; }
.btn--sm { padding: 8px 17px; font-size: 15px; }
.btn--lg { padding: 16px 34px; font-size: 18px; }
.btn--xl { padding: 20px 44px; font-size: 20px; border-radius: 999px; }
.btn--primary { background: var(--green); color: #fff; box-shadow: 0 10px 24px rgba(15, 138, 95, .22); }
.btn--primary:hover { background: var(--green-deep); transform: translateY(-2px); box-shadow: 0 14px 32px rgba(15, 138, 95, .28); }
.btn--primary:disabled { opacity: .5; cursor: not-allowed; transform: none; box-shadow: none; }
.btn--ghost { background: var(--paper); color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: #cfd4db; background: var(--paper-2); }

/* ------------------------------------------------------------------ nav */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .86);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line-soft);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 750; letter-spacing: -0.02em; }
.brand:hover { text-decoration: none; }
.brand__mark {
  display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px;
  background: var(--ink); color: #fff; font-size: 12px; font-weight: 800; letter-spacing: 0;
}
.nav__links { display: flex; align-items: center; gap: 20px; }
.nav__links a:not(.btn) { color: var(--muted); font-size: 15px; }
.nav__links a:not(.btn):hover { color: var(--ink); text-decoration: none; }
.nav__price { color: var(--muted); font-size: 15px; }

/* ------------------------------------------------------------------ section shell */
.section { padding: var(--pad) 0; }
.section--tint { background: var(--paper-2); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.section__head { max-width: 760px; margin: 0 auto clamp(48px, 6vw, 80px); text-align: center; }
.section__head h2 { font-size: clamp(30px, 4.2vw, 46px); }
.section__head .soft { color: var(--muted); display: block; }
.section__sub { margin-top: 18px; color: var(--muted); font-size: 19px; }

/* ------------------------------------------------------------------ 1. hero */
.hero { padding: clamp(64px, 9vw, 128px) 0 clamp(56px, 7vw, 96px); }
.hero__in { max-width: 860px; margin: 0 auto; text-align: center; }
.hero h1 { font-size: clamp(34px, 5.6vw, 62px); letter-spacing: -0.035em; }
.hero__sub { margin-top: 28px; font-size: clamp(18px, 2vw, 22px); color: var(--muted); line-height: 1.5; }
.hero__cta { margin-top: 44px; }
.hero__meta { margin-top: 20px; color: var(--muted); font-size: 15px; }
.hero__meta b { color: var(--ink); font-weight: 650; }

/* the stale year, lifted out of a real footer — informative, not alarming */
.year-chip {
  display: inline-block;
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
  font-size: 0.82em; font-weight: 600; letter-spacing: -0.01em;
  color: var(--ink); background: var(--tint);
  border: 1px solid var(--line); border-radius: 10px;
  padding: 2px 12px 4px; white-space: nowrap;
  vertical-align: baseline; word-spacing: -0.22em;
}

/* personalized variant (query-param driven, see app.js) */
.hero--personal .hero__eyebrow {
  font-size: clamp(19px, 2.2vw, 24px); color: var(--ink);
  font-weight: 650; letter-spacing: -0.02em; margin-bottom: 22px;
}
.hero--personal h1 { font-size: clamp(30px, 4.6vw, 50px); }
.hero__bigyear {
  display: block; margin: 14px 0;
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
  font-size: clamp(46px, 9vw, 104px); letter-spacing: -0.04em; color: var(--ink); font-weight: 700;
  word-spacing: -0.3em;
}

/* proof card: their site, with the footer line called out */
.proof { margin: clamp(40px, 5vw, 64px) auto 0; max-width: 820px; text-align: left; }
.proof__frame {
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  background: var(--paper); box-shadow: var(--shadow-lg); overflow: hidden;
}
.proof__bar {
  display: flex; align-items: center; gap: 7px;
  padding: 12px 16px; border-bottom: 1px solid var(--line-soft); background: var(--paper-2);
}
.proof__dot { width: 10px; height: 10px; border-radius: 50%; background: #dfe2e7; }
.proof__url {
  margin-left: 10px; flex: 1; min-width: 0;
  font-size: 13px; color: var(--muted);
  background: var(--paper); border: 1px solid var(--line); border-radius: 999px;
  padding: 4px 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.proof__shot { display: block; width: 100%; border-bottom: 1px solid var(--line-soft); }
/* stand-in page body when no screenshot asset exists yet */
.proof__skeleton { padding: 30px 28px 26px; display: grid; gap: 11px; }
.proof__skeleton i { display: block; height: 11px; border-radius: 999px; background: var(--line-soft); }
.proof__skeleton i:nth-child(1) { width: 42%; height: 17px; background: var(--line); }
.proof__skeleton i:nth-child(2) { width: 88%; }
.proof__skeleton i:nth-child(3) { width: 76%; }
.proof__skeleton i:nth-child(4) { width: 61%; }
.proof__zoom {
  border-top: 1px dashed var(--line);
  background: var(--tint);
  padding: 22px 24px;
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
}
.proof__glass { font-size: 22px; line-height: 1; }
.proof__line {
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
  font-size: clamp(15px, 2vw, 19px); color: var(--ink);
}
.proof__line mark {
  background: #fdf3c8; color: var(--ink); border-radius: 5px; padding: 1px 6px; font-weight: 700;
}
.proof__cap { margin-top: 14px; text-align: center; color: var(--muted); font-size: 14px; }

/* ------------------------------------------------------------------ 2. notice */
.notice { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(28px, 4vw, 56px); }
.notice__item { text-align: center; }
.notice__icon { font-size: 34px; line-height: 1; display: block; margin-bottom: 18px; }
.notice__item h3 { font-size: 21px; margin-bottom: 10px; }
.notice__item p { color: var(--muted); font-size: 16px; }

.platforms { margin-top: clamp(60px, 8vw, 100px); text-align: center; }
.platforms__label {
  font-size: 13px; letter-spacing: .09em; text-transform: uppercase;
  color: var(--muted); font-weight: 650; margin-bottom: 26px;
}
.platforms__row { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.platform {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid var(--line); border-radius: 999px;
  padding: 9px 18px; background: var(--paper);
  color: var(--ink); font-size: 15px; font-weight: 600; letter-spacing: -0.01em;
}
.platform svg { width: 17px; height: 17px; display: block; color: var(--muted); }
.platforms__more { margin-top: 22px; color: var(--muted); font-size: 15px; }

/* ------------------------------------------------------------------ 3. three ways */
.ways { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.way {
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(26px, 3vw, 38px); background: var(--tint);
  display: flex; flex-direction: column;
}
.way h3 { font-size: 22px; margin-bottom: 16px; color: var(--ink); }
.way ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.way li { color: var(--muted); font-size: 16px; }
.way--win {
  background: var(--green-tint); border-color: var(--green-line);
  box-shadow: 0 2px 4px rgba(10, 106, 72, .04), 0 24px 50px rgba(10, 106, 72, .10);
}
.way--win h3 { color: var(--green-deep); }
.way--win li { color: var(--ink-2); }
.way--win li b { color: var(--green-deep); }
.way__tag {
  align-self: flex-start; font-size: 12px; font-weight: 700; letter-spacing: .07em;
  text-transform: uppercase; color: var(--green-deep);
  background: #fff; border: 1px solid var(--green-line);
  border-radius: 999px; padding: 5px 12px; margin-bottom: 16px;
}

.buybar { margin-top: clamp(44px, 5vw, 64px); text-align: center; }
.buybar__price { font-size: clamp(46px, 7vw, 68px); font-weight: 780; color: var(--ink); letter-spacing: -0.04em; line-height: 1; }
.buybar__note { margin-top: 12px; color: var(--muted); font-size: 16px; }
.buybar__cta { margin-top: 30px; }
.buybar__fine { margin-top: 18px; color: var(--muted); font-size: 14px; }

/* ------------------------------------------------------------------ 4. flow */
.flow {
  display: flex; align-items: stretch; justify-content: center;
  gap: 6px; flex-wrap: wrap; max-width: 940px;
  margin: 0 auto; padding: 0; list-style: none;
}
.flow__step {
  flex: 1 1 118px; min-width: 104px;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--paper); padding: 22px 12px;
  text-align: center; box-shadow: var(--shadow-sm);
}
.flow__step span { display: block; font-size: 26px; line-height: 1; margin-bottom: 10px; }
.flow__step b { display: block; color: var(--ink); font-weight: 650; font-size: 15px; letter-spacing: -0.01em; }
.flow__step--last { border-color: var(--green-line); background: var(--green-tint); }
.flow__step--last b { color: var(--green-deep); }
.flow__arrow { align-self: center; color: #c8ced6; font-size: 18px; line-height: 1; user-select: none; }

.gifslot { margin: clamp(44px, 5vw, 68px) auto 0; max-width: 820px; }
.gifslot__frame {
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; background: var(--tint); box-shadow: var(--shadow-lg);
}
.gifslot__frame img { display: block; width: 100%; }
/* placeholder shown until assets/how-it-works.gif exists */
.gifslot__ph {
  aspect-ratio: 16 / 9; display: grid; place-items: center; gap: 8px;
  align-content: center; text-align: center; padding: 24px; color: var(--muted); font-size: 14px;
  background: repeating-linear-gradient(45deg, #f4f5f7, #f4f5f7 12px, #eceef1 12px, #eceef1 24px);
}
.gifslot__ph b { color: var(--ink-2); font-size: 16px; }
.gifslot__cap { margin-top: 16px; text-align: center; color: var(--muted); font-size: 15px; }

/* ------------------------------------------------------------------ 5. security */
.secure { max-width: 720px; margin: 0 auto; text-align: center; }
.secure__lock { font-size: 42px; line-height: 1; display: block; margin-bottom: 26px; }
.secure h2 { font-size: clamp(28px, 3.8vw, 42px); }
.secure__sub { margin-top: 18px; color: var(--muted); font-size: 19px; }
.checks {
  margin: clamp(40px, 5vw, 60px) auto 0; padding: 0; list-style: none;
  display: grid; gap: 14px; max-width: 460px; text-align: left;
}
.checks li {
  display: flex; align-items: center; gap: 16px;
  font-size: 19px; color: var(--ink); font-weight: 600; letter-spacing: -0.015em;
}
.checks svg { flex: none; width: 28px; height: 28px; color: var(--green); }
.secure__foot { margin-top: 36px; color: var(--muted); font-size: 17px; }

.audit { margin-top: clamp(72px, 9vw, 120px); padding-top: clamp(60px, 7vw, 90px); border-top: 1px solid var(--line); }
.audit__head { max-width: 660px; margin: 0 auto clamp(38px, 5vw, 56px); text-align: center; }
.audit__head h3 { font-size: clamp(26px, 3.4vw, 36px); }
.audit__verbs { margin-top: 18px; color: var(--muted); font-size: 19px; }
.audit__sub { margin-top: 14px; color: var(--muted); font-size: 16px; }
.audit__cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.acard {
  display: flex; flex-direction: column; gap: 10px;
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 24px; background: var(--paper); color: inherit;
  transition: border-color .2s ease, transform .12s ease, box-shadow .2s ease;
}
a.acard:hover { text-decoration: none; border-color: #cfd4db; transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.acard__icon { font-size: 22px; line-height: 1; }
.acard h4 { font-size: 18px; }
.acard p { color: var(--muted); font-size: 15px; }
.acard__go { margin-top: auto; padding-top: 8px; color: var(--green-deep); font-size: 14px; font-weight: 650; }
.acard pre {
  margin: 4px 0 0; padding: 14px; overflow-x: auto;
  background: var(--tint); border: 1px solid var(--line); border-radius: 10px;
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
  font-size: 11.5px; line-height: 1.55; color: var(--ink-2);
}

/* ------------------------------------------------------------------ 6. quotes */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.quote {
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 26px; background: var(--paper);
  display: flex; flex-direction: column; gap: 18px;
}
.quote p { font-size: 17px; color: var(--ink); line-height: 1.55; letter-spacing: -0.012em; }
.quote footer { margin-top: auto; font-size: 14px; color: var(--muted); line-height: 1.45; }
.quote footer b { display: block; color: var(--ink); font-weight: 650; font-size: 15px; }

/* ------------------------------------------------------------------ 7. faq */
.faq { max-width: 760px; margin: 0 auto; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; position: relative;
  padding: 26px 44px 26px 0;
  font-size: 19px; font-weight: 650; color: var(--ink); letter-spacing: -0.02em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
  font-size: 24px; font-weight: 400; color: var(--muted); line-height: 1;
}
.faq details[open] summary::after { content: "–"; }
.faq p { padding: 0 44px 28px 0; color: var(--muted); font-size: 17px; }

/* ------------------------------------------------------------------ 8. final */
.final { text-align: center; }
.final h2 { font-size: clamp(32px, 4.6vw, 50px); }
.final__sub { margin-top: 18px; color: var(--muted); font-size: 20px; }

/* checkout placeholder — #buy is the documented anchor for the real payment button */
.checkout { max-width: 560px; margin: clamp(40px, 5vw, 60px) auto 0; }
.checkout__box {
  border: 1px dashed var(--line); border-radius: var(--radius);
  padding: 26px; background: var(--paper-2); text-align: center;
}
.checkout__todo { color: var(--muted); font-size: 14px; margin-bottom: 18px; }

/* ------------------------------------------------------------------ footer */
.footer { border-top: 1px solid var(--line); padding: clamp(48px, 6vw, 72px) 0 40px; background: var(--paper-2); }
.footer__inner { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.footer__tag { margin-top: 12px; color: var(--muted); font-size: 15px; max-width: 260px; }
.footer__cols { display: flex; gap: clamp(40px, 6vw, 80px); flex-wrap: wrap; }
.footer__col h4 { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; font-weight: 650; }
.footer__col ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.footer__col a { color: var(--ink-2); font-size: 15px; }
.footer__col a:hover { color: var(--ink); text-decoration: none; }
.footer__legal {
  margin-top: clamp(40px, 5vw, 56px); padding-top: 24px; border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  color: var(--muted); font-size: 14px;
}
.footer__dogfood { color: var(--muted); }

/* ------------------------------------------------------------------ legal pages */
.legal { width: min(760px, 90vw); margin: 0 auto; padding: 56px 0 96px; }
.legal h1 { font-size: clamp(28px, 4vw, 38px); margin-bottom: 8px; }
.legal h2 { font-size: 21px; margin: 40px 0 12px; }
.legal p, .legal li { color: var(--ink-2); line-height: 1.7; }
.legal ul { padding-left: 22px; }
.legal li { margin-bottom: 8px; }
.muted { color: var(--muted); font-size: 14px; }

/* ------------------------------------------------------------------ responsive */
@media (max-width: 920px) {
  .notice { grid-template-columns: 1fr; gap: 44px; }
  .ways { grid-template-columns: 1fr; }
  .audit__cards { grid-template-columns: 1fr; }
  .quotes { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  body { font-size: 16px; }
  .nav__links a:not(.btn) { display: none; }
  .nav__price { display: none; }
  /* stacked: flex-basis would become a height, so let each step size to content */
  .flow { flex-direction: column; align-items: stretch; }
  .flow__step { flex: 0 0 auto; padding: 16px 12px; display: flex; align-items: center; justify-content: center; gap: 12px; }
  .flow__step span { margin-bottom: 0; font-size: 22px; }
  .flow__arrow { transform: rotate(90deg); padding: 0; font-size: 15px; }
  .checks li { font-size: 17px; }
  .footer__inner { flex-direction: column; gap: 32px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition-duration: .01ms !important; }
}
