/* Sidekick landing page · Updated: November 6, 2026 · Version: 2 · Status: Draft */

@font-face { font-family: "Nunito"; font-weight: 900; font-style: normal; font-display: swap; src: url("../fonts/nunito-latin-900-normal.woff2") format("woff2"); }
@font-face { font-family: "Nunito Sans"; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/nunito-sans-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Nunito Sans"; font-weight: 700; font-style: normal; font-display: swap; src: url("../fonts/nunito-sans-latin-700-normal.woff2") format("woff2"); }

:root {
  --navy: #1D2D50;
  --apricot: #F5A66B;
  --cream: #FBF4E8;
  --mint: #9ED9C3;
  --white: #FFFFFF;
  --line: rgba(29, 45, 80, 0.14);
  --head: "Nunito", "Nunito Sans", ui-rounded, system-ui, sans-serif;
  --body: "Nunito Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --gutter: 1.25rem;
  --rail-pad: 1.6rem;
  --radius: 18px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--navy);
  font-family: var(--body);
  font-weight: 400;
  font-size: 1.0625rem;
  line-height: 1.6;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { font-family: var(--head); font-weight: 900; line-height: 1.12; margin: 0 0 0.6em; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.6rem, 9vw, 4.6rem); line-height: 1.02; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.75rem, 5.2vw, 2.6rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
a { color: inherit; }
.nowrap { white-space: nowrap; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

:focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; border-radius: 6px; }
.closing :focus-visible { outline-color: var(--cream); }

.skip-link { position: absolute; left: 1rem; top: -4rem; background: var(--navy); color: var(--cream); padding: 0.6rem 1rem; border-radius: 10px; font-weight: 700; z-index: 10; text-decoration: none; }
.skip-link:focus { top: 1rem; }

.container { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 var(--gutter); }

/* Buttons: apricot carries the action, navy text for contrast */
.btn {
  display: inline-block;
  background: var(--apricot);
  color: var(--navy);
  font-family: var(--body);
  font-weight: 700;
  font-size: 1.0625rem;
  line-height: 1.2;
  padding: 1rem 1.6rem;
  border-radius: 999px;
  text-decoration: none;
  box-shadow: 0 0 0 0 rgba(245, 166, 107, 0);
  transition: transform 0.15s ease, box-shadow 0.2s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 8px 0 -2px rgba(29, 45, 80, 0.16); }

/* Header */
.site-header { padding: 1.25rem 0 0; }
.logo { width: 150px; }

/* 1. Hero */
.hero { padding: 2rem 0 3rem; }
.hero__grid { display: grid; gap: 2rem; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 0.5rem; font-weight: 700; font-size: 0.9375rem; margin-bottom: 1.25rem; }
.eyebrow__dot { width: 12px; height: 12px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 3px var(--navy); flex: none; }
.hero__descriptor { font-size: 1.15rem; max-width: 34rem; }
.hero__support { font-weight: 700; margin-bottom: 1.6rem; }
.hero__art { margin: 0; }

/* hero illustration classes */
.art-ground { stroke: var(--navy); stroke-opacity: 0.25; stroke-width: 2; }
.art-navy { fill: var(--navy); }
.art-cream { fill: var(--cream); }
.art-mint { fill: var(--mint); }
.art-apricot { fill: var(--apricot); }
.art-white { fill: var(--white); }
.art-stroke-cream { stroke: var(--cream); stroke-width: 3; }
.art-outline-navy { fill: none; stroke: var(--navy); stroke-width: 3.5; }
.art-hand { fill: none; stroke: var(--apricot); stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; }
.art-seam { fill: none; stroke: var(--navy); stroke-width: 2; }
.art-parent { fill: none; stroke: var(--navy); stroke-width: 3; stroke-dasharray: 9 9; stroke-linecap: round; }
.art-child { fill: none; stroke: var(--apricot); stroke-width: 7; stroke-linecap: round; }
.art-arm { fill: none; stroke: var(--navy); stroke-width: 6; stroke-linecap: round; }
.art-arm--reach { stroke-width: 6; }

/* small icon classes */
.i-navy { fill: var(--navy); }
.i-apricot { fill: var(--apricot); }
.i-cream { fill: var(--cream); }
.i-mint { fill: var(--mint); }
.i-seam { fill: none; stroke: var(--navy); stroke-width: 1.6; }
.i-line { fill: none; stroke: var(--navy); stroke-width: 2.2; stroke-linecap: round; }
.d-route { fill: none; stroke: var(--apricot); stroke-width: 5; stroke-linecap: round; }

/* 2–6. Journey: two rails run the length of the story */
.journey { padding-top: 1rem; }
.journey__track { position: relative; }
.rails { position: relative; padding: 0 var(--rail-pad); }
.rail { position: absolute; top: 0; bottom: 0; transform-origin: top center; }
.rail--child { left: 0; width: 6px; border-radius: 3px; background: var(--apricot); }
.rail--parent { right: 0; width: 0; border-right: 4px dashed var(--navy); }

.block { --block-pad: 3rem; padding: var(--block-pad) 0; position: relative; }
/* every section is a stop on both afternoons */
.block::before, .block::after { content: ""; position: absolute; top: calc(var(--block-pad) + 0.35rem); border-radius: 50%; z-index: 1; }
.block::before { --dot: 16px; left: calc(-1 * var(--rail-pad) + 3px - var(--dot) / 2); width: var(--dot); height: var(--dot); background: var(--mint); box-shadow: 0 0 0 3px var(--navy), 0 0 0 6px var(--cream); }
.block::after { right: calc(-1 * var(--rail-pad) + 2px - 8px); width: 16px; height: 16px; background: var(--navy); box-shadow: 0 0 0 5px var(--cream); }
.block + .block { border-top: 1px solid var(--line); }
.lead { font-size: 1.15rem; max-width: 40rem; }

/* problem */
.afternoons { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1rem; margin: 2rem 0; }
.afternoon__label { font-weight: 700; font-size: 0.875rem; letter-spacing: 0.04em; text-transform: uppercase; margin-bottom: 1.6rem; padding-bottom: 0.35rem; display: inline-block; white-space: nowrap; }
.afternoon--child .afternoon__label { border-bottom: 5px solid var(--apricot); }
.afternoon--parent .afternoon__label { border-bottom: 4px dashed var(--navy); }
.stops { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.5rem; }
.stops li { display: flex; align-items: center; gap: 0.6rem; font-weight: 700; font-size: 0.98rem; line-height: 1.3; }
.stop-icon { flex: none; width: 44px; height: 44px; border-radius: 50%; background: var(--white); display: grid; place-items: center; position: relative; }
.afternoon--child .stop-icon { box-shadow: 0 0 0 3px var(--apricot); }
.afternoon--parent .stop-icon { box-shadow: 0 0 0 3px var(--navy); }
.stop-icon svg { width: 26px; height: 26px; }
.crossover { height: 130px; }
.problem::before, .problem::after { display: none; }
.problem__answer { font-size: clamp(1.5rem, 4.4vw, 2.1rem); max-width: 36rem; margin-bottom: 0.75rem; }
.problem__close { font-size: 1.25rem; line-height: 1.5; max-width: 38rem; margin-bottom: 0.75rem; }
.problem__close--last { font-weight: 700; margin-bottom: 0; }

/* routes */
.trip h3 { margin-bottom: 0.4rem; }
.trip p { margin-bottom: 0; }
.trip--primary { background: var(--white); border-radius: var(--radius); padding: 1.5rem; margin: 1.5rem 0; position: relative; }
.trip--primary h3 { font-size: clamp(1.6rem, 5vw, 2.2rem); }
.trip--primary p { font-size: 1.1rem; }
.trip__diagram { max-width: 260px; margin-bottom: 1rem; }
.trips-secondary { display: grid; gap: 1.25rem; margin-bottom: 1.75rem; }
.trips-secondary .trip { border-left: 3px solid var(--mint); padding-left: 1rem; }
.routes__note { max-width: 40rem; margin-bottom: 0; }

/* process: numbers sit on the child's rail */
.steps { list-style: none; counter-reset: step; margin: 1.5rem 0 0; padding: 0; display: grid; gap: 1.6rem; }
.steps li { counter-increment: step; position: relative; }
.steps li::before {
  content: counter(step);
  position: absolute;
  left: calc(-1 * var(--rail-pad) - 15px + 2.5px);
  top: -0.1rem;
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--navy); color: var(--cream);
  font-family: var(--head); font-weight: 900; font-size: 0.95rem;
  display: grid; place-items: center;
  box-shadow: 0 0 0 4px var(--cream);
}
.steps h3 { margin-bottom: 0.25rem; }
.steps p { margin: 0; max-width: 36rem; }

/* parent experience: copy, then the three app screens */
.experience__copy { max-width: 42rem; }
.experience__status { font-weight: 700; margin-bottom: 0; }
.preview { margin: 2rem 0 0; }
.preview__label {
  font-weight: 700; font-size: 0.9rem;
  border: 2px solid var(--apricot); background: var(--cream);
  border-radius: 999px; padding: 0.4rem 0.9rem; margin: 0 0 1.25rem; width: fit-content; max-width: 100%;
}
.screens {
  display: grid; grid-auto-flow: column; grid-auto-columns: min(74%, 260px); gap: 1rem;
  overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
  padding: 0.25rem 0.25rem 1rem; border-radius: 12px;
}
.screens img {
  width: 100%; scroll-snap-align: start;
  border: 8px solid var(--navy); border-radius: 34px; background: var(--cream);
}

/* FAQ */
.faq__top { display: grid; gap: 1.75rem; margin: 1.5rem 0 2rem; }
.qa { border-top: 3px solid var(--navy); padding-top: 1rem; }
.qa h3 { font-size: 1.2rem; }
.qa ul { margin: 0 0 1em; padding-left: 1.2rem; }
.qa p:last-child { margin-bottom: 0; }
.faq__more { border-top: 1px solid var(--line); }
.faq__more details { border-bottom: 1px solid var(--line); }
.faq__more summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.1rem 0.25rem; border-radius: 8px;
}
.faq__more summary::-webkit-details-marker { display: none; }
.faq__more summary h3 { margin: 0; font-size: 1.1rem; }
.faq__more summary::after {
  content: ""; flex: none; width: 30px; height: 30px; border-radius: 50%;
  background: var(--navy) center / 14px 14px no-repeat
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M7 1v12M1 7h12' stroke='%23FBF4E8' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E");
  transition: transform 0.2s ease;
}
.faq__more details[open] summary::after { transform: rotate(45deg); }
.details__body { padding: 0 0.25rem 1.1rem; max-width: 42rem; }
.details__body p:last-child { margin-bottom: 0; }

/* JS-drawn lines: two continuous paths that thread the stops, cross, and meet */
.lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; display: none; }
.lines-on .lines { display: block; }
.lines-on .rail { display: none; }
.lines-on .converge__l, .lines-on .converge__r { border-color: transparent; }
.rails, .converge { position: relative; z-index: 1; }
.lines__child { fill: none; stroke: var(--apricot); stroke-width: 6; stroke-linecap: round; stroke-linejoin: round; }
.lines__parent { fill: none; stroke: var(--navy); stroke-width: 4; stroke-dasharray: 10 9; stroke-linecap: butt; }

/* the lines meet at the handoff */
.converge { position: relative; display: flex; height: 88px; }
.converge__l { flex: 1; border-left: 6px solid var(--apricot); border-bottom: 6px solid var(--apricot); border-bottom-left-radius: 88px; }
.converge__r { flex: 1; border-right: 4px dashed var(--navy); border-bottom: 4px dashed var(--navy); border-bottom-right-radius: 88px; }
.converge__node {
  position: absolute; left: 50%; bottom: -26px; transform: translateX(-50%);
  width: 52px; height: 52px; border-radius: 50%; background: var(--white);
  border: 4px solid var(--navy); box-shadow: 0 0 0 4px var(--apricot), 0 0 0 9px var(--cream);
  display: grid; place-items: center;
}
.converge__node svg { width: 26px; height: 26px; }

/* 7. Closing */
.closing { background: var(--navy); color: var(--cream); margin-top: 3.5rem; padding: 3.5rem 0 4rem; }
.closing__grid { display: grid; gap: 2.5rem; }
.founder { border-left: 5px solid var(--apricot); padding-left: 1.1rem; max-width: 34rem; }
.founder__title { font-size: 1.45rem; }
.founder p { margin: 0; }
.final { display: grid; gap: 1.75rem; align-items: center; }
.kip { width: 100%; max-width: 200px; border-radius: 28px; background: var(--white); }
.final h2 { font-size: clamp(2rem, 6vw, 3rem); }
.final__copy > p:first-of-type { font-size: 1.15rem; }
.final__note { font-size: 0.9375rem; margin: 1rem 0 0; }

/* 8. Footer */
.site-footer { padding: 2.25rem 0 2.75rem; }
.footer__inner { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 1.25rem; }
.logo--footer { width: 132px; }
.tagline { font-weight: 700; margin: 0; }

/* Scroll drawing (only when JS is running and motion is welcome) */
.js .rail { transform: scaleY(var(--draw, 1)); }
.js .converge:not(.is-drawn) .converge__l,
.js .converge:not(.is-drawn) .converge__r,
.js .converge:not(.is-drawn) .converge__node { opacity: 0; }
.converge__l, .converge__r, .converge__node { transition: opacity 0.6s ease; }

@media (prefers-reduced-motion: reduce) {
  .js .rail { transform: none; }
  .js .converge:not(.is-drawn) .converge__l,
  .js .converge:not(.is-drawn) .converge__r,
  .js .converge:not(.is-drawn) .converge__node { opacity: 1; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .btn:hover { transform: none; }
}

/* Narrow phones: the two afternoons stack, each hugging its own line */
@media (max-width: 559px) {
  .afternoons { gap: 0.75rem; }
  .afternoon__label { font-size: 0.75rem; letter-spacing: 0.03em; }
  .stops li { font-size: 0.92rem; gap: 0.5rem; }
  .eyebrow { font-size: 0.875rem; }
  .stop-icon { width: 40px; height: 40px; }
}

/* Tablet */
@media (min-width: 720px) {
  :root { --gutter: 2rem; --rail-pad: 3.5rem; }
  .block::before { --dot: 22px; box-shadow: 0 0 0 4px var(--navy), 0 0 0 8px var(--cream); }
  body { font-size: 1.125rem; }
  .logo { width: 170px; }
  .hero { padding: 3rem 0 4rem; }
  .afternoons { gap: 2rem; }
  .trips-secondary { grid-template-columns: 1fr 1fr; }
  .faq__top { grid-template-columns: 1fr 1fr; gap: 2rem 2.5rem; }
  .final { grid-template-columns: 220px minmax(0, 1fr); gap: 2.5rem; }
  .kip { max-width: 220px; }
}

/* Desktop */
@media (min-width: 1040px) {
  :root { --rail-pad: 5.5rem; }
  .hero__grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 3rem; }
  .block { --block-pad: 4.5rem; }
  .journey .container { max-width: 980px; }
  .screens { grid-auto-flow: row; grid-template-columns: repeat(3, minmax(0, 1fr)); overflow: visible; gap: 2rem; padding: 0; }
  .trip--primary { display: grid; grid-template-columns: 260px minmax(0, 1fr); column-gap: 2rem; align-items: center; padding: 2rem; }
  .trip--primary .trip__diagram { grid-row: span 2; margin: 0; }
  .closing__grid { gap: 3rem; }
  .final { grid-template-columns: 280px minmax(0, 1fr); gap: 4rem; max-width: 980px; }
  .kip { max-width: 280px; }
  .final h2 { font-size: 3rem; }
  .converge { height: 120px; }
  .crossover { height: 170px; }
  .converge__l { border-bottom-left-radius: 120px; }
  .converge__r { border-bottom-right-radius: 120px; }
}

/* Mobile sticky survey button */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 20;
  padding: 0.75rem var(--gutter) calc(0.75rem + env(safe-area-inset-bottom));
  background: var(--cream); border-top: 1px solid var(--line);
  transform: translateY(110%); visibility: hidden;
  transition: transform 0.25s ease, visibility 0s linear 0.25s;
}
.sticky-cta.is-visible { transform: none; visibility: visible; transition: transform 0.25s ease, visibility 0s; }
.sticky-cta .btn { display: block; text-align: center; padding: 0.85rem 1rem; }
@media (min-width: 720px) { .sticky-cta { display: none; } }
@media (prefers-reduced-motion: reduce) { .sticky-cta, .sticky-cta.is-visible { transition: none; } }
