/* Antrepreneur parent site. One job: get the parent to start. Calm white and soft grey around one moving picture of the real app.
   Near-black is the primary action colour and is used for nothing but the sign-up buttons. */
[hidden] { display: none !important; }
html { scroll-behavior: smooth; overscroll-behavior-x: none; }
body { overflow-x: hidden; -webkit-tap-highlight-color: transparent; }
.skip { position: absolute; left: 8px; top: -60px; z-index: 100; background: #fff; color: var(--ink); padding: 12px 18px; border-radius: 8px; text-decoration: none; box-shadow: 0 0 0 2px var(--blue); }
.skip:focus { top: 8px; }
.wrap { width: min(1124px, 100% - 32px); margin: 0 auto; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.arrow { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- first screen ---------- */
.hero { position: relative; min-height: 100svh; overflow: hidden; background: #8CC2F0 url("assets/scenes/biz.jpg") center bottom / cover no-repeat; color: var(--ink); display: flex; flex-direction: column; }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(125, 184, 238, .55), rgba(125, 184, 238, 0) 38%); pointer-events: none; }
.herogrid { position: relative; z-index: 2; flex: 1; width: min(1180px, 100%); margin: 0 auto; padding: 10px 16px calc(14px + env(safe-area-inset-bottom)); display: flex; flex-direction: column; }
.bar { display: flex; align-items: center; justify-content: space-between; min-height: 44px; }
.bar .mark b { font-size: 21px; }
.barlink { font: 500 15px var(--sans); text-decoration: none; color: var(--ink); padding: 0 16px; border-radius: 8px; background: #fff; box-shadow: 0 0 0 1px rgba(14, 16, 19, .1); min-height: 44px; display: inline-flex; align-items: center; }
.herocopy { margin-top: 10px; }
.hero h1 { font-size: 31px; line-height: 1.08; letter-spacing: -.028em; max-width: 12em; }
@media (min-width: 400px) { .hero h1 { font-size: 33px; } }
.hero h1 span { display: inline-block; }
.sub { font-size: min(16px, 3.9vw); line-height: 1.35; margin: 8px 0 0; color: #12202F; font-weight: 500; }
.stage { position: relative; flex: 1; min-height: 300px; margin: 8px 0 10px; }
.phoneframe { position: absolute; top: 0; bottom: 0; right: 2%; aspect-ratio: 390 / 844; padding: 5px; border-radius: 30px; background: #26303C; box-shadow: 0 0 0 1px rgba(255, 255, 255, .25), 0 28px 44px -16px rgba(10, 30, 50, .75); z-index: 2; }
.screen { position: relative; width: 100%; height: 100%; border-radius: 25px; overflow: hidden; background: #F5F5F5; }
.screen video { display: block; width: 100%; height: 100%; object-fit: cover; }
.vplay { position: absolute; inset: 0; margin: auto; width: 64px; height: 64px; border-radius: 50%; border: 0; background: #fff; box-shadow: 0 10px 24px -8px rgba(14, 16, 19, .6); display: grid; place-items: center; cursor: pointer; }
.vplay svg { width: 28px; height: 28px; fill: var(--ink); margin-left: 3px; }
.crumbpeek { position: absolute; left: 0; bottom: 0; height: 60%; width: auto; max-height: 340px; z-index: 1; filter: drop-shadow(0 12px 8px rgba(40, 20, 0, .3)); }
.vcap { position: absolute; z-index: 3; right: calc(2% + 12px); bottom: -8px; margin: 0; max-width: 220px; padding: 7px 14px 8px; border-radius: 999px; background: #fff; color: var(--ink); font: 500 15px/1.2 var(--sans); box-shadow: 0 8px 18px -8px rgba(14, 16, 19, .55); transition: opacity .25s ease; text-align: center; }
.vcap.out { opacity: 0; }
.herosheet { padding: 12px; border-radius: 22px; background: #fff; box-shadow: 0 0 0 1px rgba(14, 16, 19, .08), 0 16px 34px -18px rgba(20, 30, 50, .5); }
.mini { display: grid; gap: 10px; }
.mini input[type="email"] { font: 400 16px var(--sans); color: var(--ink); background: #fff; border: 0; box-shadow: inset 0 0 0 1.5px var(--hair-2); border-radius: 8px; padding: 0 16px; min-height: 52px; width: 100%; }
.mini input[type="email"]::placeholder { color: var(--ink-3); }
.mini input:focus { outline: none; box-shadow: inset 0 0 0 2px var(--blue); }
input[aria-invalid="true"] { box-shadow: inset 0 0 0 2px var(--tang) !important; }
.agepick { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.agepick legend { float: left; width: 100%; padding: 0; margin: 0 0 6px; font-size: 14px; color: var(--ink-2); }
.agepick legend + label { clear: left; }
.agepick label { position: relative; }
.agepick input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.agepick span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; border-radius: 999px; box-shadow: inset 0 0 0 1.5px var(--hair-2); font-size: 15px; background: #fff; }
.agepick input:checked + span { background: var(--blue-soft); box-shadow: inset 0 0 0 2px var(--blue); color: #0B3FA8; }
.agepick input:focus-visible + span { outline: 3px solid var(--blue); outline-offset: 2px; }
.btn.block { justify-content: space-between; width: 100%; min-height: 54px; }
.btn .arrow { flex: none; }
.after { font-size: 15px; line-height: 1.35; color: var(--ink); margin: 0 2px; }
.msg { font-size: 14.5px; color: var(--ink-2); margin: 0 2px; }
.msg:empty { display: none; }
.msg.err { color: #A04600; font-weight: 500; }
.fallback { margin-top: 2px; }
.done-note { padding: 18px; background: var(--blue-soft); border-radius: 16px; display: grid; gap: 8px; }
.done-note h3 { font: 500 24px var(--sans); letter-spacing: -.02em; margin: 0; }
.done-note p { margin: 0; line-height: 1.4; }
.done-note .btn { margin-top: 4px; }

/* ---------- below the fold: three short blocks, a second sign-up, one FAQ ---------- */
.sec { padding: 24px 0; content-visibility: auto; contain-intrinsic-size: auto 600px; }
.sec.alt { background: var(--panel); }
.sec h2 { font-size: 28px; line-height: 1.1; letter-spacing: -.025em; margin: 0 0 8px; }
.lead { font-size: 18px; line-height: 1.4; color: var(--ink-2); margin: 0 0 14px; }
.sec p { margin: 0 0 12px; line-height: 1.5; }
.daystrip { list-style: none; margin: 14px -16px 0; padding: 0 16px 6px; display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scroll-padding-left: 16px; overscroll-behavior-x: contain; }
.daystrip li { flex: 0 0 min(56vw, 250px); scroll-snap-align: start; display: grid; gap: 6px; align-content: start; }
.daystrip .stepn { width: 28px; height: 28px; border-radius: 50%; background: var(--blue-soft); color: #0B3FA8; display: grid; place-items: center; font-weight: 600; font-size: 15px; }
.daystrip b { font: 500 18px/1.2 var(--sans); letter-spacing: -.015em; }
.daystrip img { width: 100%; height: auto; border-radius: 24px; box-shadow: 0 0 0 1px rgba(14, 16, 19, .1), 0 22px 40px -26px rgba(20, 30, 50, .5); }
.two { display: grid; gap: 18px; align-items: start; }
.callouts { list-style: none; counter-reset: c; margin: 0; padding: 0; display: grid; gap: 12px; }
.callouts li { counter-increment: c; position: relative; padding-left: 40px; font-size: 16.5px; line-height: 1.4; color: #2C3037; }
.callouts li::before { content: counter(c); position: absolute; left: 0; top: 0; width: 28px; height: 28px; border-radius: 50%; background: var(--blue); color: #fff; font-size: 15px; font-weight: 600; display: grid; place-items: center; }
.callouts b { font-weight: 600; color: var(--ink); }
.parentshot { margin: 0; justify-self: center; width: min(340px, 100%); }
.aiframe { position: relative; border-radius: 22px; overflow: hidden; box-shadow: 0 0 0 1px rgba(14, 16, 19, .1), 0 22px 40px -26px rgba(20, 30, 50, .5); background: #fff; }
.aiframe img { display: block; width: 100%; height: auto; }
.pin { position: absolute; width: 24px; height: 24px; border-radius: 50%; background: var(--blue); color: #fff; font: 600 13px var(--sans); display: grid; place-items: center; box-shadow: 0 0 0 2px #fff, 0 4px 10px -4px rgba(14, 16, 19, .5); transform: translate(-50%, -50%); }
.pin.p1 { left: 3.2%; top: 41%; }
.pin.p2 { left: 3.2%; top: 65.5%; }
.pin.p3 { left: 3.2%; top: 86%; }
.yearstrip { margin: 4px 0 8px; }
.ybar { display: flex; gap: 3px; height: 14px; }
.ybar i { background: var(--blue); border-radius: 4px; }
.ybar i:nth-child(even) { background: #6B9BFF; }
.yends { display: flex; justify-content: space-between; font-size: 13.5px; color: var(--ink-2); margin: 6px 2px 12px; }
.ymiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ymiles li { display: grid; gap: 0; padding: 8px 12px; border-radius: 12px; background: var(--panel); }
.ymiles b { color: var(--blue); font-weight: 600; font-size: 14.5px; }
.ymiles span { font-size: 15px; line-height: 1.25; }
details { margin: 4px 0 0; }
summary { cursor: pointer; min-height: 48px; display: flex; align-items: center; justify-content: space-between; gap: 8px; color: var(--ink); font-weight: 500; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::after { content: ""; flex: none; width: 9px; height: 9px; border-right: 2px solid var(--ink-2); border-bottom: 2px solid var(--ink-2); transform: rotate(45deg) translateY(-2px); transition: transform .2s ease; }
details[open] > summary::after { transform: rotate(-135deg); }
.yeardet summary { color: var(--blue); justify-content: flex-start; }
.yeardet summary::after { border-color: var(--blue); }
.yearmap { list-style: none; margin: 6px 0 0; padding: 0; display: grid; grid-template-columns: 1fr; gap: 6px; }
.yearmap li { display: grid; grid-template-columns: 32px 1fr; grid-template-rows: auto auto; column-gap: 10px; padding: 8px 12px; border-radius: 12px; background: var(--panel); line-height: 1.25; }
.yearmap b { grid-row: 1 / span 2; align-self: center; width: 30px; height: 30px; border-radius: 9px; background: #fff; display: grid; place-items: center; font-weight: 600; font-size: 14px; }
.yearmap span { font-size: 13px; color: var(--ink-2); }
.signup { display: grid; gap: 16px; align-items: center; }
.crumbjoin { display: none; }
.sheet { padding: 14px; border-radius: 22px; background: #fff; box-shadow: 0 0 0 1px rgba(14, 16, 19, .08), 0 16px 34px -20px rgba(20, 30, 50, .4); }
.faq details { border-bottom: 1.5px solid var(--hair); }
.faq details:last-of-type { border-bottom: 0; }
.faq .rules { margin: 2px 0 12px; padding-left: 20px; display: grid; gap: 8px; color: #2C3037; line-height: 1.45; }
.faq details > p { margin: 0 0 12px; color: #2C3037; }
.faq a { color: var(--blue); }
.foot { padding: 22px 0 calc(34px + env(safe-area-inset-bottom)); background: #fff; color: var(--ink-2); font-size: 15px; }
.foot p { margin: 0; }
.foot a { color: var(--blue); }

/* sticky sign-up bar: phone only, after the first screen, hidden while a field is focused */
.stickybar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .96); box-shadow: 0 -1px 0 rgba(14, 16, 19, .1), 0 -14px 24px -18px rgba(14, 16, 19, .4); transform: translateY(110%); transition: transform .25s ease; }
.stickybar.on { transform: none; }
@media (min-width: 860px) { .stickybar { display: none; } }
body.hasbar .foot { padding-bottom: calc(96px + env(safe-area-inset-bottom)); }

/* ---------- wide screens ---------- */
@media (min-width: 760px) { .wrap { width: min(1124px, 100% - 56px); } }
@media (min-width: 860px) {
  .hero { min-height: min(100svh, 820px); background-position: center top; }
  .herogrid { padding: 18px 28px 36px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 360px); grid-template-rows: auto auto auto 1fr; column-gap: 48px; align-content: start; }
  .bar { grid-column: 1 / -1; grid-row: 1; }
  .herocopy { grid-column: 1; grid-row: 2; margin-top: clamp(24px, 7vh, 80px); }
  .hero h1 { font-size: clamp(44px, 4.6vw, 64px); max-width: 11em; }
  .sub { font-size: 21px; margin-top: 14px; }
  .herosheet { grid-column: 1; grid-row: 3; max-width: 480px; margin-top: 26px; padding: 14px; }
  .stage { grid-column: 2; grid-row: 2 / span 3; margin: 6px 0 0; min-height: 560px; }
  .phoneframe { right: auto; left: 50%; transform: translateX(-50%); top: 0; bottom: 0; }
  .crumbpeek { left: -90px; height: 52%; }
  .vcap { right: auto; left: 50%; transform: translateX(-50%); top: auto; bottom: 14px; }
  .sec { padding: 72px 0; }
  .sec h2 { font-size: 44px; }
  .lead { font-size: 21px; }
  .daystrip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; overflow: visible; margin: 28px 0 0; padding: 0; }
  .daystrip li { flex: none; }
  .daystrip img { max-width: 340px; }
  .two { grid-template-columns: 1fr minmax(320px, 390px); gap: 64px; align-items: center; }
  .ymiles { grid-template-columns: repeat(4, 1fr); }
  .yearmap { grid-template-columns: repeat(3, 1fr); }
  .signup { grid-template-columns: 1fr minmax(340px, 460px); gap: 64px; }
  .crumbjoin { display: block; height: 250px; width: auto; margin-bottom: 8px; filter: drop-shadow(0 10px 8px rgba(40, 20, 0, .22)); }
  .faq .wrap { max-width: 780px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .vcap { transition: none; } .stickybar { transition: none; } }
/* the first screen never changes height: a message in the first sign-up floats above it instead of pushing the video */
.herosheet { position: relative; }
.herosheet .msg { position: absolute; left: 0; right: 0; bottom: calc(100% + 8px); padding: 9px 14px; border-radius: 14px; background: #fff; box-shadow: 0 10px 22px -10px rgba(14, 16, 19, .55); z-index: 4; }
.herosheet .fallback { margin-top: 0; }
