/* =========================================================
   MxT APP — iOS 26 inspired studio site
   ========================================================= */
:root {
  --bg: #ffffff;
  --panel: #f5f5f7;
  --ink: #1d1d1f;
  --ink-2: #6e6e73;
  --ink-3: #a1a1a6;
  --line: rgba(0, 0, 0, 0.08);
  --blue: #0071e3;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Inter", "Helvetica Neue", Arial, sans-serif;
  --spring: cubic-bezier(.34, 1.56, .64, 1);
  --ease: cubic-bezier(.22, .8, .2, 1);
  --expo: cubic-bezier(.16, 1, .3, 1);
  --ai-1: #0894FF; --ai-2: #C959DD; --ai-3: #FF2E54; --ai-4: #FF9004;
  --max: 1296px;
  --gutter: 24px;
}
@media (max-width: 600px) { :root { --gutter: 16px; } }

@property --a { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
@keyframes spin { to { --a: 360deg; } }

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.47;
  letter-spacing: -0.012em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-optical-sizing: auto;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
}
main { overflow-x: clip; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
::selection { background: rgba(10, 132, 255, .18); }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 max(var(--gutter), env(safe-area-inset-right)) 0 max(var(--gutter), env(safe-area-inset-left)); }
section[id] { scroll-margin-top: 80px; }

/* Apple Intelligence gradient text */
.grad {
  background: linear-gradient(90deg, var(--ai-1) 0%, var(--ai-2) 12.5%, var(--ai-3) 25%, var(--ai-4) 37.5%, var(--ai-1) 50%, var(--ai-2) 62.5%, var(--ai-3) 75%, var(--ai-4) 87.5%, var(--ai-1) 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
  animation: sheen 9s linear infinite;
  padding-bottom: .08em; margin-bottom: -.08em;
}
@keyframes sheen { to { background-position: -100% 0; } }

/* ---------- Liquid Glass ---------- */
.glass {
  position: relative;
  background: rgba(255, 255, 255, 0.62);
  -webkit-backdrop-filter: blur(24px) saturate(190%);
  backdrop-filter: blur(24px) saturate(190%);
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.95),
    inset 0 -1px 1px rgba(255, 255, 255, 0.35),
    inset 0 0 0 1px rgba(255, 255, 255, 0.45),
    0 0 0 0.5px rgba(0, 0, 0, 0.06),
    0 10px 40px -10px rgba(0, 0, 0, 0.12);
}
.glass::before { /* specular rim */
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  padding: 1px;
  background: linear-gradient(135deg, rgba(255,255,255,.9), rgba(255,255,255,0) 35%, rgba(255,255,255,0) 65%, rgba(255,255,255,.7));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
}
.glass.dark {
  background: rgba(40, 40, 45, 0.38);
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.35),
    inset 0 0 0 1px rgba(255, 255, 255, 0.12),
    0 8px 30px -8px rgba(0, 0, 0, 0.35);
}
.glass.dark::before { background: linear-gradient(135deg, rgba(255,255,255,.45), rgba(255,255,255,0) 40%, rgba(255,255,255,0) 70%, rgba(255,255,255,.25)); }

/* ---------- Progressive top blur + Nav ---------- */
.top-blur { position: fixed; inset: 0 0 auto 0; height: 110px; z-index: 40; pointer-events: none; }
.top-blur span { position: absolute; inset: 0; }
.top-blur span:nth-child(1) { -webkit-backdrop-filter: blur(1px); backdrop-filter: blur(1px); -webkit-mask: linear-gradient(#000 60%, transparent); mask: linear-gradient(#000 60%, transparent); }
.top-blur span:nth-child(2) { -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); -webkit-mask: linear-gradient(#000 35%, transparent 75%); mask: linear-gradient(#000 35%, transparent 75%); }
.top-blur span:nth-child(3) { -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); -webkit-mask: linear-gradient(#000 15%, transparent 55%); mask: linear-gradient(#000 15%, transparent 55%); }

.nav {
  position: fixed; z-index: 50; top: 14px; left: 50%;
  width: calc(100% - 2 * var(--gutter)); max-width: 1120px;
  transform: translateX(-50%);
  height: 60px; border-radius: 99px;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 10px 0 12px;
  transition: max-width .9s var(--expo), height .6s var(--expo), top .6s var(--expo), background .5s var(--ease), color .5s var(--ease), box-shadow .5s var(--ease);
  animation: navIn 1.2s var(--expo) .05s both;
}
@keyframes navIn { from { opacity: 0; transform: translate(-50%, -28px) scale(.94); filter: blur(10px); } }
.nav:not(.scrolled) { background: rgba(255,255,255,.4); }
.nav.scrolled { max-width: 1000px; height: 54px; top: 10px; }
.nav.on-dark { background: rgba(28, 28, 30, .62); color: #f5f5f7; box-shadow: inset 0 1px 0 rgba(255,255,255,.12), inset 0 0 0 1px rgba(255,255,255,.08), 0 10px 40px -10px rgba(0,0,0,.5); }
.nav.on-dark::before { opacity: .25; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 19px; letter-spacing: -0.035em; }
.logo img { width: 34px; height: 34px; filter: drop-shadow(0 4px 8px rgba(0,0,0,.18)); transition: transform .7s var(--spring); }
.logo:hover img { transform: rotate(-10deg) scale(1.08); }
.logo small { font-size: 11px; font-weight: 700; letter-spacing: .04em; color: var(--ink-2); padding: 3px 7px; border-radius: 7px; background: rgba(0,0,0,.05); margin-left: -2px; transition: background .5s, color .5s; }
.nav.on-dark .logo small { color: rgba(255,255,255,.7); background: rgba(255,255,255,.1); }
.nav-links { display: flex; align-items: center; gap: 2px; font-size: 14px; font-weight: 500; }
.nav-links a:not(.btn) { padding: 8px 14px; border-radius: 99px; opacity: .85; transition: background .3s var(--ease), opacity .3s; }
.nav-links a:not(.btn):hover { opacity: 1; background: rgba(0,0,0,.05); }
.nav.on-dark .nav-links a:not(.btn):hover { background: rgba(255,255,255,.1); }
.nav .btn { height: 40px; padding: 0 18px; font-size: 14px; margin-left: 8px; }
.nav.on-dark .btn { background: #f5f5f7; color: #000; }
@media (max-width: 760px) {
  .nav { height: 56px; top: 10px; padding-left: 10px; }
  .nav.scrolled { height: 52px; }
  .nav-links a:not(.btn) { display: none; }
  .logo img { width: 32px; height: 32px; }
}

/* ---------- Buttons ---------- */
.btn {
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 48px; padding: 0 22px; border-radius: 99px;
  background: #000; color: #fff;
  font-size: 16px; font-weight: 600; letter-spacing: -0.015em; white-space: nowrap;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.16), 0 10px 24px -12px rgba(0,0,0,.45);
  transform: translate3d(var(--bx, 0px), var(--by, 0px), 0) scale(var(--sc, 1));
  transition: transform .6s var(--spring), box-shadow .5s var(--ease), background .4s, color .4s;
  -webkit-tap-highlight-color: transparent;
}
.btn::after { /* light sweep */
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(105deg, transparent 30%, rgba(255,255,255,.28) 50%, transparent 70%);
  transform: translateX(-110%); transition: transform 1s var(--expo);
}
.btn:hover { --sc: 1.035; box-shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 18px 34px -14px rgba(0,0,0,.5); }
.btn:hover::after { transform: translateX(110%); }
.btn:active { --sc: .95; transition-duration: .15s; }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn .pl { width: 17px; height: 17px; }
.btn.lg { height: 68px; padding: 0 30px 0 26px; border-radius: 18px; font-size: 21px; gap: 12px; }
.btn.lg svg { width: 26px; height: 26px; }
.btn.lg .pl { width: 24px; height: 24px; }
.btn.lg .stack { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.05; }
.btn.lg .stack small { font-size: 12px; font-weight: 500; opacity: .75; letter-spacing: 0; }
.btn.glass { background: rgba(255,255,255,.6); color: var(--ink); }
.btn[aria-disabled="true"] { cursor: default; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
@media (max-width: 600px) {
  .hero .btn.lg { min-width: 214px; justify-content: flex-start; }
  .btn.lg { height: 60px; padding: 0 22px; font-size: 18px; border-radius: 16px; }
  .btn.lg svg { width: 22px; height: 22px; }
}

/* Apple Intelligence glow around a button */
.glow-wrap { position: relative; isolation: isolate; display: inline-flex; border-radius: 18px; transform: translate3d(var(--bx, 0px), var(--by, 0px), 0); transition: transform .6s var(--spring); }
.glow-wrap .btn { --bx: 0px; --by: 0px; }
.glow-wrap::before, .glow-wrap::after {
  content: ""; position: absolute; z-index: -1; border-radius: 21px; inset: -3px;
  background: conic-gradient(from var(--a), var(--ai-1), var(--ai-2), var(--ai-3), var(--ai-4), var(--ai-1));
  animation: spin 4s linear infinite;
}
.glow-wrap::after { inset: -2px; filter: blur(22px); opacity: .6; transition: opacity .5s, filter .5s; }
.glow-wrap:hover::after { opacity: .9; filter: blur(30px); }

/* ---------- Hero ---------- */
.hero { position: relative; isolation: isolate; padding: 176px 0 72px; text-align: center; }
.aurora {
  position: absolute; z-index: -1; left: 50%; top: -160px;
  width: min(1500px, 150vw); height: 960px; pointer-events: none;
  transform: translate3d(calc(-50% + var(--ax, 0px)), var(--ay, 0px), 0);
  opacity: .62;
  -webkit-mask: linear-gradient(#000 55%, transparent); mask: linear-gradient(#000 55%, transparent);
}
.aurora i { position: absolute; width: 48%; aspect-ratio: 1; border-radius: 50%; animation: drift 24s ease-in-out infinite alternate; will-change: transform; }
.aurora i:nth-child(1) { left: 4%; top: 6%; background: radial-gradient(closest-side, rgba(120, 180, 255, .9), transparent); }
.aurora i:nth-child(2) { right: 2%; top: 0; background: radial-gradient(closest-side, rgba(222, 160, 255, .85), transparent); animation-duration: 28s; animation-delay: -7s; }
.aurora i:nth-child(3) { left: 28%; top: 30%; width: 44%; background: radial-gradient(closest-side, rgba(255, 196, 150, .85), transparent); animation-duration: 32s; animation-delay: -12s; }
.aurora i:nth-child(4) { right: 20%; top: 38%; width: 36%; background: radial-gradient(closest-side, rgba(255, 150, 190, .75), transparent); animation-duration: 26s; animation-delay: -3s; }
@keyframes drift {
  0%   { transform: translate3d(0, 0, 0) scale(1); }
  50%  { transform: translate3d(9%, 7%, 0) scale(1.14); }
  100% { transform: translate3d(-7%, -5%, 0) scale(.92); }
}
.aurora.soft { top: 0; height: 100%; opacity: .45; -webkit-mask: radial-gradient(closest-side, #000 30%, transparent); mask: radial-gradient(closest-side, #000 30%, transparent); }

.eyebrow {
  position: relative; display: inline-flex; align-items: center; gap: 10px;
  height: 42px; padding: 0 18px 0 6px; border-radius: 99px;
  font-size: 15px; font-weight: 600; letter-spacing: -0.01em;
  background: rgba(255,255,255,.72);
  -webkit-backdrop-filter: blur(14px) saturate(180%); backdrop-filter: blur(14px) saturate(180%);
  box-shadow: 0 0 0 1px rgba(0,0,0,.05), 0 8px 24px -10px rgba(0,0,0,.18);
}
.eyebrow::before { /* travelling light on the rim */
  content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1.5px; pointer-events: none;
  background: conic-gradient(from var(--a), transparent 0 55%, var(--ai-1), var(--ai-2), var(--ai-3), var(--ai-4), transparent 95%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  animation: spin 5s linear infinite;
}
.eyebrow img { width: 30px; height: 30px; }
.display {
  font-weight: 700;
  font-size: clamp(48px, 8vw, 116px);
  line-height: 1.0;
  letter-spacing: -0.047em;
  margin: 26px auto 0;
  max-width: 11.5em;
}
.display .line { display: block; white-space: nowrap; }
.ii { /* inline 3D icon */
  display: inline-block; width: .92em; height: .92em; vertical-align: -0.14em;
  margin: 0 .04em; object-fit: contain;
  filter: drop-shadow(0 .06em .08em rgba(0,0,0,.14));
}
.lede { max-width: 30em; margin: 30px auto 0; padding: 0 var(--gutter); font-size: clamp(19px, 1.65vw, 24px); line-height: 1.38; font-weight: 500; letter-spacing: -0.022em; color: var(--ink-2); }
.hero .btn-row { margin-top: 40px; }
.laurels { display: flex; justify-content: center; gap: 40px; margin-top: 44px; flex-wrap: wrap; }
.laurel { display: flex; align-items: center; gap: 6px; color: #b4b4b9; }
.laurel svg { width: 26px; height: 54px; }
.laurel svg.r { transform: scaleX(-1); }
.laurel div { text-align: center; line-height: 1.15; }
.laurel small { display: block; font-size: 13px; font-weight: 600; letter-spacing: 0; }
.laurel b { display: block; font-size: 22px; font-weight: 700; letter-spacing: -0.03em; }
@media (max-width: 600px) {
  .hero { padding: 124px 0 40px; }
  .display { font-size: clamp(36px, 10.4vw, 62px); letter-spacing: -0.045em; }
  .display .line { white-space: normal; }
  .lede { font-size: 18px; }
  .laurels { gap: 18px; }
  .laurel b { font-size: 17px; } .laurel small { font-size: 11px; }
  .laurel svg { width: 20px; height: 42px; }
}

/* ---------- Reveal ---------- */
.blur-in .w { display: inline-block; opacity: 0; filter: blur(16px); transform: translateY(.22em); transition: opacity 1.1s var(--expo), filter 1.1s var(--expo), transform 1.1s var(--expo); }
.blur-in .w.wi { transform: translateY(.15em) scale(.2) rotate(-28deg); transition: opacity .8s var(--expo), filter .8s var(--expo), transform 1.1s var(--spring); }
.blur-in.in .w { opacity: 1; filter: blur(0); transform: none; }
.blur-in .wi .ii { transition: transform .7s var(--spring); }
.blur-in .wi:hover .ii { transform: scale(1.18) rotate(-10deg); }
.fade-up { opacity: 0; transform: translateY(36px) scale(.985); filter: blur(10px); transition: opacity 1.2s var(--expo), transform 1.2s var(--expo), filter 1.2s var(--expo); }
.fade-up.in { opacity: 1; transform: none; filter: none; }

/* ---------- Stage: hand + phone ---------- */
.stage-wrap { padding: 0 var(--gutter); }
.stage {
  position: relative; max-width: var(--max); margin: 0 auto;
  background: var(--panel); border-radius: 56px; overflow: hidden;
  height: clamp(640px, 78vw, 1040px);
  transform: scale(var(--stage-scale, 1)); transform-origin: 50% 0;
  isolation: isolate;
}
.hand {
  position: absolute; left: 50%; top: clamp(30px, 6vw, 80px);
  width: clamp(620px, 76vw, 1060px); aspect-ratio: 1; background: var(--panel);
  transform: translate(-50%, var(--hand-y, 0px));
  will-change: transform;
}
.hand > img {
  width: 100%; height: 100%; mix-blend-mode: multiply;
  -webkit-mask: linear-gradient(#000 70%, transparent 97%); mask: linear-gradient(#000 70%, transparent 97%);
  user-select: none; -webkit-user-drag: none;
}
.hand .iphone { position: absolute; left: 30.2%; top: 5.6%; width: 41.4%; }
.stage .deco { position: absolute; z-index: 3; width: var(--s, 90px); transform: translate3d(var(--px, 0px), calc(var(--dy, 0px) + var(--py, 0px)), 0); will-change: transform; }
.stage .deco img { width: 100%; filter: drop-shadow(0 18px 24px rgba(0,0,0,.16)); animation: float 6s ease-in-out infinite; animation-delay: var(--d, 0s); }
@keyframes float { 0%, 100% { transform: translateY(0) rotate(var(--rot, 0deg)); } 50% { transform: translateY(-14px) rotate(calc(var(--rot, 0deg) + 4deg)); } }
@media (max-width: 700px) {
  .stage { border-radius: 36px; height: 600px; }
  .hand { width: 640px; top: 28px; }
  .stage .deco { --s: 56px !important; }
  .stage .deco.hide-sm { display: none; }
}

/* ---------- iPhone (realistic frame, scales with width) ---------- */
.iphone { position: relative; aspect-ratio: 71.9 / 150; container-type: inline-size; }
.iphone .frame {
  position: absolute; inset: 0; border-radius: 16.2cqw;
  background:
    linear-gradient(90deg, #1b1b1d 0%, #8e8e93 1.2%, #3a3a3c 2.6%, #2c2c2e 50%, #3a3a3c 97.4%, #8e8e93 98.8%, #1b1b1d 100%);
  box-shadow:
    0 0 0 .25cqw #0b0b0c,
    inset 0 .6cqw .6cqw rgba(255,255,255,.18),
    inset 0 -.6cqw .8cqw rgba(0,0,0,.5),
    0 4cqw 10cqw -2cqw rgba(0,0,0,.35),
    0 12cqw 24cqw -6cqw rgba(0,0,0,.28);
}
.iphone .frame::after { /* black glass bezel */
  content: ""; position: absolute; inset: 1.15cqw; border-radius: 15.1cqw; background: #000;
  box-shadow: inset 0 0 0 .25cqw #1c1c1e;
}
.iphone .screen {
  position: absolute; inset: 4.1cqw; border-radius: 12.4cqw; overflow: hidden; z-index: 1;
  background: #fff; transform: translateZ(0);
}
.iphone .screen::after { /* glass glare */
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 20;
  background: linear-gradient(118deg, rgba(255,255,255,.14) 0%, rgba(255,255,255,.04) 28%, rgba(255,255,255,0) 42%);
}
.iphone .island {
  position: absolute; z-index: 21; top: 2.9cqw; left: 50%; transform: translateX(-50%);
  width: 30cqw; height: 8.8cqw; border-radius: 99px; background: #000;
}
.iphone .island::after { content: ""; position: absolute; right: 3.2cqw; top: 50%; width: 3cqw; height: 3cqw; transform: translateY(-50%); border-radius: 50%; background: radial-gradient(circle at 35% 35%, #2a3550, #0a0c12 60%); }
.iphone .sb { position: absolute; width: 1.1cqw; border-radius: .6cqw; background: linear-gradient(90deg, #1b1b1d, #6e6e73 45%, #2c2c2e); }
.iphone .sb.l { left: -.75cqw; } .iphone .sb.r { right: -.75cqw; transform: scaleX(-1); }
.iphone .sb.action { top: 20%; height: 6.8%; }
.iphone .sb.vup { top: 30%; height: 10.5%; }
.iphone .sb.vdown { top: 43%; height: 10.5%; }
.iphone .sb.power { top: 32%; height: 16%; }
.iphone .sb.cam { top: 62%; height: 9%; border-radius: .4cqw; }
.iphone .screen img.shot { width: 100%; height: 100%; object-fit: cover; }

/* Siri edge glow (iOS 18+) */
.siri { position: absolute; inset: 0; z-index: 19; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .9s var(--ease); }
.siri.on { opacity: 1; }
.siri b, .siri i { position: absolute; inset: 0; border-radius: inherit; }
.siri b { filter: blur(3.2cqw); opacity: .95; }
.siri i {
  padding: 1.6cqw;
  background: conic-gradient(from var(--a), var(--ai-1), var(--ai-2), var(--ai-3), var(--ai-4), #ffd60a, var(--ai-1));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  animation: spin 2.6s linear infinite;
}
.siri b i { padding: 6cqw; }

/* ---------- Screen UIs (sized in cqw so they scale with the phone) ---------- */
.ui { position: absolute; inset: 0; text-align: left; font-family: var(--font); letter-spacing: -0.02em; transition: opacity .8s var(--ease), filter .8s var(--ease), transform .8s var(--ease); }
.ui.off { opacity: 0; filter: blur(4px); transform: scale(1.04); }
.status { position: absolute; top: 4.4cqw; left: 0; right: 0; display: flex; justify-content: space-between; padding: 0 9.5cqw 0 10.5cqw; font-size: 4.1cqw; font-weight: 600; z-index: 5; }
.status .ic { display: flex; gap: 1.4cqw; align-items: center; }
.status svg { height: 3.2cqw; width: auto; }

/* lock screen */
.ui.lock { color: #fff; background:
  radial-gradient(120% 70% at 20% 10%, #6b7cff 0%, transparent 55%),
  radial-gradient(90% 60% at 90% 40%, #ff7ab8 0%, transparent 60%),
  radial-gradient(120% 80% at 50% 110%, #ffb36b 0%, transparent 60%),
  linear-gradient(180deg, #2a2f7a, #6a3f8f 55%, #c46a6a); }
.lock .date { position: absolute; top: 17cqw; width: 100%; text-align: center; font-size: 5.2cqw; font-weight: 600; opacity: .92; }
.lock .time { position: absolute; top: 21cqw; width: 100%; text-align: center; font-size: 27cqw; font-weight: 700; letter-spacing: -0.04em; line-height: 1; text-shadow: 0 .4cqw 2cqw rgba(0,0,0,.12); }
.lock .notes { position: absolute; left: 3.6cqw; right: 3.6cqw; bottom: 22cqw; display: grid; gap: 2cqw; }
.notif { display: flex; gap: 3cqw; align-items: center; padding: 3.2cqw 3.6cqw; border-radius: 6.4cqw; }
.notif .ai { width: 10cqw; height: 10cqw; flex: none; }
.notif .nt { flex: 1; min-width: 0; font-size: 3.6cqw; line-height: 1.25; }
.notif .nt b { display: flex; justify-content: space-between; font-weight: 600; }
.notif .nt b span { font-weight: 400; opacity: .7; }
.notif .nt p { opacity: .92; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lock .qa { position: absolute; bottom: 7cqw; left: 11cqw; right: 11cqw; display: flex; justify-content: space-between; }
.lock .qa span { width: 13cqw; height: 13cqw; border-radius: 50%; display: grid; place-items: center; }
.lock .qa svg { width: 5.2cqw; height: 5.2cqw; fill: #fff; }
.lock .home-ind { position: absolute; bottom: 2cqw; left: 50%; width: 36cqw; height: 1.4cqw; border-radius: 9px; background: #fff; transform: translateX(-50%); }

/* store-like list */
.ui.store { background: #fff; color: #000; }
.store .head { padding: 20cqw 6cqw 0; }
.store .head small { font-size: 3.6cqw; color: #8e8e93; font-weight: 600; text-transform: uppercase; letter-spacing: 0; }
.store .head h4 { font-size: 9cqw; font-weight: 700; letter-spacing: -0.035em; line-height: 1.1; }
.store .feature { margin: 4cqw 6cqw 0; height: 38cqw; border-radius: 6cqw; overflow: hidden; position: relative; color: #fff; padding: 4.5cqw; display: flex; flex-direction: column; justify-content: flex-end; }
.store .feature img { position: absolute; right: -2cqw; top: -1cqw; width: 30cqw; transform: rotate(10deg); filter: drop-shadow(0 2cqw 3cqw rgba(0,0,0,.2)); }
.store .feature small { font-size: 3.1cqw; font-weight: 700; opacity: .85; text-transform: uppercase; letter-spacing: 0; }
.store .feature b { font-size: 5.6cqw; line-height: 1.1; letter-spacing: -0.03em; }
.store .rows { margin-top: 3cqw; }
.row { display: flex; align-items: center; gap: 3.4cqw; padding: 2.6cqw 6cqw; }
.row .ai { width: 13cqw; height: 13cqw; flex: none; }
.row .rt { flex: 1; display: flex; align-items: center; gap: 2cqw; min-width: 0; }
.row + .row .rt { border-top: .25cqw solid #e5e5ea; padding-top: 2.6cqw; margin-top: -2.6cqw; }
.row .rt div { flex: 1; min-width: 0; }
.row b { display: block; font-size: 4cqw; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.row small { display: block; font-size: 3.3cqw; color: #8e8e93; }
.row .get { font-size: 3.8cqw; font-weight: 700; color: #0a84ff; background: #eef0f4; border-radius: 99px; padding: 1.4cqw 4.4cqw; }
.tabbar { position: absolute; left: 4cqw; right: 4cqw; bottom: 5cqw; height: 16cqw; border-radius: 99px; display: flex; justify-content: space-around; align-items: center; padding: 0 2cqw; z-index: 6; }
.tabbar span { display: flex; flex-direction: column; align-items: center; gap: .6cqw; font-size: 2.6cqw; font-weight: 600; color: #3c3c43; letter-spacing: 0; }
.tabbar span.on { color: #0a84ff; }
.tabbar span svg { width: 6cqw; height: 6cqw; fill: currentColor; }

/* app icon — iOS 26 style squircle */
.ai { position: relative; border-radius: 23%; overflow: hidden; display: grid; place-items: center; background: linear-gradient(160deg, var(--c1, #ddd), var(--c2, #999)); }
.ai::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: linear-gradient(170deg, rgba(255,255,255,.45) 0%, rgba(255,255,255,0) 45%); box-shadow: inset 0 0 0 1px rgba(255,255,255,.22); }
.ai img.g { width: 68%; height: 68%; object-fit: contain; filter: drop-shadow(0 6% 8% rgba(0,0,0,.18)); }
.ai img.real { width: 100%; height: 100%; object-fit: cover; }

/* generic app screen (placeholder until real screenshots arrive) */
.ui.appui { background: #f2f2f7; color: #000; }
.ui.appui .head { padding: 19cqw 6cqw 0; }
.ui.appui .head h4 { font-size: 9cqw; font-weight: 700; letter-spacing: -0.035em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ui.appui .search { margin: 3cqw 6cqw 0; height: 10cqw; border-radius: 99px; background: rgba(118,118,128,.12); display: flex; align-items: center; padding: 0 4cqw; font-size: 4cqw; color: #8e8e93; gap: 2cqw; }
.ui.appui .search svg { width: 4cqw; height: 4cqw; fill: #8e8e93; }
.ui.appui .hero-card { margin: 4cqw 6cqw 0; height: 44cqw; border-radius: 7cqw; position: relative; overflow: hidden; background: linear-gradient(150deg, var(--c1), var(--c2)); }
.ui.appui .hero-card img { position: absolute; right: 3cqw; bottom: 3cqw; width: 30cqw; filter: drop-shadow(0 3cqw 4cqw rgba(0,0,0,.25)); }
.ui.appui .hero-card i { position: absolute; left: 5cqw; top: 5cqw; width: 30cqw; height: 4.4cqw; border-radius: 9px; background: rgba(255,255,255,.85); }
.ui.appui .hero-card i + i { top: 11.5cqw; width: 20cqw; background: rgba(255,255,255,.55); }
.ui.appui .list { margin: 4cqw 6cqw 0; background: #fff; border-radius: 6cqw; padding: 1cqw 0; }
.ui.appui .li { display: flex; align-items: center; gap: 3cqw; padding: 3cqw 4cqw; }
.ui.appui .li + .li { border-top: .25cqw solid #ececf0; }
.ui.appui .li span { width: 7cqw; height: 7cqw; border-radius: 2cqw; background: var(--c1); opacity: .9; flex: none; }
.ui.appui .li i { flex: 1; height: 3.2cqw; border-radius: 9px; background: #e5e5ea; }
.ui.appui .li i.s { flex: none; width: 10cqw; background: #f0f0f3; }

/* ---------- Statements (scroll-linked word fill) ---------- */
.statement {
  max-width: 1040px; margin: 0 auto; padding: 0 var(--gutter);
  text-align: center;
  font-size: clamp(32px, 4.9vw, 68px);
  font-weight: 700; line-height: 1.1; letter-spacing: -0.038em;
}
.statement .w, .statement .ii, .statement .logo-ii { opacity: var(--o, .14); transition: opacity .3s linear; }
.statement .logo-ii { display: inline-block; width: .84em; height: .84em; vertical-align: -0.1em; border-radius: .24em; padding: .15em; margin: 0 .05em; background: #fff; box-shadow: 0 0 0 1px var(--line), 0 .08em .2em rgba(0,0,0,.06); }
.statement .logo-ii img { width: 100%; height: 100%; object-fit: contain; }
.sec { padding: clamp(120px, 16vw, 220px) 0 0; }
.sec-head { text-align: center; padding: 0 var(--gutter); }
.sec-label { font-size: 19px; font-weight: 600; letter-spacing: -0.02em; color: var(--ink-2); }
.sec-title { font-size: clamp(42px, 6.4vw, 84px); font-weight: 700; letter-spacing: -0.047em; line-height: 1.02; margin-top: 10px; }

/* ---------- App showcase (sticky stacking cards) ---------- */
.apps { display: grid; gap: 28px; margin-top: 80px; }
.app {
  --accent: #888;
  position: relative; overflow: hidden; isolation: isolate;
  background: linear-gradient(165deg, color-mix(in srgb, var(--accent) 9%, var(--panel)) 0%, var(--panel) 55%);
  border-radius: 48px;
  display: grid; grid-template-columns: 1fr 1fr; align-items: center;
  min-height: 680px; padding: 0 72px;
  transform: scale(var(--k, 1)); transform-origin: 50% 0;
}
@media (min-width: 901px) and (min-height: 820px) {
  .app { position: sticky; top: calc(96px + var(--i, 0) * 14px); }
}
.app::before { /* soft brand glow */
  content: ""; position: absolute; z-index: -1; width: 70%; aspect-ratio: 1; right: -12%; top: 50%; transform: translateY(-50%);
  background: radial-gradient(closest-side, color-mix(in srgb, var(--accent) 28%, transparent), transparent);
}
.app-shade { position: absolute; inset: 0; z-index: 30; background: #000; opacity: var(--dim, 0); pointer-events: none; }
.app:nth-child(even) { direction: rtl; }
.app:nth-child(even) > * { direction: ltr; }
.app:nth-child(even)::before { right: auto; left: -12%; }
.app .ai { width: 112px; height: 112px; box-shadow: 0 20px 40px -12px rgba(0,0,0,.25); }
.app-copy { position: relative; z-index: 2; }
.app-cat { margin-top: 28px; font-size: 15px; font-weight: 600; color: var(--ink-2); }
.app h3 { font-size: clamp(36px, 4vw, 56px); font-weight: 700; letter-spacing: -0.045em; line-height: 1.04; margin-top: 4px; }
.app .tag { font-size: clamp(19px, 1.8vw, 24px); color: var(--ink-2); letter-spacing: -0.025em; margin-top: 10px; font-weight: 500; }
.app .btn-row { justify-content: flex-start; margin-top: 32px; }
.app-media { position: relative; height: 100%; min-height: 680px; perspective: 1600px; }
.tilt { position: absolute; inset: 0; transform-style: preserve-3d; transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); }
.app-media .iphone { position: absolute; width: 270px; left: 50%; top: 50%; transform: translate(-50%, calc(-50% + var(--py, 0px))) translateZ(20px); }
.app-media .iphone.back { width: 240px; transform: translate(-8%, calc(-46% + var(--py2, 0px))) rotate(7deg) translateZ(-40px); }
.app-media.two .iphone.front { transform: translate(-86%, calc(-50% + var(--py, 0px))) rotate(-4deg) translateZ(30px); z-index: 2; }
.app-media .deco { position: absolute; width: 84px; z-index: 4; filter: drop-shadow(0 16px 20px rgba(0,0,0,.18)); animation: float 6s ease-in-out infinite; transform: translateZ(90px); }
@media (max-width: 900px) {
  .app { grid-template-columns: 1fr; padding: 48px 24px 0; min-height: 0; text-align: center; border-radius: 36px; }
  .app:nth-child(even) { direction: ltr; }
  .app .ai { margin: 0 auto; width: 92px; height: 92px; }
  .app .btn-row { justify-content: center; }
  .app-media { min-height: 520px; margin-top: 16px; }
  .app-media .iphone { width: 230px; top: 52%; }
  .app-media .iphone.back { width: 200px; }
  .app-media .deco { width: 52px; top: 1% !important; }
  .app::before { right: -30%; top: 70%; width: 120%; }
}

/* Cursor spotlight (cards) */
.spot::after {
  content: ""; position: absolute; inset: 0; z-index: 1; border-radius: inherit; pointer-events: none;
  background: radial-gradient(520px circle at var(--sx, 50%) var(--sy, 50%), color-mix(in srgb, var(--accent, #fff) 16%, transparent), transparent 45%);
  opacity: 0; transition: opacity .6s var(--ease);
}
.spot:hover::after { opacity: 1; }

/* ---------- Dark zone (expands to full bleed on scroll) ---------- */
.dark-zone { position: relative; isolation: isolate; margin-top: clamp(120px, 16vw, 220px); padding: clamp(120px, 15vw, 210px) 0 clamp(110px, 13vw, 180px); color: #f5f5f7; }
.dz-bg { position: absolute; inset: 0; z-index: -1; background: #000; overflow: hidden; clip-path: inset(0 var(--dz-x, 24px) round var(--dz-r, 56px)); }
.dz-bg i { position: absolute; left: 50%; top: 0; width: 130%; height: 80%; transform: translate(-50%, -38%); opacity: var(--dz-p, 0);
  background: radial-gradient(closest-side, rgba(94, 92, 230, .5), rgba(191, 90, 242, .2) 55%, transparent); }
.dark-zone .statement .w, .dark-zone .statement .ii, .dark-zone .statement .logo-ii { opacity: var(--o, .2); }
.dark-zone .statement .logo-ii { box-shadow: 0 0 .4em rgba(255,255,255,.18); }
.marquee {
  margin-top: clamp(70px, 9vw, 120px); display: grid; gap: 16px;
  -webkit-mask: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent); mask: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent);
}
.mq-row { display: flex; gap: 16px; width: max-content; animation: mq 52s linear infinite; }
.mq-row.rev { animation-direction: reverse; animation-duration: 60s; }
.marquee:hover .mq-row { animation-play-state: paused; }
@keyframes mq { to { transform: translateX(calc(-50% - 8px)); } }
.tile {
  display: inline-flex; align-items: center; gap: 14px; height: 80px; padding: 0 28px 0 16px; border-radius: 26px;
  background: linear-gradient(180deg, rgba(255,255,255,.1), rgba(255,255,255,.04));
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.08), inset 0 1px 0 rgba(255,255,255,.14);
  font-size: 19px; font-weight: 600; letter-spacing: -0.02em; white-space: nowrap;
  transition: background .4s, transform .6s var(--spring);
}
.tile:hover { background: linear-gradient(180deg, rgba(255,255,255,.16), rgba(255,255,255,.07)); transform: translateY(-3px); }
.tile span { width: 48px; height: 48px; border-radius: 13px; background: #fff; display: grid; place-items: center; box-shadow: 0 6px 16px -6px rgba(0,0,0,.6); }
.tile img { width: 28px; height: 28px; object-fit: contain; }
@media (max-width: 700px) {
  .tile { height: 64px; font-size: 16px; border-radius: 20px; padding: 0 20px 0 12px; }
  .tile span { width: 40px; height: 40px; border-radius: 11px; }
  .tile img { width: 24px; height: 24px; }
}

/* ---------- Services bento ---------- */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; margin-top: 80px; }
.card {
  --accent: #888;
  grid-column: span 2; position: relative; overflow: hidden; isolation: isolate;
  min-height: 340px; padding: 36px; border-radius: 34px;
  background: radial-gradient(90% 80% at 100% 0%, color-mix(in srgb, var(--accent) 15%, transparent), transparent 62%), var(--panel);
  display: flex; flex-direction: column; justify-content: space-between; gap: 28px;
  transition: opacity 1.2s var(--expo), filter 1.2s var(--expo), transform .9s var(--spring), box-shadow .6s var(--ease);
}
.card.c-wide { grid-column: span 4; }
.card.c-half { grid-column: span 3; }
.card::before { /* rim light that follows the cursor */
  content: ""; position: absolute; inset: 0; z-index: 2; border-radius: inherit; padding: 1.5px; pointer-events: none;
  background: radial-gradient(260px circle at var(--sx, 50%) var(--sy, 50%), color-mix(in srgb, var(--accent) 75%, transparent), transparent 70%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity .5s var(--ease);
}
.card:hover::before { opacity: 1; }
.card.in:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -36px color-mix(in srgb, var(--accent) 45%, rgba(0,0,0,.35)); }
.card > img { width: 96px; height: 96px; object-fit: contain; filter: drop-shadow(0 16px 20px rgba(0,0,0,.16)); transition: transform .9s var(--spring); }
.card:hover > img { transform: translateY(-6px) rotate(-8deg) scale(1.08); }
.card.c-wide > img { position: absolute; right: 7%; top: 50%; width: 230px; height: 230px; transform: translateY(-50%) rotate(-6deg); filter: drop-shadow(0 30px 34px rgba(0,0,0,.18)); }
.card.c-wide:hover > img { transform: translateY(calc(-50% - 10px)) rotate(-14deg) scale(1.06); }
.card.c-wide > div { margin-top: auto; max-width: 55%; }
.card h3 { position: relative; z-index: 2; font-size: clamp(24px, 2.2vw, 30px); font-weight: 700; letter-spacing: -0.035em; line-height: 1.1; }
.card p { position: relative; z-index: 2; margin-top: 8px; max-width: 26em; font-size: 17px; font-weight: 500; color: var(--ink-2); letter-spacing: -0.015em; }
@media (max-width: 900px) {
  .bento { grid-template-columns: 1fr 1fr; gap: 14px; }
  .card, .card.c-half { grid-column: span 1; }
  .card.c-wide { grid-column: span 2; }
}
@media (max-width: 600px) {
  .bento { grid-template-columns: 1fr; margin-top: 56px; }
  .card, .card.c-wide, .card.c-half { grid-column: auto; min-height: 260px; padding: 28px; border-radius: 28px; }
  .card.c-wide > img { position: static; width: 96px; height: 96px; transform: none; }
  .card.c-wide > div { max-width: none; }
}

/* ---------- CTA + Footer ---------- */
.cta { position: relative; isolation: isolate; overflow: clip; text-align: center; padding: clamp(140px, 16vw, 220px) 0 clamp(40px, 6vw, 80px); }
.cta .btn-row { margin-top: 52px; }
.footer { text-align: center; padding: 120px 0 56px; color: var(--ink-3); }
.footer .fl { display: inline-flex; align-items: center; gap: 10px; font-size: 22px; font-weight: 700; letter-spacing: -0.04em; color: var(--ink); }
.footer .fl img { width: 34px; height: 34px; transition: transform .7s var(--spring); }
.footer .fl:hover img { transform: rotate(-10deg) scale(1.08); }
.footer .links { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 12px; margin-top: 16px; font-size: 15px; font-weight: 500; color: var(--ink-2); }
.footer .links a { transition: color .3s; }
.footer .links a:hover { color: var(--ink); }
.footer .links i { font-style: normal; color: #c7c7cc; }
.footer .made { margin-top: 10px; font-size: 13px; font-weight: 500; color: var(--ink-3); }

/* ---------- Legal pages ---------- */
.legal-hero { padding: 170px 0 40px; text-align: center; }
.legal-hero h1 { font-size: clamp(44px, 7vw, 88px); font-weight: 700; letter-spacing: -0.045em; line-height: 1.02; }
.legal-hero .meta { margin-top: 18px; color: var(--ink-2); font-size: 17px; font-weight: 500; }
.legal { display: grid; grid-template-columns: 250px 1fr; gap: 72px; padding: 48px 0 40px; }
.legal > * { min-width: 0; }
.toc { position: sticky; top: 110px; align-self: start; font-size: 14px; padding: 22px; border-radius: 24px; background: var(--panel); }
.toc summary { list-style: none; display: flex; align-items: center; justify-content: space-between; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-3); margin-bottom: 10px; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.toc summary::-webkit-details-marker { display: none; }
.toc summary::after { content: ""; width: 8px; height: 8px; border: solid currentColor; border-width: 0 2px 2px 0; transform: rotate(45deg) translateY(-3px); transition: transform .4s var(--spring); }
.toc:not([open]) summary { margin-bottom: 0; }
.toc:not([open]) summary::after { transform: rotate(-45deg); }
.toc a { display: block; padding: 4px 0; color: var(--ink-2); font-weight: 500; transition: color .2s; }
.toc a:hover { color: var(--ink); }
.prose { max-width: 720px; }
.prose h2 { font-size: 28px; letter-spacing: -0.035em; margin: 56px 0 12px; scroll-margin-top: 110px; font-weight: 700; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 19px; margin: 26px 0 8px; letter-spacing: -0.02em; }
.prose p, .prose li { color: #333336; font-size: 17px; }
.prose p + p { margin-top: 12px; }
.prose ul { margin: 10px 0 0 22px; display: grid; gap: 6px; }
.prose a { color: var(--blue); }
.prose a:hover { text-decoration: underline; }
.prose .note { background: var(--panel); border-radius: 20px; padding: 18px 22px; margin-top: 16px; }
.prose table { width: 100%; border-collapse: collapse; margin-top: 14px; font-size: 15px; }
.prose th, .prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { font-weight: 600; background: var(--panel); }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 0 calc(-1 * var(--gutter)); padding: 0 var(--gutter); }
.prose table { min-width: 520px; }
.prose ol { margin: 10px 0 0 22px; display: grid; gap: 6px; }
.prose a.btn { color: #fff; text-decoration: none; }
.prose .btn-row.left { justify-content: flex-start; margin-top: 18px; }
.prose .summary { background: linear-gradient(160deg, rgba(10,132,255,.07), rgba(191,90,242,.06)); border-radius: 24px; padding: 24px 26px; margin-bottom: 8px; }
.prose .summary h2 { margin: 0 0 6px; font-size: 22px; }
.prose .summary ul { margin-top: 6px; }
.prose.narrow { max-width: 760px; margin: 24px auto 40px; }
.prose.narrow > h2 { font-size: 26px; margin-top: 48px; }
.steps { display: grid; gap: 16px; margin: 32px 0 8px; }
.step { display: flex; gap: 18px; padding: 26px; border-radius: 28px; background: var(--panel); }
.step .num { flex: none; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: #000; color: #fff; font-weight: 700; font-size: 18px; }
.step h2 { font-size: 22px; margin: 6px 0 8px; }
.step p { margin-top: 10px; }
@media (max-width: 600px) {
  .legal-hero { padding: 120px 0 24px; }
  .legal-hero .meta { font-size: 15px; }
  .prose h2 { font-size: 24px; margin-top: 44px; }
  .prose p, .prose li { font-size: 16px; }
  .step { flex-direction: column; gap: 12px; padding: 22px; border-radius: 24px; }
  .prose .summary { padding: 20px; }
}
@media (max-width: 900px) {
  .legal-hero { padding-top: 130px; }
  .legal { grid-template-columns: 1fr; gap: 32px; }
  .toc { position: static; padding: 18px 20px; }
}

/* ---------- Touch devices: no sticky hover states ---------- */
@media (hover: none) {
  .btn:hover { --sc: 1; }
  .btn:hover::after { transform: translateX(-110%); }
  .card.in:hover { transform: none; box-shadow: none; }
  .card:hover > img { transform: none; }
  .card.c-wide:hover > img { transform: translateY(-50%) rotate(-6deg); }
  .card:hover::before, .spot:hover::after { opacity: 0; }
  .tile:hover { transform: none; }
  .nav-links a:not(.btn):hover { background: none; }
}

/* ---------- iPad / tablet ---------- */
@media (min-width: 601px) and (max-width: 1024px) {
  .hero { padding-top: 150px; }
  .statement { font-size: clamp(32px, 5.4vw, 56px); }
  .app h3 { font-size: clamp(34px, 5vw, 48px); }
}
@media (min-width: 601px) and (max-width: 900px) {
  .card.c-wide > img { width: 170px; height: 170px; right: 5%; }
  .card.c-wide > div { max-width: 58%; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .blur-in .w, .fade-up { opacity: 1; filter: none; transform: none; transition: none; }
  .statement .w, .statement .ii, .statement .logo-ii { opacity: 1 !important; }
  .stage .deco img, .app-media .deco, .aurora i, .grad, .mq-row, .eyebrow::before, .glow-wrap::before, .glow-wrap::after, .siri i, .nav { animation: none; }
  .stage, .app { transform: none; }
  .mq-row { flex-wrap: wrap; width: auto; justify-content: center; }
}

/* ---------- Contact sheet (replaces bare mailto links) ---------- */
.sheet { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 16px; visibility: hidden; }
.sheet.open { visibility: visible; }
.sheet-bg { position: absolute; inset: 0; background: rgba(0,0,0,.32); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); opacity: 0; transition: opacity .4s var(--ease); }
.sheet.open .sheet-bg { opacity: 1; }
.sheet-card {
  position: relative; width: 100%; max-width: 400px; padding: 28px 22px 22px; border-radius: 32px; text-align: center;
  background: rgba(255,255,255,.86); -webkit-backdrop-filter: blur(30px) saturate(180%); backdrop-filter: blur(30px) saturate(180%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.9), 0 0 0 .5px rgba(0,0,0,.08), 0 40px 80px -20px rgba(0,0,0,.35);
  opacity: 0; transform: translateY(24px) scale(.94); transition: opacity .35s var(--ease), transform .6s var(--spring);
}
.sheet.open .sheet-card { opacity: 1; transform: none; }
.sheet-card > img { width: 56px; height: 56px; margin: 0 auto; filter: drop-shadow(0 8px 14px rgba(0,0,0,.2)); }
.sheet-card h3 { margin-top: 14px; font-size: 22px; font-weight: 700; letter-spacing: -0.03em; }
.sheet-card .addr { margin-top: 4px; font-size: 16px; font-weight: 500; color: var(--ink-2); word-break: break-all; }
.sheet-actions { display: grid; gap: 8px; margin-top: 22px; }
.sheet-actions a, .sheet-actions button {
  display: flex; align-items: center; gap: 14px; width: 100%; height: 56px; padding: 0 18px; border: 0; border-radius: 18px;
  background: rgba(118,118,128,.1); color: var(--ink); font: 600 17px/1 var(--font); letter-spacing: -0.015em; text-align: left; cursor: pointer;
  transition: background .25s, transform .4s var(--spring); -webkit-tap-highlight-color: transparent;
}
.sheet-actions a:hover, .sheet-actions button:hover { background: rgba(118,118,128,.18); }
.sheet-actions a:active, .sheet-actions button:active { transform: scale(.97); }
.sheet-actions svg { width: 24px; height: 24px; flex: none; }
.sheet-actions .copied { color: #248a3d; }
.sheet-x { position: absolute; top: 14px; right: 14px; width: 32px; height: 32px; border: 0; border-radius: 50%; background: rgba(118,118,128,.14); color: var(--ink-2); display: grid; place-items: center; cursor: pointer; }
.sheet-x svg { width: 12px; height: 12px; }
@media (max-width: 600px) {
  .sheet { place-items: end center; padding: 0 8px max(8px, env(safe-area-inset-bottom)); }
  .sheet-card { max-width: none; border-radius: 30px; transform: translateY(100%); }
}
@media (prefers-reduced-motion: reduce) { .sheet-card, .sheet-bg { transition: none; } }
