/* Fonts: Neuton for headings, Source Sans 3 for body text, UI and the logo.
   Both under the SIL Open Font License (see /fonts/OFL-*.txt). */
@font-face { font-family: "Source Sans 3"; src: url("/fonts/SourceSans3-Variable.woff2") format("woff2"); font-weight: 200 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Source Sans 3"; src: url("/fonts/SourceSans3-Italic-Variable.woff2") format("woff2"); font-weight: 200 900; font-style: italic; font-display: swap; }
@font-face { font-family: "Neuton"; src: url("/fonts/Neuton-Light.woff2") format("woff2"); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: "Neuton"; src: url("/fonts/Neuton-Regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Neuton"; src: url("/fonts/Neuton-Italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Neuton"; src: url("/fonts/Neuton-Bold.woff2") format("woff2"); font-weight: 500 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Neuton"; src: url("/fonts/Neuton-ExtraBold.woff2") format("woff2"); font-weight: 800 900; font-style: normal; font-display: swap; }

:root {
  /* Remi brand: coral gradient (Nov 2026) */
  --peach: #FFC375;
  --coral: #FF9470;
  --coral-pink: #FE626D;
  --coral-deep: #C8364A;   /* accessible coral for text and links (5.1:1 on white) */
  --ink: #0F1124;
  --ink-soft: #4A4E68;
  --paper: #F6F6F8;        /* cool light grey for fields and inset surfaces */
  --white: #FFFFFF;
  --line: #ECECF0;
  --blush: #FFF6F3;        /* very faint blush, hero only */
  --grad: linear-gradient(120deg, var(--peach) 0%, var(--coral) 50%, var(--coral-pink) 100%);
  --radius: 18px;
  --shadow: 0 1px 2px rgba(15,17,36,.04), 0 8px 24px rgba(15,17,36,.06);
  --font: "Source Sans 3", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-logo: var(--font);
  --font-head: "Neuton", Georgia, "Times New Roman", serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  line-height: 1.55;
  font-size: 1.0625rem;
  -webkit-font-smoothing: antialiased;
}
/* Headings in Neuton */
h1, h2, h3, .offer .amount { font-family: var(--font-head); }
img, svg { display: block; }
a { color: var(--coral-deep); }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--coral-deep); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(1080px, 100% - 40px); margin-inline: auto; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 10; background: rgba(255,255,255,.88); backdrop-filter: blur(10px); border-bottom: 1px solid transparent; }
.site-header.scrolled { border-bottom-color: var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.logo { font-family: var(--font-logo); display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.35rem; letter-spacing: -.03em; color: var(--ink); text-decoration: none; }
.logo-mark { width: 26px; height: 26px; border-radius: 9px; background: var(--grad); position: relative; }
.logo-mark::after { content: ""; position: absolute; inset: 8px; border-radius: 50%; background: var(--white); }
.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a { color: var(--ink-soft); text-decoration: none; font-weight: 500; font-size: .95rem; }
.nav-links a:hover { color: var(--ink); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; cursor: pointer; font: inherit; font-weight: 600; text-decoration: none; border-radius: 999px; padding: 13px 22px; transition: transform .15s ease, box-shadow .15s ease, opacity .15s ease; }
.btn-primary { background: var(--grad); color: var(--ink) !important; box-shadow: 0 6px 18px rgba(254,98,109,.26); }
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 10px 24px rgba(254,98,109,.34); }
.btn-ghost { background: var(--white); color: var(--ink) !important; border: 1px solid var(--line); }
.btn-ghost:hover { border-color: var(--coral-deep); }
.btn-sm { padding: 9px 16px; font-size: .9rem; }
.btn[disabled] { opacity: .55; cursor: not-allowed; transform: none; box-shadow: none; }

/* Hero */
.hero { padding: 88px 0 56px; position: relative; overflow: hidden; background: linear-gradient(180deg, var(--blush) 0%, var(--blush) 78%, var(--white) 100%); }
.hero > .wrap { position: relative; z-index: 1; }
/* Header blends into the blush hero at the top of the homepage, turns white once scrolled */
.has-hero .site-header { background: rgba(255,246,243,.92); transition: background .2s ease; }
.has-hero .site-header.scrolled { background: rgba(255,255,255,.9); }
.hero::before { content: ""; position: absolute; width: 620px; height: 620px; right: -220px; top: -40px; background: radial-gradient(circle, rgba(254,98,109,.18), transparent 62%); pointer-events: none; }
.hero::after { content: ""; position: absolute; width: 520px; height: 520px; left: -240px; bottom: -20px; background: radial-gradient(circle, rgba(255,195,117,.24), transparent 62%); pointer-events: none; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: .85rem; font-weight: 600; color: var(--coral-deep); background: var(--white); border: 1px solid var(--line); padding: 6px 14px; border-radius: 999px; }
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--grad); }
.hero h1 { font-size: clamp(2.4rem, 6vw, 4.4rem); line-height: 1.02; letter-spacing: -.015em; margin: 22px 0 20px; max-width: 15ch; font-weight: 800; text-wrap: balance; }
/* Highlighter swash under key words (ink text stays readable) */
.highlight { background-image: var(--grad); background-repeat: no-repeat; background-size: 100% .3em; background-position: 0 86%; padding: 0 .04em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.hero p.lead { font-size: clamp(1.05rem, 2vw, 1.25rem); color: var(--ink-soft); max-width: 58ch; margin: 0 0 30px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Sections */
section { padding: 64px 0; }
.section-head { max-width: 640px; margin-bottom: 32px; }
.section-head h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); letter-spacing: -.01em; line-height: 1.15; margin: 0 0 10px; }
.section-head p { color: var(--ink-soft); margin: 0; font-size: 1.05rem; }
.kicker { font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; font-weight: 700; color: var(--coral-deep); margin-bottom: 10px; display: block; }

/* Path cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card { text-align: left; font: inherit; color: inherit; background: var(--white); border: 1.5px solid var(--line); border-radius: var(--radius); padding: 24px; cursor: pointer; box-shadow: var(--shadow); transition: border-color .15s ease, transform .15s ease; display: flex; flex-direction: column; gap: 14px; }
.card:hover { transform: translateY(-2px); border-color: rgba(254,98,109,.55); }
.card[aria-pressed="true"] { border-color: var(--coral-pink); box-shadow: 0 0 0 4px rgba(254,98,109,.16), var(--shadow); }
.card-icon { width: 44px; height: 44px; border-radius: 13px; background: var(--grad); display: grid; place-items: center; color: var(--ink); }
.card h3 { margin: 0; font-size: 1.4rem; line-height: 1.2; letter-spacing: -.005em; }
.card p { margin: 0; color: var(--ink-soft); font-size: .97rem; }
.example { margin-top: auto; background: var(--paper); border-radius: 12px; padding: 12px 14px; display: flex; gap: 12px; align-items: center; }
.avatar { flex: none; width: 36px; height: 36px; border-radius: 50%; background: var(--grad); color: var(--ink); font-weight: 700; font-size: .8rem; display: grid; place-items: center; }
.example small { display: block; color: var(--ink-soft); font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 600; }
.example span { font-size: .9rem; font-weight: 600; }
.example .price { display: block; font-weight: 500; color: var(--ink-soft); font-size: .85rem; }
.card-cta { font-weight: 600; color: var(--coral-deep); font-size: .95rem; }

/* Forms */
.panel { background: var(--white); border: 1px solid var(--line); border-radius: 24px; padding: clamp(22px, 4vw, 40px); box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field.full { grid-column: 1 / -1; }
label, .legend { font-weight: 600; font-size: .93rem; }
.hint { font-weight: 400; color: var(--ink-soft); font-size: .85rem; }
input[type="text"], input[type="email"], input[type="url"], input[type="number"], select, textarea {
  font: inherit; color: var(--ink); background: var(--paper); border: 1.5px solid transparent; border-radius: 12px; padding: 12px 14px; width: 100%; transition: border-color .15s ease, background .15s ease;
}
textarea { min-height: 92px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--coral-deep); background: var(--white); }
.checks { display: flex; flex-wrap: wrap; gap: 10px; }
.check { display: inline-flex; align-items: center; gap: 8px; background: var(--paper); border-radius: 999px; padding: 8px 14px; font-weight: 500; font-size: .92rem; cursor: pointer; }
.check input { accent-color: var(--coral-deep); }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; color: var(--ink-soft); font-weight: 400; }
.consent input { margin-top: 4px; accent-color: var(--coral-deep); }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 8px; }
.form-foot p { margin: 0; color: var(--ink-soft); font-size: .9rem; }
.hidden { display: none !important; }
.form-error { color: #B42318; font-size: .9rem; margin: 0; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: step; }
.step { background: var(--white); border-radius: var(--radius); padding: 24px; border: 1px solid var(--line); }
.step::before { counter-increment: step; content: counter(step); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--grad); color: var(--ink); font-weight: 700; margin-bottom: 14px; }
.step h3 { margin: 0 0 6px; font-size: 1.3rem; line-height: 1.2; }
.step p { margin: 0; color: var(--ink-soft); }

/* Difference band */
.band { background: var(--ink); color: var(--white); border-radius: 28px; padding: clamp(28px, 5vw, 56px); position: relative; overflow: hidden; }
.band::after { content: ""; position: absolute; right: -120px; top: -120px; width: 360px; height: 360px; background: radial-gradient(circle, rgba(254,98,109,.42), transparent 65%); }
.band::before { content: ""; position: absolute; left: -140px; bottom: -160px; width: 340px; height: 340px; background: radial-gradient(circle, rgba(255,195,117,.22), transparent 65%); }
.band h2 { font-size: clamp(1.6rem, 3.2vw, 2.3rem); letter-spacing: -.01em; margin: 0 0 14px; max-width: 22ch; position: relative; z-index: 1; }
.band p { color: rgba(255,255,255,.75); max-width: 60ch; margin: 0; position: relative; z-index: 1; }
.band ul { position: relative; z-index: 1; list-style: none; padding: 0; margin: 24px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.band li { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); border-radius: 14px; padding: 16px; font-size: .95rem; color: rgba(255,255,255,.88); }
.band li strong { display: block; color: var(--white); margin-bottom: 4px; }

/* Insider */
.insider-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 28px; align-items: start; }
.perks { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 12px; }
.perks li { display: flex; gap: 12px; align-items: flex-start; }
.tick { flex: none; width: 24px; height: 24px; border-radius: 50%; background: var(--grad); color: var(--ink); display: grid; place-items: center; font-size: .8rem; font-weight: 700; margin-top: 1px; }
.badge { display: inline-block; background: var(--grad); color: var(--ink); font-weight: 700; font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; padding: 5px 12px; border-radius: 999px; }

/* FAQ */
.faq { display: grid; gap: 12px; max-width: 760px; }
details { background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 16px 20px; }
summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--coral-deep); font-weight: 700; font-size: 1.2rem; line-height: 1; }
details[open] summary::after { content: "–"; }
details p { color: var(--ink-soft); margin: 10px 0 0; }

/* Footer */
.site-footer { padding: 40px 0 56px; color: var(--ink-soft); font-size: .9rem; border-top: 1px solid var(--line); margin-top: 24px; }
.footer-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; }
.footer-row a { color: var(--ink-soft); }
.footer-links { display: flex; gap: 18px; flex-wrap: wrap; }

/* Simple pages */
.simple { padding: 72px 0; }
.simple .panel { max-width: 720px; margin-inline: auto; }
.simple h1 { font-size: clamp(2rem, 4.5vw, 3rem); letter-spacing: -.015em; line-height: 1.1; margin: 16px 0 14px; }
.simple p, .simple li { color: var(--ink-soft); }
.offer { margin-top: 26px; border: 1.5px solid var(--coral-pink); border-radius: 18px; padding: 24px; background: linear-gradient(180deg, rgba(255,148,112,.08), transparent); }
.offer h2 { margin: 0 0 8px; font-size: 1.35rem; letter-spacing: -.005em; }
.offer .amount { font-size: 2.2rem; font-weight: 800; letter-spacing: -.01em; }
.offer-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; align-items: center; }
.prose h2 { font-size: 1.2rem; margin: 28px 0 8px; color: var(--ink); }
.prose ul { padding-left: 20px; }

@media (max-width: 860px) {
  .cards, .steps, .band ul { grid-template-columns: 1fr; }
  .insider-grid { grid-template-columns: 1fr; }
  .nav-links a:not(.btn) { display: none; }
  .hero { padding-top: 56px; }
}
@media (max-width: 560px) {
  .form-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .card { transition: none; }
}
