/* Astfast apps site. Bone paper, ink lines, lime and mint taken from the apps. */
:root {
  --bone: #f3f1e8;
  --bone-2: #eae7da;
  --white: #ffffff;
  --ink: #12150f;
  --ink-2: #3e4237;
  --muted: #5e6256;
  --line: #dad6c6;
  --lime: #d8f26a;
  --lime-soft: #e7f7a8;
  --mint: #cdebd6;
  --forest: #1e4b38;
  --warn: #ffe9a8;
  --bad: #f9d6cf;
  --sans: "Onest", system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
  --wrap: 1200px;
  --r: 28px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bone); color: var(--ink); font: 400 17px/1.6 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--forest); outline-offset: 3px; border-radius: 8px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 99; }
.skip:focus { left: 8px; }
.wrap { width: min(var(--wrap), 100% - 48px); margin-inline: auto; }

h1, h2, h3 { font-family: var(--sans); font-weight: 700; line-height: 1.02; letter-spacing: -.04em; margin: 0 0 .45em; }
h1 { font-size: clamp(2.7rem, 7vw, 5.25rem); letter-spacing: -.045em; line-height: .98; }
h2 { font-size: clamp(2.1rem, 4.6vw, 3.75rem); }
h3 { font-size: 1.45rem; letter-spacing: -.03em; line-height: 1.1; }
.serif { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -.01em; font-size: 1.17em; line-height: .9; }
h1 .serif { color: var(--forest); }
p { margin: 0 0 1em; }
.lead { font-size: clamp(1.1rem, 1.7vw, 1.3rem); color: var(--ink-2); max-width: 31em; }
.kicker { font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--forest); margin: 0 0 14px; }
.tag { display: inline-flex; align-items: center; gap: 10px; background: var(--lime); padding: 7px 14px; border-radius: 99px; font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 22px; }
.tag::before { content: ""; width: 8px; height: 8px; border-radius: 99px; background: var(--ink); }

/* header: floating pill */
.site-header { position: sticky; top: 0; z-index: 40; padding: 16px 0 0; }
.bar { display: flex; align-items: center; gap: 6px; background: rgba(255,255,255,.92); backdrop-filter: blur(10px); border: 1px solid var(--line); border-radius: 99px; padding: 8px 8px 8px 18px; box-shadow: 0 10px 30px -18px rgba(18,21,15,.4); max-width: 1120px; position: relative; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; letter-spacing: -.02em; margin-right: auto; }
.brand img { width: 28px; height: 28px; border-radius: 8px; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { text-decoration: none; padding: 9px 14px; border-radius: 99px; font-weight: 500; font-size: .95rem; }
.nav a:hover, .nav a[aria-current="page"] { background: var(--bone-2); }
.nav a.cta-link { background: var(--ink); color: #fff; font-weight: 600; padding: 11px 20px; margin-left: 4px; }
.nav a.cta-link:hover { background: var(--forest); }
.menu-btn { display: none; background: var(--bone-2); border: 0; border-radius: 99px; padding: 10px 16px; font: 600 .9rem var(--sans); cursor: pointer; color: var(--ink); }

.btn { display: inline-flex; align-items: center; gap: 10px; background: var(--ink); color: #fff; text-decoration: none; font-weight: 600; padding: 16px 26px; border-radius: 99px; border: 1.5px solid var(--ink); cursor: pointer; font-size: 1rem; transition: transform .15s, background .15s; }
.btn:hover { background: var(--forest); border-color: var(--forest); transform: translateY(-2px); }
.btn.ghost { background: transparent; color: var(--ink); }
.btn.ghost:hover { background: var(--ink); color: #fff; }
.btn.lime { background: var(--lime); color: var(--ink); }
.btn.lime:hover { background: #fff; border-color: var(--ink); }
.btn svg { width: 18px; height: 18px; }
.btn.small { padding: 10px 18px; font-size: .92rem; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.fine { font-size: .92rem; color: var(--muted); margin-top: 24px; }

/* phone */
.phone { background: var(--ink); border-radius: 38px; padding: 8px; box-shadow: 0 30px 50px -28px rgba(18,21,15,.6); }
.phone img { display: block; width: 100%; height: auto; border-radius: 31px; background: var(--bone-2); }
.phone.crop { border-radius: 32px 32px 0 0; padding: 7px 7px 0; box-shadow: none; }
.phone.crop img { border-radius: 25px 25px 0 0; }

/* hero */
.hero { padding: clamp(40px, 7vw, 76px) 0 40px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; }
.hero .lead { margin: 22px 0 32px; }
.stage { position: relative; height: 660px; max-width: 560px; width: 100%; margin-inline: auto; }
.stage .ph-g { position: absolute; right: 0; top: 0; width: 250px; rotate: 5deg; }
.stage .ph-a { position: absolute; left: 44px; top: 56px; width: 290px; rotate: -4deg; }
.pass { position: absolute; left: -6px; bottom: 30px; width: 300px; background: var(--lime); border: 1.5px solid var(--ink); border-radius: 22px; padding: 18px 20px; rotate: -3deg; box-shadow: 0 22px 40px -22px rgba(18,21,15,.55); z-index: 3; }
.pass .top { display: flex; justify-content: space-between; font-size: .7rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.pass .big { display: flex; align-items: baseline; gap: 14px; margin-top: 6px; }
.pass .big b { font-size: 3.2rem; font-weight: 800; letter-spacing: -.04em; line-height: 1; }
.pass .big span { font-size: 2.2rem; font-weight: 600; font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.pass .cut { border-top: 2px dashed var(--ink); margin: 14px -20px 12px; position: relative; }
.pass .cut::before, .pass .cut::after { content: ""; position: absolute; top: -11px; width: 20px; height: 20px; border-radius: 99px; background: var(--bone); border: 1.5px solid var(--ink); }
.pass .cut::before { left: -11px; } .pass .cut::after { right: -11px; }
.pass .foot2 { display: flex; justify-content: space-between; font-size: .82rem; font-weight: 600; }

/* ticker */
.ticker { background: var(--lime); border-block: 1.5px solid var(--ink); margin-top: 30px; padding: 16px 0; overflow: hidden; }
.ticker .track { display: flex; width: max-content; animation: slide 38s linear infinite; }
.ticker ul { display: flex; gap: 40px; list-style: none; margin: 0; padding: 0 20px; white-space: nowrap; font-weight: 700; font-size: 1.25rem; letter-spacing: -.01em; }
.ticker li::after { content: "●"; margin-left: 40px; font-size: .7em; vertical-align: .1em; }
@keyframes slide { to { transform: translateX(-50%); } }

section { padding: clamp(60px, 9vw, 110px) 0 0; }
.sec-head { max-width: 760px; margin-bottom: 44px; }

/* two apps */
.apps2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.acard { border: 1.5px solid var(--ink); border-radius: 32px; padding: 40px 40px 0; display: flex; flex-direction: column; overflow: hidden; min-height: 760px; }
.acard.abhivo { background: var(--lime-soft); }
.acard.guruvo { background: var(--mint); }
.acard .head { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; }
.acard .head img { width: 60px; height: 60px; border-radius: 16px; }
.acard h3 { font-size: 2.5rem; margin: 0; }
.acard .for { font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.acard p.d { font-size: 1.15rem; max-width: 26em; margin: 0 0 18px; }
.acard ul { list-style: none; margin: 0 0 26px; padding: 0; display: grid; gap: 8px; font-weight: 500; }
.acard li::before { content: "→ "; font-weight: 700; }
.acard .btn { align-self: flex-start; margin-bottom: 30px; }
.fan { display: flex; gap: 16px; margin-top: auto; justify-content: center; align-items: flex-start; height: 330px; overflow: hidden; }
.fan .phone { width: 158px; margin-top: 40px; flex: 0 0 auto; }
.fan .phone.mid { width: 186px; margin-top: 0; }

/* bento */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.tile { background: var(--white); border: 1.5px solid var(--ink); border-radius: var(--r); padding: 30px; display: flex; flex-direction: column; gap: 12px; overflow: hidden; min-height: 400px; }
.tile.w2 { grid-column: span 2; }
.tile.lime { background: var(--lime); } .tile.mint { background: var(--mint); }
.tile .k { font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--forest); }
.tile.lime .k, .tile.mint .k { color: var(--ink); }
.tile h3 { font-size: 1.95rem; margin: 0; }
.tile p { margin: 0; color: var(--ink-2); }
.tile .split2 { display: flex; flex-wrap: wrap; gap: 24px; flex: 1; }
.tile .split2 > div:first-child { flex: 1 1 240px; }
.tile .peek { margin-top: auto; }
.tile.w2 .peek { margin: auto auto -70px; width: 230px; flex: 0 0 auto; align-self: flex-end; height: 340px; overflow: hidden; }
.tile .peek.short { height: 190px; overflow: hidden; }
.rows { display: grid; gap: 10px; margin-top: auto; }
.rows div { background: #fff; border-radius: 14px; padding: 12px 14px; display: flex; justify-content: space-between; align-items: center; font-weight: 600; }
.pill { border-radius: 99px; padding: 3px 12px; font-size: .8rem; font-weight: 700; white-space: nowrap; }
.pill.warn { background: var(--warn); } .pill.ok { background: var(--mint); } .pill.bad { background: var(--bad); } .pill.in { background: var(--lime); }
.chips { margin-top: auto; display: flex; gap: 8px; flex-wrap: wrap; }
.chips span { background: #fff; border-radius: 99px; padding: 6px 14px; font-weight: 600; font-size: .88rem; }
.tile.fee { grid-column: span 3; min-height: 0; flex-direction: row; flex-wrap: wrap; align-items: center; }
.tile.fee .t { flex: 1 1 280px; }
.due { background: var(--ink); color: #fff; border-radius: 22px; padding: 20px 26px; min-width: 220px; }
.due small { font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; opacity: .8; display: block; }
.due b { display: block; font-size: 2.8rem; line-height: 1.1; letter-spacing: -.03em; }
.due .pill { display: inline-block; margin-top: 6px; background: var(--lime); color: var(--ink); }

/* numbered passes */
.passes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.pcard { background: var(--white); border: 1.5px solid var(--ink); border-radius: 26px; padding: 28px; }
.pcard.last { background: var(--lime); }
.pcard .n { font-size: 4rem; font-weight: 800; letter-spacing: -.05em; line-height: 1; color: var(--forest); }
.pcard.last .n { color: var(--ink); }
.pcard h3 { margin: 14px 0 8px; font-size: 1.5rem; }
.pcard p { margin: 0; color: var(--ink-2); }

/* schools */
.schools { background: var(--forest); color: #fff; border-radius: 36px; padding: clamp(30px, 5vw, 56px); display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; }
.schools .kicker { color: var(--lime); }
.schools h2 { font-size: clamp(2rem, 3.6vw, 3rem); }
.schools p { color: #ddebe2; font-size: 1.1rem; }
.flow { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.flow li { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.28); border-radius: 20px; padding: 18px 22px; }
.flow b { display: block; font-size: 1.15rem; }
.flow span { color: #ddebe2; }
.flow li.two { display: flex; gap: 10px; flex-wrap: wrap; background: none; border: 0; padding: 0; }
.flow li.two span { flex: 1 1 140px; border-radius: 20px; padding: 16px 20px; font-weight: 700; color: var(--ink); }
.flow li.two .a { background: var(--lime); } .flow li.two .g { background: var(--mint); }

/* faq */
.faq { max-width: 860px; }
details { border-top: 1.5px solid var(--ink); }
details:last-of-type { border-bottom: 1.5px solid var(--ink); }
summary { cursor: pointer; list-style: none; padding: 20px 44px 20px 0; font-weight: 700; font-size: 1.2rem; letter-spacing: -.01em; position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-size: 1.8rem; font-weight: 500; transition: transform .2s; }
details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
details p { color: var(--ink-2); padding-right: 40px; margin: 0 0 20px; }

/* cta */
.cta { background: var(--lime); border: 1.5px solid var(--ink); border-radius: 36px; padding: clamp(30px, 5vw, 56px); display: flex; flex-wrap: wrap; gap: 30px; align-items: center; justify-content: space-between; }
.cta h2 { font-size: clamp(2rem, 3.8vw, 3.2rem); margin-bottom: 10px; }
.cta p { margin: 0; font-size: 1.1rem; }

/* app page */
.app-hero { padding: clamp(40px, 6vw, 70px) 0 20px; }
.app-hero .ico { width: 84px; height: 84px; border-radius: 22px; margin-bottom: 22px; }
.rail { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 16px 24px 30px; margin: 0 -24px; scrollbar-width: thin; }
.rail figure { margin: 0; flex: 0 0 240px; scroll-snap-align: start; }
.rail figcaption { margin-top: 12px; font-size: .92rem; color: var(--muted); font-weight: 500; }
.rail figcaption b { display: block; color: var(--ink); font-size: 1rem; }
.feat { display: grid; grid-template-columns: 1fr 1fr; gap: 0 56px; }
.feat article { padding: 24px 0; border-top: 1.5px solid var(--ink); display: grid; grid-template-columns: 48px 1fr; gap: 16px; }
.feat .n { width: 48px; height: 48px; border-radius: 14px; background: var(--lime); display: grid; place-items: center; font-weight: 800; }
.guruvo-page .feat .n { background: var(--mint); }
.feat h3 { margin-bottom: .25em; font-size: 1.25rem; letter-spacing: -.02em; }
.feat p { margin: 0; color: var(--ink-2); font-size: .98rem; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 6vw, 80px); align-items: center; }
.note { background: var(--white); border: 1.5px solid var(--ink); border-radius: 18px; padding: 16px 20px; margin: 1.4em 0; }
.note p:last-child { margin-bottom: 0; }

/* tables */
.facts { width: 100%; border-collapse: collapse; background: var(--white); border: 1.5px solid var(--ink); border-radius: 18px; overflow: hidden; font-size: .97rem; }
.facts th, .facts td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
.facts tr:last-child th, .facts tr:last-child td { border-bottom: 0; }
.facts th { width: 34%; background: var(--bone-2); font-weight: 600; }
.facts thead th { width: auto; }
.facts thead th:last-child, .facts td:last-child { min-width: 150px; }
.table-scroll { overflow-x: auto; }

/* legal pages */
.page-head { padding: clamp(40px, 6vw, 80px) 0 20px; }
.crumbs { font-size: .9rem; color: var(--muted); margin-bottom: 18px; }
.crumbs a { text-decoration: none; } .crumbs a:hover { text-decoration: underline; }
.crumbs span { margin: 0 6px; }
.doc { display: grid; grid-template-columns: 230px minmax(0, 720px); gap: clamp(24px, 6vw, 80px); padding-bottom: 90px; align-items: start; }
.toc { position: sticky; top: 96px; font-size: .92rem; }
.toc b { display: block; font: 700 .75rem var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.toc a { display: block; padding: 5px 0 5px 12px; text-decoration: none; color: var(--ink-2); border-left: 2px solid var(--line); }
.toc a:hover { color: var(--ink); border-color: var(--forest); }
.prose h2 { font-size: 1.6rem; margin-top: 2.2em; scroll-margin-top: 90px; letter-spacing: -.025em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.1rem; margin-top: 1.6em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: .4em; }
.prose a { color: var(--forest); text-underline-offset: 3px; font-weight: 500; }
.meta { color: var(--muted); font-size: .95rem; }
.steps-list { list-style: none; padding: 0; counter-reset: n; display: grid; gap: 14px; }
.steps-list li { counter-increment: n; display: grid; grid-template-columns: 38px 1fr; gap: 14px; background: var(--white); border: 1.5px solid var(--ink); padding: 14px 16px; border-radius: 16px; margin: 0; }
.steps-list li::before { content: counter(n); width: 34px; height: 34px; border-radius: 99px; background: var(--lime); color: var(--ink); display: grid; place-items: center; font-weight: 800; }
.contact-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin: 28px 0; }
.contact-grid > div { background: var(--white); border: 1.5px solid var(--ink); border-radius: 22px; padding: 22px 24px; }
.contact-grid > div:first-child { background: var(--lime); }
.contact-grid h3 { font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: .6em; }
.contact-grid p { margin: 0; }
.contact-grid .big { font-weight: 700; font-size: 1.3rem; letter-spacing: -.02em; word-break: break-word; }
.team { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 16px 0 32px; }
.team > div { background: var(--white); border: 1.5px solid var(--ink); border-radius: 20px; padding: 18px 20px; display: grid; gap: 2px; }
.team b { font-size: 1.1rem; letter-spacing: -.02em; }
.team span { color: var(--muted); font-size: .92rem; }
.hub { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 80px; }
.hub a { border: 1.5px solid var(--ink); border-radius: 28px; padding: 30px; text-decoration: none; display: grid; gap: 8px; }
.hub a.abhivo { background: var(--lime-soft); } .hub a.guruvo { background: var(--mint); }
.hub img { width: 56px; height: 56px; border-radius: 14px; }
.hub h3 { margin: 6px 0 0; font-size: 2rem; }
.hub p { margin: 0; } .hub b { font-weight: 700; }

/* footer */
.site-footer { border-top: 1px solid var(--line); padding: 56px 0 28px; margin-top: 100px; font-size: .96rem; }
.foot { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 34px; }
.foot h4 { margin: 0 0 12px; font: 700 .76rem var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.foot a { text-decoration: none; color: var(--ink-2); }
.foot a:hover { color: var(--ink); text-decoration: underline; }
.foot address { font-style: normal; color: var(--ink-2); }
.legal { border-top: 1px solid var(--line); margin-top: 38px; padding-top: 22px; color: var(--muted); font-size: .88rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }

.js .reveal { opacity: 0; transform: translateY(18px); }
.js .reveal.in { opacity: 1; transform: none; }


@media (max-width: 960px) {
  .hero-grid, .split, .apps2, .schools, .doc, .feat, .hub { grid-template-columns: 1fr; }
  .toc { display: none; }
  .bento { grid-template-columns: 1fr 1fr; }
  .tile.fee { grid-column: span 2; }
  .passes { grid-template-columns: 1fr; }
  .foot { grid-template-columns: 1fr 1fr; }
  .stage { height: 600px; }
  .acard { min-height: 0; }
  .menu-btn { display: block; }
  .nav { display: none; position: absolute; top: calc(100% + 8px); left: 0; right: 0; background: #fff; border: 1px solid var(--line); border-radius: 24px; flex-direction: column; align-items: stretch; padding: 10px; box-shadow: 0 20px 40px -20px rgba(18,21,15,.4); }
  .nav.open { display: flex; }
  .nav a { padding: 13px 16px; }
  .nav a.cta-link { margin: 6px 0 0; text-align: center; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .bento { grid-template-columns: 1fr; }
  .tile.w2, .tile.fee { grid-column: auto; }
  .tile.w2 .peek { margin: 10px auto -70px; }
  .contact-grid, .team { grid-template-columns: 1fr; }
  .foot { grid-template-columns: 1fr; }
  .acard { padding: 28px 22px 0; }
  .fan .phone { width: 38%; } .fan .phone.mid { width: 42%; }
  .stage { height: 540px; }
  .stage .ph-g { width: 190px; } .stage .ph-a { width: 230px; left: 10px; }
  .pass { width: 250px; left: 0; }
  .pass .big b { font-size: 2.6rem; } .pass .big span { font-size: 1.8rem; }
  .facts th { width: auto; display: block; border-bottom: 0; padding-bottom: 2px; }
  .facts td { display: block; padding-top: 2px; }
  .schools { padding: 28px 22px; }
}

/* query form */
.qform { background: var(--white); border: 1.5px solid var(--ink); border-radius: var(--r); padding: clamp(22px, 4vw, 36px); display: grid; gap: 18px; margin: 20px 0 10px; }
.qform .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.qform label { display: grid; gap: 6px; font-weight: 600; font-size: .95rem; }
.qform input, .qform select, .qform textarea { font: 400 1rem var(--sans); color: var(--ink); background: var(--bone); border: 1.5px solid var(--line); border-radius: 14px; padding: 13px 14px; width: 100%; min-height: 48px; }
.qform textarea { resize: vertical; }
.qform input:focus, .qform select:focus, .qform textarea:focus { outline: 3px solid var(--lime); border-color: var(--ink); }
.qform [aria-invalid="true"] { border-color: #b3261e; background: #fdf1ef; }
.qform .hint { margin: 0; font-size: .88rem; color: var(--muted); }
.form-msg { margin: 0; font-weight: 600; min-height: 1.4em; }
.form-msg.err { color: #b3261e; }
@media (max-width: 600px) { .qform .row2 { grid-template-columns: 1fr; } }

/* ---------- motion (transform/opacity only, no layout shift) ---------- */
.progress { position: fixed; top: 0; left: 0; width: 100%; height: 3px; background: var(--forest); transform-origin: 0 50%; transform: scaleX(0); z-index: 60; pointer-events: none; }

/* hero entrance: transform only, text stays fully visible for first paint */
@keyframes rise { from { transform: translateY(26px); } to { transform: none; } }
@keyframes pop { from { scale: .9; } to { scale: 1; } }
@keyframes bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -12px; } }
.hero .tag, .hero h1, .hero .lead, .hero .cta-row, .hero .fine,
.app-hero .tag, .app-hero .ico, .app-hero h1, .app-hero .lead, .app-hero .cta-row, .app-hero .fine { animation: rise .8s cubic-bezier(.2,.7,.2,1) both; }
.hero h1, .app-hero h1 { animation-delay: .08s; }
.hero .lead, .app-hero .lead { animation-delay: .16s; }
.hero .cta-row, .app-hero .cta-row { animation-delay: .24s; }
.hero .fine, .app-hero .fine { animation-delay: .3s; }
.stage .phone, .stage .pass { animation: pop .9s cubic-bezier(.2,.8,.2,1) both, bob 7s ease-in-out 1s infinite; }
.stage .ph-a { animation-delay: .1s, 1s; animation-duration: .9s, 6s; }
.stage .pass { animation-delay: .35s, 1.4s; animation-duration: .9s, 5s; animation-direction: normal, reverse; }

/* hoverables */
.acard, .tile, .pcard, .hub a, .contact-grid > div, .team > div, .qform { transition: translate .25s cubic-bezier(.2,.7,.2,1), box-shadow .25s ease, opacity .6s ease, transform .6s ease; }
.fan .phone, .tile .peek, .rail .phone { transition: translate .35s cubic-bezier(.2,.7,.2,1); }
.pass { transition: rotate .35s cubic-bezier(.2,.7,.2,1), scale .35s cubic-bezier(.2,.7,.2,1); }
.nav a, .toc a, .foot a { transition: background-color .2s, color .2s, border-color .2s; }
.btn { transition: transform .15s, background-color .15s, border-color .15s, color .15s, box-shadow .15s; }
.btn:active { transform: translateY(1px); box-shadow: none; }
.btn span[aria-hidden="true"] { display: inline-block; transition: translate .2s ease; }
summary { transition: translate .2s ease; }
.ticker:hover .track { animation-play-state: paused; }
.pill, .chips span { transition: scale .2s ease; }
.prose a, .crumbs a { transition: color .15s; }

@media (hover: hover) and (pointer: fine) {
  .acard:hover, .tile:hover, .pcard:hover, .hub a:hover, .contact-grid > div:hover, .team > div:hover { translate: 0 -6px; box-shadow: 7px 7px 0 var(--ink); }
  .acard:hover .fan .phone { translate: 0 -14px; }
  .acard:hover .fan .phone.mid { translate: 0 -8px; }
  .tile:hover .peek { translate: 0 -10px; }
  .rail figure:hover .phone { translate: 0 -8px; }
  .pass:hover { rotate: 0deg; scale: 1.05; }
  .btn:hover span[aria-hidden="true"] { translate: 5px 0; }
  summary:hover { translate: 6px 0; }
  .rows div:hover .pill, .chips span:hover { scale: 1.08; }
  .btn:hover { box-shadow: 4px 4px 0 var(--lime); }
  .btn.lime:hover { box-shadow: 4px 4px 0 var(--ink); }
  .btn.ghost:hover { box-shadow: 4px 4px 0 var(--lime); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
  .acard:hover, .tile:hover, .pcard:hover, .hub a:hover, .contact-grid > div:hover, .team > div:hover,
  .acard:hover .fan .phone, .tile:hover .peek, .rail figure:hover .phone, .pass:hover, summary:hover { translate: none; scale: none; }
  .progress { display: none; }
}

/* ---------- phones and tablets ---------- */
.foot a { display: inline-block; padding: 4px 0; }
.nav a, .summary, summary { -webkit-tap-highlight-color: transparent; }
@media (min-width: 700px) and (max-width: 960px) {
  .passes { grid-template-columns: repeat(3, 1fr); }
  .hero-grid { gap: 10px; }
  .stage { margin-top: 10px; }
  .acard .fan { height: 340px; }
}
@media (max-width: 960px) {
  .site-header { padding-top: 10px; }
  .bar { margin-inline: auto; }
  .qform input, .qform select, .qform textarea { font-size: 16px; }
}
@media (max-width: 600px) {
  .wrap { width: min(var(--wrap), 100% - 36px); }
  h2 { letter-spacing: -.035em; }
  .hero { padding-top: 28px; }
  .cta-row .btn { flex: 1 1 100%; justify-content: center; }
  .acard .btn { align-self: stretch; justify-content: center; }
  .fan { height: 300px; justify-content: center; }
  .fan .phone:not(.mid) { display: none; }
  .fan .phone.mid { width: 64%; max-width: 250px; }
  .tile, .tile.w2 { min-height: 0; padding: 24px; }
  .tile.w2 .peek { align-self: center; margin: 10px auto -70px; }
  .due { width: 100%; }
  .cta { padding: 28px 22px; }
  .cta .btn { width: 100%; justify-content: center; }
  .rail figure { flex-basis: 210px; }
  .rail { padding-inline: 18px; margin-inline: -18px; }
  .hub a { padding: 24px; }
  .page-head { padding-top: 28px; }
  .prose, .doc { min-width: 0; }
  .stage .ph-a, .stage .ph-g, .stage .pass { animation-duration: .9s, 8s; }
}
@media (max-width: 380px) {
  h1 { font-size: 2.45rem; }
  .pass { width: 230px; }
  .stage { height: 500px; }
  .stage .ph-g { width: 170px; } .stage .ph-a { width: 210px; }
}
