/* Shared by every page: tokens, nav, type, FAQ, footer, reveal. */
:root {
  --ink: #232323;
  --ink-btn: #262424;
  --cream: #f5f4f1;
  --tint-blue: #dceaf5;
  --butter: #fbf3cc;
  --note: #ffe679;
  --brown: #3e1e10;
  --muted: rgba(0, 0, 0, .5);

  /* SF Pro Rounded is an Apple system font: ui-rounded reaches it in Safari and on iOS,
     and Chrome only finds it when installed. Nunito is the licensed rounded web fallback. */
  --round: ui-rounded, "SF Pro Rounded", "Nunito", -apple-system, BlinkMacSystemFont, sans-serif;
  --sf: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --gutter: 44px;
  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);
  /* A real damped spring, about 8% overshoot. Use at ~.8s. */
  --spring: linear(0, .041, .143, .279, .428, .574, .706, .82, .911, .981, 1.03, 1.061, 1.078, 1.083, 1.081, 1.073, 1.061, 1.049, 1.037, 1.026, 1.016, 1.008, 1.002, .998, .995, .994, .993, .993, .994, .995, .996, .997, .998, .999, .999, 1, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font-family: var(--round);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
img { display: block; max-width: none; }
h1, h2, h3, p { margin: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 2px solid #0a84ff; outline-offset: 3px; border-radius: 6px; }

.wrap { max-width: calc(1352px + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: 16px; top: -60px; z-index: 50; background: #fff; padding: 10px 14px; border-radius: 10px; }
.skip:focus { top: 12px; }

/* Nav: a normal bar that scrolls away with the page. Once it has gone, a floating
   pill eases down from just above its resting place. js/site.js builds the pill from
   this same markup, so there is one source for the links. */
.nav-bar { height: 116px; padding-inline: var(--gutter); display: flex; justify-content: center; }
.nav { position: relative; display: flex; align-items: center; justify-content: space-between; width: 100%; max-width: 1352px; height: 48px; margin-top: 40px; padding-inline: 20px; }
.brand { display: inline-flex; align-items: center; gap: 12px; font-weight: 700; font-size: 24px; color: #222; min-width: 200px; }
.brand img { width: 48px; height: 48px; border-radius: 11px; }
.nav-links { display: flex; gap: 16px; }
.nav-links a { padding: 10px; font-weight: 500; font-size: 16px; color: #222; opacity: .7; transition: opacity .2s; }
.nav-links a:hover, .nav-links a[aria-current="page"] { opacity: 1; }
.nav-end { display: flex; justify-content: flex-end; min-width: 200px; }

.nav.pill {
  width: 560px; max-width: calc(100vw - 24px); height: 56px; margin: 0; padding-inline: 10px;
  border-radius: 999px; background: rgba(255, 255, 255, .78);
  box-shadow: 0 8px 32px rgba(0, 0, 0, .1), inset 0 0 0 .5px rgba(0, 0, 0, .08);
  -webkit-backdrop-filter: blur(20px) saturate(180%); backdrop-filter: blur(20px) saturate(180%);
  position: fixed; left: 50%; top: 12px; z-index: 50; translate: -50% 0;
  opacity: 0; visibility: hidden; transform: translateY(-14px);
  transition: opacity .32s ease, transform .55s var(--ease-out), visibility 0s .32s;
}
.nav.pill.on { opacity: 1; visibility: visible; transform: none; transition: opacity .4s ease, transform .75s var(--ease-out), visibility 0s; }
:is(.pill, .hero-wide .nav-bar) .brand { gap: 8px; font-size: 18px; }
.pill .brand { min-width: 0; padding-left: 2px; }
:is(.pill, .hero-wide .nav-bar) .brand img { width: 38px; height: 38px; border-radius: 9px; }
.pill .nav-links { gap: 2px; }
.pill .nav-end { min-width: 0; }
:is(.pill, .hero-wide .nav-bar) .nav-cta { font-size: 16px; padding: 8px 14px; gap: 6px; }
:is(.pill, .hero-wide .nav-bar) .nav-cta .i-phone { width: 13px; height: 20px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 16px; border-radius: 999px;
  font-weight: 600; font-size: 20px; line-height: 24px; white-space: nowrap;
  transition: transform .5s var(--spring), opacity .2s;
}
.btn:hover { transform: scale(1.03); }
.btn:active { transform: scale(.96); transition-duration: .12s; }
.btn-dark { background: var(--ink-btn); color: #fff; }
.i-phone { width: 16px; height: 24px; }

/* Type */
.h-display { font-weight: 600; font-size: 48px; line-height: 52px; letter-spacing: -.96px; color: var(--ink); }
.lede { font-family: var(--sf); font-size: 20px; line-height: 28px; color: var(--muted); }
.h-section {
  font-weight: 600; font-size: 48px; line-height: 56px; letter-spacing: -.96px;
  text-align: center; color: var(--ink);
  padding-block: 80px; max-width: 900px; margin-inline: auto;
  scroll-margin-top: 0;
}
/* Headings that open a new block after dense content. */
.h-section--faq { padding-block: 176px 56px; }
#features { scroll-margin-top: 0; padding-top: 40px; }
#faq { scroll-margin-top: 40px; }

/* Avatar disc */
.disc { position: relative; flex: none; width: 44px; height: 44px; border-radius: 50%; background: var(--c); }
.disc > img { position: absolute; left: 2px; top: 2px; width: 40px; height: 40px; }

/* Reveal: the only motion on quiet sections */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease-out), transform 1.1s var(--ease-out); }
.js .reveal.in { opacity: 1; transform: none; }

/* FAQ */
.faq { display: flex; flex-direction: column; gap: 12px; max-width: 900px; margin-inline: auto; }
.faq-item { background: var(--cream); border-radius: 20px; }
.faq-item button { display: flex; width: 100%; align-items: center; gap: 24px; padding: 24px 32px; text-align: left; border-radius: 20px; transition: padding-bottom .5s var(--ease-out); }
.faq-item.open button { padding-bottom: 10px; }
.faq-item button > span { flex: 1; font-weight: 600; font-size: 24px; line-height: 32px; letter-spacing: -.24px; color: var(--ink); }
.faq-item i { position: relative; width: 24px; height: 24px; flex: none; }
.faq-item i::before, .faq-item i::after {
  content: ""; position: absolute; left: 5px; right: 5px; top: 10.9px; height: 2.25px; border-radius: 2px; background: var(--ink);
  transition: transform .5s var(--ease-out);
}
.faq-item i::after { transform: rotate(90deg); }
.faq-item.open i::after { transform: rotate(0); }
.faq-item.open i::before { transform: rotate(180deg); }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s var(--ease-out); }
.faq-item.open .faq-a { grid-template-rows: 1fr; }
.faq-a > div { overflow: hidden; visibility: hidden; transition: visibility 0s .5s; }
.faq-item.open .faq-a > div { visibility: visible; transition-delay: 0s; }
.faq-a p {
  font-size: 20px; line-height: 29px; color: var(--muted); max-width: 788px;
  padding: 0 32px 24px;
  opacity: 0; transition: opacity .35s;
}
.faq-item.open .faq-a p { opacity: 1; transition-delay: .08s; }

/* Footer */
.foot { padding-top: 100px; padding-bottom: 40px; }
.foot-panel { position: relative; height: 560px; background: linear-gradient(#e6f0f6, #f5f4f1); border-radius: 40px; overflow: hidden; color: var(--ink); }
.foot-copy { position: absolute; left: 64px; top: 144px; display: flex; flex-direction: column; align-items: flex-start; gap: 20px; width: 421px; z-index: 1; }
.foot-copy h2 { font-weight: 600; font-size: 48px; line-height: 52px; letter-spacing: -.96px; }
.foot-copy p { font-size: 20px; line-height: 28px; color: rgba(0, 0, 0, .6); }
/* Stands on the panel's bottom edge and shrinks before it can reach the copy. */
.foot-art { position: absolute; right: 0; bottom: 0; width: calc(100% - 440px); height: 100%; object-fit: contain; object-position: 50% 100%; }
.legal { position: absolute; left: 64px; bottom: 32px; z-index: 1; display: flex; flex-direction: column; gap: 6px; font-size: 16px; line-height: 22px; color: rgba(0, 0, 0, .6); }
.legal nav { display: flex; gap: 24px; flex-wrap: wrap; }
.legal a { transition: color .2s; }
.legal a:hover { color: var(--ink); }

/* Phone menu: a hamburger in both navs opens a card under whichever nav was tapped. */
.nav-end { align-items: center; gap: 6px; }
.nav-toggle { display: none; place-items: center; flex: none; position: relative; width: 40px; height: 40px; border-radius: 50%; }
.nav-toggle span { position: absolute; width: 20px; height: 2px; border-radius: 2px; background: #222; transition: transform .35s var(--ease-out); }
.nav-toggle span:first-child { transform: translateY(-4px); }
.nav-toggle span:last-child { transform: translateY(4px); }
.nav-toggle[aria-expanded="true"] span:first-child { transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { transform: rotate(-45deg); }
.menu-scrim { position: fixed; inset: 0; z-index: 45; background: rgba(20, 24, 30, .22); opacity: 0; visibility: hidden; transition: opacity .3s ease, visibility 0s .3s; }
.menu {
  position: fixed; left: 24px; right: 24px; top: var(--menu-top, 72px); z-index: 56; display: none; flex-direction: column; gap: 12px; padding: 12px;
  border-radius: 28px; background: rgba(255, 255, 255, .78); box-shadow: 0 16px 48px rgba(0, 0, 0, .16), inset 0 0 0 .5px rgba(0, 0, 0, .08);
  -webkit-backdrop-filter: blur(20px) saturate(180%); backdrop-filter: blur(20px) saturate(180%);
  opacity: 0; visibility: hidden; transform: translateY(-8px); transform-origin: 100% 0;
  transition: opacity .22s ease, transform .35s var(--ease-out), visibility 0s .22s;
}
.menu nav { display: flex; flex-direction: column; }
.menu nav a { padding: 14px 12px; border-radius: 16px; font-weight: 600; font-size: 20px; line-height: 26px; color: var(--ink); }
.menu nav a:active { background: rgba(0, 0, 0, .05); }
.menu .btn { width: 100%; padding: 14px 16px; font-size: 18px; }
.menu-open .menu-scrim { opacity: 1; visibility: visible; transition: opacity .3s ease; }
.menu-open .menu { opacity: 1; visibility: visible; transform: none; transition: opacity .25s ease, transform .45s var(--ease-out); }
html.menu-open .nav-bar { z-index: 55; }

/* Experiment: wide hero with the full nav inside it. It scrolls away with the page and the
   compact pill slides down as usual. Remove the `hero-wide` class from <body> on each page
   to return to the contained hero with the nav above it. */
.hero-wide { --hero-gap: 20px; --nav-inset: 28px; }
.hero-wide .hero-sec { max-width: none; padding: var(--hero-gap) var(--hero-gap) 0; }
/* Same inset from the hero's top and sides. */
.hero-wide .nav-bar { position: absolute; left: var(--hero-gap); right: var(--hero-gap); top: calc(var(--hero-gap) + var(--nav-inset)); z-index: 5; height: auto; padding-inline: var(--nav-inset); }
.hero-wide .nav-bar .nav { max-width: none; height: 40px; margin-top: 0; padding-inline: 0; }
.hero-wide .panel-hero { padding-top: 168px; }
.hero-wide .panel-hero--plain { padding: 136px 24px 64px; background: none; border-radius: 0; }

/* The footer panel matches the hero: same gap from the page, same corners. */
.hero-wide .foot { max-width: none; padding: 176px var(--hero-gap) var(--hero-gap); }
.hero-wide .foot-panel { height: 640px; }
.hero-wide .foot-copy { top: 150px; }

/* Sub-page panel header (Price, Our story) */
.panel-hero { position: relative; background: linear-gradient(#d3e5f2, #f0f0f0); border-radius: 40px; padding: 120px 40px 112px; text-align: center; }
.panel-hero .lede { max-width: 712px; margin: 16px auto 0; }

@media (max-width: 1100px) {
  :root { --gutter: 24px; }
  .h-section { font-size: 40px; line-height: 48px; padding-block: 64px; }
  .foot-panel { height: auto; min-height: 560px; }
}

/* Stacked: copy, legal links, then the suitcases running off the panel's bottom edge. */
@media (max-width: 1040px) {
  .hero-wide .foot-panel { display: flex; flex-direction: column; height: auto; min-height: 0; }
  .hero-wide .foot-copy { position: relative; left: auto; top: auto; width: auto; max-width: 620px; padding: 44px 32px 0; }
  .legal { position: relative; left: auto; bottom: auto; order: 1; padding: 28px 32px 0; font-size: 15px; }
  .foot-art { position: relative; order: 2; width: 100%; height: auto; aspect-ratio: 3 / 2; margin-top: 28px; }
}

@media (max-width: 760px) {
  :root { --gutter: 16px; }
  .nav-bar { height: 72px; }
  .nav { height: 40px; margin-top: 16px; padding-inline: 4px; }
  .brand { font-size: 21px; gap: 10px; min-width: 0; height: 40px; }
  .brand img { width: 40px; height: 40px; border-radius: 9px; }
  .nav-links { display: none; }
  .nav-end { min-width: 0; align-items: center; height: 40px; }
  .nav-toggle { display: grid; }
  .nav-cta { font-size: 16px; padding: 8px 14px; }
  .nav-cta .i-phone { width: 13px; height: 20px; }

  .nav.pill { left: 24px; right: 24px; top: 10px; width: auto; max-width: none; height: 52px; padding-inline: 7px; translate: none; }
  :is(.pill, .hero-wide .nav-bar) .brand { height: 38px; font-size: 16px; }
  :is(.pill, .hero-wide .nav-bar) .brand img { width: 34px; height: 34px; border-radius: 8px; }
  :is(.pill, .hero-wide .nav-bar) .nav-cta { font-size: 14px; padding: 7px 12px; }
  :is(.pill, .hero-wide .nav-bar) .nav-cta .i-phone { display: none; }
  .h-display { font-size: clamp(28px, 9vw, 38px); line-height: 1.12; letter-spacing: -.02em; }
  .lede { font-size: 17px; line-height: 25px; }
  .h-section { font-size: 32px; line-height: 38px; letter-spacing: -.5px; padding-block: 56px 40px; }
  .br-d { display: none; }
  .h-section--faq { padding-block: 112px 36px; }
  .faq-item, .faq-item button { border-radius: 16px; }
  .faq-item button { padding: 18px 20px; gap: 16px; }
  .faq-item button > span { font-size: 19px; line-height: 25px; }
  .faq-item.open button { padding-bottom: 8px; }
  .faq-a p { font-size: 17px; line-height: 25px; padding: 0 20px 20px; }
  .foot { padding-top: 56px; padding-bottom: 28px; }
  .foot-panel { border-radius: 28px; min-height: 0; display: flex; flex-direction: column; }
  .foot-copy { position: relative; left: auto; top: auto; width: auto; padding: 36px 24px 0; }
  .foot-copy h2 { font-size: 34px; line-height: 38px; letter-spacing: -.6px; }
  .foot-copy p { font-size: 17px; line-height: 25px; }
  .legal { padding: 24px 24px 0; }
  .legal nav { gap: 6px 20px; }
  .menu { display: flex; }
  .panel-hero { border-radius: 28px; padding: 72px 20px 64px; }
  .hero-wide { --hero-gap: 12px; --nav-inset: 16px; }
  .hero-wide .foot { padding-top: 104px; }
  .hero-wide .foot-panel { height: auto; }
  .hero-wide .foot-copy { padding: 36px 24px 0; }
  .hero-wide .panel-hero { padding-top: 112px; }
  .hero-wide .panel-hero--plain { padding: 96px 12px 36px; }
}

@media (max-width: 350px) {
  :is(.pill, .hero-wide .nav-bar) .nav-cta { display: none; }
}

@media (max-width: 370px) {
  .brand { font-size: 19px; gap: 8px; }
  .nav-cta { font-size: 15px; padding: 7px 12px; }
  .nav-cta .i-phone { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .menu, .menu-scrim, .nav-toggle span { transition: none !important; }
  .nav.pill, .nav.pill.on { transition: none; transform: none; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .faq-a, .faq-a p, .faq-item i::before, .faq-item i::after { transition: none; }
}
