/* Faxwell website: one shared stylesheet. Light theme only. */
:root {
  --ground: #F3F4F1;
  --surface: #FFFFFF;
  --ink: #16181B;
  --ink-2: #3C4147;
  --muted: #5B6168;
  --line: #DADDD8;
  --line-strong: #B9BEB6;
  --orange: #FF5A1F;
  --green: #1F6B45;
  --on-dark: #FFFFFF;
  --on-dark-2: #C9CDD2;
  --on-dark-3: #A9AEB4;
  --display: 'Bricolage Grotesque', system-ui, sans-serif;
  --body: Inter, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  --wrap: 1160px;
  --gutter: 24px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.5;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--ink); text-underline-offset: 3px; }
a:hover { color: #000; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 6px; }
.dark :focus-visible { outline-color: var(--orange); }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 10;
  background: var(--ink); color: var(--on-dark); padding: 10px 16px; border-radius: 999px;
  font-weight: 700; text-decoration: none;
}
.skip:focus { top: 12px; color: var(--on-dark); }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* Header */
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding-top: 22px; padding-bottom: 22px;
}
.logo {
  font-family: var(--display); font-weight: 800; font-size: 26px; letter-spacing: -0.6px;
  text-decoration: none; line-height: 1;
}
.site-nav { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.site-nav a { font-size: 15px; font-weight: 600; text-decoration: none; }
.site-nav a:hover { text-decoration: underline; }
.btn-pill {
  display: inline-flex; align-items: center; min-height: 44px;
  background: var(--ink); color: var(--on-dark) !important; border-radius: 999px; padding: 12px 18px;
  font-weight: 700 !important; text-decoration: none !important;
}
.btn-pill:hover { background: #000; }
@media (max-width: 560px) {
  .site-nav .nav-optional { display: none; }
  .site-nav { gap: 16px; }
}

/* Type */
h1, h2, h3 { margin: 0; }
.display { font-family: var(--display); font-weight: 800; }
.h-section {
  font-family: var(--display); font-weight: 800;
  font-size: clamp(32px, 4.5vw, 52px); letter-spacing: -1.4px; line-height: 1.02;
}
.lede { margin: 0; font-size: 20px; line-height: 1.5; color: var(--ink-2); max-width: 520px; }

/* Hero */
.hero { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; padding-top: 48px; padding-bottom: 72px; }
.hero-copy { flex: 1 1 440px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.hero h1 {
  font-family: var(--display); font-weight: 800;
  font-size: clamp(46px, 7vw, 88px); line-height: 0.95; letter-spacing: -0.035em;
}
.hl { background: var(--orange); padding: 0 10px; border-radius: 12px; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.checks { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; font-size: 16px; font-weight: 600; }
.checks li { display: flex; gap: 10px; align-items: center; }
.checks svg { flex: none; }

.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 26px;
  display: flex; flex-direction: column; gap: 12px;
}
.card p { margin: 0; font-size: 15px; line-height: 1.55; color: var(--ink-2); }
.card h3 { font-size: 20px; font-weight: 700; }
.card.dark { background: var(--ink); color: var(--on-dark); border-color: var(--ink); }
.card.dark p { color: var(--on-dark-2); }

.hero-card {
  flex: 1 1 360px; min-width: 0; border-radius: 28px; padding: 28px; gap: 18px;
  box-shadow: 0 24px 60px rgba(22, 24, 27, 0.08);
}
.hero-card-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.hero-card-head h2 { font-size: 20px; font-weight: 700; }
.tag { font-size: 13px; font-weight: 600; color: var(--muted); }
.receipt { margin: 0; border-top: 1px solid #ECEEEA; }
.receipt div {
  display: flex; justify-content: space-between; align-items: baseline; gap: 12px;
  padding: 14px 0; border-bottom: 1px solid #ECEEEA;
}
.receipt dt { font-size: 15px; color: var(--ink-2); }
.receipt dd { margin: 0; font-family: var(--mono); font-size: 18px; font-weight: 700; white-space: nowrap; }
.card .store-badge {
  display: flex; align-items: center; justify-content: center; gap: 12px; margin: 4px 0 0;
  background: var(--ink); color: var(--on-dark); border-radius: 16px; padding: 14px 18px; min-height: 60px;
}
.store-badge svg { flex: none; }
.store-badge span { display: flex; flex-direction: column; line-height: 1.2; }
.store-badge small { font-size: 12px; font-weight: 500; color: var(--on-dark-2); }
.store-badge strong { font-size: 18px; font-weight: 700; }
.fineprint { margin: 0; font-size: 13px; line-height: 1.5; color: var(--muted); }

/* Dark band */
.band { background: var(--ink); color: var(--on-dark); }
.band .wrap { padding-top: 72px; padding-bottom: 72px; display: flex; flex-direction: column; gap: 32px; }
.band h2 { max-width: 760px; }
.facts { margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 0 32px; }
.facts div { border-top: 1px solid #33373C; padding: 18px 0; display: flex; flex-direction: column; gap: 6px; }
.facts dt { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.6px; color: var(--on-dark-2); }
.facts dd { margin: 0; font-family: var(--display); font-weight: 800; font-size: 30px; letter-spacing: -0.5px; }

/* Grids */
.features { padding-top: 88px; padding-bottom: 40px; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.pricing { padding-top: 72px; padding-bottom: 72px; display: flex; flex-direction: column; gap: 32px; }
.price-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.price { border-radius: 24px; padding: 28px; gap: 10px; }
.price h3 { font-size: 15px; font-weight: 700; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.card.price .amount { margin: 0; font-family: var(--mono); font-size: 44px; font-weight: 700; letter-spacing: -1.5px; line-height: 1.1; color: inherit; }
.price .amount small { font-size: 18px; letter-spacing: 0; }
.price.orange { background: var(--orange); border-color: var(--orange); }
.price.orange p { color: var(--ink); }
.price.strong { border: 2px solid var(--ink); }
.price.dashed { border-style: dashed; border-color: var(--line-strong); }
.price ul { margin: 0; padding: 0; list-style: none; font-size: 15px; font-weight: 600; display: flex; flex-direction: column; gap: 2px; }
.price ul span { font-family: var(--mono); }
.soon {
  font-size: 12px; font-weight: 700; letter-spacing: 0.3px; text-transform: uppercase;
  background: var(--on-dark); color: var(--ink); border-radius: 999px; padding: 3px 8px;
}

/* FAQ */
.faq { max-width: 820px; padding-top: 40px; padding-bottom: 96px; display: flex; flex-direction: column; gap: 16px; }
.faq h2 { margin-bottom: 8px; }
details { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 18px 22px; }
summary { cursor: pointer; font-size: 17px; font-weight: 700; }
details p, details ol, details ul { margin: 12px 0 0; font-size: 15px; line-height: 1.6; color: var(--ink-2); }
details ol, details ul { padding-left: 20px; }

/* Long-form pages (privacy, terms, support) */
.page { max-width: 760px; padding-top: 32px; padding-bottom: 96px; }
.page h1 {
  font-family: var(--display); font-weight: 800;
  font-size: clamp(40px, 6vw, 64px); letter-spacing: -1.6px; line-height: 1;
}
.page .meta { margin: 14px 0 0; font-size: 14px; color: var(--muted); }
.page .summary {
  margin: 28px 0 0; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 20px 22px;
}
.page .summary p { margin: 0; }
.page .summary ul { margin: 8px 0 0; padding-left: 20px; }
.prose { font-size: 16px; line-height: 1.65; color: var(--ink-2); }
.prose h2 {
  margin: 40px 0 10px; color: var(--ink);
  font-family: var(--display); font-weight: 800; font-size: 26px; letter-spacing: -0.4px; line-height: 1.15;
}
.prose h3 { margin: 22px 0 6px; color: var(--ink); font-size: 17px; font-weight: 700; }
.prose p { margin: 0 0 12px; }
.prose ul, .prose ol { margin: 0 0 12px; padding-left: 22px; }
.prose li { margin: 0 0 6px; }
.prose strong { color: var(--ink); }
.prose table { width: 100%; border-collapse: collapse; margin: 0 0 16px; font-size: 15px; }
.prose th, .prose td { text-align: left; vertical-align: top; padding: 10px 12px 10px 0; border-top: 1px solid var(--line); }
.prose th { color: var(--ink); font-weight: 700; }
.table-scroll { overflow-x: auto; }
.placeholder { background: #FFE7DC; color: var(--ink); padding: 0 4px; border-radius: 4px; font-weight: 600; }
.contact-card { margin: 28px 0 8px; gap: 10px; }
.contact-card .email { font-family: var(--mono); font-size: clamp(18px, 4.6vw, 24px); font-weight: 700; word-break: break-all; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); }
.site-footer .wrap {
  padding-top: 28px; padding-bottom: 28px;
  display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
  font-size: 14px; color: var(--muted);
}
.site-footer .logo { font-size: 18px; }
.site-footer nav ul { margin: 0; padding: 0; list-style: none; display: flex; gap: 20px; flex-wrap: wrap; }
.site-footer nav a { font-weight: 600; color: var(--ink-2); display: inline-block; padding: 10px 0; }
.contact-title { font-family: var(--display); font-weight: 800; font-size: 24px; }
.faq.help { padding: 24px 0 0; }
.spaced { margin-top: 20px; }
