/* =====================================================================
   GotLazyAI homepage (index.html). The old portfolio homepage keeps
   style.css / script.js at /portfolio.

   The idea: every tool a shop runs is a cord. They start tangled and the
   systems comb them into one flat ribbon. Lime is the ground the brand
   stands on, ink is the type, and the six cord colours are the only
   other colours on the page.
   ===================================================================== */
/* Self-hosted fonts: the Latin subset of the Google Fonts variable files (OFL). */
@font-face { font-family: "Gabarito"; font-style: normal; font-weight: 400 900; font-display: swap; src: url(/assets/fonts/gabarito-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Geist"; font-style: normal; font-weight: 100 900; font-display: swap; src: url(/assets/fonts/geist-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Geist Mono"; font-style: normal; font-weight: 100 900; font-display: swap; src: url(/assets/fonts/geist-mono-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --lime: #C6F432;
  --lime-soft: #E6F8A8;
  --lime-deep: #4F7A0A;      /* lime readable as text on light */
  --ink: #12162B;
  --ink-2: #1B2140;
  --ink-3: #2A3158;
  --paper: #F7F8F1;
  --white: #FFFFFF;
  --line: #DDE1CF;
  --text: #12162B;
  --muted: #565B6E;
  --on-ink: #ECEEF6;
  --on-ink-muted: #A9AEC6;
  --on-lime: #12162B;
  --on-lime-muted: #38421C;
  --violet: #5B4BD6;
  --lilac: #A598FF;
  --coral: #FF5A3C;
  --forest: #0B6B4F;
  --bad-text: #C62F34;
  --warn-text: #985A00;
  --radius: 20px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --display: "Gabarito", "Geist", ui-sans-serif, system-ui, sans-serif;
  --font: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scrollbar-color: var(--ink) var(--paper); }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { max-width: 100%; height: auto; display: block; }
[hidden] { display: none !important; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; font-family: var(--display); line-height: 1.04; letter-spacing: -0.02em; font-weight: 800; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
:focus-visible { outline: 3px solid var(--violet); outline-offset: 3px; border-radius: 8px; }
::selection { background: var(--ink); color: var(--lime); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.wrap { width: min(1200px, 100% - 2 * clamp(16px, 4vw, 40px)); margin-inline: auto; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--ink); color: var(--lime); padding: 8px 14px; border-radius: 8px; font-weight: 600; }
.skip:focus { left: 8px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 12px 22px; border-radius: 999px; border: 1.5px solid transparent;
  font: 600 15.5px/1.2 var(--font); text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .35s var(--ease), background-color .2s ease, border-color .2s ease, color .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--lg { padding: 16px 28px; font-size: 16.5px; }
.btn--sm { padding: 9px 17px; font-size: 14.5px; }
.btn--ink { background: var(--ink); color: #fff; }
.btn--ink:hover { background: var(--ink-3); }
.btn--lime { background: var(--lime); color: var(--ink); }
.btn--lime:hover { background: #D6FA60; }
.btn--line { border-color: var(--ink); color: var(--ink); }
.btn--line:hover { background: var(--ink); color: #fff; }
.btn--ghost { border-color: rgba(255, 255, 255, .28); color: #fff; }
.btn--ghost:hover { border-color: #fff; }

/* A text link with a drawn arrow that leans forward on hover. */
.more { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15.5px; color: var(--violet); text-decoration: none; }
.more::after {
  content: ""; width: 18px; height: 12px; background: currentColor; transition: transform .35s var(--ease);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 12'%3E%3Cpath d='M1 6h15M11 1l5 5-5 5' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 12'%3E%3Cpath d='M1 6h15M11 1l5 5-5 5' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;
}
.more:hover { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 2px; }
.more:hover::after { transform: translateX(4px); }

/* ---------- nav ---------- */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; transition: background-color .3s ease, box-shadow .3s ease; }
.nav.is-stuck { background: rgba(247, 248, 241, .88); -webkit-backdrop-filter: blur(14px) saturate(150%); backdrop-filter: blur(14px) saturate(150%); box-shadow: 0 1px 0 var(--line); }
.nav__inner { display: flex; align-items: center; gap: 28px; height: 72px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font: 800 21px/1 var(--display); letter-spacing: -0.02em; }
.logo__mark { width: 34px; height: 34px; border-radius: 11px; display: grid; place-items: center; background: var(--ink); color: var(--lime); }
.logo__word b { font-weight: 800; color: var(--violet); }
.logo--lime { color: #fff; }
.logo--lime .logo__mark { background: var(--lime); color: var(--ink); }
.logo--lime .logo__word b { color: var(--lime); }
.nav__links { display: flex; align-items: center; gap: 28px; margin-left: auto; }
.nav__links a { color: var(--ink); text-decoration: none; font-size: 15.5px; font-weight: 500; background: linear-gradient(currentColor, currentColor) 0 100% / 0 2px no-repeat; padding: 4px 0; transition: background-size .35s var(--ease); }
.nav__links a:hover { background-size: 100% 2px; }
.nav__links .nav__login { padding: 8px 16px; border-radius: 999px; border: 1.5px solid var(--ink); background: none; transition: background-color .2s ease, color .2s ease; }
.nav__links .nav__login:hover { background: var(--ink); color: #fff; }
.nav__cta-mobile { display: none !important; }
.nav__toggle { display: none; }

@media (max-width: 900px) {
  .nav__cta { display: none; }
  .nav__inner { height: 64px; }
  .nav__toggle {
    display: grid; place-content: center; gap: 6px; margin-left: auto;
    width: 44px; height: 44px; border-radius: 14px; border: 1.5px solid var(--ink); background: none; cursor: pointer;
  }
  .nav__toggle span { display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .3s var(--ease); }
  .nav__toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
  .nav__toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .nav__links {
    position: absolute; top: 64px; left: 0; right: 0; margin: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper); padding: 4px clamp(16px, 4vw, 40px) 22px; border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 40px -24px rgba(18, 22, 43, .35);
    display: none;
  }
  .nav__links.is-open { display: flex; }
  .nav__links a { padding: 15px 0; font: 700 22px/1.1 var(--display); border-bottom: 1px solid var(--line); background: none; }
  .nav__links .nav__login { border: 0; border-bottom: 1px solid var(--line); border-radius: 0; padding: 15px 0; }
  .nav__links .nav__login:hover { background: none; color: var(--ink); }
  .nav__links .nav__cta-mobile { display: inline-flex !important; margin-top: 18px; border: 0; background: var(--ink); color: #fff; font: 600 16.5px/1.2 var(--font); padding: 16px 28px; }
  .nav.menu-open { background: var(--paper); }
}

/* ---------- hero ---------- */
.hero { position: relative; background: var(--lime); color: var(--on-lime); }
.hero__pin { position: relative; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; overflow: hidden; }
/* Live: the hero is tall and its contents stay pinned while the cords untangle. */
.hero--live { height: 260vh; }
.hero--live .hero__pin { position: sticky; top: 0; height: 100vh; height: 100svh; min-height: 0; }
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: none; pointer-events: none; opacity: 0; transition: opacity .9s ease; }
.hero--ready .hero__canvas { opacity: 1; }
.hero--cords .hero__canvas { display: block; }

.hero__inner { position: relative; z-index: 2; flex: 1; display: flex; align-items: center; padding: 92px 0 64px; pointer-events: none; }
.hero__inner a { pointer-events: auto; }
/* Only the headline and the badge wait for the intro; the paragraph and buttons paint at once,
   so the page's largest text isn't held back by the scripts (mobile LCP). */
.will-animate .hero h1, .will-animate .hero .live { visibility: hidden; }
/* The plug tags sit in a plain row until home.js moves them beside the cords; keep them out of
   sight until then, or that move counts as a layout shift (CLS). */
.will-animate .plugs { visibility: hidden; }
.hero__copy { max-width: min(660px, 57%); }
.live {
  display: inline-flex; align-items: center; gap: 10px; padding: 7px 15px 7px 12px; border-radius: 999px;
  background: #fff; color: var(--ink); font-size: 14.5px; font-weight: 600; text-decoration: none;
  box-shadow: 0 8px 18px -10px rgba(35, 51, 10, .6); transition: transform .35s var(--ease);
}
.live:hover { transform: translateY(-2px); }
.live__dot { width: 9px; height: 9px; border-radius: 50%; background: var(--coral); box-shadow: 0 0 0 0 rgba(255, 90, 60, .5); animation: ping 2.2s ease-out infinite; }
@keyframes ping { 70%, 100% { box-shadow: 0 0 0 9px rgba(255, 90, 60, 0); } }
.hero h1 { margin: 28px 0 22px; font-size: clamp(40px, min(5.5vw, 9.2vh), 86px); font-weight: 800; letter-spacing: -0.03em; line-height: .98; }
.hero h1 .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .12em; margin-bottom: -.12em; }
.hero h1 .w > span { display: inline-block; }
.rest { position: relative; display: inline-block; white-space: nowrap; }
.rest__line { position: absolute; left: -1%; width: 102%; bottom: -.1em; height: .2em; overflow: visible; }
.rest__line path { fill: none; stroke: #fff; stroke-width: .09em; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.hero__lead { font-size: clamp(16.5px, 1.35vw, 19px); color: var(--on-lime-muted); max-width: 33em; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero__ticks { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 24px 0 0; padding: 0; list-style: none; font-size: 14.5px; font-weight: 500; color: var(--on-lime-muted); }
.hero__ticks li { display: flex; align-items: center; gap: 8px; }
.hero__ticks li::before {
  content: ""; width: 15px; height: 15px; flex: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M4 10.5l4 4 8-8.5' fill='none' stroke='%2312162B' stroke-width='2.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;
}

/* The plugs. Plain row without the cords; one tag per cord end with them. */
.plugs { position: relative; z-index: 2; width: min(1200px, 100% - 2 * clamp(16px, 4vw, 40px)); margin: 0 auto; padding: 22px 0 30px; border-top: 1.5px solid rgba(18, 22, 43, .16); display: flex; align-items: center; gap: 14px 28px; flex-wrap: wrap; }
.plugs__label { font-size: 14px; font-weight: 500; color: var(--on-lime-muted); }
.plugs__list { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.plug {
  display: flex; align-items: center; gap: 9px; height: 36px; padding: 0 14px 0 10px; border-radius: 11px;
  background: #fff; color: var(--ink); font-size: 14.5px; font-weight: 600; white-space: nowrap;
  box-shadow: 0 10px 18px -10px rgba(35, 51, 10, .7);
}
.plug::before { content: ""; flex: none; width: 14px; height: 14px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1.5px rgba(18, 22, 43, .22); }
.hero--cords .plugs { position: absolute; inset: 0; width: auto; margin: 0; padding: 0; border: 0; display: block; pointer-events: none; }
.hero--cords .plugs__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.hero--cords .plugs__list { display: block; }
.hero--cords .plug { position: absolute; left: 0; top: 0; width: var(--tag-w, 156px); transform: translate(var(--x, 0), var(--y, 0)); }

.hero__state, .hero__hint { display: none; }
.hero--live .hero__state {
  display: grid; position: absolute; z-index: 2; right: max(clamp(16px, 4vw, 40px), (100% - 1200px) / 2); bottom: 28px;
  font-size: 14.5px; font-weight: 600; text-align: right; justify-items: end;
}
.hero__state span { grid-area: 1 / 1; padding: 5px 12px; border-radius: 999px; background: var(--lime); transition: opacity .5s ease, transform .6s var(--ease); }
.hero__state-b { opacity: 0; transform: translateY(8px); }
.hero.is-tidy .hero__state-a { opacity: 0; transform: translateY(-8px); }
.hero.is-tidy .hero__state-b { opacity: 1; transform: none; }
.hero--live .hero__hint {
  display: flex; align-items: center; gap: 8px; position: absolute; z-index: 2; left: max(clamp(16px, 4vw, 40px), (100% - 1200px) / 2); bottom: 28px;
  font-size: 14.5px; font-weight: 600; transition: opacity .4s ease;
}
.hero__hint svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; animation: nod 1.8s var(--ease) infinite; }
@keyframes nod { 50% { transform: translateY(4px); } }
.hero.is-moving .hero__hint { opacity: 0; }

/* ---------- sections ---------- */
.section { padding: clamp(80px, 10vw, 136px) 0; }
.head { max-width: 800px; margin: 0 0 clamp(40px, 5vw, 64px); }
h2 { font-size: clamp(34px, 4.6vw, 62px); letter-spacing: -0.03em; }
.head p, .lead { margin-top: 20px; color: var(--muted); font-size: clamp(17px, 1.4vw, 19.5px); max-width: 36em; }
.kind { display: inline-block; margin-bottom: 18px; padding: 6px 13px; border-radius: 999px; font-size: 13.5px; font-weight: 600; border: 1.5px solid currentColor; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.actions--center { justify-content: center; }
.note { margin-top: 14px; font-size: 13.5px; color: var(--on-ink-muted); }

/* ---------- solutions: the chores, crossed out ---------- */
.chores { list-style: none; margin: 0; padding: 0; border-top: 1.5px solid var(--ink); }
.chore { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 16px 64px; align-items: center; padding: clamp(26px, 3.2vw, 44px) 0; border-bottom: 1px solid var(--line); }
.chore__was { font: 700 clamp(23px, 3.3vw, 44px)/1.08 var(--display); letter-spacing: -0.025em; color: #7C8194; transition: color .6s ease; }
.chores--anim .chore:not(.is-done) .chore__was { color: var(--ink); }
.chore__text { position: relative; display: inline-block; }
.strike { position: absolute; left: -3%; top: 50%; width: 106%; height: .5em; transform: translateY(-40%); overflow: visible; pointer-events: none; }
.strike path { fill: none; stroke: var(--c); stroke-width: .15em; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.chore__now h3 { font: 600 clamp(19px, 1.7vw, 23px)/1.25 var(--font); letter-spacing: -0.015em; }
.chore__now p { margin-top: 8px; color: var(--muted); max-width: 34em; }
.chore__now .more { margin-top: 14px; }

/* ---------- Gob ---------- */
.gob { background: var(--ink); color: var(--on-ink); }
.gob h2 { color: #fff; }
.gob .kind { color: var(--lime); }
.gob .lead { color: var(--on-ink-muted); max-width: 40em; }

.sync { display: grid; grid-template-columns: auto minmax(40px, 1fr) auto minmax(40px, 1fr) auto; align-items: center; margin: clamp(40px, 5vw, 64px) 0; }
.sync__node { display: grid; gap: 2px; padding: 15px 20px 15px 18px; border-radius: 18px; background: var(--ink-2); border: 1.5px solid rgba(255, 255, 255, .12); position: relative; z-index: 1; }
.sync__node b { display: flex; align-items: center; gap: 10px; font: 700 19px/1.2 var(--display); color: #fff; white-space: nowrap; }
.sync__node b::before { content: ""; width: 12px; height: 12px; border-radius: 50%; background: var(--c); }
.sync__node span { font-size: 13.5px; color: var(--on-ink-muted); padding-left: 22px; }
.sync__cord { position: relative; height: 10px; margin: 0 -2px; background: var(--c); overflow: hidden; }
.sync__cord i { position: absolute; inset: 0 -44px 0 -44px; background: repeating-linear-gradient(90deg, transparent 0 30px, rgba(255, 255, 255, .7) 30px 44px); animation: march 1.1s linear infinite; }
@keyframes march { to { transform: translateX(44px); } }

.gob__grid { display: grid; grid-template-columns: 1fr 1.08fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; max-width: 60ch; }
.checks li { position: relative; padding-left: 36px; color: var(--on-ink-muted); font-size: 16px; }
.checks li b { color: #fff; font-weight: 600; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: 2px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--lime) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-6.5' fill='none' stroke='%2312162B' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat;
}

.win { border-radius: var(--radius); overflow: hidden; background: #F6F7F2; color: var(--text); box-shadow: 0 50px 90px -40px rgba(0, 0, 0, .8), 0 0 0 1px rgba(255, 255, 255, .08); }
.win__bar, .browser__bar { display: flex; align-items: center; gap: 7px; padding: 13px 16px; background: #E9EAE3; border-bottom: 1px solid #DCDDD4; }
.win__bar span, .browser__bar span { width: 11px; height: 11px; border-radius: 50%; background: #CFD0C7; }
.win__bar em, .browser__bar em { margin-left: 10px; font: 500 12.5px/1 var(--mono); font-style: normal; color: #5E6257; }
.win__body { padding: 18px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.chips b { font-weight: 500; font-size: 13px; padding: 6px 12px; border-radius: 999px; background: #fff; border: 1px solid #DCDDD4; }
.chips b.on { background: #1D4D3F; color: #fff; border-color: #1D4D3F; }
.chips b.bad { color: var(--bad-text); border-color: rgba(229, 72, 77, .35); }
.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.tile { display: flex; flex-direction: column; gap: 3px; padding: 14px; border-radius: 12px; background: #fff; border: 1px solid #E1E2D9; }
.tile--bad { border-color: rgba(229, 72, 77, .5); box-shadow: inset 0 0 0 1px rgba(229, 72, 77, .2); }
.tile__n { font-weight: 600; font-size: 14.5px; }
.tile__s { font: 400 12px/1.4 var(--mono); color: #5E6257; }
.tile__s--bad { color: var(--bad-text); font-weight: 500; }
.tile__q { font-weight: 600; font-size: 13.5px; color: #1D7A4A; margin-top: 4px; font-variant-numeric: tabular-nums; }
.tile__q--low { color: var(--warn-text); }
.runlog { margin-top: 14px; padding: 11px 14px; border-radius: 10px; background: #fff; border: 1px dashed #D3D4CA; font-size: 13px; color: #4C5045; }
.runlog__ok { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #34C759; margin-right: 8px; }

.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0 32px; margin: clamp(56px, 7vw, 88px) 0 0; }
.facts > div { padding-top: 22px; border-top: 1.5px solid rgba(255, 255, 255, .2); }
.facts dt { font: 800 clamp(38px, 4.4vw, 60px)/1 var(--display); letter-spacing: -0.03em; color: var(--lime); }
.facts dd { margin: 10px 0 0; color: var(--on-ink-muted); font-size: 15px; max-width: 18em; }

/* ---------- Gym ---------- */
.gym { background: #fff; }
.gym .kind { color: var(--violet); }
.gym__head { max-width: 800px; margin-bottom: clamp(36px, 4.5vw, 56px); }
.shots { perspective: 1800px; }
.shots__tabs { display: inline-flex; gap: 4px; padding: 5px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); margin-bottom: 20px; }
.shots__tabs button { font: 600 14.5px/1 var(--font); padding: 11px 19px; border-radius: 999px; border: 0; background: transparent; color: var(--muted); cursor: pointer; transition: color .2s ease, background-color .2s ease; }
.shots__tabs button:hover { color: var(--text); }
.shots__tabs button[aria-selected="true"] { background: var(--ink); color: #fff; }
.browser { border-radius: var(--radius); overflow: hidden; background: #fff; border: 1px solid var(--line); box-shadow: 0 60px 100px -50px rgba(18, 22, 43, .5); transform-origin: 50% 100%; }
.browser__view { position: relative; aspect-ratio: 16 / 10; background: #F0F0EB; }
.browser__view img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top left; animation: fadein .45s ease; }
@keyframes fadein { from { opacity: 0; } }
.shots__cap { margin-top: 14px; font-size: 14px; color: var(--muted); }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 44px 48px; margin-top: clamp(48px, 6vw, 80px); }
.feat { position: relative; padding-top: 24px; border-top: 1px solid var(--line); }
.feat::before { content: ""; position: absolute; left: 0; top: -3.5px; width: 44px; height: 6px; border-radius: 3px; background: var(--c); }
.feat h3 { font: 600 19.5px/1.25 var(--font); letter-spacing: -0.015em; margin-bottom: 8px; }
.feat p { color: var(--muted); font-size: 16px; }
.gym .actions { margin-top: clamp(40px, 5vw, 64px); }

/* ---------- how it works: one cord, four knots ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; position: relative; --p: 1; }
.steps::before, .steps::after { content: ""; position: absolute; left: 0; right: 0; top: 10px; height: 6px; border-radius: 3px; background: var(--line); }
.steps::after { background: var(--violet); transform-origin: 0 50%; transform: scaleX(var(--p)); }
.step { position: relative; padding-top: 56px; }
.step__knot { position: absolute; z-index: 1; left: 0; top: 0; width: 26px; height: 26px; border-radius: 50%; background: var(--lime); border: 6px solid var(--violet); transition: background-color .4s ease, border-color .4s ease, transform .6s var(--ease); }
.steps--anim .step:not(.is-on) .step__knot { background: var(--paper); border-color: var(--line); transform: scale(.8); }
.step h3 { font: 700 clamp(22px, 2vw, 27px)/1.15 var(--display); margin-bottom: 10px; }
.step p { color: var(--muted); font-size: 16px; }

/* ---------- founder ---------- */
.founder-sec { background: #fff; }
.founder { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.founder__quote { margin: 0; position: relative; padding-top: 30px; }
.founder__quote::before { content: ""; position: absolute; left: 0; top: 0; width: 56px; height: 6px; border-radius: 3px; background: var(--coral); }
.founder__quote p { font: 700 clamp(27px, 3.5vw, 48px)/1.1 var(--display); letter-spacing: -0.025em; }
.founder__who { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.founder__mark { flex: none; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--lime); color: var(--ink); font: 800 19px/1 var(--display); }
.founder__body h2 { font-size: clamp(22px, 2vw, 26px); letter-spacing: -0.015em; }
.founder__body p { color: var(--muted); max-width: 34em; }
.founder__links { display: flex; flex-wrap: wrap; gap: 12px 28px; margin-top: 24px; }

/* ---------- faq ---------- */
.faq { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.faq__head p { margin-top: 18px; color: var(--muted); font-size: 18px; }
.faq__list { border-top: 1.5px solid var(--ink); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary { list-style: none; cursor: pointer; padding: 24px 56px 24px 0; position: relative; font: 600 clamp(18px, 1.5vw, 20.5px)/1.3 var(--font); letter-spacing: -0.01em; transition: color .2s ease; }
.faq__item summary:hover { color: var(--violet); }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::before, .faq__item summary::after {
  content: ""; position: absolute; right: 6px; top: 50%; width: 18px; height: 2.5px; border-radius: 2px; background: currentColor;
  transition: transform .45s var(--ease);
}
.faq__item summary::after { transform: rotate(90deg); }
.faq__item[open] summary::after { transform: rotate(0deg); }
.faq__item p { padding: 0 56px 26px 0; color: var(--muted); font-size: 16.5px; max-width: 40em; }

/* ---------- cta ---------- */
.cta { background: var(--lime); color: var(--on-lime); padding: clamp(80px, 10vw, 136px) 0 clamp(88px, 11vw, 148px); text-align: center; overflow: hidden; }
.cta__inner { max-width: 900px; }
.face { width: min(250px, 52vw); height: auto; margin: 0 auto 26px; display: block; overflow: visible; }
.face path { fill: none; stroke: var(--ink); stroke-width: 20; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 0; }
.face__zz text { font: 800 34px/1 var(--display); fill: var(--ink); animation: zz 3.6s ease-in-out infinite; }
.face__zz text:nth-child(2) { font-size: 26px; animation-delay: .5s; }
.face__zz text:nth-child(3) { font-size: 19px; animation-delay: 1s; }
@keyframes zz { 0%, 100% { opacity: .25; transform: translateY(4px); } 50% { opacity: 1; transform: translateY(-3px); } }
.cta h2 { font-size: clamp(38px, 6vw, 84px); letter-spacing: -0.035em; line-height: .98; }
.cta p { margin: 22px auto 0; font-size: clamp(17px, 1.5vw, 20px); color: var(--on-lime-muted); max-width: 30em; }

/* ---------- footer ---------- */
.footer { background: var(--ink); color: var(--on-ink); padding: 72px 0 30px; }
.footer__grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 32px; }
.footer__tag { margin-top: 16px; color: var(--on-ink-muted); font-size: 15px; max-width: 26em; }
.footer__col { display: flex; flex-direction: column; align-items: flex-start; gap: 11px; }
.footer__col h4 { font: 600 14px/1.2 var(--font); letter-spacing: 0; color: var(--on-ink-muted); margin-bottom: 4px; }
.footer__col a { text-decoration: none; font-size: 15.5px; color: #fff; background: linear-gradient(var(--lime), var(--lime)) 0 100% / 0 2px no-repeat; transition: background-size .35s var(--ease); }
.footer__col a:hover { background-size: 100% 2px; }
.footer__ribbon { margin-top: 64px; display: grid; }
.footer__ribbon i { height: 5px; }
.footer__ribbon i:nth-child(1) { background: var(--coral); }
.footer__ribbon i:nth-child(2) { background: var(--violet); }
.footer__ribbon i:nth-child(3) { background: #13936D; }
.footer__ribbon i:nth-child(4) { background: #fff; }
.footer__ribbon i:nth-child(5) { background: var(--lime); }
.footer__ribbon i:nth-child(6) { background: var(--lilac); }
.footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; margin-top: 26px; font-size: 14px; color: var(--on-ink-muted); }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .steps { grid-template-columns: repeat(2, 1fr); gap: 44px 40px; }
  .steps::before, .steps::after { display: none; }
  .steps--anim .step:not(.is-on) .step__knot { background: var(--lime); border-color: var(--violet); transform: none; }
  .facts { grid-template-columns: 1fr 1fr; gap: 36px 32px; }
}
@media (max-width: 900px) {
  .hero__inner { align-items: flex-start; padding: 84px 0 24px; flex: none; }
  .hero__copy { max-width: none; }
  .hero h1 { font-size: clamp(36px, min(10.6vw, 7vh), 60px); margin: 26px 0 14px; }
  .hero__lead { font-size: 16px; line-height: 1.5; }
  .hero__actions { margin-top: 20px; gap: 10px; }
  .hero__actions .btn { padding: 13px 20px; font-size: 15.5px; }
  .hero--cords .hero__ticks { display: none; }
  .hero--live .hero__hint { display: none; }
  .hero--live .hero__state { bottom: 18px; font-size: 13.5px; }
  .plug { height: 30px; font-size: 12.5px; padding: 0 10px 0 8px; gap: 7px; border-radius: 9px; }
  .plug::before { width: 11px; height: 11px; }
  .chore { grid-template-columns: 1fr; }
  .sync { grid-template-columns: 1fr; justify-items: start; }
  .sync__node { width: 100%; }
  .sync__cord { width: 10px; height: 40px; margin: -2px 0 -2px 24px; }
  .sync__cord i { inset: -44px 0; background: repeating-linear-gradient(180deg, transparent 0 30px, rgba(255, 255, 255, .7) 30px 44px); animation-name: march-y; }
  .gob__grid, .faq, .founder { grid-template-columns: 1fr; }
  .features { grid-template-columns: 1fr 1fr; gap: 36px 32px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@keyframes march-y { to { transform: translateY(44px); } }
@media (max-width: 600px) {
  body { font-size: 16px; }
  .actions .btn { flex: 1 1 100%; }
  .features, .steps { grid-template-columns: 1fr; }
  .steps { gap: 36px; }
  .step { padding: 0 0 0 46px; }
  .steps::before { display: block; left: 10px; right: auto; top: 14px; bottom: 70px; width: 6px; height: auto; background: var(--violet); }
  .tiles { grid-template-columns: 1fr; }
  .tile:nth-child(n+3) { display: none; }
  .shots__tabs { display: flex; }
  .shots__tabs button { flex: 1; padding: 11px 8px; }
  .browser__view { aspect-ratio: 4 / 3; }
  .faq__item summary { padding-right: 40px; }
  .faq__item p { padding-right: 0; }
  .footer__grid { grid-template-columns: 1fr; }
}
/* Short screens (a phone on its side): no pinned hero, the cords just sit tidy. */
@media (max-height: 540px) {
  .hero--live { height: auto; }
  .hero--live .hero__pin { position: relative; height: auto; min-height: 100svh; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
