/* passlabprep.com: PassLab's brand site. One stylesheet for every page.
   Colours and type follow the app (lib/core/design/tokens.dart). The font
   is served from this site, so no visitor is sent to a font host. */

@font-face {
  font-family: 'Plus Jakarta Sans';
  src: url('/assets/fonts/PlusJakartaSans-Regular.ttf') format('truetype');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  src: url('/assets/fonts/PlusJakartaSans-SemiBold.ttf') format('truetype');
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  src: url('/assets/fonts/PlusJakartaSans-ExtraBold.ttf') format('truetype');
  font-weight: 800;
  font-display: swap;
}

:root {
  --canvas: #FCF3F2;
  --card: #FFFFFF;
  --hairline: #F0DADC;
  --track: #F4E2E3;
  --ink: #1C1917;
  --muted: #6B625E;
  --faint: #B9A9A9;
  --crimson: #C2333F;
  --crimson-deep: #A82833;
  --crimson-tint: #FCE9EB;
  --wine: #6E1D3A;
  --gold: #D9A21B;
  --radius: 20px;
  --shadow: 0 1px 2px rgba(28, 25, 23, .04), 0 10px 30px rgba(194, 51, 63, .07);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { -webkit-text-size-adjust: 100%; }

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--canvas);
  color: var(--ink);
  line-height: 1.6;
  font-size: 16px;
}

a { color: var(--crimson); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }

.wrap { max-width: 1040px; margin: 0 auto; padding: 0 20px; }

/* Top bar */
.top { display: flex; align-items: center; justify-content: space-between; padding: 22px 0; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 800; font-size: 21px; letter-spacing: -.4px; }
.brand:hover { text-decoration: none; }
.brand b { color: var(--crimson); font-weight: 800; }
.brand svg { width: 36px; height: 36px; flex: none; }
.top nav { display: flex; gap: 22px; font-size: 14.5px; font-weight: 600; }
.top nav a { color: var(--muted); }
.top nav a:hover { color: var(--ink); text-decoration: none; }

/* Hero: the app's dusk sky */
.hero {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  align-items: center;
  gap: 24px;
  padding: 56px 52px;
  border-radius: 28px;
  color: #fff;
  background:
    radial-gradient(120% 90% at 85% 0%, rgba(226, 98, 109, .55) 0%, rgba(226, 98, 109, 0) 55%),
    linear-gradient(135deg, #C2333F 0%, #8E2440 55%, var(--wine) 100%);
  box-shadow: 0 24px 60px rgba(110, 29, 58, .22);
}
.hero .eyebrow { color: #F3CC55; }
.hero h1 { font-size: clamp(32px, 5vw, 50px); line-height: 1.08; letter-spacing: -1.4px; font-weight: 800; margin: 10px 0 16px; }
.hero p { font-size: 17px; line-height: 1.6; color: rgba(255, 255, 255, .86); max-width: 520px; }
.hero .actions { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.hero .luna { justify-self: center; width: min(250px, 100%); animation: float 6s ease-in-out infinite; }
.hero .star { position: absolute; color: #F3CC55; opacity: .9; }

.eyebrow { font-size: 12px; font-weight: 800; letter-spacing: 1.4px; text-transform: uppercase; color: var(--crimson); }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* Buttons and pills */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 13px 22px; border-radius: 14px; font-weight: 800; font-size: 15.5px; }
.btn:hover { text-decoration: none; }
.btn.light { background: #fff; color: var(--crimson-deep); }
.btn.light:hover { background: #FFF6F5; }
.btn.solid { background: var(--crimson); color: #fff; box-shadow: 0 10px 24px rgba(194, 51, 63, .28); }
.btn.solid:hover { background: var(--crimson-deep); }
.pill { display: inline-flex; align-items: center; gap: 7px; padding: 7px 13px; border-radius: 999px; font-size: 13px; font-weight: 600; }
.pill.soon { background: var(--crimson-tint); color: var(--crimson-deep); }
.pill.onsky { background: rgba(255, 255, 255, .14); color: #fff; border: 1px solid rgba(255, 255, 255, .28); }
.pill .dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }

/* Sections */
section { padding: 64px 0 0; }
h2 { font-size: clamp(24px, 3.2vw, 31px); letter-spacing: -.7px; line-height: 1.2; font-weight: 800; margin-top: 8px; }
.lead { color: var(--muted); font-size: 16.5px; max-width: 620px; margin-top: 10px; }

.card { background: var(--card); border: 1px solid var(--hairline); border-radius: var(--radius); box-shadow: var(--shadow); }

/* An app on the brand page */
.app { display: flex; gap: 22px; align-items: center; padding: 24px; margin-top: 26px; color: var(--ink); }
.app:hover { text-decoration: none; border-color: #E7C3C7; }
.app img { width: 96px; height: 96px; border-radius: 22px; flex: none; }
.app h3 { font-size: 21px; letter-spacing: -.4px; line-height: 1.25; font-weight: 800; }
.app p { color: var(--muted); font-size: 15px; margin: 6px 0 12px; max-width: 560px; }
.app .more { margin-left: auto; color: var(--crimson); font-weight: 800; font-size: 15px; white-space: nowrap; }
.note { color: var(--muted); font-size: 14.5px; margin-top: 16px; }

/* Three or six short cards */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 26px; }
.tile { padding: 22px; }
.tile .num { font-size: 13px; font-weight: 800; color: var(--crimson); letter-spacing: .6px; }
.tile h3 { font-size: 17.5px; letter-spacing: -.3px; line-height: 1.3; font-weight: 800; margin: 6px 0 6px; }
.tile p { color: var(--muted); font-size: 14.5px; line-height: 1.55; }
.tile .big { font-size: 30px; font-weight: 800; letter-spacing: -1px; color: var(--ink); line-height: 1.1; }

/* App page hero */
.apphero { display: flex; gap: 26px; align-items: center; padding: 44px; }
.apphero img { width: 124px; height: 124px; border-radius: 28px; flex: none; box-shadow: 0 14px 34px rgba(110, 29, 58, .25); }
.apphero h1 { font-size: clamp(27px, 4vw, 40px); line-height: 1.12; letter-spacing: -1px; font-weight: 800; margin: 6px 0 10px; }
.apphero p { color: var(--muted); font-size: 16.5px; max-width: 560px; }
.apphero .actions { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.crumb { font-size: 14px; color: var(--muted); padding: 2px 0 18px; }
.crumb a { color: var(--muted); }

.plan { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 26px; }
.plan .tile ul { margin: 10px 0 0 18px; color: var(--muted); font-size: 14.5px; }
.plan .tile li { margin-bottom: 5px; }

.links { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 18px; font-weight: 600; font-size: 15px; }

/* Footer */
footer { margin-top: 80px; padding: 28px 0 44px; border-top: 1px solid var(--hairline); color: var(--muted); font-size: 13.5px; }
footer .row { display: flex; flex-wrap: wrap; gap: 8px 22px; justify-content: space-between; }
footer .small { margin-top: 12px; color: var(--faint); font-size: 12.5px; max-width: 760px; }
footer a { color: var(--muted); }

/* Policy pages: one readable column */
.doc { max-width: 760px; }
.doc .sheet { padding: 40px 44px; margin-top: 6px; }
.doc h1 { font-size: 32px; letter-spacing: -.8px; line-height: 1.15; font-weight: 800; }
.doc h2 { font-size: 19px; letter-spacing: -.2px; margin-top: 30px; margin-bottom: 10px; }
.doc p, .doc li { font-size: 15.5px; color: #3F3936; margin-bottom: 12px; line-height: 1.7; }
.doc ul, .doc ol { padding-left: 24px; margin-bottom: 6px; }
.doc .updated { font-size: 13.5px; color: var(--muted); margin: 8px 0 26px; }
.doc strong { color: var(--ink); }

@media (max-width: 820px) {
  .hero { grid-template-columns: 1fr; padding: 40px 28px; text-align: left; }
  .hero .luna { order: -1; width: 150px; justify-self: start; }
  .grid { grid-template-columns: 1fr; }
  .plan { grid-template-columns: 1fr; }
  .app { flex-direction: column; align-items: flex-start; }
  .app .more { margin-left: 0; }
  .apphero { flex-direction: column; align-items: flex-start; padding: 28px; }
  .doc .sheet { padding: 26px 22px; }
  .top nav { gap: 16px; }
  section { padding-top: 48px; }
}

@media (prefers-reduced-motion: reduce) {
  .hero .luna { animation: none; }
}
