@import url(/fonts.css);

:root {
  --paper: #F5F5F0;
  --card: #FFFFFF;
  --ink: #0D0D0D;
  --muted: #5E5E57;
  --faint: #A3A39A;
  --line: #DEDED5;
  --lime: #D7FF3A;
  --link: #3F5400;
  --ease: cubic-bezier(.16, 1, .3, 1);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.55 Inter, system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
img, video { display: block; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 28px; }
.mono { font-family: "IBM Plex Mono", ui-monospace, monospace; font-weight: 500; letter-spacing: .02em; }

nav { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--paper) 86%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 19px; text-decoration: none; letter-spacing: -.01em; }
.brand img { width: 30px; height: 30px; border-radius: 8px; }
.links { display: flex; gap: 28px; align-items: center; font-size: 15px; font-weight: 500; color: var(--muted); }
.links a { text-decoration: none; transition: color .2s var(--ease); }
.links a:hover { color: var(--ink); }
.links .pill { background: var(--ink); color: #fff; padding: 9px 16px; border-radius: 999px; font-weight: 600; }
.links .pill:hover { color: #fff; }

.hero { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; padding: 64px 0 96px; }
.eyebrow { font-size: 13px; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); margin-bottom: 22px; }
h1 { font-size: clamp(60px, 7.4vw, 118px); line-height: .93; letter-spacing: -.045em; font-weight: 900; margin: 0 0 28px; text-wrap: balance; }
h1 em { font-style: normal; background: linear-gradient(transparent 66%, var(--lime) 66%, var(--lime) 90%, transparent 90%); }
.sub { font-size: 20px; line-height: 1.5; color: var(--muted); max-width: 30ch; margin: 0 0 36px; }
.cta { display: flex; gap: 14px 18px; align-items: center; flex-wrap: wrap; }
.soon { display: inline-flex; align-items: center; gap: 10px; background: var(--ink); color: #fff; padding: 15px 24px; border-radius: 999px; font-weight: 700; font-size: 16px; }
.soon svg { width: 18px; height: 18px; fill: currentColor; }
.note { font-size: 14px; color: var(--muted); }
.film { position: relative; justify-self: end; width: min(100%, 380px); aspect-ratio: 9 / 16; border-radius: 42px; overflow: hidden; background: #000; box-shadow: 0 50px 90px -40px rgba(13, 13, 13, .45); }
.film video { width: 100%; height: 100%; object-fit: cover; }
.sound { position: absolute; right: 14px; bottom: 14px; border: 0; border-radius: 999px; padding: 8px 14px; font: 600 13px Inter, sans-serif; background: rgba(255, 255, 255, .92); color: var(--ink); cursor: pointer; }

.problem { border-top: 1px solid var(--ink); padding: 56px 0 88px; }
.problem p { font-size: clamp(32px, 4.2vw, 60px); line-height: 1.08; letter-spacing: -.03em; font-weight: 800; margin: 0; max-width: 18ch; }
.problem span { color: var(--faint); }

.ledger { padding-bottom: 96px; }
.row { display: grid; grid-template-columns: 120px 1fr 1fr; gap: 40px; align-items: center; padding: 56px 0; border-top: 1px dashed var(--line); }
.row .n { font-size: 14px; color: var(--muted); align-self: start; padding-top: 10px; }
.row h2 { font-size: clamp(30px, 3.2vw, 44px); line-height: 1.04; letter-spacing: -.03em; font-weight: 800; margin: 0 0 14px; }
.row p { margin: 0; color: var(--muted); max-width: 36ch; }
.shot { position: relative; justify-self: end; width: min(100%, 300px); padding: 9px; border-radius: 48px; background: #0B0B0B; box-shadow: 0 0 0 2px #3A3A3C, 0 30px 60px -30px rgba(13, 13, 13, .45); }
.shot img { width: 100%; height: auto; border-radius: 40px; }
/* Screenshots leave out the Dynamic Island. */
.shot::after { content: ""; position: absolute; top: calc(9px + 2.8%); left: 50%; width: 31%; aspect-ratio: 3.4; translate: -50% 0; border-radius: 99px; background: #000; }
.count { justify-self: end; text-align: right; }
.count b { display: block; font-size: clamp(96px, 12vw, 168px); line-height: .85; letter-spacing: -.06em; font-weight: 900; }
.count small { display: inline-block; margin-top: 14px; background: var(--lime); padding: 6px 12px; border-radius: 999px; font-weight: 700; font-size: 14px; }

.panel { background: var(--card); border-radius: 36px; padding: 72px 64px; margin-bottom: 32px; display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.panel h2 { font-size: clamp(36px, 4vw, 56px); line-height: 1; letter-spacing: -.035em; font-weight: 900; margin: 0 0 18px; }
.panel .lede { color: var(--muted); margin: 0; max-width: 32ch; }
.panel ul { list-style: none; margin: 0; padding: 0; }
.panel li { padding: 16px 0; border-top: 1px solid var(--line); }
.panel li b { display: block; font-size: 18px; }
.panel li span { color: var(--muted); font-size: 16px; }
.pro { background: var(--ink); color: #fff; }
.pro .lede, .pro li span { color: #9A9A93; }
.pro li { border-color: #2A2A27; }
.pro .tag { display: inline-block; background: var(--lime); color: var(--ink); border-radius: 999px; padding: 4px 12px; font-weight: 700; font-size: 13px; margin-bottom: 18px; }

.help { padding: 64px 0 32px; }
.help h2 { font-size: clamp(36px, 4vw, 56px); line-height: 1; letter-spacing: -.035em; font-weight: 900; margin: 0 0 28px; }
details { border-top: 1px solid var(--line); padding: 20px 0; }
details:last-of-type { border-bottom: 1px solid var(--line); }
summary { list-style: none; cursor: pointer; font-weight: 700; font-size: 19px; display: flex; justify-content: space-between; gap: 20px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-weight: 500; color: var(--muted); transition: transform .3s var(--ease); }
details[open] summary::after { transform: rotate(45deg); }
details p { margin: 12px 0 0; color: var(--muted); max-width: 64ch; }
.contact { margin-top: 28px; color: var(--muted); }
.contact a { color: var(--ink); font-weight: 700; }

.end { padding: 72px 0 96px; }
.end h2 { font-size: clamp(48px, 6vw, 96px); line-height: .95; letter-spacing: -.045em; font-weight: 900; margin: 0 0 28px; }

footer { border-top: 1px solid var(--line); }
footer .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-top: 28px; padding-bottom: 36px; color: var(--muted); font-size: 14px; }

.doc { padding-top: 40px; padding-bottom: 96px; max-width: 760px; }
.doc h1 { font-size: clamp(44px, 6vw, 72px); margin-bottom: 8px; }
.doc h2 { font-size: 26px; letter-spacing: -.02em; margin: 44px 0 10px; padding-top: 20px; border-top: 1px solid var(--line); }
.doc a { color: var(--link); }
.doc li { margin: 6px 0; }
.doc table { width: 100%; border-collapse: collapse; font-size: 15px; background: var(--card); border-radius: 14px; overflow: hidden; }
.doc th, .doc td { text-align: left; padding: 11px 14px; border-top: 1px solid var(--line); vertical-align: top; }
.doc th { border-top: 0; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }

.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}
@media (max-width: 860px) {
  .hero, .row, .panel { grid-template-columns: 1fr; }
  .hero { padding-top: 32px; gap: 40px; }
  .film, .shot, .count { justify-self: start; }
  .count { text-align: left; }
  .row { gap: 22px; }
  .row .n { padding: 0; }
  .panel { padding: 44px 26px; border-radius: 28px; }
  .links a:not(.pill) { display: none; }
}
