@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Sora:wght@500;600;700;800&display=swap');

:root {
  color-scheme: light;
  --ink: #080B2F;
  --navy: #3F456F;
  --surface: #FAFAFA;
  --surface-alt: #EFF0F2;
  --aqua-mist: #DCECF0;
  --blue-mist: #BDD6DF;
  --task: #60D8E0;
  --work: #7887E4;
  --work-soft: #9997E9;
  --long: #B36DE5;
  --long-soft: #CDB3F8;
  --pink: #F8B8E8;
  --blush: #F7C8DF;
  --cream: #F7E2C2;
  --text: #080B2F;
  --muted: rgba(63, 69, 111, 0.76);
  --hairline: rgba(189, 214, 223, 0.62);
  --glass: rgba(250, 250, 250, 0.50);
  --glass-strong: rgba(250, 250, 250, 0.68);
  --ease: cubic-bezier(0.32, 0.72, 0, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100dvh;
  font-family: "Plus Jakarta Sans", "Avenir Next", ui-sans-serif, system-ui, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 14% -4%, rgba(120, 135, 228, 0.42), transparent 27rem),
    radial-gradient(circle at 92% 12%, rgba(96, 216, 224, 0.38), transparent 30rem),
    radial-gradient(circle at 50% 100%, rgba(248, 184, 232, 0.34), transparent 34rem),
    linear-gradient(135deg, var(--aqua-mist) 0%, var(--surface) 48%, var(--blue-mist) 100%);
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 20;
  pointer-events: none;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.72' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)' opacity='.75'/%3E%3C/svg%3E");
}

a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible { outline: 3px solid rgba(120, 135, 228, 0.46); outline-offset: 4px; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3, .lede, .section-copy { text-wrap: balance; }
p, li { text-wrap: pretty; }

.skip-link { position: fixed; left: 18px; top: 18px; z-index: 30; transform: translateY(-160%); border-radius: 999px; padding: 10px 14px; background: var(--ink); color: #fff; font-weight: 800; transition: transform 400ms var(--ease); }
.skip-link:focus { transform: translateY(0); }
.site-shell { overflow: hidden; }
.container { width: min(1160px, calc(100% - 32px)); margin: 0 auto; }

.nav {
  position: sticky;
  top: 18px;
  z-index: 10;
  width: min(790px, calc(100% - 28px));
  margin: 18px auto 0;
  padding: 7px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(255,255,255,.62), rgba(255,255,255,.28));
  border: 1px solid rgba(250,250,250,.70);
  box-shadow: 0 24px 80px rgba(63, 69, 111, 0.18), inset 0 1px 1px rgba(255,255,255,.90);
  backdrop-filter: blur(24px) saturate(150%);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.brand { display: inline-flex; align-items: center; gap: 10px; padding: 7px 12px 7px 8px; font-weight: 800; letter-spacing: -0.03em; }
.brand-mark { width: 34px; height: 34px; border-radius: 12px; background: url('/assets/brand/pockets-icon.png') center / cover no-repeat; box-shadow: 0 10px 24px rgba(63,69,111,.16); }
.nav-links { display: flex; align-items: center; gap: 2px; }
.nav-links a { padding: 10px 14px; border-radius: 999px; color: rgba(8,11,47,.70); font-size: 14px; font-weight: 700; transition: transform 500ms var(--ease), background 500ms var(--ease), color 500ms var(--ease); }
.nav-links a:hover, .nav-links a[aria-current="page"] { background: rgba(120,135,228,.14); color: var(--ink); transform: translateY(-1px); }
.nav-cta, .button { display: inline-flex; align-items: center; gap: 12px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 14px; font-weight: 800; transition: transform 500ms var(--ease), box-shadow 500ms var(--ease), background 500ms var(--ease); }
.nav-cta { padding: 6px 7px 6px 16px; }
.nav-cta span:last-child, .button .button-icon { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 999px; background: rgba(255,255,255,.14); transition: transform 500ms var(--ease); }
.nav-cta:hover, .button:hover { transform: translateY(-2px); box-shadow: 0 18px 42px rgba(63,69,111,.22); }
.nav-cta:hover span:last-child, .button:hover .button-icon { transform: translate(3px, -1px) scale(1.04); }
.nav-cta:active, .button:active { transform: scale(.985); }

.hero { min-height: calc(100dvh - 96px); display: grid; align-items: center; padding: 72px 0 120px; }
.hero-grid { display: grid; grid-template-columns: 1.06fr .94fr; gap: 64px; align-items: center; }
.hero-copy { position: relative; padding: clamp(28px, 5vw, 54px); border-radius: 42px; background: linear-gradient(135deg, rgba(255,255,255,.56), rgba(255,255,255,.22)); border: 1px solid rgba(250,250,250,.72); box-shadow: 0 34px 120px rgba(63,69,111,.16), inset 0 1px 1px rgba(255,255,255,.92); backdrop-filter: blur(24px) saturate(145%); }
.hero-app-icon { width: 88px; height: 88px; border-radius: 24px; margin-bottom: 22px; box-shadow: 0 24px 60px rgba(63,69,111,.20); }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; border: 1px solid rgba(250,250,250,.72); background: rgba(255,255,255,.42); border-radius: 999px; padding: 8px 12px; font-size: 10px; text-transform: uppercase; letter-spacing: .21em; font-weight: 900; color: rgba(63,69,111,.78); }
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--task); box-shadow: 0 0 0 5px rgba(96,216,224,.16); }
h1, h2, h3 { font-family: "Sora", "Plus Jakarta Sans", ui-sans-serif, system-ui, sans-serif; }
h1 { margin-top: 22px; font-size: clamp(48px, 7vw, 88px); line-height: .94; letter-spacing: -0.075em; max-width: 820px; }
.lede { margin-top: 24px; color: var(--muted); font-size: clamp(18px, 2vw, 22px); line-height: 1.5; max-width: 610px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.button { border: 0; padding: 8px 8px 8px 22px; }
.button.secondary { background: rgba(255,255,255,.54); color: var(--ink); border: 1px solid rgba(250,250,250,.78); }
.button.secondary .button-icon { background: rgba(120,135,228,.14); }

.device-stage { position: relative; min-height: 650px; }
.single-device { min-height: 820px; }
.orb { position: absolute; border-radius: 999px; filter: blur(9px); opacity: .78; }
.orb.one { width: 360px; height: 360px; background: linear-gradient(135deg, rgba(120,135,228,.52), rgba(96,216,224,.48), rgba(248,184,232,.42)); right: 50%; top: 16%; transform: translateX(50%); }
.hero-vinyl { position: absolute; width: min(340px, 58vw); height: auto; left: 0; bottom: 18px; z-index: 1; filter: drop-shadow(0 34px 56px rgba(63,69,111,.24)); transform: rotate(-4deg); }
.device-card { position: absolute; z-index: 2; border-radius: 46px; padding: 10px; background: linear-gradient(135deg, rgba(255,255,255,.58), rgba(255,255,255,.18)); border: 1px solid rgba(250,250,250,.78); box-shadow: 0 42px 120px rgba(63,69,111,.28), inset 0 1px 1px rgba(255,255,255,.95); backdrop-filter: blur(20px) saturate(145%); }
.device-card::before { content: ""; position: absolute; inset: 10px; border-radius: 36px; box-shadow: inset 0 1px 1px rgba(255,255,255,.82); pointer-events: none; }
.device-card img { width: 100%; height: auto; aspect-ratio: auto; object-fit: contain; border-radius: 36px; border: 1px solid rgba(189,214,223,.60); }
.device-card.phone { width: min(330px, 58vw); height: auto; right: 8%; top: 30px; transform: rotate(2.5deg); }
.single-device .phone { width: min(360px, 70vw); height: auto; right: 50%; top: 10px; transform: translateX(50%) rotate(1.5deg); }

.section { padding: 118px 0; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 28px; margin-bottom: 34px; }
h2 { font-size: clamp(36px, 5.8vw, 72px); line-height: .96; letter-spacing: -0.065em; max-width: 760px; }
.section-copy { color: var(--muted); font-size: 18px; line-height: 1.58; max-width: 420px; }
.bento { display: grid; grid-template-columns: repeat(12, 1fr); gap: 18px; }
.shell { padding: 7px; border-radius: 34px; background: linear-gradient(135deg, rgba(255,255,255,.46), rgba(255,255,255,.18)); border: 1px solid rgba(250,250,250,.68); box-shadow: inset 0 1px 0 rgba(255,255,255,.80); backdrop-filter: blur(18px) saturate(140%); }
.card { height: 100%; border-radius: 27px; padding: 28px; background: linear-gradient(135deg, rgba(250,250,250,.68), rgba(250,250,250,.34)); border: 1px solid rgba(255,255,255,.72); box-shadow: inset 0 1px 1px rgba(255,255,255,.90); }
.card h3 { font-size: 25px; letter-spacing: -0.045em; margin-bottom: 12px; }
.card p { color: var(--muted); line-height: 1.62; }
.mode-card { position: relative; overflow: hidden; }
.mode-toy { width: min(210px, 52%); height: auto; align-self: flex-end; margin: -12px -8px 8px auto; filter: drop-shadow(0 18px 32px rgba(63,69,111,.16)); }
.work-toy { width: min(280px, 62%); margin-top: -26px; }
.compact-mode-card { display: flex; flex-direction: column; }
.span-7 { grid-column: span 7; }
.span-5 { grid-column: span 5; }
.span-4 { grid-column: span 4; }
.tall .card { min-height: 390px; display: flex; flex-direction: column; justify-content: space-between; }
.metric { display: flex; gap: 12px; align-items: center; margin-top: 28px; }
.metric-pill { width: 52px; height: 52px; border-radius: 18px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, var(--work), var(--task)); font-weight: 900; font-variant-numeric: tabular-nums; box-shadow: 0 14px 32px rgba(120,135,228,.26); }
.screenshot-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 24px; }
.shot { border-radius: 34px; padding: 7px; background: linear-gradient(135deg, rgba(255,255,255,.50), rgba(255,255,255,.20)); border: 1px solid rgba(250,250,250,.72); transform: translateY(0) rotate(0deg); transition: transform 700ms var(--ease), box-shadow 700ms var(--ease); box-shadow: 0 24px 80px rgba(63,69,111,.12); }
.shot-tilt-a { transform: translateY(0) rotate(-2deg); }
.shot-tilt-b { transform: translateY(0) rotate(1.5deg); }
.shot-tilt-c { transform: translateY(0) rotate(-1deg); }
.shot-tilt-d { transform: translateY(0) rotate(2deg); }
.shot:hover { transform: translateY(-10px) rotate(0deg); box-shadow: 0 34px 110px rgba(63,69,111,.20); }
.shot img { width: 100%; height: auto; border-radius: 28px; border: 1px solid rgba(189,214,223,.58); }

.legal-page { padding: 82px 0 120px; }
.legal-hero { margin: 72px auto 48px; max-width: 820px; text-align: center; }
.legal-hero h1 { max-width: none; font-size: clamp(46px, 8vw, 86px); }
.legal-hero p { margin-top: 18px; color: var(--muted); font-size: 18px; line-height: 1.6; }
.legal-card { max-width: 860px; margin: 0 auto; }
.legal-card .card { padding: clamp(26px, 5vw, 56px); }
.policy-section + .policy-section { margin-top: 34px; padding-top: 34px; border-top: 1px solid rgba(189,214,223,.62); }
.policy-section h2 { font-size: clamp(25px, 4vw, 38px); margin-bottom: 12px; letter-spacing: -0.045em; }
.policy-section p, .policy-section li { color: var(--muted); line-height: 1.72; }
.policy-section ul { margin: 14px 0 0; padding-left: 20px; }

.footer { padding: 58px 0 76px; }
.footer-inner { display: flex; justify-content: space-between; gap: 24px; align-items: center; color: rgba(63,69,111,.72); font-size: 14px; }
.footer-links { display: flex; gap: 18px; }
.footer a { transition: color 350ms var(--ease); }
.footer a:hover { color: var(--ink); }
.cta-card { text-align: center; padding: clamp(38px, 8vw, 86px); }
.cta-card h2 { margin: 18px auto 0; }
.cta-card .section-copy { margin: 22px auto 0; max-width: 620px; }
.cta-icon { width: 72px; height: 72px; border-radius: 20px; margin: 0 auto 18px; box-shadow: 0 18px 44px rgba(63,69,111,.18); }
.centered-actions { justify-content: center; }
.not-found-hero { max-width: 900px; }

.reveal { opacity: 0; transform: translateY(46px); filter: blur(8px); transition: opacity 900ms var(--ease), transform 900ms var(--ease), filter 900ms var(--ease); }
.reveal.visible { opacity: 1; transform: translateY(0); filter: blur(0); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; filter: none; }
}

@media (max-width: 860px) {
  .nav { top: 10px; width: calc(100% - 18px); }
  .nav-links { display: none; }
  .hero { padding: 44px 0 84px; }
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero-copy { padding: 26px; border-radius: 32px; }
  .hero-app-icon { width: 72px; height: 72px; border-radius: 20px; }
  .device-stage, .single-device { min-height: 760px; }
  .hero-vinyl { width: min(230px, 54vw); left: -10px; bottom: 0; }
  .device-card.phone { right: 2%; width: min(315px, 72vw); }
  .single-device .phone { right: 50%; width: min(330px, 78vw); }
  .mode-toy, .work-toy { width: min(230px, 68%); margin-right: -4px; }
  .section { padding: 82px 0; }
  .section-head { display: block; }
  .section-copy { margin-top: 18px; }
  .bento, .screenshot-strip { grid-template-columns: 1fr; }
  .span-7, .span-5, .span-4 { grid-column: span 1; }
  .tall .card { min-height: 0; }
  .shot, .shot-tilt-a, .shot-tilt-b, .shot-tilt-c, .shot-tilt-d { transform: none; }
  .footer-inner { display: block; }
  .footer-links { margin-top: 18px; flex-wrap: wrap; }
}
