/* flossva.com. Tokens from design/design-system/tokens.json (light theme). No third-party anything. */

@font-face {
  font-family: "Bricolage Grotesque";
  src: url("/fonts/BricolageGrotesque.woff2?v=e33138dd00") format("woff2");
  font-weight: 500 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Sans";
  src: url("/fonts/InstrumentSans.woff2?v=fdc3ef67b4") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --ground: #f3f4f1;
  --surface: #ffffff;
  --surface-sunk: #e8eae5;
  --line: #dfe3dc;
  --ink: #1b2126;
  --ink-muted: #56616a;
  --spruce: #0e6457;
  --spruce-deep: #0a4239;
  --spruce-tint: #dcebe6;
  --marker: #ffd43b;
  --rose: #fce7ee;
  --on-rose: #b2346a;
  --sky: #e3eefd;
  --on-sky: #1a5fc4;
  --amber: #fff1d6;
  --on-amber: #8a5200;
  --display: "Bricolage Grotesque", "Instrument Sans", system-ui, sans-serif;
  --text: "Instrument Sans", system-ui, -apple-system, sans-serif;
  --float: 0 10px 30px rgba(20, 30, 28, .14);
  --glow: 0 8px 20px rgba(14, 100, 87, .28);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--text);
  font-size: 17px;
  line-height: 26px;
}
a { color: var(--spruce); }
a:hover { color: var(--spruce-deep); }
a:focus-visible, button:focus-visible { outline: 3px solid var(--spruce); outline-offset: 3px; border-radius: 6px; }
img, svg { max-width: 100%; }
h1, h2, h3 { text-wrap: balance; }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 10;
  padding: 10px 16px; border-radius: 999px; background: var(--spruce); color: #fff; font-weight: 700;
}
.skip:focus { top: 12px; color: #fff; }

.wrap { max-width: 1160px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }

/* Header pill */
.top { padding-top: 16px; }
.bar {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px;
  padding: 10px 12px 10px 18px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--line); box-shadow: 0 6px 20px rgba(20, 30, 28, .06);
}
.brand {
  display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink);
  font-family: var(--display); font-weight: 700; font-size: 26px; line-height: 1; letter-spacing: -0.02em;
}
.brand:hover { color: var(--ink); }
.brand svg { flex: none; width: 36px; height: 36px; }
.nav {
  margin-left: auto; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 24px;
  font-size: 15px; font-weight: 700;
}
.nav a { text-decoration: none; color: var(--ink); padding: 12px 0; }
.nav a:hover { color: var(--spruce); }
.nav a[aria-current="page"] { color: var(--spruce); text-decoration: underline; text-underline-offset: 6px; }
.langs { display: inline-flex; gap: 2px; padding: 3px; border-radius: 999px; background: var(--surface-sunk); }
.langs a, .langs span { padding: 6px 10px; border-radius: 999px; font-size: 13px; line-height: 16px; }
.langs span { background: var(--surface); color: var(--ink); }
.nav .langs a { padding: 6px 10px; color: var(--ink-muted); }

/* Buttons */
.btn {
  height: 44px; padding: 0 22px; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border-radius: 999px; border: 1.5px solid var(--spruce); background: var(--spruce); color: #fff;
  box-shadow: var(--glow); font: inherit; font-size: 15px; font-weight: 700; white-space: nowrap;
  text-decoration: none; cursor: pointer;
}
.nav a.btn { color: #fff; padding: 0 22px; }
.btn:hover, .nav a.btn:hover { background: var(--spruce-deep); border-color: var(--spruce-deep); color: #fff; }
.btn-lg { height: 60px; padding: 0 30px; font-size: 18px; }
.btn svg { flex: none; width: 20px; height: 20px; }

/* Chips */
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip {
  height: 26px; padding: 0 10px; border-radius: 999px; font-size: 12px; line-height: 16px; font-weight: 700;
  display: inline-flex; align-items: center; white-space: nowrap; background: var(--surface-sunk); color: var(--ink);
}
.chip.rose { background: var(--rose); color: var(--on-rose); }
.chip.sky { background: var(--sky); color: var(--on-sky); }
.chip.amber { background: var(--amber); color: var(--on-amber); }

/* Sections */
section, .section { padding-bottom: 96px; }
.h-display, .h1, .h2 { margin: 0; font-family: var(--display); font-weight: 800; }
.h-display { font-size: clamp(44px, 6.4vw, 84px); line-height: 0.98; letter-spacing: -0.035em; }
.h2 { font-size: clamp(32px, 4.4vw, 52px); line-height: 1.04; letter-spacing: -0.03em; }
.h1 { font-size: clamp(36px, 5vw, 56px); line-height: 1.04; letter-spacing: -0.03em; }
.hl { background: var(--marker); border-radius: 0.18em; padding: 0 0.12em; }
.lede { margin: 0; font-size: 20px; line-height: 30px; color: var(--ink-muted); }
.stack { display: flex; flex-direction: column; gap: 36px; }
.intro { display: flex; flex-direction: column; gap: 12px; max-width: 720px; }

/* Hero */
.hero { display: flex; flex-wrap: wrap; align-items: center; gap: 48px; padding-top: 64px; }
.hero-copy { flex: 1 1 440px; min-width: 0; display: flex; flex-direction: column; gap: 24px; align-items: flex-start; }
.hero-copy .lede { max-width: 520px; }
.cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }
.cta-note { font-size: 15px; line-height: 21px; font-weight: 700; }
.cta-note span { display: block; color: var(--ink-muted); font-weight: 600; }
.device {
  flex: 1 1 480px; min-width: 0; padding: 14px; border-radius: 40px; background: var(--ink);
  box-shadow: 0 30px 70px rgba(20, 30, 28, .28);
}
.screen { position: relative; height: 468px; overflow: hidden; border-radius: 28px; background: #fff; }
.screen img { display: block; width: 676px; max-width: none; height: 468px; }
.hibar {
  position: absolute; left: 12px; right: 12px; bottom: 12px; padding: 10px 10px 10px 12px; border-radius: 22px;
  background: var(--marker); color: var(--ink); display: flex; align-items: center; gap: 12px; box-shadow: var(--float);
}
.hibar .sym {
  width: 44px; height: 44px; flex: none; border-radius: 15px; background: rgba(255, 255, 255, .65);
  display: flex; align-items: center; justify-content: center;
}
.hibar .sym svg { width: 18px; height: 18px; }
.hibar .what { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 22px; }
.hibar .kicker { font-size: 12px; line-height: 16px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.hibar .name { font-weight: 700; }
.hibar .num { font-family: var(--display); font-size: 26px; font-weight: 700; font-variant-numeric: tabular-nums; }
.hibar .left { font-size: 13px; font-weight: 600; padding-right: 8px; }

/* Mode cards */
.cards { display: flex; flex-wrap: wrap; gap: 20px; }
.card {
  flex: 1 1 380px; min-width: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 32px;
  padding: 12px; display: flex; flex-direction: column;
}
.media {
  height: 250px; overflow: hidden; border-radius: 22px; background: var(--surface-sunk);
  display: flex; justify-content: center;
}
.media img { display: block; width: 572px; max-width: none; height: 260px; }
.card-body { padding: 22px 14px 14px; display: flex; flex-direction: column; gap: 10px; }
.card-body p { margin: 0; color: var(--ink-muted); }
.card-title { display: flex; align-items: center; gap: 12px; }
.card-title h3 { margin: 0; font-family: var(--display); font-size: 30px; line-height: 34px; font-weight: 700; letter-spacing: -0.02em; }
.tile {
  width: 48px; height: 48px; flex: none; border-radius: 16px; display: flex; align-items: center; justify-content: center;
}
.tile svg { width: 24px; height: 24px; }
.tile.rose { background: var(--rose); color: var(--on-rose); }
.tile.sky { background: var(--sky); color: var(--on-sky); }

/* Written-pattern page in the card */
.page-wrap { width: 460px; flex: none; display: flex; padding-top: 22px; }
.page {
  flex: 1; min-width: 0; background: #fff; border-radius: 18px; padding: 26px 16px;
  display: flex; flex-direction: column; box-shadow: 0 2px 10px rgba(27, 33, 38, .10);
}
.page p {
  margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: 13px; line-height: 22px; min-height: 22px;
  padding: 0 10px; color: var(--ink);
}
.page p.band { background: rgba(255, 212, 59, .62); box-shadow: 0 0 0 2px var(--marker); border-radius: 8px; }

/* Steps */
.steps { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 20px; }
.steps li { flex: 1 1 280px; min-width: 0; display: flex; flex-direction: column; gap: 10px; padding: 24px; border-radius: 28px; }
.steps li:nth-child(1) { background: var(--sky); }
.steps li:nth-child(2) { background: var(--rose); }
.steps li:nth-child(3) { background: var(--amber); }
.steps .n {
  width: 44px; height: 44px; border-radius: 999px; color: #fff; font-family: var(--display); font-size: 20px;
  font-weight: 700; display: flex; align-items: center; justify-content: center;
}
.steps li:nth-child(1) .n { background: var(--on-sky); }
.steps li:nth-child(2) .n { background: var(--on-rose); }
.steps li:nth-child(3) .n { background: var(--on-amber); }
.steps h3 { margin: 6px 0 0; font-size: 21px; line-height: 27px; font-weight: 700; }
.steps p { margin: 0; font-size: 16px; line-height: 25px; }

/* Privacy band */
.privacy-band {
  border-radius: 44px; background: var(--spruce-deep); color: var(--ground);
  padding: clamp(28px, 5vw, 64px); display: flex; flex-direction: column; gap: 36px;
}
.privacy-band .h2 { max-width: 800px; }
.privacy-band a { color: var(--marker); }
.privacy-band a:hover { color: #fff; }
.pillars { display: flex; flex-wrap: wrap; gap: 16px; }
.pillar {
  flex: 1 1 260px; min-width: 0; padding: 24px; border-radius: 28px; background: rgba(255, 255, 255, .08);
  display: flex; flex-direction: column; gap: 10px;
}
.pillar .tile { background: rgba(255, 255, 255, .14); color: #fff; }
.pillar h3 { margin: 4px 0 0; font-family: var(--display); font-size: 28px; line-height: 32px; font-weight: 700; color: var(--marker); }
.pillar p { margin: 0; font-size: 16px; line-height: 25px; color: #dcebe6; }
.band-more { margin: 0; font-size: 16px; color: #dcebe6; }

/* Price */
.price { display: flex; flex-wrap: wrap; gap: 40px; align-items: center; }
.price-copy { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.price-card {
  flex: 1 1 380px; min-width: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 36px;
  padding: 32px; display: flex; flex-direction: column; gap: 22px; box-shadow: var(--float);
}
.amount { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; }
.amount strong {
  font-family: var(--display); font-size: clamp(60px, 9vw, 84px); line-height: 1; font-weight: 800;
  letter-spacing: -0.04em; font-variant-numeric: tabular-nums;
}
.amount span { font-size: 22px; font-weight: 700; }
.checks { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; font-weight: 600; }
.checks li { display: flex; align-items: center; gap: 12px; }
.checks .tick {
  width: 30px; height: 30px; flex: none; border-radius: 999px; background: var(--spruce-tint); color: var(--spruce);
  display: flex; align-items: center; justify-content: center;
}
.checks .tick svg { width: 16px; height: 16px; }
.fine { margin: 0; font-size: 14px; line-height: 20px; color: var(--ink-muted); }

/* FAQ */
.faq { display: flex; flex-direction: column; gap: 12px; }
.qa {
  padding: 22px 26px; border-radius: 26px; background: var(--surface); border: 1px solid var(--line);
  display: flex; flex-wrap: wrap; gap: 8px 32px;
}
.qa h3 { margin: 0; flex: 1 1 300px; font-size: 19px; line-height: 26px; font-weight: 700; }
.qa p { margin: 0; flex: 2 1 420px; font-size: 16px; line-height: 25px; color: var(--ink-muted); }

/* Document pages (privacy, terms, support) */
.doc { max-width: 760px; padding-top: 56px; padding-bottom: 80px; }
.doc .updated { color: var(--ink-muted); font-size: 15px; margin: 12px 0 28px; }
.doc h2 {
  font-family: var(--display); font-size: 26px; line-height: 32px; font-weight: 700; letter-spacing: -0.02em;
  margin: 40px 0 12px;
}
.doc h3 { font-size: 19px; line-height: 26px; margin: 24px 0 8px; }
.doc p, .doc li { max-width: 68ch; }
.doc ul, .doc ol { padding-left: 22px; }
.doc li { margin: 8px 0; }
.doc .lead { font-size: 19px; line-height: 29px; }
.doc .box {
  margin: 28px 0; padding: 20px 24px; border-radius: 26px; background: var(--surface); border: 1px solid var(--line);
}
.doc .box p { margin: 0; }
.doc .toc { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 8px; padding: 0; list-style: none; }
.toc li { margin: 0; }
.toc a {
  display: inline-flex; align-items: center; height: 36px; padding: 0 14px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--line); text-decoration: none; font-size: 15px; font-weight: 600;
  color: var(--ink);
}
.toc a:hover { border-color: var(--spruce); color: var(--spruce); }

/* Footer */
.foot { padding-bottom: 32px; }
.foot-inner {
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; padding: 20px 26px; border-radius: 32px;
  background: var(--surface); border: 1px solid var(--line); font-size: 15px; line-height: 22px;
}
.foot .brand { font-size: 20px; }
.foot .brand svg { width: 28px; height: 28px; }
.foot-line { color: var(--ink-muted); }
.foot-links { margin-left: auto; display: flex; flex-wrap: wrap; gap: 4px 24px; font-weight: 700; }
.foot-links a { padding: 12px 0; }

/* Phone width */
@media (max-width: 720px) {
  .wrap { padding-left: 16px; padding-right: 16px; }
  .bar { border-radius: 28px; padding: 10px 14px; }
  .brand { font-size: 22px; }
  .brand svg { width: 30px; height: 30px; }
  .nav { margin-left: 0; width: 100%; gap: 4px 18px; }
  .nav .btn { margin-left: 0; height: 40px; padding: 0 16px; }
  .langs { margin-left: auto; }
  section, .section { padding-bottom: 64px; }
  .hero { padding-top: 40px; gap: 32px; }
  .hero-copy, .device, .card, .price-copy, .price-card { flex-basis: 100%; }
  .device { padding: 10px; border-radius: 30px; }
  .screen { height: 380px; border-radius: 22px; }
  .screen img { height: 380px; width: auto; }
  .hibar .kicker { letter-spacing: 0.06em; }
  .media.text { height: auto; }
  .page-wrap { width: 100%; flex: 1 1 auto; padding: 14px 10px 0; }
  .page { padding: 18px 6px; border-radius: 14px 14px 0 0; }
  .page p { padding: 0 8px; }
  .lede { font-size: 18px; line-height: 27px; }
  .btn-lg { height: 56px; padding: 0 24px; font-size: 17px; }
  .price-card { padding: 24px; }
  .privacy-band { border-radius: 32px; }
  .qa { padding: 18px 20px; }
  .doc { padding-top: 36px; }
  .foot-links { margin-left: 0; }
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
