:root {
  --bg: #08122b;
  --bg-2: #0c1a3d;
  --card: #10224d;
  --card-line: #1f3a75;
  --ink: #eef3fc;
  --muted: #a8b7d4;
  --blue: #3b82f6;
  --blue-bright: #60a5fa;
  --blue-deep: #1e40af;
  --gold: #fbbf24;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
a { color: var(--blue-bright); }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 20px; }

/* ---------- Logo ---------- */
.logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.logo .mark { flex: none; }
.logo .word { display: flex; flex-direction: column; line-height: 1; }
.logo .w1 { font-weight: 900; font-size: 22px; letter-spacing: 0.04em; }
.logo .w2 { font-weight: 600; font-size: 11px; letter-spacing: 0.62em; color: var(--blue-bright); margin-top: 4px; padding-left: 2px; }

header.site { position: sticky; top: 0; z-index: 10; background: rgba(8, 18, 43, 0.92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--card-line); }
header.site .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 12px; padding-bottom: 12px; flex-wrap: wrap; }
nav.top a { margin-left: 20px; color: var(--muted); text-decoration: none; font-size: 15px; }
nav.top a:hover { color: var(--ink); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 70% 60% at 75% 10%, rgba(59, 130, 246, 0.28), transparent 70%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
}
.hero .wrap { position: relative; z-index: 2; padding-top: 72px; padding-bottom: 170px; }
.hero .bigmark { display: flex; align-items: center; gap: 18px; margin-bottom: 18px; }
.hero .bigmark svg { flex: none; width: clamp(72px, 12vw, 120px); height: auto; }
.hero .bigmark .w1 { font-size: clamp(34px, 6vw, 56px); font-weight: 900; letter-spacing: 0.05em; line-height: 1; }
.hero .bigmark .w2 { font-size: clamp(13px, 2vw, 18px); font-weight: 600; letter-spacing: 0.7em; color: var(--blue-bright); margin-top: 6px; display: block; }
.tagline { font-size: 13px; font-weight: 700; letter-spacing: 0.22em; color: var(--muted); text-transform: uppercase; margin: 0 0 30px; }
.tagline span { color: var(--blue-bright); padding: 0 8px; }
.hero h1 { font-size: clamp(30px, 4.6vw, 46px); line-height: 1.15; margin: 0 0 14px; letter-spacing: -0.01em; max-width: 720px; }
.hero h1 .g { color: #fff; }
.stars { color: var(--gold); font-size: 26px; letter-spacing: 4px; margin: 0 0 18px; }
.hero p.lead { font-size: 19px; color: var(--muted); max-width: 620px; margin: 0 0 30px; }
.hero .mountains { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 190px; z-index: 1; display: block; }

.btn {
  display: inline-block;
  background: linear-gradient(180deg, var(--blue-bright), var(--blue));
  color: #fff; text-decoration: none; padding: 13px 26px; border-radius: 999px;
  font-weight: 700; box-shadow: 0 6px 20px rgba(59, 130, 246, 0.35);
}
.btn:hover { filter: brightness(1.08); }

/* ---------- Sections ---------- */
section { padding: 64px 0; }
section.alt { background: var(--bg-2); }
section h2 { font-size: 30px; margin: 0 0 8px; letter-spacing: -0.01em; }
section p.sub { color: var(--muted); margin: 0 0 30px; max-width: 640px; }

.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; }
.card { background: var(--card); border: 1px solid var(--card-line); border-radius: 14px; padding: 24px; }
.card .num { display: inline-flex; width: 34px; height: 34px; align-items: center; justify-content: center; border-radius: 50%; background: var(--blue); color: #fff; font-weight: 800; font-size: 15px; margin-bottom: 12px; }
.card h3 { margin: 0 0 6px; font-size: 18px; }
.card p { margin: 0; color: var(--muted); font-size: 16px; }

.phone { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 36px; align-items: center; }
.sms-label { font-size: 13px; color: var(--muted); margin: 0 0 8px; text-transform: uppercase; letter-spacing: 0.12em; }
.sms { background: #e9eef7; color: #13213f; border-radius: 18px 18px 18px 4px; padding: 15px 17px; font-size: 15px; max-width: 440px; margin: 0; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35); }

ul.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
ul.checks li { padding-left: 38px; position: relative; }
ul.checks li::before {
  content: ""; position: absolute; left: 0; top: 2px; width: 24px; height: 24px; border-radius: 6px;
  border: 2px solid var(--blue-bright); background: rgba(59, 130, 246, 0.12);
}
ul.checks li::after {
  content: ""; position: absolute; left: 7px; top: 8px; width: 10px; height: 6px;
  border-left: 2.5px solid var(--blue-bright); border-bottom: 2.5px solid var(--blue-bright); transform: rotate(-45deg);
}

.cta { text-align: center; }
.cta h2 { font-size: 34px; }
.cta .stars { margin-bottom: 10px; }
.cta p.sub { margin-left: auto; margin-right: auto; }

.contact-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 30px; margin-top: 26px; color: var(--muted); }
.contact-row a { color: var(--ink); text-decoration: none; }
.contact-row .ico { color: var(--blue-bright); margin-right: 8px; }

footer.site { border-top: 1px solid var(--card-line); padding: 28px 0 40px; color: var(--muted); font-size: 14px; }
footer.site a { color: var(--muted); margin-right: 18px; }

/* ---------- Business-card hero ---------- */
.hero-grid {
  display: grid;
  grid-template-columns: auto auto 2px minmax(0, 1fr);
  grid-template-areas: "phone brand div pitch";
  gap: 44px; align-items: center; max-width: 1240px;
}
.hero-phone { grid-area: phone; }
.hero-brand { grid-area: brand; }
.hero-divider { grid-area: div; }
.hero-pitch { grid-area: pitch; }

/* Phone graphic in the hero, like the business card */
.hero-phone {
  position: relative; width: 190px; height: 360px; margin: 0 auto;
  background: #050a18; border: 2px solid #2a3f73; border-radius: 36px; padding: 10px;
  transform: rotate(-7deg);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.55), 0 0 40px rgba(59, 130, 246, 0.25);
}
.hero-phone::before { content: ""; position: absolute; top: 16px; left: 50%; transform: translateX(-50%); width: 56px; height: 6px; border-radius: 4px; background: #1a2546; z-index: 2; }
.hp-screen {
  height: 100%; border-radius: 27px; background: linear-gradient(180deg, #ffffff, #eef2f9);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; color: #13213f; text-align: center;
}
.hp-g {
  font-size: 76px; font-weight: 900; line-height: 1; font-family: Arial, Helvetica, sans-serif;
  background: conic-gradient(from 225deg, #ea4335 0 25%, #fbbc05 0 37.5%, #34a853 0 62.5%, #4285f4 0 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hp-q { margin: 4px 0 0; font-weight: 800; font-size: 17px; }
.hp-stars { color: #fbbc05; font-size: 22px; letter-spacing: 3px; }
.hp-btn { margin-top: 6px; background: #1a73e8; color: #fff; font-weight: 700; font-size: 15px; padding: 8px 22px; border-radius: 999px; box-shadow: 0 6px 16px rgba(26, 115, 232, 0.35); }
.hero-brand { text-align: center; }
.hero-mark { width: clamp(130px, 18vw, 190px); height: auto; display: block; margin: 0 auto 10px; filter: drop-shadow(0 8px 24px rgba(59, 130, 246, 0.35)); }
.hero-word .w1 { display: block; font-size: clamp(40px, 6vw, 64px); font-weight: 900; letter-spacing: 0.05em; line-height: 1; }
.hero-word .w2 { display: block; font-size: clamp(15px, 2vw, 21px); font-weight: 600; letter-spacing: 0.8em; padding-left: 0.8em; color: var(--blue-bright); margin-top: 8px; }
.hero-brand .tagline { margin: 20px 0 0; }
.hero-divider { width: 2px; align-self: stretch; background: linear-gradient(transparent, var(--blue-bright), transparent); opacity: 0.6; }
.hero-pitch h1 { margin-bottom: 12px; }
.hero-pitch .stars { margin: 0 0 14px; }
.nowrap { white-space: nowrap; }

/* Google's colors, used on the word "Google" */
.gword { font-weight: 900; }
.gb { color: #4285f4; }
.gr { color: #ea4335; }
.gy { color: #fbbc05; }
.gg { color: #34a853; }

/* Checklist strip under the hero */
.perks { background: var(--bg-2); border-top: 1px solid var(--card-line); border-bottom: 1px solid var(--card-line); }
.perks-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 44px; padding-top: 18px; padding-bottom: 18px; }
.perk { position: relative; padding-left: 36px; font-weight: 700; }
.perk::before { content: ""; position: absolute; left: 0; top: 1px; width: 24px; height: 24px; border-radius: 6px; border: 2px solid var(--blue-bright); background: rgba(59, 130, 246, 0.12); }
.perk::after { content: ""; position: absolute; left: 7px; top: 7px; width: 10px; height: 6px; border-left: 2.5px solid var(--blue-bright); border-bottom: 2.5px solid var(--blue-bright); transform: rotate(-45deg); }

/* Phone mockup */
.device { width: 310px; max-width: 100%; margin: 0 auto; background: #050a18; border: 2px solid #2a3f73; border-radius: 40px; padding: 12px; box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5), 0 0 0 6px rgba(59, 130, 246, 0.08); }
.device-screen { background: #f4f6fb; color: #13213f; border-radius: 30px; padding: 20px 14px 22px; min-height: 400px; }
.device-top { text-align: center; padding-bottom: 12px; margin-bottom: 14px; border-bottom: 1px solid #dde3ee; }
.device-name { display: block; font-weight: 800; font-size: 16px; }
.device-sub { font-size: 12px; color: #6b7891; }
.device .sms { background: #e2e8f2; box-shadow: none; max-width: none; font-size: 14.5px; }
.review-chip { display: flex; align-items: center; gap: 10px; background: #fff; border-radius: 14px; padding: 10px 12px; margin-top: 16px; box-shadow: 0 4px 14px rgba(19, 33, 63, 0.12); }
.review-chip strong { display: block; font-size: 14px; }
.g-dot { flex: none; width: 32px; height: 32px; border-radius: 50%; border: 1px solid #e3e7ef; display: flex; align-items: center; justify-content: center; font-weight: 900; color: #4285f4; background: #fff; }
.stars.small { font-size: 14px; letter-spacing: 2px; margin: 0; color: #fbbc05; }
.rate { white-space: nowrap; margin-left: auto; background: #1a73e8; color: #fff; font-size: 13px; font-weight: 700; padding: 6px 12px; border-radius: 999px; }

footer.site .fine { font-size: 12px; opacity: 0.75; }

/* ---------- Agent section (6 steps + robot) ---------- */
.agent { background: radial-gradient(ellipse 60% 50% at 20% 40%, rgba(59, 130, 246, 0.18), transparent 70%), var(--bg-2); }
.agent-head { font-size: clamp(28px, 4vw, 42px); line-height: 1.18; max-width: 860px; }
.agent-head .auto { color: var(--gold); font-style: italic; font-weight: 900; position: relative; white-space: nowrap; }
.agent-head .auto::after { content: ""; position: absolute; left: 2px; right: 8px; bottom: -4px; height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--gold), rgba(251, 191, 36, 0)); }
.agent-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.3fr); gap: 36px; align-items: center; margin-top: 8px; }
.agent-art { position: relative; max-width: 420px; margin: 0 auto; width: 100%; }
.robot { width: 100%; height: auto; display: block; }
.robot-phone {
  position: absolute; right: -2%; bottom: 6%; width: 32%; aspect-ratio: 9 / 17;
  background: #050a18; border: 2px solid #2a3f73; border-radius: 22px; padding: 6px;
  transform: rotate(9deg); box-shadow: 0 18px 40px rgba(0, 0, 0, 0.55), 0 0 30px rgba(59, 130, 246, 0.3);
}
.robot-phone .hp-screen { border-radius: 16px; gap: 6px; padding: 6px; }
.robot-phone .hp-g { font-size: clamp(30px, 5vw, 46px); }
.robot-phone .hp-stars { font-size: clamp(10px, 1.6vw, 14px); letter-spacing: 1px; }
.robot-phone .hp-q { font-size: clamp(9px, 1.3vw, 12px); line-height: 1.2; margin: 0; }
.robot-phone .hp-btn { white-space: nowrap; font-size: clamp(9px, 1.2vw, 11px); padding: 5px 10px; margin-top: 2px; }

.agent-steps { display: grid; gap: 12px; }
.astep { display: flex; align-items: center; gap: 14px; background: var(--card); border: 1px solid var(--card-line); border-radius: 14px; padding: 14px 18px; }
.anum { flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--blue); color: #fff; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.aicon { flex: none; width: 34px; height: 34px; }
.aicon svg { width: 100%; height: 100%; fill: none; stroke: var(--blue-bright); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.astep.warn .aicon svg { stroke: #f87171; }
.astep p { margin: 0; font-size: 16px; line-height: 1.45; color: var(--ink); }

.agent-banner { margin-top: 34px; border: 1px solid var(--card-line); border-radius: 18px; padding: 22px 26px; text-align: center;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.22), rgba(16, 34, 77, 0.6)); box-shadow: 0 0 40px rgba(59, 130, 246, 0.15); }
.ab-checks { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 30px; margin-bottom: 10px; }
.ab-checks span { position: relative; padding-left: 32px; font-weight: 700; }
.ab-checks span::before { content: ""; position: absolute; left: 0; top: 1px; width: 22px; height: 22px; border-radius: 50%; background: var(--blue); }
.ab-checks span::after { content: ""; position: absolute; left: 6px; top: 7px; width: 9px; height: 5px; border-left: 2.5px solid #fff; border-bottom: 2.5px solid #fff; transform: rotate(-45deg); }
.ab-line { margin: 0; font-size: clamp(20px, 3vw, 28px); font-weight: 800; font-style: italic; }

@media (max-width: 860px) {
  .agent-grid { grid-template-columns: 1fr; }
  .agent-art { max-width: 300px; }
  .astep { padding: 12px 14px; gap: 10px; }
  .astep p { font-size: 15px; }
  .aicon { width: 28px; height: 28px; }
  .anum { width: 30px; height: 30px; }
}

/* Medium screens: logo | divider | pitch on top, phone centered underneath */
@media (max-width: 1179px) {
  .hero-grid { grid-template-columns: auto 2px minmax(0, 1fr); grid-template-areas: "brand div pitch" "phone phone phone"; row-gap: 40px; }
}
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; grid-template-areas: "brand" "div" "pitch" "phone"; gap: 28px; }
  .hero-phone { width: 170px; height: 320px; transform: rotate(-5deg); margin-top: 8px; }
  .hp-g { font-size: 66px; }
  .hero-divider { width: 100%; height: 2px; background: linear-gradient(90deg, transparent, var(--blue-bright), transparent); }
  .hero-pitch { text-align: center; }
  .hero-pitch .lead { margin-left: auto; margin-right: auto; }
}

/* ---------- Policy pages ---------- */
.doc { padding-top: 52px; padding-bottom: 72px; max-width: 780px; }
.doc h1 { font-size: 36px; margin: 0 0 6px; letter-spacing: -0.01em; }
.doc .updated { color: var(--muted); margin: 0 0 30px; font-size: 15px; }
.doc h2 { font-size: 21px; margin: 34px 0 8px; color: #fff; }
.doc p, .doc li { color: #d6dff0; }
.doc .callout { background: var(--card); border: 1px solid var(--card-line); border-left: 4px solid var(--blue-bright); border-radius: 10px; padding: 14px 18px; margin: 18px 0; }
.doc .callout p { margin: 6px 0; color: var(--ink); }

@media (max-width: 720px) {
  .phone { grid-template-columns: 1fr; gap: 20px; }
}
@media (max-width: 560px) {
  nav.top a { margin: 0 16px 0 0; }
  .hero .wrap { padding-top: 44px; padding-bottom: 130px; }
  .hero .mountains { height: 130px; }
  .tagline span { padding: 0 4px; }
  section { padding: 48px 0; }
}

section[id], [id="how"] { scroll-margin-top: 80px; }

/* ---------- How-it-works picture (the user's infographic) ---------- */
.infographic .wrap { max-width: 1240px; }
.info-img { display: block; border-radius: 18px; overflow: hidden; box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5), 0 0 0 1px var(--card-line); }
.info-img img { display: block; width: 100%; height: auto; }
.info-tip { display: none; text-align: center; color: var(--muted); font-size: 14px; margin: 12px 0 0; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (max-width: 860px) { .info-tip { display: block; } .info-img { border-radius: 12px; } }

/* ---------- Flask logo + "Piedmont / Labs" wordmark (matches the user's infographic) ---------- */
.logo .mark { width: 27px; height: 32px; }
.logo .w1, .logo .w2 { font-size: 19px; font-weight: 800; letter-spacing: -0.01em; color: var(--ink); padding-left: 0; margin-top: 0; line-height: 1.02; }
.hero-mark { width: clamp(88px, 11vw, 124px); height: auto; filter: drop-shadow(0 8px 24px rgba(59, 130, 246, 0.45)); }
.hero-word .w1, .hero-word .w2 { font-size: clamp(42px, 6vw, 64px); font-weight: 900; letter-spacing: -0.015em; padding-left: 0; margin-top: 0; color: var(--ink); line-height: 1; }
.hero-word .w2 { color: var(--blue-bright); }

/* =====================================================================
   LIGHT THEME (2026-11-14): matches the business cards and the robot picture.
   Everything above was written for the dark theme; these rules override it.
   ===================================================================== */
:root {
  --bg: #eef4fc;
  --bg-2: #e0ebfa;
  --card: #ffffff;
  --card-line: #c9dbf2;
  --ink: #0f2a5c;
  --muted: #4a6390;
  --blue: #2563eb;
  --blue-bright: #1d4ed8;
  --blue-deep: #1e40af;
  --gold: #f5b301;
}
body { background: var(--bg); color: var(--ink); }
a { color: var(--blue-bright); }
header.site { background: rgba(255, 255, 255, 0.9); border-bottom-color: var(--card-line); }
nav.top a { color: var(--muted); }
nav.top a:hover { color: var(--ink); }

.hero {
  background:
    radial-gradient(ellipse 55% 70% at 18% 55%, rgba(96, 165, 250, 0.35), transparent 70%),
    radial-gradient(ellipse 60% 60% at 85% 10%, rgba(191, 219, 254, 0.9), transparent 70%),
    linear-gradient(160deg, #f4f8fe 0%, #dce9f9 55%, #c9dcf5 100%);
}
.tagline { color: var(--muted); }
.tagline span { color: var(--blue-bright); }
.hero p.lead { color: var(--muted); }
.hero-word .w1 { color: var(--ink); }
.hero-word .w2 { color: var(--blue-bright); }
.hero-divider { background: linear-gradient(transparent, #60a5fa, transparent); }
.hero-mark { filter: drop-shadow(0 8px 20px rgba(37, 99, 235, 0.3)); }
.hero-phone { box-shadow: 0 24px 50px rgba(15, 42, 92, 0.35), 0 0 30px rgba(59, 130, 246, 0.2); }

.btn { box-shadow: 0 6px 18px rgba(37, 99, 235, 0.3); }
.btn, .btn:visited { color: #fff; }

section.alt, .perks { background: var(--bg-2); }
.perks { border-color: var(--card-line); }
.perk::before, ul.checks li::before { background: #fff; border-color: var(--blue); }
.perk::after, ul.checks li::after { border-color: var(--blue); }

.card { background: var(--card); border-color: var(--card-line); box-shadow: 0 4px 14px rgba(15, 42, 92, 0.08); }
.card p, section p.sub { color: var(--muted); }

.device { background: #0b1430; border-color: #2a3f73; box-shadow: 0 24px 50px rgba(15, 42, 92, 0.35); }
.info-img { box-shadow: 0 20px 50px rgba(15, 42, 92, 0.22), 0 0 0 1px var(--card-line); }
.contact-row { color: var(--muted); }
.contact-row a { color: var(--ink); }
.contact-row .ico { color: var(--blue); }

footer.site { border-top-color: var(--card-line); color: var(--muted); }
footer.site a { color: var(--muted); }

/* Policy pages */
.doc h2 { color: var(--ink); }
.doc p, .doc li { color: #2b3f63; }
.doc .callout { background: #fff; border-color: var(--card-line); border-left-color: var(--blue); }
.doc .callout p { color: var(--ink); }

/* "dedicated text number" highlighted in blue, like the business card */
.dedicated { color: var(--blue-bright); font-weight: 800; }
