/* QuickKeeper site template.
   Tokens come from brand-kit/palette/palette.css. No inline styles anywhere, so
   every color and size lives here (the host sends style-src 'self'). */

/* The Inter @font-face rules live in fonts.php, so the font URLs are versioned. */

:root {
  --qk-ink: #10202C;
  --qk-deep: #091620;
  --qk-slate: #1E3B4D;
  --qk-teal: #55C4B2;
  --qk-amber: #F8BC4E;
  --qk-mist: #DDEEEA;
  --qk-white: #FFFFFF;
  --teal-ink: #1B6B5F;
  --text: #10202C;
  --muted: #4B6270;
  --line: #D9E2E5;
  --surface: #F4F8F8;
  --radius: 14px;
  --maxw: 1120px;
  --font: Inter, "Segoe UI", system-ui, -apple-system, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.6; color: var(--text); background: var(--qk-white); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; }
a { color: var(--teal-ink); }
h1, h2, h3 { line-height: 1.12; letter-spacing: -0.02em; margin: 0; text-wrap: balance; }
p { margin: 0; }

.container { width: min(var(--maxw), 100% - 48px); margin-inline: auto; }
.section { padding: 44px 0; }
.section-mist { background: var(--surface); }
.section-head { margin-bottom: 24px; }
.section-head h2 { font-size: clamp(28px, 3.6vw, 40px); font-weight: 800; }
.section-head p { max-width: 40rem; margin-top: 8px; color: var(--muted); font-size: 18px; }
.eyebrow { display: inline-block; font-size: 14px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; }

.skip { position: absolute; left: -9999px; top: 8px; background: var(--qk-amber); color: var(--qk-ink); padding: 10px 16px; border-radius: 8px; font-weight: 600; z-index: 50; }
.skip:focus { left: 12px; }
:focus-visible { outline: 3px solid var(--qk-amber); outline-offset: 3px; border-radius: 6px; }

/* header */
.site-header { position: sticky; top: 0; z-index: 30; background: rgba(255, 255, 255, 0.94); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 72px; gap: 24px; }
.logo { display: inline-flex; align-items: center; }
.logo img { height: 44px; width: auto; display: block; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { font-size: 15px; font-weight: 500; color: var(--text); text-decoration: none; }
.nav a:hover { color: var(--teal-ink); }
.nav .btn { color: var(--qk-ink); }
.nav-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 10px; background: #fff; cursor: pointer; padding: 0; align-items: center; justify-content: center; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { display: block; width: 20px; height: 2px; background: var(--qk-ink); border-radius: 2px; content: ""; position: relative; }
.nav-toggle span::before { position: absolute; top: -6px; }
.nav-toggle span::after { position: absolute; top: 6px; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 24px; border-radius: 12px; font-family: inherit; font-weight: 600; font-size: 16px; line-height: 1; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: background-color 0.15s, border-color 0.15s, transform 0.15s; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--qk-amber); color: var(--qk-ink); }
.btn-primary:hover { background: #FFCB6B; }
.btn-ghost { border-color: rgba(255, 255, 255, 0.4); color: #fff; }
.btn-ghost:hover { border-color: #fff; background: rgba(255, 255, 255, 0.08); }
.btn-small { min-height: 40px; padding: 0 18px; font-size: 15px; }

/* hero */
.hero { color: #fff; padding: 52px 0 56px; background:
  radial-gradient(900px 520px at 88% -10%, rgba(85, 196, 178, 0.30), transparent 60%),
  radial-gradient(700px 480px at 0% 115%, rgba(248, 188, 78, 0.18), transparent 60%),
  linear-gradient(160deg, #1E3B4D 0%, #10202C 46%, #091620 100%); }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 40px; align-items: center; }
.hero .eyebrow { color: var(--qk-teal); margin-bottom: 18px; }
.hero h1 { font-size: clamp(40px, 5.4vw, 64px); font-weight: 800; letter-spacing: -0.03em; }
.hero .lede { margin-top: 14px; font-size: 19px; color: #C9D8DE; max-width: 33em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 22px; }

/* the icon in the hero */
.hero-art { display: flex; justify-content: center; }
.hero-art img { width: min(280px, 100%); height: auto; filter: drop-shadow(0 30px 50px rgba(0, 0, 0, 0.45)); }

/* steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; }
.step-num { width: 36px; height: 36px; border-radius: 10px; background: var(--qk-ink); color: #fff; display: grid; place-items: center; font-weight: 800; margin-bottom: 10px; }
.step h3 { font-size: 21px; font-weight: 600; margin-bottom: 6px; }
.step p { color: var(--muted); }
.platform { display: flex; align-items: center; gap: 18px; }
.platform img { flex: none; width: 44px; height: 44px; }
.platform h3 { margin: 0; }

/* audience */
.audience { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.aud { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 26px; }
.aud-teal { border-top: 6px solid var(--qk-teal); }
.aud-amber { border-top: 6px solid var(--qk-amber); }
.aud h3 { font-size: 24px; font-weight: 800; margin-bottom: 8px; }
.aud p { color: var(--muted); font-size: 18px; }

/* faq */
.faq { max-width: 46rem; }
.faq details { border-bottom: 1px solid var(--line); padding: 12px 0; }
.faq summary { cursor: pointer; font-weight: 600; font-size: 19px; list-style: none; display: flex; justify-content: space-between; gap: 20px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 26px; line-height: 1; color: var(--teal-ink); }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { margin-top: 8px; color: var(--muted); }

/* call to action */
.cta { text-align: center; color: #fff; padding: 44px 0; background: radial-gradient(700px 320px at 50% 0%, rgba(85, 196, 178, 0.25), transparent 65%), linear-gradient(160deg, #1E3B4D 0%, #10202C 55%, #091620 100%); }
.cta h2 { font-size: clamp(30px, 4vw, 44px); font-weight: 800; }
.cta p { margin: 14px auto 30px; color: #C9D8DE; font-size: 19px; max-width: 32em; }
.cta .btn { margin-top: 18px; }

/* footer */
.site-footer { background: var(--qk-deep); color: #AFC2CB; padding: 36px 0 28px; font-size: 15px; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.footer-inner img { height: 40px; width: auto; display: block; }
.footer-links { display: flex; flex-wrap: wrap; gap: 22px; }
.footer-links a { color: #D6E3E8; text-decoration: none; }
.footer-links a:hover { color: #fff; text-decoration: underline; }
.copy { width: 100%; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, 0.12); color: #8DA3AD; }

/* inner page template */
.page-head { padding: 36px 0 28px; background: var(--surface); border-bottom: 1px solid var(--line); }
.page-head h1 { font-size: clamp(34px, 4.6vw, 52px); font-weight: 800; }
.page-head p { margin-top: 8px; color: var(--muted); font-size: 19px; max-width: 38em; }
.prose { max-width: 44rem; padding: 56px 0 88px; }
.prose h2 { font-size: 28px; font-weight: 800; margin: 44px 0 12px; }
.prose h3 { font-size: 21px; font-weight: 600; margin: 32px 0 10px; }
.prose p, .prose ul, .prose ol { margin: 0 0 18px; }
.prose li { margin-bottom: 6px; }

/* automation claim */
.hero-stat { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; margin-top: 22px; padding: 18px 22px; max-width: 34em; border: 1px solid rgba(255, 255, 255, 0.2); border-radius: var(--radius); background: rgba(255, 255, 255, 0.07); }
.hero-stat strong { font-size: 34px; font-weight: 800; line-height: 1.05; letter-spacing: -0.02em; color: var(--qk-amber); white-space: nowrap; }
.hero-stat span { color: #D3E0E5; font-size: 18px; }
.callout { display: flex; align-items: center; gap: 22px; background: #fff; border: 1px solid var(--line); border-left: 6px solid var(--qk-teal); border-radius: var(--radius); padding: 16px 24px; margin-bottom: 20px; }
.callout strong { font-size: 40px; font-weight: 800; line-height: 1.05; letter-spacing: -0.02em; white-space: nowrap; }
.callout span { color: var(--muted); font-size: 18px; }
.aud-price { font-size: 34px; font-weight: 800; letter-spacing: -0.02em; margin: 0 0 10px; color: var(--text); }
.aud-price small { font-size: 18px; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.aud-link { margin-top: 12px; font-weight: 600; }

/* pricing */
.price-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; align-items: start; }
.plan { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 26px 28px; }
.plan-teal { border-top: 6px solid var(--qk-teal); }
.plan-amber { border-top: 6px solid var(--qk-amber); }
.plan h2 { font-size: 26px; font-weight: 800; }
.plan-for { margin-top: 8px; color: var(--muted); }
.price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px; margin: 14px 0 4px; }
.price-amount { font-size: clamp(46px, 6vw, 64px); font-weight: 800; letter-spacing: -0.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.price-unit { font-size: 19px; color: var(--muted); font-weight: 500; }
.price-note { color: var(--muted); font-size: 16px; }
.plan-list { list-style: none; padding: 0; margin: 18px 0 20px; display: grid; gap: 8px; }
.plan-list li { position: relative; padding-left: 32px; }
.plan-list li::before { content: ""; position: absolute; left: 4px; top: 0.5em; width: 11px; height: 6px; border-left: 3px solid var(--teal-ink); border-bottom: 3px solid var(--teal-ink); transform: rotate(-45deg); }
.plan .btn { align-self: flex-start; }
.plan .calc + .btn { margin-top: 20px; }
.btn-dark { background: var(--qk-ink); color: #fff; }
.btn-dark:hover { background: var(--qk-slate); }

.calc { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; }
.calc h3 { font-size: 18px; font-weight: 800; margin-bottom: 14px; }
.calc-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.calc-row label { font-weight: 600; }
.stepper { display: inline-flex; align-items: stretch; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.stepper button { width: 48px; border: 0; background: var(--surface); font-family: inherit; font-size: 22px; font-weight: 600; color: var(--qk-ink); cursor: pointer; }
.stepper button:hover { background: var(--qk-mist); }
.stepper input { width: 84px; border: 0; border-left: 1px solid var(--line); border-right: 1px solid var(--line); text-align: center; font-family: inherit; font-size: 18px; font-weight: 600; color: var(--qk-ink); padding: 12px 0; -moz-appearance: textfield; }
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.calc-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 16px; align-items: center; justify-items: start; }
.calc-fields label { font-weight: 600; }
.calc-fields .stepper input { width: 64px; }
.calc-fields .stepper button { width: 40px; }
.calc-fields .money-field input { width: 84px; padding: 9px 10px; }
.money-field { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--muted); }
.money-field input { width: 96px; border: 1px solid var(--line); border-radius: 12px; text-align: right; font-family: inherit; font-size: 18px; font-weight: 600; color: var(--qk-ink); padding: 11px 12px; -moz-appearance: textfield; }
.money-field input::-webkit-outer-spin-button, .money-field input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.calc-out { margin: 16px 0 0; display: grid; gap: 0; }
.calc-out div { display: flex; justify-content: space-between; gap: 20px; padding: 10px 0; border-top: 1px solid var(--line); }
.calc-out dt { color: var(--muted); }
.calc-out dd { margin: 0; font-weight: 600; text-align: right; font-variant-numeric: tabular-nums; }
.calc-total dt { color: var(--text); font-weight: 600; }
.calc-total dd span { display: block; }
.calc-total dd span:first-child { font-size: 20px; font-weight: 800; }

.wl-note { margin-top: 16px; max-width: 46rem; padding: 16px 22px; background: #fff; border-left: 6px solid var(--qk-amber); border-radius: 10px; color: var(--muted); }

.nav a[aria-current="page"] { color: var(--teal-ink); font-weight: 600; }

/* responsive */
@media (max-width: 900px) {
  .price-grid, .hero-grid, .steps, .audience { grid-template-columns: 1fr; }
  .plan { padding: 22px; }
  .callout, .hero-stat { flex-direction: column; align-items: flex-start; gap: 4px; }
  .hero { padding: 36px 0 40px; }
  .hero-art { display: none; }
  .section { padding: 36px 0; }
  .cta { padding: 36px 0; }
}
@media (max-width: 820px) {
  .nav-toggle { display: inline-flex; }
  .js .nav { display: none; }
  .js .nav.open { display: flex; flex-direction: column; align-items: stretch; gap: 0; position: absolute; top: 100%; left: 0; right: 0; background: #fff; padding: 12px 24px 24px; border-bottom: 1px solid var(--line); }
  .js .nav.open a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .js .nav.open .btn { margin-top: 16px; border-bottom: 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
  .btn:hover { transform: none; }
}
