/* Chuck landing page — Dec 2026 redesign (Kamil). Served at /. */
   Spec: "Landing Page Update – Dec 2026" brief. Brief sizes are in pt and are
   used 1:1 as CSS px; all image assets are @2x and are displayed at 50%. */

@font-face { font-family: 'Aktiv Grotesk'; src: url('/fonts/aktiv-grotesk-regular.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Aktiv Grotesk'; src: url('/fonts/aktiv-grotesk-medium.woff2') format('woff2'); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'Aktiv Grotesk'; src: url('/fonts/aktiv-grotesk-bold.woff2') format('woff2'); font-weight: 700; font-style: normal; font-display: swap; }

:root {
  --blue-grad: linear-gradient(180deg, #00A3F6 0%, #00A9FF 100%);
  --ink: #172F5A;
  --muted: #467A94;
  --link: #0094DF;
  --accent: #01A7FD;
  --pale: #F0F9FF;
  --max: 1200px;
  /* 26pt body copy, scaled down on narrow screens */
  --body: clamp(18px, 1.2rem + 0.6vw, 26px);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Aktiv Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: var(--body);
  font-weight: 400;
  color: var(--muted);
  line-height: 1.4;
  background: #fff;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }
ul { list-style: none; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }

.skip-link { position: absolute; left: -9999px; top: 8px; background: #fff; color: #000; padding: 8px 12px; border-radius: 8px; z-index: 10; font-size: 14px; }
.skip-link:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

/* ===== Draft banner (review only; remove at go-live) ===== */

/* ===== HERO ===== */
.hero {
  background:
    url('/img/home/pattern@2x.webp') left bottom / 1466px 140px repeat-x,
    linear-gradient(180deg, #BBE0FF 0%, #DAEFFF 100%);
  padding-top: 20px;
  overflow: hidden;
}

.nav {
  display: flex; align-items: center; justify-content: space-between;
  background: #C5E5FF;
  border: 1px solid #E6F4FF;
  border-radius: 14px;
  padding: 10px 12px 10px 18px;
  font-size: 14px; font-weight: 500;
  position: relative; z-index: 2;
}
.nav-logo img { width: 100px; height: auto; }
.nav ul { display: flex; align-items: center; gap: 0; }
.nav li { display: flex; align-items: center; }
.nav li + li:not(.nav-cta-li)::before { content: ''; width: 1px; height: 16px; background: rgba(70,122,148,.25); }
.nav ul a { color: #000; padding: 6px 20px; }
.nav .nav-cta {
  background: var(--blue-grad); color: #fff; border-radius: 10px;
  padding: 9px 20px; margin-left: 4px; display: inline-block;
}
.nav .nav-cta:hover { text-decoration: none; filter: brightness(1.05); }

.tagline {
  position: relative; text-align: center;
  padding: 72px 0 32px;
  background: url('/img/home/clouds@2x.png') center top / 1236px 448px no-repeat;
  margin-top: -40px; /* let the clouds sit behind the nav like the mockup */
  padding-top: 112px;
}
.tagline h1 {
  font-size: clamp(34px, 1.2rem + 4vw, 58px);
  font-weight: 700; color: #000; line-height: 1.12; letter-spacing: -0.01em;
}
.tagline .sub { font-size: var(--body); color: var(--muted); margin-top: 18px; }
.tagline .sub span { display: block; }
.rating { width: 373px; margin: 28px auto 0; }

.hero-art { margin-top: 8px; }
.hero-art img { width: 2018px; max-width: 100%; margin: 0 auto; }

/* ===== DOWNLOAD ===== */
.download { background: #fff; padding: 56px 0; }
.download .wrap { display: grid; grid-template-columns: repeat(2, minmax(0, 290px)); gap: 20px; justify-content: center; align-items: center; }
.download .store { justify-self: end; }
.download .store img { width: 144px; height: 48px; }
.handoff { display: flex; align-items: center; gap: 14px; justify-self: start; background: none; box-shadow: none; }
.handoff[hidden] { display: none; }
.handoff-code { flex: 0 0 76px; width: 76px; height: 76px; background: url('/img/qr-appstore.svg') center / 76px 76px no-repeat; }
.handoff-text { font-size: 15px; line-height: 1.4; color: var(--muted); }
.handoff-text strong { display: block; color: #000; font-weight: 500; }
.download.solo .wrap { grid-template-columns: auto; }
.download.solo .store { justify-self: center; }

/* ===== TESTIMONIALS ===== */
.testimonials { background: linear-gradient(180deg, #FFFFFF 0%, #F0F9FF 100%); padding: 72px 0 96px; }
.tm { display: grid; grid-template-columns: 30px 1fr 30px; gap: 20px; align-items: center; }
.tm-nav { background: none; border: 0; cursor: pointer; width: 30px; height: 40px; display: flex; align-items: center; justify-content: center; }
.tm-nav img { width: 10px; height: 17px; }
.tm-nav[aria-disabled="true"] { opacity: .2; cursor: default; }
.tm-page { display: grid; grid-template-columns: repeat(var(--per, 3), 1fr); gap: 40px; align-items: start; }
.tm-card { text-align: center; }
.tm-card blockquote { font-size: 20px; font-weight: 500; color: #000; line-height: 1.4; }
.stars { display: flex; justify-content: center; gap: 4px; margin-top: 14px; }
.stars img { width: 16px; height: 16px; }
.tm-author { font-size: 15px; color: var(--muted); margin-top: 8px; }
.tm-author span { opacity: .75; }
.tm-dots { display: flex; justify-content: center; gap: 8px; margin-top: 40px; }
.tm-dots button { width: 9px; height: 9px; border-radius: 50%; border: 0; padding: 0; background: #E2ECF5; cursor: pointer; }
.tm-dots button[aria-current="true"] { background: #00A6FA; }
/* No JS: no arrows or dots, all quotes in a grid */
.no-js .tm-nav, .no-js .tm-dots { display: none; }
.no-js .tm { grid-template-columns: 1fr; }
.no-js .tm-page { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }

/* ===== FEATURES ===== */
.features { background: var(--pale); padding: 24px 0 40px; }
.feature {
  display: grid; grid-template-columns: 1fr 324px; gap: 40px; align-items: center;
  background: #FCFEFF; border-radius: 18px; padding: 0 55px;
  overflow: hidden;
}
.feature + .feature { margin-top: 32px; }
.feature-text { padding: 55px 0; }
.feature h3 { font-size: clamp(28px, 1rem + 1.6vw, 38px); font-weight: 700; color: var(--ink); line-height: 1.15; }
.feature p { font-size: var(--body); color: var(--muted); margin-top: 8px; max-width: 620px; }
.feature-img { align-self: end; }
.feature-img img { width: 324px; height: 276px; }

.badges { display: flex; justify-content: center; align-items: center; gap: 32px; margin-top: 48px; }
.badges img { height: 20px; width: auto; }

/* ===== PRICING ===== */
.pricing { background: var(--pale); padding: 112px 0 96px; }
.pricing-head { text-align: center; max-width: 820px; margin: 0 auto 56px; }
.pricing-head h2 { font-size: clamp(28px, 1rem + 1.6vw, 38px); font-weight: 700; color: var(--ink); line-height: 1.15; }
.pricing-head p { font-size: var(--body); color: var(--muted); margin-top: 12px; }
.pricing-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; }
.pricing-card { border-radius: 18px; padding: 44px 55px 48px; text-align: center; box-shadow: none; position: relative; }
.pricing-card.free { background: #fff; border: 0; }
.pricing-card.featured { background: #E6F5FF; border: 5px solid var(--accent); }
.pricing-card.featured::before {
  content: 'Most popular';
  position: absolute; top: -18px; left: 50%; transform: translateX(-50%);
  background: var(--blue-grad); color: #fff; font-size: 15px; font-weight: 500;
  border-radius: 10px; padding: 6px 16px; white-space: nowrap;
}
.pricing-card h3 { font-size: 26px; font-weight: 700; color: var(--ink); }
.pricing-price { font-size: 60px; font-weight: 700; color: var(--ink); line-height: 1.1; margin-top: 12px; }
.pricing-price span { font-size: 20px; font-weight: 400; color: var(--muted); letter-spacing: 0; }
.pricing-period { font-size: 20px; font-weight: 500; color: var(--muted); margin-top: 8px; }
.pricing-features { text-align: left; margin: 28px 0 32px; }
.pricing-features li {
  font-size: var(--body); color: var(--muted);
  display: flex; align-items: center; gap: 16px; padding: 14px 0;
}
.pricing-features li::before { content: ''; flex: 0 0 25px; height: 25px; background: url('/img/home/checkmark@2x.png') center / 25px 25px no-repeat; }
.pricing-features li + li { border-top: 1px solid #C3D7E5; }
.btn { display: inline-block; font-size: 24px; font-weight: 500; border-radius: 16px; padding: 10px 26px; }
.btn:hover { text-decoration: none; filter: brightness(1.04); }
.btn-free { background: #fff; border: 3px solid var(--accent); color: var(--accent); }
.btn-pro { background: var(--blue-grad); border: 0; color: #fff; padding: 13px 29px; }

/* ===== FOOTER ===== */
.footer { background: #fff; padding: 72px 0 48px; font-size: 17px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
.footer-brand img.logo { width: 100px; }
.footer-brand p { font-size: 17px; color: var(--muted); margin-top: 18px; line-height: 1.35; max-width: 220px; }
.footer-brand p a { font-weight: 500; }
.footer-brand .store { display: inline-block; margin-top: 18px; }
.footer-brand .store img { width: 144px; height: 48px; }
.footer h4 { font-size: 17px; font-weight: 500; color: #000; text-transform: uppercase; letter-spacing: .02em; }
.footer ul { margin-top: 20px; }
.footer li + li { margin-top: 12px; }
.footer ul a { font-size: 17px; color: var(--link); }
.footer-bottom { margin-top: 56px; font-size: 13px; color: var(--muted); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; opacity: .8; }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .pricing-grid { gap: 48px; }
  .pricing-card { padding: 40px 32px 44px; }
}
@media (max-width: 767px) {
  .nav ul li:not(.nav-cta-li) { display: none; }
  .nav { padding: 8px 8px 8px 14px; }
  .tagline { padding-top: 96px; background-size: 900px auto; }
  .tagline .sub span { display: inline; }
  .rating { width: 300px; }
  .download { padding: 40px 0; }
  .download .wrap { grid-template-columns: auto; }
  .download .store { justify-self: center; }
  .handoff { display: none; }
  .testimonials { padding: 56px 0 72px; }
  .tm { gap: 8px; }
  .tm-page { gap: 24px; }
  .feature { grid-template-columns: 1fr; padding: 0 28px; gap: 0; }
  .feature-text { padding: 36px 0 12px; }
  .feature-img { justify-self: center; }
  .pricing { padding: 80px 0 72px; }
  .pricing-grid { grid-template-columns: 1fr; gap: 48px; }
  .pricing-price { font-size: 52px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 420px) {
  .feature-img img { width: 100%; height: auto; }
  .pricing-card { padding: 36px 22px 40px; }
  .badges { gap: 20px; flex-wrap: wrap; }
}
@media (prefers-reduced-motion: no-preference) {
  .tm-page { transition: opacity .25s ease; }
  .tm-page.fading { opacity: 0; }
}

/* ===== Kamil's scale tweaks (Slack #chuck, 2026-12-02) =====
   Applied as given, with two changes: the max-width queries are ordered
   wide → narrow so the narrower ones win (as given, the 1200px rule came last
   and overrode the 767/900px ones), and the mobile feature layout is
   re-asserted below because `.feature` now sets two columns at every width. */
.wrap { padding: 0 40px; }
.hero .wrap { padding: 0; }
.hero { background-size: 50%; }
.hero-art { display: flex; justify-content: center; }
.hero-art img { margin: -22px auto; min-width: 600px; }
.nav { margin: 0px 20px; }
.tagline { background-size: contain; }
.tagline h1 { font-size: 34pt; padding: 0 10px 0 10px; }
.tagline .sub { font-size: 16pt; padding: 0 10px 0 10px; }
.download .store { justify-self: center; }
.tm-card blockquote { font-size: 16px; font-weight: 400; }
.feature { grid-template-columns: 1fr 224px; }
.feature-img img { width: 224px; height: auto; }
.feature-text h3 { font-size: 20pt; }
.feature-text p { font-size: 14pt; }
.pricing-head h2 { font-size: 24pt; }
.pricing-head p { font-size: 16pt; }
.pricing-features li { font-size: 14pt; }
.pricing-card { margin-left: auto; margin-right: auto; }
.btn { font-size: 16px; }
.pricing { padding-top: 62px; }
.pricing-period { font-size: 12pt; }
.pricing-grid { padding: 0 130px; gap: 40px; }
.pricing-price span { font-size: 12pt; }
.pricing-features li::before {
  flex: 0 0 16px; height: 16px;
  background: url("/img/home/checkmark@2x.png?v=20261202") center center / 16px 16px no-repeat;
}
@media only screen and (max-width: 1200px) { .pricing-grid { padding: 0 40px; } }
@media only screen and (max-width: 900px)  { .pricing-grid { padding: 0; } }
@media only screen and (max-width: 767px)  {
  .pricing-grid { padding: 0; }
  .feature { grid-template-columns: 1fr; }
}
