@font-face { font-family: "Poppins"; src: url("fonts/poppins-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("fonts/poppins-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("fonts/poppins-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("fonts/poppins-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("fonts/ibm-plex-mono-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("fonts/ibm-plex-mono-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }

/* Courageous brand palette (Brand Guide v1.0, 2026) */
:root {
  --navy: #07141F;        /* Deep Navy: page ground */
  --navy-2: #0D1F2F;      /* raised surface */
  --navy-3: #13293C;      /* cards, borders */
  --steel: #3B5A74;       /* Steel Blue */
  --gold: #F3A23E;        /* Deep Bronze (light gold) */
  --bronze: #B7671D;      /* Warm Gold (bronze) */
  --ivory: #FAF7F5;       /* Soft Ivory */
  --muted: #A9B7C4;       /* secondary text on navy, 8.9:1 */
  --line: #1F3A52;
  --gold-grad: linear-gradient(100deg, #F3A23E 0%, #D9852C 55%, #B7671D 100%);
  --sans: "Poppins", system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
  --wrap: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--navy);
  color: var(--ivory);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--gold); text-underline-offset: 3px; }
a:hover { color: #FFC27A; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 2px; }

.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }

/* Type */
h1, h2, h3 { margin: 0; font-family: var(--sans); font-weight: 700; line-height: 1.05; letter-spacing: -0.02em; color: var(--ivory); }
h1 { font-size: clamp(2.6rem, 1.6rem + 3.4vw, 4.4rem); text-wrap: balance; }
h2 { text-wrap: balance; }
h2 { font-size: clamp(2rem, 1.4rem + 2.2vw, 3.25rem); }
h3 { font-size: 1.15rem; font-weight: 600; line-height: 1.35; letter-spacing: 0; }
p { margin: 0; max-width: 62ch; }
.lead { font-size: clamp(1.05rem, .98rem + 0.35vw, 1.25rem); color: var(--muted); }
.gold-text { background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: .6rem;
  min-height: 52px; padding: .75rem 1.4rem;
  border-radius: 10px; border: 1.5px solid var(--ivory);
  font-weight: 600; text-decoration: none; line-height: 1.2; color: var(--ivory);
}
.btn-primary { background: var(--gold-grad); border-color: transparent; color: var(--navy); }
.btn-primary:hover { background: var(--gold); color: var(--navy); }
.btn-ghost { background: transparent; color: var(--ivory); }
.btn-ghost:hover { background: var(--navy-3); color: var(--ivory); }
.store { background: var(--ivory); border-color: var(--ivory); color: var(--navy); flex-direction: column; align-items: flex-start; gap: 0; min-width: 180px; }
.store small { font-size: .72rem; font-weight: 500; opacity: .8; }
.store span { font-size: 1.15rem; font-weight: 600; }
.store:hover { color: var(--navy); background: #FFFFFF; }

/* Header */
.site-header { background: rgba(7, 20, 31, .92); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 10; backdrop-filter: blur(8px); }
.site-header .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; padding-block: .85rem; }
.logo { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; }
.logo-icon { width: 44px; height: auto; }
.logo-word { width: 170px; height: auto; }
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 1.5rem; }
.nav a { color: var(--ivory); text-decoration: none; font-weight: 500; font-size: .98rem; }
.nav a:hover { color: var(--gold); }
.nav a[aria-current="page"] { color: var(--gold); }
.nav .btn-primary { min-height: 44px; padding: .5rem 1.1rem; color: var(--navy); }
.nav .btn-primary:hover { color: var(--navy); }

/* Hero */
.hero { padding-block: clamp(3rem, 6vw, 6rem) clamp(3.5rem, 7vw, 7rem);
  background: radial-gradient(60rem 30rem at 85% 0%, rgba(59, 90, 116, .45), transparent 70%); }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.hero-copy { display: grid; gap: 1.6rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; }
.hero-note { font-size: .95rem; color: var(--muted); }

/* Pay stub: white paper on navy, the one bright object on the page */
.stub-wrap { display: flex; justify-content: center; }
.stub {
  position: relative; width: min(100%, 420px);
  background: #FFFFFF; color: var(--navy);
  font-family: var(--mono); font-size: .92rem; line-height: 1.5;
  padding: 1.6rem 1.6rem 1.4rem;
  border-radius: 3px;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .7);
  rotate: -2deg;
}
.stub::before, .stub::after { /* perforated edges */
  content: ""; position: absolute; left: 0; right: 0; height: 10px;
  background: radial-gradient(circle at 6px 5px, var(--navy) 3px, transparent 3.5px) repeat-x;
  background-size: 14px 10px;
}
.stub::before { top: -5px; }
.stub::after { bottom: -5px; }
.stub-head { display: flex; justify-content: space-between; gap: 1rem; border-bottom: 2px solid var(--navy); padding-bottom: .6rem; margin-bottom: .7rem; font-size: .8rem; letter-spacing: .02em; }
.stub-row { display: flex; justify-content: space-between; gap: 1rem; padding-block: .28rem; border-bottom: 1px dashed #D5DBE1; }
.stub-row.total { border-bottom: 0; border-top: 2px solid var(--navy); margin-top: .5rem; padding-top: .6rem; font-weight: 600; }
.stub-row.save { background: linear-gradient(transparent 15%, rgba(243, 162, 62, .45) 15%, rgba(243, 162, 62, .45) 85%, transparent 85%); }
.stub-bottom { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-top: 1.1rem; }
.stub-foot { font-size: .75rem; color: #4F6273; }
.stamp {
  flex: none;
  font-family: var(--sans); font-weight: 700; font-size: 1.45rem; letter-spacing: .06em; line-height: 1;
  color: var(--bronze); border: 3px solid var(--bronze); border-radius: 8px; padding: .4rem .65rem;
  rotate: -9deg; opacity: .95;
}

/* The one orchestrated moment: the stub fills in, then the stamp lands */
@media (prefers-reduced-motion: no-preference) {
  .stub-row { animation: row-in .45s ease-out both; }
  .stub-row:nth-child(2) { animation-delay: .25s; }
  .stub-row:nth-child(3) { animation-delay: .4s; }
  .stub-row:nth-child(4) { animation-delay: .55s; }
  .stub-row:nth-child(5) { animation-delay: .7s; }
  .stub-row:nth-child(6) { animation-delay: .85s; }
  .stub-row:nth-child(7) { animation-delay: 1s; }
  .stub-row:nth-child(8) { animation-delay: 1.15s; }
  .stamp { animation: stamp .35s cubic-bezier(.3, 1.6, .5, 1) 1.6s both; }
}
@keyframes row-in { from { opacity: 0; translate: -6px 0; } }
@keyframes stamp { from { opacity: 0; scale: 1.8; } to { opacity: .95; scale: 1; } }

/* Sections */
.section { padding-block: clamp(4rem, 8vw, 7rem); }
.section-head { display: grid; gap: 1rem; margin-bottom: clamp(2.5rem, 5vw, 3.5rem); }
.dark { background: var(--navy-2); border-block: 1px solid var(--line); }
.dark .lead, .dark p { color: var(--muted); }
.paper { background: var(--navy-2); border-block: 1px solid var(--line); }

.swings { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.5rem, 4vw, 3.5rem); }
.swings div { display: grid; gap: .6rem; align-content: start; border-top: 2px solid var(--bronze); padding-top: 1.25rem; }

/* Tape measure steps */
.tape { list-style: none; margin: 0; padding-left: 0; position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.5rem, 4vw, 3rem); padding-top: 4.25rem; }
.tape::before { /* the blade */
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 44px;
  background:
    linear-gradient(90deg, var(--navy) 0 2px, transparent 2px) 0 0 / 80px 26px repeat-x,
    linear-gradient(90deg, var(--navy) 0 1px, transparent 1px) 0 0 / 10px 12px repeat-x,
    var(--gold-grad);
  border-radius: 4px;
}
.step { display: grid; gap: .6rem; align-content: start; }
.step p { color: var(--muted); }
.step-num { font-weight: 700; font-size: 3rem; line-height: 1; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; justify-self: start; }

/* Features */
.features { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.25rem clamp(2rem, 5vw, 5rem); }
.feature { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 1rem; align-items: start; }
.feature svg { width: 32px; height: 32px; stroke: var(--gold); }
.feature div { display: grid; gap: .35rem; }
.feature p { color: var(--muted); }

/* Founder */
.founder { display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.founder-copy { display: grid; gap: 1.1rem; }
.placeholder { background: #FFF3C4; color: var(--navy); padding: 0 .2em; }

/* Pricing teaser */
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; max-width: 820px; }
.plan { border: 1px solid var(--line); border-radius: 16px; padding: 2rem; display: grid; gap: .75rem; align-content: start; background: var(--navy-3); }
.plan p { color: var(--muted); }
.plan.featured { background: linear-gradient(160deg, #1C3A52, var(--navy-3)); border-color: var(--bronze); }
.plan .price, .plan .plan-name { color: var(--ivory); }
.plan-name { font-weight: 600; }
.price { font-weight: 700; font-size: 2.6rem; line-height: 1.05; letter-spacing: -0.02em; }
.price small { font-size: 1rem; font-weight: 500; }

/* Unions */
.unions { background: var(--steel); border: 0; }
.unions .wrap { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2rem; align-items: end; }
.unions .lead, .unions p { color: #E6EDF3; }
.unions .btn { border-color: var(--ivory); color: var(--ivory); }
.unions .btn:hover { background: var(--ivory); color: var(--navy); }

/* FAQ */
.faq { max-width: 820px; border-top: 1px solid var(--bronze); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 1rem; padding-block: 1.15rem; font-weight: 600; font-size: 1.08rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-weight: 500; font-size: 1.6rem; line-height: 1; color: var(--gold); }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding-bottom: 1.25rem; color: var(--muted); }

/* Closing CTA + footer */
.closing { background: radial-gradient(50rem 24rem at 15% 100%, rgba(183, 103, 29, .25), transparent 70%), var(--navy-2); }
.closing .wrap { display: grid; gap: 1.75rem; }
.site-footer { background: #040D14; color: var(--muted); font-size: .95rem; padding-block: 3rem 2rem; border-top: 1px solid var(--line); }
.site-footer .wrap { display: grid; gap: 2rem; }
.footer-cols { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2rem; }
.footer-cols nav { display: grid; gap: .5rem; align-content: start; }
.site-footer a { color: var(--ivory); text-decoration: none; }
.site-footer a:hover { color: var(--gold); }
.fine { font-size: .85rem; color: #7F90A0; }

/* Inner pages */
.page-head { padding-block: clamp(3rem, 6vw, 5rem) clamp(2rem, 4vw, 3rem); display: grid; gap: 1rem; }
.legal { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: clamp(2rem, 5vw, 4rem); padding-bottom: 5rem; align-items: start; }
.legal nav { display: grid; gap: .5rem; font-size: .95rem; position: sticky; top: 6rem; }
.legal nav a { color: var(--muted); }
.legal nav a:hover { color: var(--gold); }
.legal article { display: grid; gap: 2rem; max-width: 70ch; }
.legal section { display: grid; gap: .6rem; }
.legal h2 { font-size: 1.6rem; }
.legal p, .legal ul { color: #D3DCE4; }
.legal ul { margin: 0; padding-left: 1.2rem; display: grid; gap: .4rem; }
.legal strong { color: var(--ivory); }
.notice { background: #FFF3C4; color: var(--navy); border: 2px solid var(--gold); border-radius: 8px; padding: 1rem 1.25rem; font-size: .95rem; }
.guide { color: var(--muted); }

.support-grid { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: clamp(2rem, 5vw, 4rem); padding-bottom: 5rem; align-items: start; }
.faq-group { display: grid; gap: .25rem; margin-bottom: 2.5rem; }
.faq-group h2 { font-size: 1.6rem; margin-bottom: .5rem; }
.form { background: var(--navy-3); border: 1px solid var(--line); border-radius: 16px; padding: 2rem; display: grid; gap: 1rem; position: sticky; top: 6rem; }
.form h2 { font-size: 1.6rem; }
.form p { color: var(--muted); }
.form .btn { justify-content: center; }

/* Phone and small tablets */
@media (max-width: 860px) {
  .hero .wrap, .founder, .unions .wrap, .support-grid, .legal { grid-template-columns: minmax(0, 1fr); }
  .swings, .tape, .features, .plans { grid-template-columns: minmax(0, 1fr); }
  .tape { padding-top: 0; padding-left: 4rem; gap: 2rem; }
  .tape::before { inset: 0 auto 0 0; width: 40px; height: auto;
    background:
      linear-gradient(180deg, var(--navy) 0 2px, transparent 2px) 0 0 / 24px 80px repeat-y,
      linear-gradient(180deg, var(--navy) 0 1px, transparent 1px) 0 0 / 12px 10px repeat-y,
      linear-gradient(180deg, #F3A23E, #B7671D); }
  .legal nav, .form { position: static; }
  .site-header { position: static; }
  .logo-word { width: 140px; }
  .stamp { font-size: 1.2rem; }
}

/* Official store badges (Apple and Google artwork, unaltered) */
.badge { display: inline-flex; align-items: center; border-radius: 9px; }
.badge img { height: 52px; width: auto; }
.badge-gp img { height: 78px; margin: -13px -9px; }   /* Google's PNG carries built-in padding */

/* Founder */
.founder-photo { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 16px; border: 1px solid var(--line); }
.founder-quote { margin: 0; padding-left: 1.25rem; border-left: 3px solid var(--bronze); }
.founder-quote p { font-size: 1.15rem; line-height: 1.7; color: #D3DCE4; }
.founder-name { color: var(--muted); }

/* Podcast */
.episodes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; max-width: 900px; }
.episode { display: grid; gap: .35rem; text-decoration: none; color: var(--ivory); }
.episode img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 12px; border: 1px solid var(--line); margin-bottom: .5rem; }
.episode:hover .ep-title { color: var(--gold); }
.ep-num { font-size: .85rem; color: var(--gold); font-weight: 600; }
.ep-title { font-weight: 600; font-size: 1.05rem; }
@media (max-width: 860px) { .episodes { grid-template-columns: minmax(0, 1fr); } }

.legal-intro { display: grid; gap: .8rem; padding-bottom: 1.5rem; border-bottom: 1px solid var(--line); }
.legal-intro p { color: #D3DCE4; }
.legal h3 { font-size: 1.1rem; margin-top: .6rem; color: var(--ivory); }
.legal .caps { font-size: .92rem; letter-spacing: .01em; }

/* Upgrade 2026-10-28: rhythm, contrast, mobile header */
:root { --btn-grad: linear-gradient(100deg, #F3A23E 0%, #E3902F 100%); }  /* navy text stays >= 7.3:1 */
.btn-primary { background: var(--btn-grad); }
.btn-primary:hover { background: var(--gold); }

/* Soft Ivory section from the primary palette */
.light { background: var(--ivory); color: var(--navy); }
.light h2, .light h3 { color: var(--navy); }
.light .lead, .light p { color: #4F6273; }          /* 5.9:1 on ivory */
.light .feature svg { stroke: #8A4B12; }            /* bronze, darkened for 6.4:1 */

/* Founder + podcast as one section */
.podcast { margin-top: clamp(3rem, 6vw, 4.5rem); padding-top: clamp(2rem, 4vw, 3rem); border-top: 1px solid var(--line); display: grid; gap: 1.5rem; }
.podcast-head { display: grid; gap: .4rem; }
.podcast-head h3 { font-size: 1.5rem; }
.podcast-head p { color: var(--muted); }
.episode img { background: var(--navy-3); }

@media (max-width: 860px) {
  .nav a:not(.btn) { display: none; }
  .site-header .wrap { flex-wrap: nowrap; }
  /* Narrow phones / large system font: keep the button on one line, let the wordmark shrink instead of overlapping it */
  .nav .btn { white-space: nowrap; flex-shrink: 0; padding-inline: .9rem; }
  .logo { flex: 1 1 auto; min-width: 0; }
  .logo-word { width: auto; flex: 0 1 140px; min-width: 0; max-width: 140px; }
}

.skip-link { position: absolute; left: 1rem; top: -4rem; z-index: 20; background: var(--gold); color: var(--navy); padding: .6rem 1rem; border-radius: 8px; font-weight: 600; text-decoration: none; }
.skip-link:focus { top: 1rem; }
