/* IWillCancel — site stylesheet (direction B: The Switch)
   Tokens from the brand one-pager. Derived tones use oklch. */
:root {
  --primary: #141210;
  --cta: #FF4A1C;
  --cta-text: #141210;
  --bg-light: #D9D3C7;
  --bg: #F6F2EA;
  --text: #141210;
  --on-dark: #FFFFFF;
  /* accent: a tint of the primary (7.9:1 on --bg, 5.9:1 on --bg-light) */
  --tint: oklch(0.40 0.008 70);
  --rule-dark: oklch(1 0 0 / 0.24);
  --cta-hover: oklch(0.74 0.19 38);
  --ink-hover: oklch(0.30 0.008 70);
  --stone-hover: oklch(0.80 0.017 80);
  --font-headline: 'Archivo Black', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --radius: 10px;
  --radius-sm: 8px;
  --section: clamp(64px, 8vw, 120px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 17px/1.55 var(--font-body);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
h1, h2, h3 { font-family: var(--font-headline); font-weight: 400; letter-spacing: -0.025em; text-wrap: balance; }
p { text-wrap: pretty; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--primary); outline-offset: 3px; }
.top :focus-visible, .footer :focus-visible, .card--ink :focus-visible { outline-color: var(--on-dark); }
.lane :focus-visible { outline-color: var(--primary); }

.wrap { width: 100%; max-width: 1240px; margin-inline: auto; padding-inline: clamp(20px, 4vw, 48px); }
.wrap--narrow { max-width: 880px; }

/* ---------- the switch (brand icon) ---------- */
.switch {
  --w: 68px;
  display: block; flex: none;
  width: var(--w); height: calc(var(--w) * 0.53);
  border-radius: 999px;
  background: var(--primary);
  position: relative;
  transition: background-color .25s ease;
}
.switch::after {
  content: ""; position: absolute;
  top: 12%; left: 6.5%;
  height: 76%; aspect-ratio: 1;
  border-radius: 50%;
  background: var(--bg);
  transition: transform .25s cubic-bezier(.3, 1.4, .5, 1);
}
.switch--mid::after { transform: translateX(58%); }
.switch--on { background: var(--cta); }
.switch--on::after { transform: translateX(116%); background: var(--primary); }
.switch--xl { --w: clamp(120px, 14vw, 184px); }

/* ---------- top (ink) ---------- */
.top { background: var(--primary); color: var(--on-dark); }
.bar__row { display: flex; align-items: center; justify-content: space-between; min-height: 72px; gap: 24px; }
.wordmark {
  font: 400 24px/1 var(--font-headline);
  letter-spacing: -0.045em;
  color: var(--on-dark);
  text-decoration: none;
  display: inline-flex; align-items: baseline;
  padding-block: 10px;
}
.wordmark span { color: var(--cta); }
.wordmark i { width: 0.22em; height: 0.22em; background: var(--cta); margin-left: 0.06em; }
.bar__cta { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: 999px; background: var(--bg); color: var(--text); font: 600 15px/1 var(--font-body); text-decoration: none; white-space: nowrap; transition: background-color .15s ease; }
.bar__cta:hover { background: var(--bg-light); color: var(--text); }
.bar__cta svg { width: 16px; height: 16px; flex: none; }
#quote { scroll-margin-top: 24px; }
@media (max-width: 640px) { .bar__row { gap: 12px; } .bar__cta { padding: 0 14px; font-size: 14px; } }
@media (max-width: 400px) { .bar__cta { padding: 0 12px; } .bar__cta svg { display: none; } }

.hero { text-align: center; padding-block: clamp(32px, 5vw, 72px) clamp(48px, 6vw, 88px); }
.pill {
  display: inline-block;
  font: 500 15px/1 var(--font-body);
  padding: 10px 16px;
  border: 1px solid var(--rule-dark);
  border-radius: 999px;
  color: var(--bg-light);
}
.hero h1 {
  font-size: clamp(2.125rem, 7.4vw, 6.75rem);
  line-height: 0.95;
  letter-spacing: -0.045em;
  margin-top: clamp(20px, 2.4vw, 32px);
}
.hero h1 span { display: block; }
.hero h1 em { font-style: normal; color: var(--cta); }
.lede { font-size: clamp(1.0625rem, 1.5vw, 1.3125rem); line-height: 1.45; max-width: 34em; margin: clamp(20px, 2.4vw, 32px) auto 0; color: var(--bg-light); }

.lanes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; max-width: 1000px; margin: clamp(32px, 4vw, 56px) auto 0; text-align: left; }
.lane {
  background: var(--bg); color: var(--text);
  border-radius: calc(var(--radius) * 2);
  padding: clamp(20px, 2.6vw, 32px);
  display: flex; flex-direction: column; gap: 14px;
}
.lane__top { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.lane h2 { font-size: clamp(2rem, 3.6vw, 3.25rem); line-height: 1; letter-spacing: -0.04em; }
.lane p { color: var(--tint); max-width: 26em; flex: 1; }
.lane .switch { --w: clamp(64px, 6vw, 84px); }
.lane:hover .switch, .lane:focus-within .switch { background: var(--cta); }
.lane:hover .switch::after, .lane:focus-within .switch::after { transform: translateX(116%); background: var(--primary); }

.rate {
  display: flex; align-items: center; justify-content: center; gap: 8px 24px; flex-wrap: wrap;
  max-width: 1000px; margin: 16px auto 0;
  padding: 18px clamp(18px, 2.6vw, 32px);
  border: 1px solid var(--rule-dark); border-radius: calc(var(--radius) * 2);
  text-align: left;
}
.rate__figure { font: 400 clamp(1.5rem, 2.2vw, 2rem)/1 var(--font-headline); letter-spacing: -0.03em; white-space: nowrap; }
.rate__note { font-size: 13px; line-height: 1.45; color: var(--bg-light); flex: 1 1 320px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 60px; padding: 0 22px 0 26px;
  font: 600 17px/1 var(--font-body);
  text-decoration: none;
  border-radius: 999px;
  transition: background-color .15s ease;
}
.btn svg { width: 22px; height: 22px; flex: none; transition: transform .15s ease; }
.btn:hover svg { transform: translateX(4px); }
.btn--cta { background: var(--cta); color: var(--cta-text); }
.btn--cta:hover { background: var(--cta-hover); color: var(--cta-text); }
.btn--ink { background: var(--primary); color: var(--on-dark); }
.btn--ink:hover { background: var(--ink-hover); color: var(--on-dark); }
.btn--line { background: transparent; color: var(--text); box-shadow: inset 0 0 0 2px var(--primary); }
.btn--line:hover { background: var(--stone-hover); color: var(--text); }

/* ---------- section heads ---------- */
.head { max-width: 760px; }
.head--center { margin-inline: auto; text-align: center; }
.eyebrow {
  display: inline-block;
  font: 600 13px/1 var(--font-body); letter-spacing: 0.12em; text-transform: uppercase;
  padding: 8px 12px; border-radius: 999px;
  background: var(--primary); color: var(--on-dark);
}
.head h2 { font-size: clamp(2rem, 4.6vw, 4rem); line-height: 1; letter-spacing: -0.04em; margin-top: 18px; }

/* ---------- how ---------- */
.how { padding-block: var(--section); }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: clamp(28px, 4vw, 48px); }
.step { background: var(--bg-light); border-radius: calc(var(--radius) * 2); padding: clamp(20px, 2.4vw, 32px); }
.step__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: clamp(32px, 5vw, 72px); }
.step__num { font: 400 clamp(3.5rem, 6vw, 5.5rem)/0.8 var(--font-headline); letter-spacing: -0.05em; }
.step h3 { font-size: clamp(1.375rem, 2vw, 1.75rem); line-height: 1.08; }
.step p { margin-top: 10px; }

/* ---------- why (bento) ---------- */
.why { padding-bottom: var(--section); }
.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 16px; margin-top: clamp(28px, 4vw, 48px); }
.card { border-radius: calc(var(--radius) * 2); padding: clamp(22px, 2.8vw, 40px); }
.card h3 { font-size: clamp(1.375rem, 2.1vw, 1.875rem); line-height: 1.06; }
.card p { margin-top: 12px; max-width: 34em; }
.card--cta { grid-column: span 7; grid-row: span 2; background: var(--cta); color: var(--cta-text); display: flex; flex-direction: column; justify-content: flex-end; min-height: clamp(280px, 32vw, 440px); }
.card--cta h3 { font-size: clamp(2.25rem, 4.1vw, 3.5rem); line-height: 0.96; letter-spacing: -0.045em; }
.card--cta h3 span { display: block; }
.card--cta p { font-size: 1.0625rem; font-weight: 500; }
.card--ink { grid-column: span 5; background: var(--primary); color: var(--on-dark); }
.card--ink p { color: var(--bg-light); }
.card--stone { grid-column: span 5; background: var(--bg-light); }
.card--line { grid-column: span 12; box-shadow: inset 0 0 0 2px var(--primary); display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 12px clamp(24px, 4vw, 64px); align-items: center; }
.card--line p { margin-top: 0; }

/* ---------- faq ---------- */
.faq { background: var(--bg-light); padding-block: var(--section); }
.faq__items { display: grid; gap: 10px; margin-top: clamp(28px, 4vw, 48px); }
details { background: var(--bg); border-radius: calc(var(--radius) * 1.6); }
summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  font: 400 clamp(1.0625rem, 1.5vw, 1.3125rem)/1.2 var(--font-headline); letter-spacing: -0.02em;
  padding: 20px 20px 20px 24px;
  border-radius: calc(var(--radius) * 1.6);
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: "+"; flex: none;
  width: 36px; height: 36px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--primary); color: var(--on-dark);
  font: 500 22px/1 var(--font-body);
  transition: transform .2s ease, background-color .2s ease;
}
details[open] summary::after { transform: rotate(45deg); background: var(--cta); color: var(--cta-text); }
summary:hover { box-shadow: inset 0 0 0 2px var(--primary); }
details p { padding: 0 24px 24px; max-width: 44em; }

/* ---------- closing ---------- */
.closing { padding-block: var(--section); text-align: center; }
.closing__inner { display: flex; flex-direction: column; align-items: center; }
.closing h2 { font-size: clamp(2.25rem, 6vw, 5.5rem); line-height: 0.95; letter-spacing: -0.045em; margin-top: clamp(24px, 3vw, 40px); }
.closing p { font-size: 1.1875rem; margin-top: 16px; }
.closing__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 28px; }

/* ---------- footer ---------- */
.footer { background: var(--primary); color: var(--on-dark); padding-block: 48px 36px; text-align: center; }
.footer__inner { display: flex; flex-direction: column; align-items: center; }
.footer__disclosure { margin-top: 10px; max-width: 38em; font-size: 15px; color: var(--bg-light); }
.footer__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 28px; margin-top: 20px; }
.footer__links a { display: inline-flex; align-items: center; min-height: 44px; font: 500 15px/1 var(--font-body); text-underline-offset: 5px; text-decoration-thickness: 1px; }
.footer__links a:hover { text-decoration-thickness: 3px; }
.footer__entity { margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--rule-dark); width: 100%; font-size: 13px; color: var(--bg-light); }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .steps { grid-template-columns: minmax(0, 1fr); }
  .step__top { margin-bottom: 28px; }
  .card--cta, .card--ink, .card--stone { grid-column: span 12; }
  .card--line { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .lanes { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .lane .btn { width: 100%; }
  .rate { margin-top: 12px; }
  .closing__links { width: 100%; flex-direction: column; }
  .closing__links .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* ================= site additions (same tokens, same shapes) ================= */
.skip { position: absolute; left: 12px; top: -80px; z-index: 10; background: var(--bg); color: var(--text); font: 600 15px/1 var(--font-body); padding: 14px 18px; border-radius: 999px; }
.skip:focus { top: 12px; }

/* footer: full legal set + social */
.footer__links { max-width: 760px; }
.footer__social { display: flex; justify-content: center; gap: 10px; margin-top: 12px; }
.footer__social a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--rule-dark); color: var(--on-dark); transition: background-color .15s ease; }
.footer__social a:hover { background: var(--ink-hover); color: var(--on-dark); }
.footer__social svg { width: 20px; height: 20px; }

/* legal documents */
.doc { padding-block: clamp(40px, 6vw, 88px) var(--section); }
.doc h1 { font-size: clamp(2.125rem, 5.4vw, 4.25rem); line-height: 0.98; letter-spacing: -0.04em; margin-top: 18px; }
.doc__updated { margin-top: 18px; font-size: 15px; color: var(--tint); }
.doc__intro { margin-top: 20px; font-size: clamp(1.0625rem, 1.5vw, 1.25rem); line-height: 1.5; }
.doc h2 { font-size: clamp(1.25rem, 2vw, 1.625rem); line-height: 1.12; margin-top: 48px; }
.doc p { margin-top: 14px; }
.doc ul { list-style: disc; padding-left: 1.3em; margin-top: 14px; }
.doc li + li { margin-top: 8px; }
.doc__note { background: var(--bg-light); border-radius: calc(var(--radius) * 2); padding: clamp(18px, 2.4vw, 28px); margin-top: 24px; }
.doc__note p { margin-top: 0; }
.doc h2 + .doc__note { margin-top: 16px; }
.doc p a, .doc li a { font-weight: 500; text-underline-offset: 4px; text-decoration-thickness: 1px; overflow-wrap: anywhere; }
.doc p a:hover, .doc li a:hover { text-decoration-thickness: 3px; }
.doc code { font: 500 0.9em/1 ui-monospace, 'SF Mono', Menlo, monospace; background: var(--bg-light); padding: 3px 7px; border-radius: 6px; }
.doc .reqmail { margin-top: 24px; }
.doc .reqmail a { display: inline-flex; align-items: center; min-height: 60px; padding: 12px 26px; border-radius: 999px; background: var(--primary); color: var(--on-dark); font: 600 17px/1.2 var(--font-body); text-decoration: none; transition: background-color .15s ease; }
.doc .reqmail a:hover { background: var(--ink-hover); color: var(--on-dark); }
.doc .micro { font-size: 14px; color: var(--tint); }
.doc__back { display: inline-flex; align-items: center; min-height: 44px; margin-top: 48px; font: 600 16px/1 var(--font-body); text-underline-offset: 5px; text-decoration-thickness: 2px; }
.doc__back:hover { text-decoration-thickness: 4px; }

/* 404 */
.notfound h1 { font-size: clamp(2.25rem, 6vw, 5.5rem); line-height: 0.95; letter-spacing: -0.045em; margin-top: clamp(24px, 3vw, 40px); }
.notfound p { max-width: 30em; }
