/*
 * Your SI Life preview styles. Palette follows the approved logo: ink #101719, lime #d8fc71, olive #628130.
 *
 * ============================================================
 * SITE IDENTITY — the only place to change the offer name or
 * the brand line. Header lockup: "Your SI Life by Central CTO"
 * (spelled out, linked to centralcto.com). Hero first use:
 * "Your SI Life (Your Super Intelligent Life) by Central CTO". After
 * that, "Your SI Life." Footer credit is in the HTML.
 * Do not hardcode either string in the HTML, except the
 * document <title>.
 * ============================================================
 */
:root {
  --offer-name: "Your SI Life";
  --offer-name-first: "Your SI Life (Your Super Intelligent Life)";
  --brand-line: "Central CTO";
  --brand-line-short: "Central CTO";

  /* Logo palette: Central CTO ink, lime, olive */
  --ink: #101719;
  --lime: #d8fc71;
  --olive: #628130;
  --paper: #f6f7f4;
  --sage: #bcc5bf;
  --mist: #66716e;

  --bg: #101719;
  --bg-alt: #151c1e;
  --bg-card: #1a2326;
  --bg-elevated: #1f292c;
  --text: #f6f7f4;
  --text-muted: #c5cdc8;
  --text-faint: #8a9491;
  --brass: var(--lime);
  --brass-bright: #eaff99;
  --brass-dim: var(--olive);
  --line: #2a3437;
  --line-strong: #3b474b;
  --ph-bg: rgba(216, 252, 113, 0.14);
  --ph-text: #d8fc71;
  --font: "IBM Plex Sans", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --wrap: 1120px;
  --narrow: 760px;
  --radius: 6px;
  --header-h: 4.25rem;
  --banner-h: 1.85rem;
}

@font-face {
  font-family: "IBM Plex Sans";
  src: url("fonts/IBMPlexSans-VariableFont_wdth,wght.ttf") format("truetype");
  font-weight: 100 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "IBM Plex Sans";
  src: url("fonts/IBMPlexSans-Italic-VariableFont_wdth,wght.ttf") format("truetype");
  font-weight: 100 700;
  font-style: italic;
  font-display: swap;
}

/* Offer name and brand line: single source above, rendered here. */
.offer-name::before {
  content: var(--offer-name);
}

.offer-name-first::before {
  content: var(--offer-name-first);
}

.brand-line::before {
  content: var(--brand-line);
}

.brand-line-short::before {
  content: var(--brand-line-short);
}

a.lockup-name {
  color: inherit;
  text-decoration: none;
}

a.lockup-name:hover {
  color: var(--brass-bright);
}

a.brand-link {
  color: inherit;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a.brand-link:hover {
  color: var(--brass-bright);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 0.5rem;
}

html,
body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body {
  overflow-x: hidden;
  max-width: 100%;
}

img,
svg,
video,
iframe {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--brass-bright);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--text);
}

h1, h2, h3, p, ul, ol, dl, figure, dt, dd {
  margin: 0;
}

h1, h2, h3 {
  line-height: 1.18;
  letter-spacing: -0.02em;
  font-weight: 600;
  color: var(--text);
}

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

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

/* Visible copy-gap markers. Keep .ph on inline spans so block layout is preserved. */
.ph {
  color: var(--ph-text);
  background: var(--ph-bg);
  border-radius: 2px;
  padding: 0.02em 0.06em;
  box-shadow: 0 0 0 0.07em var(--ph-bg);
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  overflow-wrap: anywhere;
  font-weight: 500;
}

.nowrap {
  white-space: nowrap;
}

/* Draft banner */
.preview-banner {
  background: #0b1012;
  color: var(--sage);
  text-align: center;
  font-size: 0.72rem;
  font-weight: 550;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: var(--banner-h);
  height: var(--banner-h);
  padding: 0 1rem;
  border-bottom: 1px solid var(--line);
}

/* Header */
.site-header {
  border-bottom: 1px solid var(--line);
  background: rgba(16, 23, 25, 0.94);
  backdrop-filter: blur(8px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  min-height: var(--header-h);
  flex-wrap: wrap;
  padding-block: 0.65rem;
}

.lockup {
  color: var(--text);
  text-decoration: none;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  column-gap: 0.4em;
  row-gap: 0.1em;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  min-width: 0;
  max-width: 100%;
  line-height: 1.3;
}

/* Hover color lives on the lockup links themselves (offer name, brand). */
.lockup a:hover {
  color: var(--brass-bright);
}

.lockup-by {
  color: var(--text-faint);
  font-weight: 450;
  font-style: italic;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem 1.15rem;
  font-size: 0.88rem;
}

.nav a {
  color: var(--text-muted);
  text-decoration: none;
}

.nav a:hover {
  color: var(--brass-bright);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.15rem;
  min-height: 44px;
  background: var(--lime);
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: -0.01em;
  border-radius: var(--radius);
  line-height: 1.25;
  text-align: center;
  border: 1px solid transparent;
  max-width: 100%;
  white-space: nowrap;
}

.btn:hover {
  background: var(--brass-bright);
  color: var(--ink);
}

.btn:focus-visible,
.nav a:focus-visible,
.text-link:focus-visible,
.logo:focus-visible,
a.brand-link:focus-visible,
.footer-links a:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 3px;
}

.btn-lg {
  padding: 0.9rem 1.45rem;
  font-size: 1.05rem;
}

.text-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-weight: 550;
  color: var(--brass-bright);
  text-decoration: none;
  border-bottom: 1px solid var(--brass-dim);
  padding-bottom: 0.1em;
}

.text-link:hover {
  color: var(--text);
  border-bottom-color: var(--text);
}

/* Hero */
.hero {
  padding: 4.25rem 0 4.5rem;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(ellipse 80% 60% at 100% 0%, rgba(216, 252, 113, 0.07), transparent 55%),
    var(--bg);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 3rem;
  align-items: center;
}

.kicker,
.section-kicker {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 0.85rem;
}

h1 {
  font-size: clamp(1.85rem, 3.2vw, 3.05rem);
  font-weight: 650;
  margin-bottom: 1.25rem;
  max-width: 22ch;
}

.lede,
.intro,
.section p,
.steps p,
.control-list p,
.faq dd,
.fine-print,
.price-note {
  color: var(--text-muted);
}

.lede {
  font-size: 1.05rem;
  margin-bottom: 1.75rem;
  max-width: 62ch;
}

.lede + .lede {
  margin-top: -1rem;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.9rem 1.4rem;
}

.hero-brand {
  font-size: 1.05rem;
  margin-bottom: 1.1rem;
}

.hero-byline {
  display: inline-flex;
  align-items: baseline;
  column-gap: 0.4em;
}

.hero-guarantee {
  font-size: 1.08rem;
  font-weight: 500;
  color: var(--text);
  margin: -0.25rem 0 1.45rem;
  max-width: 46rem;
  line-height: 1.45;
}

.hero-guarantee strong {
  font-weight: 700;
  color: var(--lime);
}

.hero-brand:hover {
  color: var(--text);
}

.booking-ph {
  color: var(--text-muted);
  font-size: 0.92rem;
  font-weight: 500;
}

.closing-cta {
  justify-content: center;
}

/* Video placeholders */
.video-slot {
  margin: 0;
  width: 100%;
  min-width: 0;
}

.video-frame {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background:
    linear-gradient(180deg, var(--bg-card) 0%, var(--bg-alt) 100%);
  border: 1px solid var(--line-strong);
  color: var(--brass-bright);
  overflow: hidden;
}

.video-frame video {
  display: block;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #0b0d0c;
  z-index: 0;
}

.video-frame::before,
.video-frame::after {
  content: "";
  position: absolute;
  width: 1.25rem;
  height: 1.25rem;
  border-color: var(--brass);
  border-style: solid;
  pointer-events: none;
  z-index: 1;
}

.video-frame::before {
  top: 0.7rem;
  left: 0.7rem;
  border-width: 1.5px 0 0 1.5px;
}

.video-frame::after {
  bottom: 0.7rem;
  right: 0.7rem;
  border-width: 0 1.5px 1.5px 0;
}

.video-desktop {
  aspect-ratio: 16 / 9;
}

.video-mobile {
  display: none;
}

.video-label {
  display: block;
  font-weight: 600;
  letter-spacing: 0.04em;
  font-size: 0.95rem;
  text-align: center;
  margin: 0.7rem 0 0;
  color: var(--brass-bright);
}

.ratio-label {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-faint);
  z-index: 1;
}

/* Sections */
.section {
  padding: 5rem 0;
  border-bottom: 1px solid var(--line);
}

.section-alt {
  background: var(--bg-alt);
}

.section h2 {
  font-size: clamp(1.6rem, 2.6vw, 2.35rem);
  margin-bottom: 1.15rem;
  max-width: 28ch;
}

#included-title,
#secured-title {
  max-width: 36ch;
}


.section .intro {
  font-size: 1.05rem;
  margin-bottom: 2rem;
  max-width: 62ch;
}

#problem p {
  font-size: 1.15rem;
  max-width: 62ch;
}

/* Outcomes */
.outcome-list,
.control-list,
.tiles,
.steps,
.faq {
  list-style: none;
  padding: 0;
}

.outcome-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

@media (min-width: 701px) {
  .outcome-list li:last-child {
    grid-column: 1 / -1;
  }
}

.outcome-list li,
.control-list li,
.tiles li,
.pricing-layout > * {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-top: 2px solid var(--brass-dim);
  border-radius: var(--radius);
  padding: 1.25rem 1.3rem;
  min-width: 0;
}

.outcome-list li {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
  color: var(--text);
  font-weight: 500;
  line-height: 1.45;
}

.icon {
  flex: 0 0 2rem;
  width: 2rem;
  height: 2rem;
  color: var(--brass);
  margin-top: 0.1rem;
}

.icon svg {
  display: block;
  width: 2rem;
  height: 2rem;
}

/* Steps */
.steps {
  display: grid;
  gap: 0;
  counter-reset: none;
}

.steps li {
  display: grid;
  grid-template-columns: 3rem minmax(0, 1fr);
  gap: 1.1rem;
  padding: 1.35rem 0;
  border-top: 1px solid var(--line);
  align-items: start;
}

.steps li:last-child {
  padding-bottom: 0;
}

.step-num {
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--brass);
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.steps h3 {
  font-size: 1.15rem;
  margin-bottom: 0.35rem;
}

/* Audience tiles */
.tiles {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.tiles h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-top: 0.85rem;
}

/* Security / control */
.control-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.control-list li:last-child {
  grid-column: 1 / -1;
}

.control-list h3 {
  font-size: 1.05rem;
  margin-bottom: 0.35rem;
  color: var(--text);
}

.subblock {
  margin-top: 2.25rem;
  padding: 1.5rem 1.5rem 1.6rem;
  border: 1px solid var(--line);
  border-left: 3px solid var(--brass);
  background: var(--bg-card);
  border-radius: 0 var(--radius) var(--radius) 0;
}

.subblock h3 {
  font-size: 1.2rem;
  margin-bottom: 0.7rem;
}

.proof-box {
  display: block;
  margin-top: 1.25rem;
  padding: 1.15rem 1.2rem;
  color: var(--ph-text);
  background: var(--ph-bg);
  border-radius: 3px;
  font-weight: 500;
}

/* Package: single Core card plus optional care plan */
.pricing-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 1.25rem;
  margin-bottom: 1.5rem;
  align-items: stretch;
}

.pricing-layout > * {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem 1.45rem 1.55rem;
  min-width: 0;
}

.pricing-layout h3 {
  font-size: 1.35rem;
  margin-bottom: 0.45rem;
}

.package-kicker {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 0.45rem;
}

.price {
  font-size: 1.7rem;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.03em;
  margin-bottom: 0.7rem;
  line-height: 1.2;
}

.price-unit {
  font-size: 0.52em;
  font-weight: 550;
  letter-spacing: 0;
  color: var(--text-muted);
  margin-left: 0.08em;
}

.package-core {
  background: var(--bg-elevated);
  border-color: var(--brass-dim);
  box-shadow: inset 0 0 0 1px var(--brass-dim);
  border-top: 3px solid var(--brass);
  padding: 1.75rem 1.6rem 1.7rem;
}

.package-core .price {
  font-size: 2.35rem;
}

.package-care .price {
  font-size: 1.95rem;
}

.price-note {
  margin-bottom: 0.4rem;
}

.guarantee {
  padding: 5rem 0 0;
}

.guarantee-card {
  padding: 1.7rem 1.7rem 1.8rem;
  border: 1px solid var(--line);
  border-left: 3px solid var(--brass);
  background: var(--bg-card);
  border-radius: 0 var(--radius) var(--radius) 0;
}

.guarantee h2 {
  margin-bottom: 0.9rem;
}

.guarantee .promise {
  color: var(--text);
  font-size: 1.12rem;
  max-width: 58ch;
  margin-bottom: 1rem;
}

.guarantee .terms {
  margin: 0;
  max-width: 70ch;
}

.guarantee .terms + .terms {
  margin-top: 0.85rem;
}

.fine-print {
  margin-top: 1.75rem;
  font-size: 0.9rem;
  max-width: 62ch;
}

/* FAQ */
.faq {
  display: grid;
  gap: 0;
}

.faq > div {
  padding: 1.3rem 0;
  border-top: 1px solid var(--line);
}

.faq > div:last-child {
  padding-bottom: 0;
}

.faq dt {
  font-weight: 600;
  font-size: 1.05rem;
  margin-bottom: 0.4rem;
  letter-spacing: -0.015em;
}

/* Closing */
.closing {
  text-align: center;
  background:
    radial-gradient(ellipse 70% 80% at 50% 100%, rgba(216, 252, 113, 0.08), transparent 60%),
    var(--bg);
  border-bottom: 0;
  padding-bottom: 5.5rem;
}

.closing h2 {
  max-width: 18ch;
  margin-inline: auto;
  margin-bottom: 1rem;
}

.closing .intro {
  margin-inline: auto;
  margin-bottom: 1.75rem;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 2.5rem 0 3rem;
  background: #0b1012;
}

.footer-inner {
  display: grid;
  gap: 1rem;
}

.footer-lockup {
  font-size: 0.95rem;
}

.footer-credit {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--text);
}

.footer-contact {
  margin: 0;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.draft-note {
  font-size: 0.8rem;
  color: var(--text-faint);
}

.site-footer .fine-print {
  margin-top: 0;
}

/* Responsive */
@media (max-width: 900px) {
  .hero-grid,
  .outcome-list,
  .tiles,
  .control-list {
    grid-template-columns: 1fr 1fr;
  }

  .control-list li:last-child {
    grid-column: auto;
  }

  h1 {
    max-width: none;
  }
}

@media (max-width: 700px) {
  html,
  body {
    font-size: 16px;
  }

  .wrap,
  .wrap.narrow,
  .narrow {
    width: min(100% - 1.75rem, var(--wrap));
  }

  .header-inner {
    align-items: flex-start;
  }

  .header-cta {
    white-space: normal;
  }

  .hero {
    padding: 2.25rem 0 2.75rem;
  }

  .hero-grid,
  .outcome-list,
  .tiles,
  .control-list,
  .pricing-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .closing-cta {
    justify-content: flex-start;
  }

  .package-core .price {
    font-size: 2.1rem;
  }

  .hero-grid {
    gap: 2rem;
  }

  .video-desktop {
    display: none;
  }

  .video-mobile {
    display: flex;
  }

  .section {
    padding: 3.25rem 0;
  }

  .closing {
    padding-bottom: 3.75rem;
    text-align: left;
  }

  .closing h2 {
    margin-inline: 0;
  }

  .btn {
    white-space: normal;
  }

  .price {
    font-size: 1.45rem;
  }
}


/* ---- Preview build additions ---- */

.logo {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  min-width: 0;
  line-height: 0;
  text-decoration: none;
  color: inherit;
}

.logo:hover {
  opacity: 0.92;
}

.logo img {
  height: auto;
  max-width: 100%;
}

/* Horizontal lockup only when it can render at 300px or wider.
   Specificity must beat `.logo img` so the unused mark stays hidden. */
.logo img.logo-horizontal {
  display: none;
  width: 300px;
}

.logo img.logo-stacked {
  display: block;
  width: 168px;
}

@media (min-width: 1100px) {
  .logo img.logo-horizontal {
    display: block;
  }

  .logo img.logo-stacked {
    display: none;
  }
}

.nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  min-width: 44px;
  padding: 0.25rem 0.4rem;
}

.header-cta {
  flex: 0 0 auto;
}

.founder {
  display: grid;
  grid-template-columns: 10.5rem minmax(0, 1fr);
  gap: 1.35rem 1.5rem;
  align-items: start;
}

.founder-photo {
  width: 100%;
  height: auto;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  object-position: center 15%;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--bg-elevated);
}

.founder-photo-wrap {
  margin: 0;
}

.founder-caption {
  margin-top: 0.55rem;
  font-size: 0.82rem;
  color: var(--text-faint);
  line-height: 1.35;
}

.founder-caption strong {
  display: block;
  color: var(--text);
  font-weight: 600;
  font-size: 0.9rem;
}

/* Daily brief sample card */
.brief-card {
  position: relative;
  margin-top: 2rem;
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-top: 3px solid var(--olive);
  border-radius: var(--radius);
  padding: 1.35rem 1.35rem 1.5rem;
  max-width: 40rem;
}

.brief-sample-label {
  position: absolute;
  top: 0.85rem;
  right: 0.9rem;
  background: var(--lime);
  color: var(--ink);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.22rem 0.45rem;
  border-radius: 2px;
  line-height: 1;
}

.brief-card-head {
  padding-right: 5rem;
  margin-bottom: 1.1rem;
  padding-bottom: 0.95rem;
  border-bottom: 1px solid var(--line);
}

.brief-card-head h3 {
  font-size: 1.15rem;
  margin-bottom: 0.25rem;
}

.brief-for {
  color: var(--text);
  font-weight: 550;
  font-size: 0.95rem;
}

.brief-fictional {
  display: block;
  margin-top: 0.2rem;
  color: var(--text-faint);
  font-size: 0.82rem;
  font-weight: 400;
}

.brief-date {
  margin-top: 0.45rem;
  color: var(--text-muted);
  font-size: 0.88rem;
}

.brief-block + .brief-block {
  margin-top: 1rem;
}

.brief-block h4 {
  margin: 0 0 0.4rem;
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--lime);
}

.brief-block ol,
.brief-block ul {
  margin: 0;
  padding: 0 0 0 1.15rem;
  color: var(--text);
  font-size: 0.95rem;
}

.brief-block li + li {
  margin-top: 0.3rem;
}

.brief-time {
  display: inline-block;
  min-width: 5.4rem;
  color: var(--sage);
  font-variant-numeric: tabular-nums;
  font-weight: 550;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.25rem;
  margin: 0;
  font-size: 0.88rem;
}

.footer-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--text-muted);
  text-decoration: none;
  border-bottom: 1px solid var(--line-strong);
}

.footer-links a:hover {
  color: var(--lime);
  border-bottom-color: var(--lime);
}

/* Legal / privacy pages */
.page-main {
  padding: 3.25rem 0 4.5rem;
}

.page-main h1 {
  max-width: 22ch;
  margin-bottom: 0.6rem;
}

.page-lead {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 2rem;
  max-width: 62ch;
}

.page-main h2 {
  font-size: 1.25rem;
  margin: 2rem 0 0.7rem;
}

.page-main p,
.page-main li {
  color: var(--text-muted);
  max-width: 68ch;
}

.page-main p + p {
  margin-top: 0.9rem;
}

.page-main ul {
  margin: 0.4rem 0 0;
  padding-left: 1.2rem;
}

.page-main li + li {
  margin-top: 0.35rem;
}

.legal-placeholder {
  display: inline;
}

@media (max-width: 700px) {
  .nowrap {
    white-space: normal;
  }

  .founder {
    grid-template-columns: minmax(0, 1fr);
    max-width: 18rem;
  }

  .founder-photo {
    max-width: 14rem;
  }

  .brief-card {
    padding: 1.15rem 1rem 1.25rem;
  }

  .brief-sample-label {
    position: static;
    display: inline-block;
    margin-bottom: 0.7rem;
  }

  .brief-card-head {
    padding-right: 0;
  }

  .page-main {
    padding: 2.25rem 0 3.25rem;
  }
}

@media (max-width: 500px) {
  .header-inner {
    flex-direction: column;
    align-items: stretch;
  }

  .header-cta {
    width: 100%;
  }
}


/* ---- v15 layout additions ---- */

.hero-media {
  display: grid;
  gap: 1.25rem;
  min-width: 0;
  align-content: start;
}

.hero-portrait {
  margin: 0;
  max-width: 18rem;
}

.hero-portrait .founder-photo {
  width: 100%;
  max-width: 18rem;
}

.after-list {
  margin-top: 1.25rem;
  color: var(--text-muted);
  max-width: 68ch;
}

.walkthrough-slot {
  margin-top: 2rem;
  max-width: 40rem;
}

.faq-examples {
  margin: 0.75rem 0 0;
  padding-left: 1.2rem;
  color: var(--text-muted);
}

.faq-examples li + li {
  margin-top: 0.55rem;
}

.faq dd p {
  margin: 0;
}

.footer-contact {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 0.15rem;
}

.footer-sep {
  color: var(--text-faint);
  margin: 0 0.4rem;
}

.footer-note {
  margin: 0;
  font-size: 0.88rem;
  color: var(--text-faint);
}

.brief-block p {
  margin: 0;
  color: var(--text);
  font-size: 0.95rem;
}

#why-me .founder {
  margin-top: 0;
}

#why-title {
  margin-bottom: 0.7rem;
  max-width: 20ch;
}

#guarantee .guarantee-card {
  margin: 0;
}

.control-list li:last-child {
  grid-column: auto;
}

@media (min-width: 701px) {
  .control-list li:nth-last-child(-n+2):nth-child(odd) {
    grid-column: auto;
  }

  .outcome-list li:last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 700px) {
  .hero-portrait,
  .hero-portrait .founder-photo {
    max-width: 14rem;
  }

  .footer-sep {
    display: none;
  }

  .footer-contact {
    display: grid;
    gap: 0.55rem;
  }
}


/* ---- Compact mobile header (below 760px) ---- */

.logo-compact,
.menu-toggle {
  display: none;
}

.logo-compact {
  align-items: center;
  gap: 0.55rem;
  min-width: 0;
  min-height: 44px;
  color: inherit;
  text-decoration: none;
  line-height: 1.15;
}

.logo-compact:hover {
  color: inherit;
  opacity: 0.92;
}

.logo-compact img {
  display: block;
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
}

.logo-compact-text {
  display: flex;
  flex-direction: column;
  gap: 0.12rem;
  min-width: 0;
}

.logo-compact-name {
  font-weight: 650;
  font-size: 1.02rem;
  letter-spacing: -0.02em;
  color: var(--paper);
}

.logo-compact-by {
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sage);
}

.menu-toggle {
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  padding: 0 0.8rem;
  margin: 0;
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  appearance: none;
}

.menu-toggle:hover,
.menu-toggle[aria-expanded="true"] {
  border-color: var(--lime);
  color: var(--lime);
}

.menu-toggle:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 3px;
}

@media (max-width: 759px) {
  .site-header {
    position: relative;
    z-index: 40;
  }

  .header-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      "logo toggle"
      "cta cta"
      "nav nav";
    align-items: center;
    column-gap: 0.75rem;
    row-gap: 0.65rem;
    position: relative;
  }

  .logo {
    display: none;
  }

  .logo-compact {
    display: flex;
    grid-area: logo;
  }

  .header-cta {
    grid-area: cta;
    width: 100%;
  }

  .nav {
    grid-area: nav;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: 100%;
  }

  .nav a {
    justify-content: flex-start;
    width: 100%;
    padding: 0.55rem 0.7rem;
  }

  /* JS present: show the menu button and collapse the nav until it is opened.
     Without JS the links stay visible in the header, so the menu still works. */
  html.js .menu-toggle {
    display: inline-flex;
    grid-area: toggle;
  }

  html.js .header-inner {
    grid-template-areas:
      "logo toggle"
      "cta cta";
  }

  html.js .nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 0.35rem);
    z-index: 50;
    background: var(--bg-elevated);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 0.35rem;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
  }

  html.js .nav.is-open {
    display: flex;
  }
}

@media (min-width: 760px) {
  .logo-compact,
  .menu-toggle {
    display: none !important;
  }
}
