/* upfront. Source stylesheet; tools/version-assets.mjs copies it to public/styles.<hash>.css */

:root {
  --font: "Albert Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --white: #FFFFFF;
  --text: #111111;
  --text-2: #5F5F5F;
  --rule: #E6E6E6;
  --fill: #F3F3F3;
  --accent: #2F4A3A;
  --accent-dark: #22382B;
  --you: #F3E8D2;
  --you-ink: #8A5F12;
  --us: #E3EBE4;
  --us-ink: #2F4A3A;
  --teal: #D5EFEA;
  --teal-ink: #0B5E53;
  --lav: #E4DDF6;
  --lav-ink: #4B3A8E;
  --rose: #FADCE4;
  --rose-ink: #8C2E4A;
  --container: 1120px;
  --gutter: 24px;
  --block: 56px;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  background: var(--white);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
}
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }

h1, h2, h3 { margin: 0; font-weight: 700; letter-spacing: -0.02em; line-height: 1.05; text-wrap: balance; }
h1 { font-size: 36px; }
h2 { font-size: 26px; margin-bottom: 20px; }
h3 { font-size: 18px; letter-spacing: -0.01em; line-height: 1.3; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
a { color: var(--accent); text-underline-offset: 0.15em; text-decoration-thickness: 1px; }
a:hover { color: var(--accent-dark); }
:focus-visible { outline: 2px solid var(--text); outline-offset: 3px; border-radius: 4px; }
strong { font-weight: 700; }
.muted { color: var(--text-2); }
.small { font-size: 14px; }

.skip { position: absolute; left: var(--gutter); top: -60px; background: var(--text); color: var(--white); padding: 12px 16px; border-radius: 8px; z-index: 10; }
.skip:focus { top: 12px; }

.c { width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.band { padding: var(--block) 0; }
.band--light { background: #F6F6F4; }
.band--light .pair .img { border-color: var(--white); background: var(--white); }
.band--dark { background: var(--accent); color: var(--white); }
.band--dark .muted { color: rgba(255, 255, 255, 0.72); }
.band--tight { padding-top: 0; }
.center { text-align: center; }

/* Header, footer */
.site-header { padding: 18px 0; }
.site-header .c { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.wordmark { font-weight: 700; font-size: 24px; letter-spacing: -0.03em; color: var(--text); text-decoration: none; line-height: 1; }
.wordmark:hover { color: var(--text); }
.wordmark span { font-weight: 400; color: var(--accent); margin-left: 0.3em; letter-spacing: -0.01em; }
.site-footer { margin-top: auto; border-top: 1px solid var(--rule); padding: 24px 0 36px; color: var(--text-2); font-size: 14px; }
.site-footer .c { display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: baseline; }
.site-footer .wordmark { font-size: 18px; }
.site-footer a { color: var(--text-2); }
.site-footer .sep { color: var(--rule); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 12px 22px; border-radius: 8px; border: 0;
  background: var(--accent); color: var(--white);
  font: inherit; font-weight: 500; text-decoration: none; cursor: pointer; white-space: nowrap;
  width: 100%;
}
.btn:hover { background: var(--accent-dark); color: var(--white); }
.btn--sm { min-height: 40px; padding: 8px 16px; font-size: 15px; width: auto; }
.btn--white { background: var(--white); color: var(--accent); }
.btn--white:hover { background: #EDEDEA; color: var(--accent-dark); }

/* Hero */
.hero { padding: 40px 0 var(--block); text-align: center; }
.eyebrow-pill { display: inline-block; font-size: 13px; font-weight: 600; color: var(--us-ink); background: var(--us); border-radius: 999px; padding: 6px 12px; margin: 0 0 18px; }
.hero h1 { max-width: 820px; margin: 0 auto 14px; }
.hero .sub { font-size: 18px; color: var(--text-2); max-width: 560px; margin: 0 auto 26px; }
.hero .reassure { font-size: 14px; color: var(--text-2); margin: 12px 0 0; }
.chips { list-style: none; margin: 36px auto 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; max-width: 900px; }
.chips li { display: inline-flex; align-items: center; min-height: 36px; padding: 0 14px; border-radius: 999px; font-size: 14px; font-weight: 600; letter-spacing: 0.01em; }
.chips li { background: var(--white); color: var(--text); border: 1px solid var(--rule); box-shadow: 0 1px 0 rgba(17, 17, 17, 0.04), 0 6px 16px rgba(17, 17, 17, 0.07); gap: 8px; }
.chips li i { width: 18px; height: 18px; border-radius: 50%; background: var(--accent); position: relative; flex: 0 0 auto; }
.chips li i::after { content: ""; position: absolute; left: 6px; top: 4px; width: 4px; height: 8px; border-right: 2px solid var(--white); border-bottom: 2px solid var(--white); transform: rotate(45deg); }
.hero .actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 22px; }
.hero .btn { width: auto; }
.shot { margin: 40px auto 0; background: var(--us); padding: 14px; border-radius: 22px; max-width: 360px; }
.win { background: var(--white); border-radius: 12px; overflow: hidden; box-shadow: 0 18px 44px rgba(17, 17, 17, 0.14); }
.win-bar { height: 36px; background: #F6F6F4; border-bottom: 1px solid var(--rule); display: flex; align-items: center; gap: 7px; padding: 0 14px; }
.win-bar span { width: 10px; height: 10px; border-radius: 50%; background: #B8B8B8; }
.win-bar span:first-child { background: var(--you-ink); }
.win-bar span:nth-child(2) { background: var(--us-ink); }
.win-bar b { font-weight: 500; font-size: 13px; color: var(--text-2); margin-left: 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.shot img { width: 100%; }
.hero .caption { font-size: 13px; color: var(--text-2); margin-top: 10px; }

/* Before and after */
.measure { max-width: 680px; }
.measure h2 { margin-bottom: 14px; }
.measure p { font-size: 18px; }
.before-after { display: grid; gap: 24px; margin: 32px 0 0; }
.ba-link { margin: 0; color: var(--text); font-weight: 500; font-size: 15px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; }
.ba-link .arrow { width: 2px; height: 28px; background: var(--accent); position: relative; }
.ba-link .arrow::after { content: ""; position: absolute; left: -5px; bottom: -1px; width: 12px; height: 12px; border-right: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(45deg); transform-origin: center; }
.ba { margin: 0; background: var(--white); border: 1px solid var(--rule); border-radius: 16px; padding: 14px; box-shadow: 0 8px 24px rgba(17, 17, 17, 0.06); }
.ba figcaption { display: flex; align-items: center; gap: 10px; font-size: 15px; color: var(--text-2); margin-bottom: 12px; }
.ba .tag { display: inline-block; padding: 4px 10px; border-radius: 999px; background: var(--fill); color: var(--text); font-weight: 700; font-size: 13px; letter-spacing: 0.02em; }
.ba--after .tag { background: var(--accent); color: var(--white); }
.ba .img { border-radius: 10px; overflow: hidden; background: var(--white); border: 1px solid var(--rule); }
.ba .img img { width: 100%; }
.ba-link { margin: 0; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; }
.nowrap { white-space: nowrap; }
.ba-link strong { font-size: 17px; font-weight: 700; letter-spacing: -0.01em; line-height: 1.3; max-width: 260px; }
.ba-link .arrow { width: 44px; height: 44px; border-radius: 50%; background: var(--accent); position: relative; flex: 0 0 auto; }
.ba-link .arrow::before { content: ""; position: absolute; left: 50%; top: 11px; width: 2px; height: 20px; background: var(--white); transform: translateX(-50%); }
.ba-link .arrow::after { content: ""; position: absolute; left: 50%; top: 20px; width: 11px; height: 11px; border-right: 2px solid var(--white); border-bottom: 2px solid var(--white); transform: translateX(-50%) rotate(45deg); }

/* Steps */
.steps-section h2 { margin-bottom: 40px; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 56px; }
.steps li { display: grid; gap: 18px; align-content: start; }
.steps .img { padding: 18px; border-radius: 16px; background: var(--you); }
.steps li[data-who="us"] .img { background: var(--us); }
.steps .img img { width: 100%; border-radius: 10px; border: 1px solid rgba(17, 17, 17, 0.06); box-shadow: 0 10px 28px rgba(17, 17, 17, 0.10); background: var(--white); }
.steps .txt { max-width: 440px; }
.steps .who { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--you-ink); margin-bottom: 12px; }
.steps li[data-who="us"] .who { color: var(--us-ink); }
.steps .num { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 50%; background: var(--you-ink); color: var(--white); font-size: 15px; font-weight: 700; letter-spacing: 0; }
.steps li[data-who="us"] .num { background: var(--us-ink); }
.steps h3 { font-size: 21px; line-height: 1.25; letter-spacing: -0.01em; margin-bottom: 8px; }
.steps p { color: var(--text-2); margin: 0; font-size: 17px; line-height: 1.5; }

/* Pricing: a receipt */
.pricing h2 { font-size: 34px; line-height: 1.05; letter-spacing: -0.02em; margin-bottom: 16px; }
.pricing .sub { font-size: 18px; color: rgba(255, 255, 255, 0.78); margin: 0 0 24px; max-width: 460px; }
.pricing .btn { width: auto; }
.pricing .founding { color: rgba(255, 255, 255, 0.72); margin: 12px 0 0; max-width: 420px; }
.receipt { background: var(--white); color: var(--text); border-radius: 16px; padding: 22px 22px 18px; box-shadow: 0 16px 40px rgba(0, 0, 0, 0.22); margin-top: 36px; }
.receipt-head { display: flex; justify-content: space-between; align-items: baseline; font-weight: 700; font-size: 18px; padding-bottom: 14px; border-bottom: 1px dashed var(--rule); }
.receipt-head b { font-size: 28px; letter-spacing: -0.03em; }
.receipt-lines { list-style: none; margin: 0; padding: 10px 0; }
.receipt-lines li { display: flex; align-items: baseline; gap: 10px; padding: 7px 0; font-size: 16px; }
.receipt-lines li span { flex: 0 1 auto; }
.receipt-lines li i { flex: 1 1 12px; border-bottom: 1px dotted #C8C8C8; transform: translateY(-4px); min-width: 12px; }
.receipt-lines li b { flex: 0 0 auto; color: var(--accent); font-weight: 700; }
.receipt-total { display: flex; justify-content: space-between; align-items: baseline; border-top: 2px solid var(--text); padding-top: 14px; margin-top: 6px; font-size: 20px; font-weight: 700; }
.receipt-total small { font-size: 14px; font-weight: 400; color: var(--text-2); margin-left: 6px; }
.receipt-foot { margin: 12px 0 0; font-size: 13px; color: var(--text-2); }
@media (max-width: 479px) {
  .receipt-lines li { justify-content: space-between; }
  .receipt-lines li span { flex: 1 1 auto; }
  .receipt-lines li i { display: none; }
}

/* FAQ */
.faq-grid { display: grid; gap: 28px; justify-items: center; }
.faq-intro { text-align: center; }
.faq-intro h2 { margin-bottom: 0; }
.faq { width: 100%; max-width: 760px; }
.faq details { border-top: 1px solid var(--rule); }
.faq details:last-child { border-bottom: 1px solid var(--rule); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 0; min-height: 56px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary h3 { margin: 0; font-size: 17px; font-weight: 600; }
.faq .chev { position: relative; width: 28px; height: 28px; flex: 0 0 auto; border-radius: 50%; background: var(--fill); transition: background 200ms ease, transform 200ms ease; }
.faq .chev::after { content: ""; position: absolute; left: 9px; top: 7px; width: 7px; height: 7px; border-right: 1.5px solid var(--text); border-bottom: 1.5px solid var(--text); transform: rotate(45deg); }
.faq details[open] .chev { background: var(--accent); transform: rotate(180deg); }
.faq details[open] .chev::after { border-color: var(--white); }
.faq-body { overflow: hidden; }
.faq-body p { color: var(--text-2); padding: 0 0 18px; margin: 0; max-width: 560px; font-size: 16px; }
.faq summary:focus-visible { outline-offset: -2px; }

/* A note from the founder */
.note-card { display: grid; background: var(--white); border: 1px solid var(--rule); border-radius: 20px; overflow: hidden; box-shadow: 0 8px 24px rgba(17, 17, 17, 0.06); }
.note-photo { aspect-ratio: 4 / 3; background: var(--fill); }
.note-photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
.note-body { padding: 24px 24px 28px; }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); margin-bottom: 8px; }
.band--dark .eyebrow { color: rgba(255, 255, 255, 0.72); }
.closing { text-align: center; }
.closing h2 { font-size: 34px; line-height: 1.05; letter-spacing: -0.02em; margin-bottom: 12px; }
.closing .sub { font-size: 18px; color: rgba(255, 255, 255, 0.78); margin: 0 auto 24px; max-width: 520px; }
.closing .btn { width: auto; }
.closing .small { color: rgba(255, 255, 255, 0.72); margin: 12px 0 0; }
.note-body h2 { font-size: 28px; margin-bottom: 14px; }
.note-body p { color: var(--text-2); max-width: 600px; }
.note-body .pull { color: var(--text); font-size: 20px; font-weight: 600; line-height: 1.35; letter-spacing: -0.01em; margin: 18px 0; }
.note-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 6px; }
.note-cta .btn { width: auto; }

/* Privacy, 404 */
.prose h1 { margin-bottom: 8px; }
.prose h2 { font-size: 18px; margin: 28px 0 4px; }
.prose p, .prose li { color: var(--text-2); }
.prose ul { padding-left: 20px; margin: 0; }
.notfound { text-align: center; padding-top: 64px; }
.notfound .glyph { font-size: 96px; font-weight: 700; letter-spacing: -0.04em; line-height: 1; margin-bottom: 8px; }
.notfound p { color: var(--text-2); }
.notfound .btn { width: auto; margin-top: 16px; }

/* Tablet */
@media (min-width: 640px) {
  .btn { width: auto; }
  .pair { grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
  .pair--flip .img { order: 2; }
  .before-after { grid-template-columns: 1fr 180px 1fr; gap: 20px; align-items: center; }
  .ba-link { align-self: center; }
  .ba-link .arrow { transform: rotate(-90deg); }
}

/* Desktop */
@media (min-width: 768px) {
  :root { --gutter: 32px; --block: 80px; }
  h1 { font-size: 56px; }
  h2 { font-size: 32px; }
  .hero { padding-top: 64px; }
  .hero .sub { font-size: 19px; }
  .chips { margin-top: 44px; gap: 12px; }
  .chips li { min-height: 40px; font-size: 15px; padding: 0 16px; }
  .closing h2 { font-size: 44px; }
  .shot { max-width: 940px; padding: 24px; border-radius: 24px; }
  .steps-section h2 { margin-bottom: 56px; }
  .steps { gap: 72px; }
  .steps li { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px; align-items: center; }
  .steps .img { order: 2; padding: 24px; }
  .steps h3 { font-size: 22px; }
  .pricing h2 { font-size: 44px; }
  .pricing .row { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 64px; align-items: center; }
  .receipt { margin-top: 0; padding: 26px 28px 20px; max-width: 520px; justify-self: end; width: 100%; }
  .faq-grid { gap: 36px; }
  .note-card { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
  .note-photo { aspect-ratio: auto; height: 100%; min-height: 360px; }
  .note-body { padding: 40px 44px; align-self: center; }
  .note-body h2 { font-size: 32px; }
}

