:root {
  color-scheme: light;
  --ink: #151827;
  --muted: #50586d;
  --line: #dce0ea;
  --paper: #fbfcff;
  --night: #0b0d18;
  font: 16px/1.55 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 28px; }
body { margin: 0; color: var(--ink); background: var(--paper); }
h1, h2, h3, p, figure { margin: 0; }
a { color: inherit; text-underline-offset: 4px; }
button { font: inherit; color: inherit; cursor: pointer; }
img { display: block; max-width: 100%; height: auto; }
:focus-visible { outline: 3px solid #497bff; outline-offset: 5px; }
[hidden] { display: none !important; }
.shell { width: min(1180px, calc(100% - 80px)); margin-inline: auto; }
.section { padding-block: clamp(64px, 8vw, 112px); }
.skip-link {
  position: fixed;
  z-index: 10;
  inset: 12px auto auto 12px;
  transform: translateY(-150%);
  background: #fff;
  color: var(--ink);
  border-radius: 8px;
  padding: 10px 16px;
}
.skip-link:focus { transform: none; }

.site-header { color: #fff; background: var(--night); }
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  gap: 24px;
  border-bottom: 1px solid #ffffff1c;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 720;
  letter-spacing: -.025em;
  white-space: nowrap;
}
.brand img { width: 36px; height: 36px; border-radius: 10px; }
.main-nav, .footer-inner nav { display: flex; flex-wrap: wrap; gap: 12px clamp(16px, 2.5vw, 32px); }
.main-nav a, .footer-inner nav a { text-decoration: none; font-size: .88rem; font-weight: 600; }
.main-nav a { color: #ccd0df; }
.main-nav a:hover, .footer-inner nav a:hover { text-decoration: underline; }
.header-cta {
  color: #f3f4fa;
  text-decoration: none;
  border: 1px solid #ffffff3b;
  border-radius: 999px;
  padding: 8px 14px;
  font-size: .83rem;
  font-weight: 650;
  white-space: nowrap;
}
.header-cta span { margin-left: 4px; }
.header-cta:hover, .button-glass:hover { background: #ffffff20; }

.hero {
  color: #fff;
  background: var(--night);
  overflow: hidden;
  isolation: isolate;
}
.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, .87fr) minmax(0, 1.13fr);
  gap: clamp(16px, 3vw, 42px);
  align-items: center;
  padding-block: clamp(66px, 8vw, 114px) clamp(74px, 9vw, 128px);
}
.hero-copy { position: relative; z-index: 1; }
.hero-copy > h1:first-child { margin-top: 0; }
.eyebrow {
  color: #3b5274;
  font-size: .76rem;
  font-weight: 750;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.hero-kicker { color: #b4c9ff; }
h1, h2 { font-weight: 760; line-height: 1.02; letter-spacing: -.062em; text-wrap: balance; }
h1 { margin-top: 19px; font-size: clamp(2.6rem, 4.85vw, 4.55rem); text-wrap: wrap; }
h1 span { color: #c9b6ff; }
@supports (background-clip: text) {
  h1 span {
    color: transparent;
    background: linear-gradient(95deg, #a6d9ff, #c7b2ff 59%, #f4bdf8);
    background-clip: text;
  }
}
@media (forced-colors: active) {
  h1 span { color: CanvasText; background: none; }
}
.hero-lead { margin-top: 25px; max-width: 39ch; color: #d4d7e6; font-size: clamp(1rem, 1.45vw, 1.18rem); }
.actions { display: flex; flex-wrap: wrap; gap: 10px; }
.hero .actions { margin-top: 30px; }
.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px 17px;
  border: 1px solid transparent;
  border-radius: 11px;
  font-size: .88rem;
  font-weight: 680;
  text-decoration: none;
  white-space: nowrap;
}
.button-light { color: #14172b; background: #f6f7ff; }
.button-light:hover { background: #e0e8ff; }
.button-glass { color: #f7f7ff; background: #ffffff0e; border-color: #ffffff42; }
.hero-note { margin-top: 17px; color: #bcc1d6; font-size: .81rem; }
.hero-stage {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 216px));
  justify-content: center;
  gap: clamp(10px, 2.4vw, 30px);
}
.stage-glow {
  position: absolute;
  z-index: -1;
  inset: 0 -22% -13%;
  background:
    radial-gradient(ellipse at 52% 29%, #4357ff 0%, #4357ff00 52%),
    radial-gradient(ellipse at 72% 56%, #22cfae 0%, #22cfae00 46%),
    radial-gradient(ellipse at 65% 70%, #ffc16e 0%, #ff7756 24%, #ff775600 62%),
    radial-gradient(ellipse at 54% 71%, #d65eea 0%, #823cfc 30%, #823cfc00 65%);
  filter: blur(36px);
  opacity: .66;
}
.stage-phone {
  display: grid;
  justify-items: center;
  gap: 12px;
}
.stage-phone figcaption {
  padding: 4px 14px;
  border: 1px solid #8486aa;
  border-radius: 999px;
  background: #191c32;
  color: #fff;
  font-size: .85rem;
  font-weight: 680;
}
.stage-phone img {
  width: 100%;
  filter: drop-shadow(0 16px 18px #03040b85);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.22fr) minmax(0, .78fr);
  align-items: end;
  gap: 16px clamp(22px, 5vw, 72px);
  margin-bottom: 31px;
}
h2 { font-size: clamp(2rem, 4.25vw, 3.65rem); }
.section-heading div h2 { margin-top: 11px; }
.section-heading h2 { text-wrap: pretty; }
.section-heading > h2:only-child { grid-column: 1 / -1; }
.section-heading > p { max-width: 43ch; color: var(--muted); font-size: 1.04rem; }
.mac-section { background: #f5f7fc; }
.mac-heading .eyebrow { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.status-badge {
  border: 1px solid #d0ddf5;
  border-radius: 999px;
  background: #e8efff;
  color: #29417e;
  padding: 3px 9px;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .045em;
}
.mac-showcase {
  display: grid;
  justify-items: center;
  gap: 15px;
  background:
    radial-gradient(ellipse at 96% 16%, #a0d9fd 0%, #a0d9fd00 58%),
    radial-gradient(ellipse at 12% 84%, #f6b9e6 0%, #f6b9e600 64%),
    linear-gradient(134deg, #d4d9ff, #e8f7fc 56%, #b4e8dd);
  border: 1px solid #c8d3e5;
  border-radius: clamp(16px, 2.5vw, 32px);
  padding: clamp(16px, 4.4vw, 58px) clamp(12px, 5vw, 70px) 17px;
}
.mac-window {
  width: min(100%, 970px);
  overflow: hidden;
  background: #fff;
  border: 1px solid #566a8960;
  border-radius: clamp(6px, 1.1vw, 14px);
  box-shadow: 0 21px 52px #28285532, 0 3px 9px #2c3b5824;
}
.mac-window img { width: 100%; }
.mac-showcase figcaption { color: #293e62; font-size: .75rem; font-weight: 650; }
.mac-showcase figcaption span { padding-inline: 5px; }
.mac-details, .steps, .example-cards {
  display: grid;
  gap: clamp(18px, 3vw, 36px);
}
.mac-details, .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.example-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.mac-details { margin-top: 28px; }
.mac-details > div { border-top: 1px solid #cbd4e5; padding-top: 16px; }
h3 { font-size: 1.16rem; font-weight: 700; letter-spacing: -.028em; line-height: 1.2; }
.mac-details p, .steps p, .example-cards p { margin-top: 7px; color: var(--muted); font-size: .95rem; }
.steps { list-style: none; margin: 0; padding: 0; }
.steps li, .example-cards article {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: clamp(17px, 2.5vw, 29px);
}
.examples-section { background: #f0f4fa; }

.iphone-section {
  background:
    radial-gradient(ellipse at 87% 10%, #e3e6ff 0%, #e3e6ff00 54%),
    var(--paper);
}
.gallery-controls { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 9px; }
.gallery-controls p { color: var(--muted); font-size: .82rem; }
.gallery-controls > div { display: flex; gap: 8px; }
.gallery-arrow {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid #cad3e4;
  border-radius: 50%;
  background: #fff;
  font-size: 1.15rem;
}
.gallery-arrow:hover { background: #e5edff; }
.gallery-track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: #aebbd1 transparent;
  padding: 7px 6px 15px;
  scroll-padding-inline: 6px;
}
.shot {
  flex: 0 0 clamp(145px, 19vw, 222px);
  scroll-snap-align: start;
  display: block;
  padding: 0;
  border: 1px solid #cbd4e5;
  border-radius: 18px;
  background: #fff;
  overflow: hidden;
}
.shot:hover { border-color: #5071bb; }
.shot img { width: 100%; aspect-ratio: 1206/2622; object-fit: contain; }

.questions-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 25px clamp(26px, 7vw, 104px); align-items: start; }
.questions { border-top: 1px solid var(--line); }
.questions details { border-bottom: 1px solid var(--line); padding: 16px 0; }
.questions summary { cursor: pointer; font-weight: 680; }
.questions details p { margin: 8px 0 1px 17px; color: var(--muted); font-size: .95rem; }

.final-cta {
  color: #fff;
  background:
    radial-gradient(ellipse at 94% 125%, #8c3d96 0%, transparent 53%),
    radial-gradient(ellipse at 2% -15%, #304899 0%, transparent 59%),
    #111325;
}
.final-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 22px; padding-block: clamp(34px, 6vw, 68px); }
.final-inner h2 { font-size: clamp(1.95rem, 3.6vw, 3.1rem); }
.site-footer { background: #fff; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 25px; padding-block: 25px; }
.footer-inner small { color: var(--muted); }

html.image-viewer-open { overflow: hidden; }
html.image-viewer-open body { position: fixed; inset: var(--viewer-scroll-top) 0 auto; width: 100%; overflow: hidden; }
.shot-dialog {
  position: fixed;
  inset: 0;
  width: min(94vw, 540px);
  height: min(94dvh, 1000px);
  max-height: none;
  margin: auto;
  padding: 0 12px 12px;
  border: 0;
  border-radius: 19px;
  background: #fff;
  color: var(--ink);
  overflow: hidden;
}
.shot-dialog[open] { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; }
.shot-dialog::backdrop { background: #070a18c7; backdrop-filter: blur(5px); }
.dialog-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 0; }
.dialog-head strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .93rem; }
.dialog-head button { flex: 0 0 42px; width: 42px; height: 42px; border: 0; border-radius: 50%; background: #edf0f7; font-size: 1.5rem; }
.shot-dialog .dialog-image-frame { display: grid; place-items: center; max-width: none; min-height: 0; overflow: hidden; }
.shot-dialog img { width: auto; height: auto; max-width: 100%; max-height: 100%; aspect-ratio: 1206/2622; object-fit: contain; border-radius: 14px; }
.dialog-feedback { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 6px; color: var(--muted); font-size: .88rem; }
.dialog-feedback button { border: 1px solid #cbd4e5; background: #edf0f7; border-radius: 7px; padding: 3px 8px; }

@media (max-width: 930px) {
  .shell { width: min(100% - 48px, 1180px); }
  .hero-inner { grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: 18px; }
  .hero .actions { margin-top: 24px; }
  .hero-lead { margin-top: 16px; }
}
@media (max-width: 740px) {
  .hero-inner { grid-template-columns: minmax(0, 1fr); padding-block: 48px 50px; gap: 32px; }
  .hero-stage { width: min(100%, 570px); justify-self: center; }
  .hero-lead { max-width: 43ch; }
  h1 { font-size: clamp(2.75rem, 8.9vw, 4.15rem); }
  .stage-glow { inset: -7% -21% -10%; filter: blur(24px); }
  .section-heading { grid-template-columns: minmax(0, 1fr); }
  .questions-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 540px) {
  .shell { width: calc(100% - 36px); }
  .header-inner { flex-wrap: wrap; column-gap: 12px; row-gap: 0; padding: 12px 0 10px; }
  .header-cta { margin-left: auto; padding: 7px 10px; font-size: .77rem; }
  .main-nav { order: 1; flex-basis: 100%; justify-content: flex-start; padding-top: 10px; }
  .main-nav a { display: inline-flex; align-items: center; min-height: 32px; }
  .hero-inner { padding-block: 34px 30px; }
  h1 { font-size: clamp(2.25rem, 10.6vw, 3.45rem); }
  .hero .button { min-height: 44px; padding-inline: 12px; font-size: .8rem; }
  .mac-details { grid-template-columns: minmax(0, 1fr); gap: 13px; }
  .mac-details > div { padding-top: 12px; }
  .steps, .example-cards { grid-template-columns: minmax(0, 1fr); gap: 11px; }
  .footer-inner nav { order: 1; flex-basis: 100%; }
}
@media (max-width: 360px) {
  .header-inner { column-gap: 8px; }
  .header-inner .brand { gap: 8px; font-size: .95rem; }
  .main-nav { column-gap: 12px; }
}
