/* The homepage. */
.scene { position: relative; isolation: isolate; display: flex; flex-direction: column; min-height: calc(100svh - 77px); overflow: clip; }
.scene__ridge { position: absolute; inset: auto 0 0 0; z-index: -1; width: 100%; height: 100%; object-fit: cover; object-position: 70% 100%; }
.hero { flex: 1; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); column-gap: clamp(16px, 2vw, 32px); align-items: center; padding-block: clamp(24px, 4vh, 56px) clamp(12px, 2vh, 24px); }
.hero__kicker { display: flex; align-items: center; gap: 16px; margin-bottom: clamp(18px, 3vh, 30px); font-size: .8125rem; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; }
.hero__kicker::after { content: ""; width: clamp(40px, 6vw, 92px); height: 1px; background: var(--red); }
.hero h1 { font-size: clamp(2.75rem, 5vw, 4.75rem); line-height: .99; letter-spacing: -.045em; }
.hero h1 em { display: block; white-space: nowrap; }
.hero__lead { max-width: 37ch; margin-top: clamp(18px, 3vh, 30px); color: var(--ink-2); font-size: clamp(1.0625rem, 1.45vw, 1.3125rem); line-height: 1.42; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 30px; margin-top: clamp(22px, 3.6vh, 38px); }

/* The living hero: real product moments that build themselves above the three tiles */
.life { position: relative; display: grid; justify-items: center; min-width: 0; --step: 104px; --tile: 84px; }
.life__stage { position: relative; width: min(100%, 60vh, 580px); aspect-ratio: 1 / .86; container-type: inline-size; }
.demo { display: none; position: absolute; inset: 0; font-size: clamp(10.5px, 2.7cqw, 15.5px); }
.life:has(#seed-nettside:checked) .demo--nettside, .life:has(#seed-ai:checked) .demo--ai, .life:has(#seed-app:checked) .demo--app { display: block; }
.demo > .win, .demo > .phone { animation: lift .55s var(--ease) both; }
.demo .s { animation: rise .55s var(--ease) both; animation-delay: calc(var(--t) * 1s); }
@keyframes lift { from { opacity: 0; transform: translateY(14px) scale(.985); } to { opacity: 1; transform: none; } }
@keyframes rise { from { opacity: 0; transform: translateY(.7em); } to { opacity: 1; transform: none; } }

.win { position: absolute; inset: 0; display: flex; flex-direction: column; overflow: hidden; border: 1px solid rgba(11, 11, 13, .1); border-radius: 1.3em; background: var(--white); color: var(--ink); box-shadow: 0 2.4em 5em rgba(11, 11, 13, .2), 0 .3em 1em rgba(11, 11, 13, .08); }
.win__bar { display: flex; align-items: center; gap: .4em; flex: none; padding: .8em 1em; border-bottom: 1px solid var(--rule); }
.win__bar i { width: .55em; height: .55em; border-radius: 50%; background: var(--mist-2); }
.win__bar span { margin-left: .7em; padding: .15em .9em; border-radius: 99px; background: var(--mist); color: var(--ink-2); font-size: .8em; }

.site { position: relative; flex: 1; display: flex; flex-direction: column; min-height: 0; padding: 1.1em 1.5em 1.4em; }
.site__nav { display: flex; align-items: center; gap: 1.2em; font-size: .86em; color: var(--ink-2); }
.site__nav b { margin-right: auto; color: var(--ink); font-weight: 600; }
.site__hero { flex: 1; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 1.2em; align-items: center; min-height: 0; padding-block: 1em; }
.site__h { font-size: 2.15em; font-weight: 300; letter-spacing: -.035em; line-height: 1.04; }
.site__p { margin-top: .6em; color: var(--ink-2); font-size: .9em; line-height: 1.35; }
.site__btn { display: inline-block; margin-top: .85em; padding: .55em 1.1em; border-radius: 99px; background: var(--ink); color: var(--white); font-size: .9em; font-weight: 500; }
.site__img { width: 100%; height: 100%; max-height: 15em; min-height: 0; object-fit: cover; object-position: 75% 60%; border-radius: .8em; }
.demo .site__btn { animation-name: rise, press; animation-duration: .55s, .35s; animation-delay: calc(var(--t) * 1s), 2.85s; }
@keyframes press { to { background: var(--red); } }
.site__row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .6em; flex: none; }
.site__row span { padding: .6em .8em; border: 1px solid var(--rule); border-radius: .7em; font-size: .86em; }
.cursor { position: absolute; left: 12%; top: 57%; width: 1.25em; fill: var(--ink); stroke: var(--white); stroke-width: 1.2; opacity: 0; animation: cursor 1.2s var(--ease) 1.9s both; }
@keyframes cursor { 0% { opacity: 0; transform: translate(11em, 3.5em); } 25% { opacity: 1; } 80% { opacity: 1; transform: none; } 88% { opacity: 1; transform: scale(.82); } 100% { opacity: 1; transform: none; } }

.toast { position: absolute; right: -1.2em; bottom: 5.4em; z-index: 2; display: flex; align-items: center; gap: .7em; padding: .7em 1.1em .7em .8em; border-radius: 1em; background: var(--ink); color: var(--white); box-shadow: 0 1.2em 2.6em rgba(11, 11, 13, .35); }
.toast b { display: block; font-size: .95em; font-weight: 500; line-height: 1.25; }
.toast div span { display: block; color: var(--night-ink-2); font-size: .8em; line-height: 1.3; }
.tick { flex: none; width: 1.4em; height: 1.4em; padding: .22em; border-radius: 50%; background: var(--red); fill: none; stroke: var(--white); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.flow { justify-content: space-between; gap: .8em; padding: 1.4em; }
.mail { position: relative; overflow: hidden; padding: 1.05em 1.2em 1.2em; border-radius: .9em; background: var(--mist); }
.mail__from { color: var(--ink-2); font-size: .82em; }
.mail__text { margin-top: .3em; font-size: 1.5em; letter-spacing: -.012em; line-height: 1.25; }
.mail__scan { position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--red); box-shadow: 0 0 1em .2em rgba(227, 19, 27, .5); opacity: 0; animation: scan 1s ease-in-out .75s both; }
@keyframes scan { 0% { opacity: 0; transform: translateY(0); } 15%, 85% { opacity: 1; } 100% { opacity: 0; transform: translateY(5.4em); } }
.agent { display: flex; align-items: center; gap: .7em; font-size: 1.05em; font-weight: 500; }
.agent__icon { display: grid; place-items: center; flex: none; width: 2em; height: 2em; border-radius: .6em; background: var(--ink); }
.agent__icon svg { width: 1.25em; height: 1.25em; fill: none; stroke: var(--white); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.agent__icon .hot { fill: var(--red); stroke: none; }
.facts { display: grid; }
.facts div { display: flex; justify-content: space-between; gap: 1em; padding: .62em 0; border-bottom: 1px solid var(--rule); }
.facts dt { color: var(--ink-2); font-size: 1.02em; }
.facts dd { margin: 0; font-size: 1.08em; font-weight: 500; text-align: right; }
.done { display: flex; flex-wrap: wrap; gap: .5em 1.2em; }
.done > span { display: inline-flex; align-items: center; gap: .5em; font-size: 1.02em; font-weight: 500; }

.phone { position: absolute; left: 50%; top: 0; bottom: 0; width: 49%; margin-left: -24.5%; display: flex; flex-direction: column; padding: 1.5em 1.1em 1.2em; border: .42em solid var(--ink); border-radius: 2.2em; background: var(--white); color: var(--ink); box-shadow: 0 2.4em 5em rgba(11, 11, 13, .28); }
.phone__top b { display: block; font-size: 1.4em; font-weight: 400; letter-spacing: -.025em; line-height: 1.1; }
.bar-track { display: block; height: .32em; margin-top: .8em; overflow: hidden; border-radius: 99px; background: var(--mist-2); }
.bar-fill { display: block; height: 100%; background: var(--red); transform-origin: left; animation: fill 1.6s ease-in-out .9s both; }
@keyframes fill { from { transform: scaleX(0); } to { transform: none; } }
.bar-fill--half { width: 66%; animation: none; }
.tasks { display: grid; gap: .45em; margin-top: .9em; }
.tasks li { display: flex; align-items: center; gap: .6em; padding: .62em .7em; border-radius: .8em; background: var(--mist); font-size: .98em; line-height: 1.2; }
.box { display: grid; place-items: center; flex: none; width: 1.4em; height: 1.4em; border: 1px solid var(--ink-3); border-radius: 50%; }
.box .tick { width: 100%; height: 100%; opacity: 0; }
.demo .box .tick { animation: tick .3s var(--ease) both; animation-delay: calc(var(--t) * 1s); }
@keyframes tick { from { opacity: 0; transform: scale(.4); } to { opacity: 1; transform: none; } }
.box--on { border-color: transparent; }
.box--on .tick { opacity: 1; }
.phone__photo { flex: 1; width: 100%; min-height: 0; margin-block: .7em; object-fit: cover; object-position: 75% 60%; border-radius: .8em; }
.phone__btn { flex: none; margin-top: auto; padding: .75em; border-radius: 99px; background: var(--ink); color: var(--white); font-size: .92em; font-weight: 500; text-align: center; }
.toast--app { right: 1.2em; bottom: 16%; }

.seeds { position: relative; display: flex; gap: calc(var(--step) - var(--tile)); margin-top: 38px; --seed: -1; }
.seeds input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.seeds label { display: grid; place-items: center; width: var(--tile); height: var(--tile); border: 1px solid var(--glass-edge); border-radius: 20px; background: var(--glass); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: 0 10px 28px rgba(11, 11, 13, .08); cursor: pointer; transition: box-shadow .35s ease, border-color .35s ease, transform .18s ease; }
.seeds label:hover { transform: translateY(-2px); }
.seeds svg { width: 46%; height: 46%; fill: none; stroke: var(--ink); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.seeds .fill { fill: var(--ink); stroke: none; }
.seeds .hot { fill: var(--ink); stroke: none; transition: fill .35s ease; }
.seeds input:checked + label { border-color: rgba(227, 19, 27, .55); box-shadow: 0 0 0 1px rgba(227, 19, 27, .25), 0 10px 44px rgba(227, 19, 27, .38); }
.seeds input:checked + label .hot { fill: var(--red); }
.seeds input:focus-visible + label { outline: 2px solid var(--red); outline-offset: 3px; }
.life__beam { position: absolute; left: calc(50% - 1px); bottom: 100%; z-index: 1; width: 2px; height: 38px; background: linear-gradient(to top, var(--red), rgba(227, 19, 27, .25)); transform: translateX(calc(var(--seed) * var(--step))); pointer-events: none; transition: transform .7s var(--ease); }
.life__beam::after { content: ""; position: absolute; left: 50%; bottom: -6px; width: 70px; height: 14px; border-radius: 50%; background: radial-gradient(closest-side, rgba(227, 19, 27, .8), rgba(227, 19, 27, 0)); transform: translateX(-50%); }
.life__says { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 0 14px; min-height: 2.75rem; margin-top: 14px; padding: 6px 18px; border: 1px solid var(--glass-edge); border-radius: 22px; background: rgba(238, 238, 239, .82); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); font-size: .9375rem; text-align: center; color: var(--ink); }
.life__pause { min-height: 32px; padding: 0 2px; border: 0; background: none; color: var(--ink-2); font-size: .8125rem; text-decoration: underline; text-underline-offset: .25em; cursor: pointer; }
.life__pause:hover { color: var(--red); }
html:not(.js) .life__says { display: none; }
.seeds:has(#seed-ai:checked) { --seed: 0; }
.seeds:has(#seed-app:checked) { --seed: 1; }
@media (prefers-reduced-motion: reduce) { .demo > .win, .demo > .phone, .demo .s, .cursor, .mail__scan, .bar-fill, .demo .box .tick { animation: none; } .cursor, .mail__scan { display: none; } .demo .box .tick { opacity: 1; } .life__pause { display: none; } .life__beam { transition: none; } }

.proof { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 64px; padding-block: 12px; }
.proof__cue { display: inline-flex; align-items: center; gap: 12px; color: var(--ink-2); font-size: .875rem; white-space: nowrap; }
.proof__cue svg { width: 18px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.25; }
.proof__facts { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 2px clamp(16px, 2vw, 30px); padding: 8px 20px; border-radius: 22px; background: rgba(11, 11, 13, .62); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); color: var(--night-ink); font-size: .9375rem; font-weight: 500; }

/* What we build */
.made { padding-block: clamp(72px, 10vw, 136px); background: var(--mist); }
.made h2 { font-size: clamp(2.5rem, 5vw, 4.75rem); margin-bottom: clamp(32px, 4vw, 56px); }
.made__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 1.6vw, 24px); }
.card { position: relative; display: flex; flex-direction: column; min-height: 100%; padding: clamp(20px, 2vw, 30px); border: 1px solid var(--glass-edge); border-radius: 26px; background: linear-gradient(170deg, var(--white), var(--mist-2)); box-shadow: 0 18px 50px rgba(11, 11, 13, .06); transition: transform .35s var(--ease), box-shadow .35s ease; }
.card:hover { transform: translateY(-4px); box-shadow: 0 26px 60px rgba(11, 11, 13, .11); }
.card__demo { position: relative; height: clamp(190px, 17vw, 240px); margin: 0 0 20px; overflow: hidden; border-radius: 16px; background: var(--mist-2); font-size: 12px; }
.win--frag { inset: 16px -40px -40px 16px; box-shadow: 0 10px 30px rgba(11, 11, 13, .12); }
.win--frag.flow { inset: 16px 16px -40px; justify-content: flex-start; gap: 10px; padding: 16px 20px; }
.win--frag .site__nav span { display: none; }
.win--frag .site__h { font-size: 1.75em; }
.phone--frag { top: 16px; bottom: -60px; width: 58%; margin-left: -29%; padding-top: 1.3em; box-shadow: 0 10px 30px rgba(11, 11, 13, .16); }
.card h3 { font-size: clamp(1.75rem, 2.5vw, 2.375rem); margin-bottom: 10px; }
.card h3 a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.card p { color: var(--ink-2); max-width: 34ch; }
.card__more { display: inline-flex; align-items: center; gap: 10px; margin-top: auto; padding-top: 22px; font-size: .9375rem; font-weight: 500; }
.card__more svg { width: 18px; height: 18px; fill: none; stroke: var(--red); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; transition: transform .25s var(--ease); }
.card:hover .card__more svg { transform: translateX(4px); }
.made__combine { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 32px; margin-top: clamp(24px, 3vw, 40px); padding-block: 22px; border-block: 1px solid var(--rule); }
.made__combine strong { display: block; font-size: clamp(1.25rem, 1.8vw, 1.625rem); font-weight: 400; letter-spacing: -.02em; }
.made__combine span { color: var(--ink-2); }

/* How we build it */
.how { position: relative; padding-block: clamp(72px, 10vw, 136px); background: var(--night); color: var(--night-ink); overflow: clip; }
.how h2 { font-size: clamp(2.5rem, 5vw, 4.75rem); }
.how__sub { max-width: 44ch; margin-top: 16px; color: var(--night-ink-2); font-size: clamp(1.0625rem, 1.45vw, 1.25rem); }
.how__steps { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); margin-top: clamp(48px, 6vw, 84px); padding-top: 36px; }
.how__steps::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: linear-gradient(to right, var(--red), var(--night-rule) 72%); }
.how__steps li { position: relative; }
.how__steps li::before { content: ""; position: absolute; left: 0; top: -40px; width: 9px; height: 9px; border-radius: 50%; background: var(--red); box-shadow: 0 0 22px 5px rgba(227, 19, 27, .55); }
.how__when { color: var(--night-ink-2); font-size: .9375rem; }
.how h3 { margin-block: 8px 12px; font-size: clamp(1.875rem, 3vw, 2.875rem); }
.how__steps p:last-child { max-width: 32ch; color: var(--night-ink-2); }
.how .ring-link { margin-top: clamp(36px, 5vw, 60px); }

/* Contact */
.talk { position: relative; isolation: isolate; padding-block: clamp(72px, 10vw, 128px); overflow: clip; }
.talk__ridge { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; object-fit: cover; object-position: 70% 100%; }
.talk__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.talk h2 { font-size: clamp(2.5rem, 4.6vw, 4.25rem); }
.talk__sub { max-width: 38ch; margin-top: 18px; color: var(--ink-2); font-size: clamp(1.0625rem, 1.45vw, 1.25rem); }
.talk__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: 28px; }
.talk__mail { font-weight: 500; text-decoration: underline; text-decoration-color: var(--red); text-underline-offset: .25em; }
.talk__trust { display: grid; gap: 8px; margin-top: 32px; }
.talk__trust li { display: flex; align-items: center; gap: 12px; }
.talk__trust li::before { content: ""; width: 18px; height: 1px; background: var(--red); }
.form { display: grid; gap: 20px; padding: clamp(20px, 2.6vw, 36px); border: 1px solid var(--glass-edge); border-radius: 26px; background: rgba(250, 250, 250, .72); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); box-shadow: 0 24px 60px rgba(11, 11, 13, .1); }
.form h3 { font-size: clamp(1.5rem, 2.2vw, 2rem); }
.form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.field { display: grid; gap: 6px; min-width: 0; }
.field label, .form__label { font-size: .9375rem; font-weight: 500; }
.field input, .field textarea { width: 100%; min-height: 50px; padding: 12px 16px; border: 1px solid var(--rule); border-radius: 14px; background: var(--white); resize: vertical; transition: border-color .15s ease; }
.field input:hover, .field textarea:hover { border-color: var(--ink-3); }
.field input:focus-visible, .field textarea:focus-visible { border-color: var(--red); outline: 1px solid var(--red); outline-offset: 0; }
.field ::placeholder { color: var(--ink-3); }
.field [aria-invalid] { border-color: var(--red-deep); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.chip { min-height: 42px; padding: 0 16px; border: 1px solid var(--rule); border-radius: 999px; background: var(--white); font-size: .9375rem; cursor: pointer; transition: background-color .15s ease, color .15s ease, border-color .15s ease; }
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--white); }
.trap { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form__end { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.form__help { flex: 1 1 15rem; min-height: 1.5em; font-size: .9375rem; font-weight: 500; }
.form__help a { text-decoration: underline; }
.form__help.is-bad { color: var(--red-deep); }

@media (max-width: 62rem) {
  .scene { min-height: 0; }
  .hero { grid-template-columns: minmax(0, 1fr); row-gap: 8px; }
  .hero h1 { font-size: clamp(2.75rem, 11.4vw, 5.25rem); max-width: 13ch; }
  .hero h1 em { white-space: normal; }
  .life { --step: 92px; --tile: 76px; margin-top: 20px; }
  .life__stage { width: min(100%, 520px); }
  .toast { right: -.4em; }
  .toast--app { right: .4em; }
  .proof { flex-direction: column; align-items: flex-start; padding-block: 18px 22px; }
  .proof__cue { display: none; }
  .proof__facts { justify-content: flex-start; }
  .made__grid, .how__steps { grid-template-columns: minmax(0, 1fr); }
  .how__steps { padding-top: 0; padding-left: 26px; gap: 36px; }
  .how__steps::before { left: 4px; right: auto; top: 6px; bottom: 6px; width: 1px; height: auto; background: linear-gradient(to bottom, var(--red), var(--night-rule) 72%); }
  .how__steps li::before { left: -26px; top: 6px; }
  .talk__grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 40rem) {
  .hero__kicker { letter-spacing: .14em; font-size: .75rem; }
  .form__row { grid-template-columns: minmax(0, 1fr); }
  .btn { padding: 0 24px; }
}
