/* Conetca site — one stylesheet.
   Apple's neutrals and type discipline; the identity is BIP's gold,
   used only on black. Layout width follows Apple: 980px content,
   full-bleed sections, 12px tile gutters. */

:root {
  --ink: #1d1d1f;
  --ink-2: #6e6e73;
  --ink-3: #86868b;
  --paper: #fff;
  --mist: #f5f5f7;
  --line: #d2d2d7;
  --night: #000;
  --night-raised: #1d1d1f;
  --night-ink: #f5f5f7;
  --night-ink-2: #a1a1a6;
  --blue: #0071e3;
  --blue-hover: #0077ed;
  --link: #0066cc;
  --link-night: #2997ff;
  --gold: #d4af37;
  --gold-lite: #e8c55f;
  --gold-pale: #f0dfa6;
  --ok: #1a7f37;

  --font-text: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --t-display: clamp(2.75rem, 1.55rem + 4.4vw, 5rem);
  --t-headline: clamp(2.125rem, 1.45rem + 2.7vw, 3.5rem);
  --t-title: clamp(1.75rem, 1.4rem + 1.2vw, 2.5rem);
  --t-lede: clamp(1.1875rem, 1rem + 0.65vw, 1.75rem);
  --t-body: 1.0625rem;
  --t-small: 0.875rem;
  --t-micro: 0.75rem;

  --content: 980px;
  --wide: 1260px;
  --pad: 22px;
  --nav-h: 48px;
  --r-card: 28px;
  --r-control: 12px;
}

*, *::before, *::after { box-sizing: border-box; }
/* Sections paint their own background; the body shows only behind a dark nav. */
main > * { background-color: var(--paper); }
body.gnav-dark { background: var(--night); }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--nav-h) + 12px); }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-text);
  font-size: var(--t-body);
  line-height: 1.47;
  letter-spacing: -0.011em;
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-display); font-weight: 600; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 3px solid rgba(0, 113, 227, .6); outline-offset: 3px; border-radius: 4px; }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px;
}
.skip:focus { top: 8px; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

/* ---------- global nav ---------- */

.gnav {
  position: sticky; top: 0; z-index: 50;
  height: var(--nav-h);
  background: rgba(251, 251, 253, .8);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, .08);
  font-size: var(--t-micro);
}
.has-lnav .gnav { position: relative; }
.gnav-inner {
  max-width: var(--content); height: 100%; margin: 0 auto; padding: 0 var(--pad);
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
}
.gnav a { color: rgba(0, 0, 0, .8); }
.gnav a:hover { color: #000; text-decoration: none; }
.gnav a[aria-current="page"] { color: #000; }
.brand { display: inline-flex; align-items: center; gap: 8px; font-size: 1rem; font-weight: 600; letter-spacing: -0.01em; }
.brand svg { width: 22px; height: 22px; }
.gnav-links { display: flex; gap: clamp(14px, 2.4vw, 32px); list-style: none; margin: 0; padding: 0; }
.gnav-toggle { display: none; }

.gnav-dark .gnav { background: rgba(22, 22, 23, .8); border-bottom-color: rgba(255, 255, 255, .06); }
.gnav-dark .gnav-toggle, .gnav-dark .brand { color: #fff; }
.gnav-dark .gnav a { color: rgba(255, 255, 255, .82); }
.gnav-dark .gnav a:hover, .gnav-dark .gnav a[aria-current="page"] { color: #fff; }

@media (max-width: 833px) {
  .gnav-links { display: none; }
  .gnav-toggle {
    display: inline-grid; place-items: center; width: 44px; height: 44px; margin-right: -12px;
    background: none; border: 0; color: inherit; cursor: pointer;
  }
  .gnav-toggle svg { width: 18px; height: 18px; }
  .gnav-toggle .close { display: none; }
  .menu-open .gnav-toggle .open { display: none; }
  .menu-open .gnav-toggle .close { display: block; }
  .menu-open .gnav {
    position: fixed; inset: 0 0 auto 0; height: 100dvh;
    background: rgba(251, 251, 253, .97); overflow-y: auto;
  }
  .gnav-dark.menu-open .gnav { background: rgba(22, 22, 23, .97); }
  .menu-open .gnav-inner { height: var(--nav-h); }
  .menu-open .gnav-links {
    display: flex; flex-direction: column; gap: 0;
    position: absolute; top: var(--nav-h); left: 0; right: 0;
    padding: 12px 40px 40px;
  }
  .menu-open .gnav-links a {
    display: block; padding: 8px 0;
    font-family: var(--font-display); font-size: 1.75rem; font-weight: 600; letter-spacing: -0.015em;
  }
  .menu-open { overflow: hidden; }
}

/* ---------- local (product) nav ---------- */

.lnav {
  position: sticky; top: 0; z-index: 40; height: 52px;
  background: rgba(251, 251, 253, .8);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, .12);
}
.lnav-inner {
  max-width: var(--content); height: 100%; margin: 0 auto; padding: 0 var(--pad);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.lnav-title { font-family: var(--font-display); font-size: 1.3125rem; font-weight: 600; letter-spacing: -0.01em; color: var(--ink); white-space: nowrap; }
.lnav-title:hover { text-decoration: none; }
.lnav-actions { display: flex; align-items: center; gap: 20px; font-size: var(--t-micro); }
.lnav-actions a:not(.btn) { color: var(--ink); }
.lnav .btn { padding: 4px 12px; font-size: var(--t-micro); min-height: 0; }
.lnav-dark .lnav { background: rgba(22, 22, 23, .8); border-bottom-color: rgba(255, 255, 255, .14); }
.lnav-dark .lnav-title, .lnav-dark .lnav-actions a:not(.btn) { color: var(--night-ink); }
@media (max-width: 600px) { .lnav-actions .lnav-extra { display: none; } }

/* ---------- buttons and links ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 11px 22px; border-radius: 980px;
  font-size: var(--t-body); line-height: 1.18; font-weight: 400; letter-spacing: -0.022em;
  border: 1px solid transparent; cursor: pointer; white-space: nowrap;
  background: var(--blue); color: #fff;
  transition: background-color .15s ease;
}
.btn:hover { background: var(--blue-hover); text-decoration: none; }
.btn-ghost { background: transparent; color: var(--link); border-color: var(--link); }
.btn-ghost:hover { background: var(--link); color: #fff; }
.on-night .btn-ghost { color: var(--link-night); border-color: var(--link-night); }
.on-night .btn-ghost:hover { background: var(--link-night); color: #000; }
.btn[aria-disabled="true"] { background: var(--mist); color: var(--ink-2); cursor: default; }
.on-night .btn[aria-disabled="true"] { background: #2c2c2e; color: var(--night-ink-2); }

.more { display: inline-flex; align-items: baseline; gap: 4px; font-size: var(--t-body); }
.more svg { width: .55em; height: .55em; transform: translateY(1px); }
.on-night .more, .on-night a:not(.btn) { color: var(--link-night); }

.actions { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 12px 24px; margin-top: 22px; }
.actions-left { justify-content: flex-start; }

.badge {
  display: inline-block; padding: 3px 10px; border-radius: 980px;
  font-size: var(--t-micro); font-weight: 600; letter-spacing: 0;
  background: rgba(0, 0, 0, .07); color: var(--ink-2);
}
.badge-live { background: #e8f5ec; color: var(--ok); }
.on-night .badge { background: #2c2c2e; color: var(--night-ink-2); }
.on-night .badge-live { background: rgba(48, 209, 88, .16); color: #30d158; }

/* ---------- sections ---------- */

.section { padding: clamp(64px, 9vw, 120px) 0; }
.section-mist { background: var(--mist); }
.on-night { background: var(--night); color: var(--night-ink); }
.wrap { max-width: var(--content); margin: 0 auto; padding: 0 var(--pad); }
.wrap-wide { max-width: var(--wide); margin: 0 auto; padding: 0 var(--pad); }
.center { text-align: center; }

.headline { font-size: var(--t-headline); line-height: 1.07; letter-spacing: -0.005em; }
.display { font-size: var(--t-display); line-height: 1.05; letter-spacing: -0.015em; }
.title { font-size: var(--t-title); line-height: 1.1; letter-spacing: 0; }
.lede { font-size: var(--t-lede); line-height: 1.25; letter-spacing: 0.004em; color: var(--ink-2); font-weight: 400; }
.on-night .lede { color: var(--night-ink-2); }
.section-head { max-width: 760px; margin: 0 auto clamp(40px, 6vw, 72px); text-align: center; }
.section-head .lede { margin-top: 16px; }
.section-head-flush { margin-bottom: 0; }
.small { font-size: var(--t-small); line-height: 1.43; color: var(--ink-2); }
.on-night .small { color: var(--night-ink-2); }

/* ---------- device frame ---------- */

.device {
  --w: 280px;
  position: relative; width: var(--w); max-width: 100%;
  padding: calc(var(--w) * .034);
  border-radius: calc(var(--w) * .15);
  background: #1d1d1f;
  box-shadow:
    inset 0 0 0 1.5px #48484a,
    inset 0 0 0 calc(var(--w) * .012) #0b0b0c,
    0 40px 80px -30px rgba(0, 0, 0, .45);
}
.device img, .device .screen {
  display: block; width: 100%; height: auto; aspect-ratio: var(--ar, 9 / 19.5);
  object-fit: cover; object-position: top;
  border-radius: calc(var(--w) * .118);
  background: #111;
}
.device-sm { --w: 220px; }
.device-lg { --w: 320px; }
.on-night .device { box-shadow: inset 0 0 0 1.5px #5a5a5e, inset 0 0 0 calc(var(--w) * .012) #0b0b0c, 0 40px 90px -30px rgba(212, 175, 55, .28); }

.app-icon {
  display: block; border-radius: 22.5%;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .12), 0 12px 30px -12px rgba(0, 0, 0, .35);
  background: #fff;
}

/* ---------- hero (home + product) ---------- */

.hero { position: relative; overflow: hidden; text-align: center; padding: clamp(56px, 8vw, 96px) 0 0; }
.hero-name { display: block; font-size: var(--t-headline); line-height: 1.07; letter-spacing: -0.005em; }
.hero-line { display: block; margin-top: 8px; font-size: var(--t-lede); font-weight: 400; line-height: 1.2; letter-spacing: .004em; }
.hero .hero-sub { max-width: 640px; margin: 14px auto 0; color: var(--ink-2); }
.on-night .hero-sub { color: var(--night-ink-2); }
/* Phones stand in a fixed-height stage and are cropped by its floor. */
.hero-media {
  position: relative; display: flex; justify-content: center; align-items: flex-start;
  gap: clamp(12px, 3vw, 40px); margin-top: clamp(40px, 6vw, 64px);
  height: clamp(340px, 38vw, 500px); overflow: hidden;
}
.hero-media .device.side { --w: 230px; margin-top: clamp(48px, 7vw, 96px); }
.hero-media.hero-art { height: auto; overflow: visible; }
@media (max-width: 700px) { .hero-media .device.side { display: none; } }

.hero-gold::before {
  content: ""; position: absolute; left: 50%; bottom: -30%;
  width: min(1100px, 140vw); aspect-ratio: 1; transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(232, 197, 95, .34), rgba(212, 175, 55, .10) 55%, transparent 75%);
  pointer-events: none;
}
.hero-gold .hero-name { color: var(--gold-pale); }

.hero-product { padding-top: clamp(40px, 6vw, 72px); }
.hero-product .app-icon { width: 88px; height: 88px; margin: 0 auto 18px; }
.hero-product h1 .hero-name { font-size: var(--t-display); line-height: 1.05; letter-spacing: -0.015em; }

.hero-load .hero-media { animation: rise 1.1s cubic-bezier(.2, .7, .2, 1) .15s both; }
@keyframes rise { from { opacity: 0; transform: translateY(48px); } to { opacity: 1; transform: none; } }

/* ---------- lineup (every app, by job) ---------- */

.lineup { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px 28px; }
.lineup-group h3 { font-size: var(--t-small); font-weight: 600; color: var(--ink-2); letter-spacing: 0; margin-bottom: 14px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.lineup-group ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.lineup-item { display: grid; grid-template-columns: 48px 1fr; gap: 12px; align-items: center; color: var(--ink); }
.lineup-item:hover { text-decoration: none; }
.lineup-item:hover .lineup-name { text-decoration: underline; }
.lineup-item .app-icon { width: 48px; height: 48px; }
.lineup-name { display: block; font-weight: 600; font-size: var(--t-body); line-height: 1.2; }
.lineup-meta { display: block; font-size: var(--t-micro); color: var(--ink-2); margin-top: 2px; }
@media (max-width: 900px) { .lineup { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .lineup { grid-template-columns: 1fr; } }

/* ---------- promo tiles (home) ---------- */

.tiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; padding: 12px; }
.tile {
  position: relative; overflow: hidden; display: flex; flex-direction: column; align-items: center;
  min-height: 600px; padding: 52px 24px 0; text-align: center;
  background: var(--mist);
}
.tile.on-night { background: var(--night); }
.tile.tile-paper { background: var(--paper); }
.tile h3 { font-size: var(--t-title); line-height: 1.1; }
.tile .tile-line { margin-top: 6px; font-size: clamp(1.0625rem, .95rem + .45vw, 1.3125rem); line-height: 1.24; }
.tile .actions { margin-top: 14px; }
.tile-media { margin-top: auto; padding-top: 36px; display: flex; justify-content: center; align-items: flex-end; width: 100%; }
.tile-media .device { --w: 240px; margin-bottom: -26%; }
.tile-media .app-icon { width: 148px; height: 148px; margin-bottom: 72px; }
.tile-status { margin-top: 12px; }
@media (max-width: 833px) {
  .tiles { grid-template-columns: 1fr; }
  .tile { min-height: 520px; }
}

/* ---------- bento highlights (product pages) ---------- */

.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.card {
  grid-column: span 2; position: relative; overflow: hidden;
  display: flex; flex-direction: column; justify-content: flex-start;
  min-height: 300px; padding: 32px; border-radius: var(--r-card);
  background: var(--paper);
}
.section:not(.section-mist) .card:not(.card-night) { background: var(--mist); }
.card-half { grid-column: span 3; }
.card-wide { grid-column: span 4; }
.card-full { grid-column: span 6; }
.card.card-night { background: var(--night); color: var(--night-ink); }
.card-kicker { font-size: var(--t-body); font-weight: 600; color: var(--ink-2); margin-bottom: 8px; }
.card-night .card-kicker { color: var(--gold-lite); }
.card h3 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); line-height: 1.13; letter-spacing: 0; }
.card p:not(.card-kicker) { margin-top: 12px; color: var(--ink-2); }
.card-night p:not(.card-kicker) { color: var(--night-ink-2); }
.card-media { margin-top: auto; padding-top: 28px; display: flex; justify-content: center; }
.card-media .device { --w: 200px; margin-bottom: -80px; }
@media (max-width: 900px) {
  .bento { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .card, .card-half { grid-column: span 1; }
  .card-wide, .card-full { grid-column: span 2; }
}
@media (max-width: 600px) {
  .bento { grid-template-columns: 1fr; }
  .card, .card-half, .card-wide, .card-full { grid-column: span 1; min-height: 0; padding: 28px 24px; }
}

/* ---------- before / after ---------- */

.compare { max-width: var(--content); margin: 0 auto; }
.compare-head, .compare-row {
  display: grid; grid-template-columns: minmax(150px, .7fr) 1fr 1fr; gap: 28px;
  padding: 22px 0; border-bottom: 1px solid var(--line);
}
.compare-head { padding-top: 0; font-size: var(--t-small); font-weight: 600; color: var(--ink-2); }
.compare-head .with { color: var(--ink); }
.compare-job { font-weight: 600; }
.compare-before { color: var(--ink-2); }
.compare-after { color: var(--ink); }
.compare-label { display: none; }
.on-night .compare-head, .on-night .compare-row { border-color: #424245; }
.on-night .compare-head, .on-night .compare-before { color: var(--night-ink-2); }
.on-night .compare-head .with, .on-night .compare-after { color: var(--night-ink); }
@media (max-width: 700px) {
  .compare-head { display: none; }
  .compare-row { grid-template-columns: 1fr; gap: 8px; }
  .compare-label { display: block; font-size: var(--t-micro); font-weight: 600; color: var(--ink-3); margin-bottom: 2px; }
}

/* ---------- gallery ---------- */

.gallery {
  display: flex; gap: 28px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 8px max(var(--pad), calc((100vw - var(--content)) / 2)) 40px;
  scrollbar-width: none;
}
.gallery::-webkit-scrollbar { display: none; }
.gallery figure { margin: 0; flex: 0 0 auto; scroll-snap-align: center; }
.gallery .device { --w: 250px; box-shadow: inset 0 0 0 1.5px #48484a, inset 0 0 0 3px #0b0b0c, 0 20px 40px -24px rgba(0, 0, 0, .4); }
.gallery figcaption { max-width: 250px; margin-top: 18px; font-size: var(--t-small); color: var(--ink-2); line-height: 1.43; }
.gallery-nav { display: flex; justify-content: flex-end; gap: 14px; max-width: var(--content); margin: 0 auto; padding: 0 var(--pad); }
.paddle {
  width: 36px; height: 36px; border-radius: 50%; border: 0; cursor: pointer;
  display: grid; place-items: center; background: rgba(210, 210, 215, .64); color: rgba(0, 0, 0, .56);
}
.paddle:hover { background: rgba(223, 223, 227, .7); color: rgba(0, 0, 0, .64); }
.paddle:disabled { opacity: .36; cursor: default; }
.paddle svg { width: 14px; height: 14px; }

/* ---------- a day at the counter (the one pinned scene) ---------- */

.story-body { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; max-width: var(--content); margin: 0 auto; padding: 0 var(--pad); }
.story-stage { position: sticky; top: calc(50vh - 290px); height: 580px; display: flex; justify-content: center; align-items: center; }
.story-stage .device { --w: 270px; }
.story-screens { position: relative; }
.story-screens img { transition: opacity .45s ease; }
.story-screens img + img { position: absolute; inset: 0; }
.story-screens img:not(.is-active) { opacity: 0; }
.story-steps { list-style: none; margin: 0; padding: 0; }
.story-step { min-height: 72vh; display: flex; flex-direction: column; justify-content: center; transition: opacity .35s ease; }
.js .story-step:not(.is-active) { opacity: .28; }
.story-time { font-family: var(--font-display); font-size: var(--t-title); font-weight: 600; color: var(--gold-lite); font-variant-numeric: tabular-nums; letter-spacing: 0; }
.story-step h3 { margin-top: 6px; font-size: clamp(1.5rem, 1.25rem + .9vw, 2rem); line-height: 1.13; }
.story-step p:not(.story-time) { margin-top: 12px; color: var(--night-ink-2); max-width: 420px; }
.story-inline { display: none; }
@media (max-width: 833px) {
  .story-body { grid-template-columns: 1fr; gap: 0; }
  .story-stage { display: none; }
  .story-step { min-height: 0; padding: 40px 0; opacity: 1 !important; }
  .story-inline { display: flex; justify-content: center; margin-top: 28px; }
  .story-inline .device { --w: 240px; }
}

/* ---------- works with ---------- */

.links-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; }
.link-card {
  display: grid; grid-template-columns: 56px 1fr; gap: 14px; align-items: center;
  width: min(100%, 300px); padding: 18px 20px; border-radius: 18px; background: var(--paper); color: var(--ink);
}
.section:not(.section-mist) .link-card { background: var(--mist); }
.link-card:hover { text-decoration: none; }
.link-card:hover strong { text-decoration: underline; }
.link-card .app-icon { width: 56px; height: 56px; }
.link-card strong { display: block; font-weight: 600; }
.link-card span { display: block; font-size: var(--t-small); color: var(--ink-2); line-height: 1.35; margin-top: 2px; }

/* ---------- closing call to action ---------- */

.closing .app-icon { width: 72px; height: 72px; margin: 0 auto 20px; }
.notes { max-width: 640px; margin: 48px auto 0; padding: 24px 28px; border-radius: 18px; background: var(--mist); text-align: left; }
.notes h3 { font-size: var(--t-body); }
.notes ul { margin: 10px 0 0; padding-left: 1.1em; display: grid; gap: 6px; color: var(--ink-2); font-size: var(--t-small); line-height: 1.43; }

/* ---------- the calculator ---------- */

.calc { display: grid; grid-template-columns: 1.1fr 1fr; gap: 24px; max-width: var(--content); margin: 0 auto; }
.calc-inputs, .calc-result { border-radius: var(--r-card); padding: clamp(24px, 4vw, 40px); }
.calc-inputs { background: var(--paper); display: grid; gap: 18px; align-content: start; }
.field label { display: block; font-size: var(--t-small); font-weight: 600; margin-bottom: 6px; }
.field .hint { display: block; font-weight: 400; color: var(--ink-2); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 12px 14px; border-radius: var(--r-control);
  border: 1px solid var(--line); background: var(--paper); color: var(--ink);
  font: inherit; font-size: var(--t-body);
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(0, 113, 227, .18); }
.calc-result { background: var(--night); color: var(--night-ink); display: flex; flex-direction: column; }
.calc-big { font-family: var(--font-display); font-size: var(--t-headline); font-weight: 600; line-height: 1.05; letter-spacing: -0.01em; color: var(--gold-pale); font-variant-numeric: tabular-nums; }
.calc-result dl { margin: 28px 0 0; display: grid; gap: 14px; }
.calc-result dt { font-size: var(--t-small); color: var(--night-ink-2); }
.calc-result dd { margin: 2px 0 0; font-size: var(--t-lede); font-weight: 600; font-variant-numeric: tabular-nums; }
.calc-note { margin-top: auto; padding-top: 28px; font-size: var(--t-micro); color: var(--night-ink-2); line-height: 1.5; }
@media (max-width: 833px) { .calc { grid-template-columns: 1fr; } }

/* ---------- where the time goes (home education) ---------- */

.jobs { max-width: var(--content); margin: 0 auto; }

/* ---------- clients ---------- */

.clients { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px 56px; margin-top: 28px; }
.clients span { font-family: var(--font-display); font-size: clamp(1.25rem, 1rem + 1vw, 1.75rem); font-weight: 600; color: var(--ink-3); letter-spacing: -0.01em; }

/* ---------- pricing ---------- */

.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; max-width: var(--content); margin: 0 auto; }
.plan { border-radius: var(--r-card); padding: 36px 28px; background: var(--paper); display: flex; flex-direction: column; }
.section:not(.section-mist) .plan { background: var(--mist); }
.plan.plan-pick { background: var(--night); color: var(--night-ink); }
.plan h3 { font-size: var(--t-lede); }
.plan-term { color: var(--ink-2); margin-top: 4px; }
.plan-pick .plan-term, .plan-pick .plan-per { color: var(--night-ink-2); }
.plan-price { font-family: var(--font-display); font-size: var(--t-headline); font-weight: 600; letter-spacing: -0.01em; margin-top: 24px; font-variant-numeric: tabular-nums; }
.plan-pick .plan-price { color: var(--gold-pale); }
.plan-per { color: var(--ink-2); font-size: var(--t-small); margin-top: 6px; }
.plan .actions { margin-top: auto; padding-top: 28px; justify-content: flex-start; }
@media (max-width: 833px) { .plans { grid-template-columns: 1fr; max-width: 480px; } }

/* ---------- contact ---------- */

.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 24px; max-width: var(--content); margin: 0 auto; }
.contact-card { border-radius: var(--r-card); padding: clamp(24px, 4vw, 40px); background: var(--mist); }
.contact-card h2 { font-size: var(--t-lede); }
.contact-card p { margin-top: 10px; color: var(--ink-2); }
.contact-card .big-link { display: inline-block; margin-top: 14px; font-size: var(--t-lede); font-weight: 600; }
.checks { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px 16px; border: 0; margin: 0; padding: 0; }
.checks legend { font-size: var(--t-small); font-weight: 600; margin-bottom: 8px; padding: 0; }
.checks label { display: flex; gap: 10px; align-items: center; font-size: var(--t-small); min-height: 32px; }
.checks input { width: 18px; height: 18px; accent-color: var(--blue); }
.form-grid { display: grid; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: end; }
.form-error { color: #d70015; font-size: var(--t-small); min-height: 1.4em; }
@media (max-width: 833px) { .contact-grid, .form-row { grid-template-columns: 1fr; } }
@media (max-width: 420px) { .checks { grid-template-columns: 1fr; } }

/* ---------- illustrations (apps without screenshots) ---------- */

.art { position: relative; margin: 0 auto; }
.tile-media .art { margin-bottom: 48px; }
.hero-art { padding-bottom: clamp(48px, 7vw, 96px); }

.kiosk-art { width: min(280px, 64vw); height: auto; display: block; margin: 0 auto; }
.tile-media .kiosk-art { width: 200px; margin-bottom: -40px; }

.art-carton {
  width: min(360px, 84vw); aspect-ratio: 5 / 4; border-radius: 6px; padding: 38px 30px;
  background: linear-gradient(160deg, #d6ae74, #b98b52 70%, #a97c45);
  box-shadow: inset 0 0 0 2px rgba(0, 0, 0, .08), 0 30px 60px -30px rgba(0, 0, 0, .5);
  display: grid; place-items: center;
}
.art-tape { position: absolute; left: 0; right: 0; top: 18px; height: 22px; background: rgba(214, 191, 150, .72); box-shadow: 0 1px 0 rgba(0, 0, 0, .06); }
.art-label {
  position: relative; width: 78%; padding: 14px 16px; background: #fff; color: #000;
  border: 3px solid #000; transform: rotate(-2.5deg);
  font-family: "Arial Narrow", "Roboto Condensed", "Helvetica Neue", Arial, sans-serif;
  font-weight: 800; font-size: 17px; line-height: 1.25; text-align: center; letter-spacing: .02em;
  box-shadow: 0 6px 16px -8px rgba(0, 0, 0, .45);
}
.art-label p { border-top: 2px solid #000; padding: 3px 0; }
.art-label .art-label-mark { border-top: 0; font-size: 26px; line-height: 1.05; padding-bottom: 8px; }
.art-label .art-label-ctn { font-size: 19px; }

.art-paper {
  width: min(380px, 88vw); padding: 26px 24px 20px; border-radius: 10px; background: #fff; color: var(--ink);
  box-shadow: 0 1px 2px rgba(0, 0, 0, .08), 0 30px 60px -30px rgba(0, 0, 0, .45);
  text-align: left; font-size: 13px; line-height: 1.4;
}
.art-paper-title { font-family: var(--font-display); font-weight: 600; font-size: 19px; }
.art-paper-sub { color: var(--ink-2); margin-top: 2px; }
.art-paper table { width: 100%; margin-top: 14px; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.art-paper th { font-weight: 600; color: var(--ink-2); text-align: right; padding: 6px 0 6px 6px; border-bottom: 1px solid var(--line); }
.art-paper td { text-align: right; padding: 7px 0 7px 6px; border-bottom: 1px solid #ececf0; }
.art-paper th:first-child, .art-paper td:first-child { text-align: left; padding-left: 0; }
.art-paper tr:last-child td { font-weight: 600; border-bottom: 0; }
.art-paper-formula { margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--line); color: var(--ink-2); font-size: 12px; }

.art-photo {
  width: min(340px, 82vw); aspect-ratio: 1; border-radius: 22px; overflow: hidden;
  background: radial-gradient(circle at 40% 35%, #fbeee8, #e9d3c9 60%, #d8bcae);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .45);
}
.art-bangle { position: absolute; inset: 12% 18% 22% 12%; width: 70%; height: auto; }
.art-tag {
  position: absolute; right: 14px; bottom: 14px; display: flex; gap: 10px; align-items: center;
  padding: 8px 12px 8px 8px; border-radius: 10px; background: #fff; color: #000;
  box-shadow: 0 6px 18px -8px rgba(0, 0, 0, .4); text-align: left;
}
.art-tag-price { font-weight: 700; font-size: 20px; line-height: 1.1; font-variant-numeric: tabular-nums; }
.art-tag-name { font-size: 12px; color: #3a3a3c; }

.art-voice { width: min(380px, 88vw); display: grid; gap: 18px; text-align: left; }
.art-voice-talk { display: grid; gap: 8px; }
.bubble { max-width: 78%; padding: 9px 14px; border-radius: 18px; font-size: 16px; line-height: 1.3; }
.bubble-you { justify-self: end; background: var(--blue); color: #fff; border-bottom-right-radius: 6px; }
.bubble-app { justify-self: start; background: #e5e5ea; color: var(--ink); border-bottom-left-radius: 6px; }
.on-night .bubble-app { background: #2c2c2e; color: var(--night-ink); }
.art-receipt {
  justify-self: center; width: 210px; padding: 16px 16px 22px; background: #fff; color: #000;
  font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; font-size: 13px; line-height: 1.5;
  box-shadow: 0 20px 40px -24px rgba(0, 0, 0, .5);
  -webkit-mask: linear-gradient(#000 0 0) top / 100% calc(100% - 8px) no-repeat, radial-gradient(circle 5px at 50% 100%, transparent 98%, #000) bottom / 12px 8px repeat-x;
  mask: linear-gradient(#000 0 0) top / 100% calc(100% - 8px) no-repeat, radial-gradient(circle 5px at 50% 100%, transparent 98%, #000) bottom / 12px 8px repeat-x;
}
.art-receipt .r-line, .art-receipt .r-total { display: flex; justify-content: space-between; }
.art-receipt .r-total { margin-top: 8px; padding-top: 8px; border-top: 1px dashed #000; font-weight: 700; }

.art-finder { display: flex; align-items: center; justify-content: center; gap: 18px; flex-wrap: wrap; }
.art-viewfinder {
  position: relative; width: 170px; aspect-ratio: 3 / 4; border-radius: 18px; overflow: hidden;
  background: radial-gradient(circle at 50% 45%, #5b4a3a, #2a221b);
  display: grid; place-items: center;
  box-shadow: 0 20px 40px -24px rgba(0, 0, 0, .6);
}
.art-viewfinder::before {
  content: ""; position: absolute; inset: 18px;
  background:
    linear-gradient(#fff, #fff) left top / 22px 3px no-repeat, linear-gradient(#fff, #fff) left top / 3px 22px no-repeat,
    linear-gradient(#fff, #fff) right top / 22px 3px no-repeat, linear-gradient(#fff, #fff) right top / 3px 22px no-repeat,
    linear-gradient(#fff, #fff) left bottom / 22px 3px no-repeat, linear-gradient(#fff, #fff) left bottom / 3px 22px no-repeat,
    linear-gradient(#fff, #fff) right bottom / 22px 3px no-repeat, linear-gradient(#fff, #fff) right bottom / 3px 22px no-repeat;
}
.art-viewfinder svg { width: 72%; height: auto; }
.art-match { padding: 16px 18px; border-radius: 16px; background: #fff; color: #000; text-align: center; box-shadow: 0 20px 40px -24px rgba(0, 0, 0, .5); }
.art-match svg { display: block; width: 180px; height: auto; margin: 8px auto 4px; }
.art-match-label { font-size: 12px; font-weight: 600; color: var(--ok); }
.art-match-code { font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; font-size: 15px; letter-spacing: .12em; }

.art-card {
  width: min(360px, 86vw); padding: 24px; border-radius: 22px; background: #fff; color: var(--ink); text-align: left;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .08), 0 30px 60px -30px rgba(0, 0, 0, .45);
}
.art-card-title { font-family: var(--font-display); font-size: 21px; font-weight: 600; }
.art-card-sub { font-size: 13px; color: var(--ink-2); margin-top: 2px; }
.art-card-foot { font-size: 12px; color: var(--ink-2); margin-top: 16px; }
.art-pipe-row { margin-top: 16px; }
.art-pipe-row p { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; }
.art-pipe-row p span:last-child { font-weight: 600; font-variant-numeric: tabular-nums; }
.art-pipe-row i { display: block; height: 6px; margin-top: 6px; border-radius: 3px; background: linear-gradient(90deg, var(--gold) var(--p), #ececf0 var(--p)); }
.art-slots { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 16px; }
.art-slot { aspect-ratio: 1; border-radius: 10px; display: grid; place-items: end center; padding: 6px; font-size: 10px; color: #fff; }
.art-slot-new { background: linear-gradient(145deg, #e6c878, #b98b2f); }
.art-slot-same { background: #ececf0; color: var(--ink-2); }
.art-steps { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 8px; font-size: 13px; }
.art-steps li { display: flex; align-items: center; gap: 10px; color: var(--ink-2); }
.art-steps li::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: #d2d2d7; flex: none; }
.art-steps .done::before { background: var(--ok); }
.art-steps .now { color: var(--ink); font-weight: 600; }
.art-steps .now::before { background: var(--ok); box-shadow: 0 0 0 4px rgba(26, 127, 55, .18); }

/* browser window, for BIP on the web */
.browser {
  width: min(880px, 92vw); margin: 0 auto; border-radius: 12px; overflow: hidden; background: #fff;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .12), 0 40px 80px -30px rgba(0, 0, 0, .45);
}
.browser-bar { display: flex; align-items: center; gap: 8px; height: 36px; padding: 0 14px; background: #ececef; border-bottom: 1px solid #d9d9de; }
.browser-bar i { width: 11px; height: 11px; border-radius: 50%; background: #d0d0d5; }
.browser-bar i:nth-child(1) { background: #ff5f57; } .browser-bar i:nth-child(2) { background: #febc2e; } .browser-bar i:nth-child(3) { background: #28c840; }
.browser-url { flex: 1; max-width: 320px; margin: 0 auto; padding: 3px 12px; border-radius: 6px; background: #fff; font-size: 12px; color: var(--ink-2); text-align: center; }
.browser img { display: block; width: 100%; height: auto; }
.tile-media .browser { width: 100%; max-width: 520px; margin-bottom: -60px; }

/* ---------- prose (privacy etc.) ---------- */

.prose { max-width: 692px; margin: 0 auto; padding: 0 var(--pad); }
.prose h1 { font-size: var(--t-headline); line-height: 1.07; }
.prose h2 { font-size: var(--t-lede); margin-top: 40px; }
.prose p, .prose ul { margin-top: 14px; }
.prose li + li { margin-top: 6px; }

/* ---------- footer ---------- */

.footer { background: var(--mist); color: var(--ink-2); font-size: var(--t-micro); line-height: 1.33; padding: 20px 0 24px; }
.footer .wrap > * + * { margin-top: 14px; }
.footer-notes { padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.footer-notes p + p { margin-top: 8px; }
.footer-dir { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; padding: 6px 0 14px; }
.footer-dir h3 { font-size: var(--t-micro); font-weight: 600; color: var(--ink); margin-bottom: 8px; }
.footer-dir ul { list-style: none; margin: 0; padding: 0; }
.footer-dir li { margin-bottom: 8px; }
.footer a { color: var(--ink-2); }
.footer a:hover { color: var(--ink); }
.footer-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-top: 14px; border-top: 1px solid var(--line); }
.footer-legal ul { display: flex; flex-wrap: wrap; list-style: none; margin: 0; padding: 0; }
.footer-legal li + li::before { content: "|"; margin: 0 10px; color: var(--line); }
@media (max-width: 833px) { .footer-dir { grid-template-columns: repeat(2, 1fr); } }

/* ---------- motion preference ---------- */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
