:root {
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Inter", "Segoe UI", system-ui, sans-serif;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  --ease: cubic-bezier(.2, .9, .2, 1);
  --radius: 32px;

  --bg: #edf3fd;
  --label: #0a1428;
  --label-2: rgba(30, 44, 78, .74);
  --label-3: rgba(30, 44, 78, .48);
  --glass: rgba(255, 255, 255, .52);
  --glass-strong: rgba(255, 255, 255, .76);
  --glass-border: rgba(255, 255, 255, .88);
  --hairline: rgba(24, 48, 110, .10);
  --fill: rgba(40, 80, 160, .07);
  --seg-on: #fff;
  --shadow: 0 1px 0 rgba(255, 255, 255, .9) inset, 0 30px 60px -32px rgba(28, 72, 170, .38), 0 2px 10px -4px rgba(28, 72, 170, .12);
  --shadow-sm: 0 1px 0 rgba(255, 255, 255, .9) inset, 0 8px 20px -10px rgba(28, 72, 170, .28);
  --sheet-bg: rgba(246, 249, 255, .86);
  --scrim: rgba(8, 20, 50, .22);
  --grid: rgba(30, 70, 160, .085);

  --blue: #0a74ff;
  --blue-soft: rgba(10, 116, 255, .11);
  --grad-text: linear-gradient(100deg, #0a6cff 0%, #33b1ff 25%, #6a66ff 50%, #33b1ff 75%, #0a6cff 100%);
  --btn-grad: linear-gradient(180deg, #3d9dff 0%, #0a6cff 100%);
  --btn-glow: rgba(0, 110, 255, .75);
  --on-white: #0a5cff;
  --featured: linear-gradient(135deg, #1646e8 0%, #2a7dff 25%, #48adff 50%, #2a7dff 75%, #1646e8 100%);
  --featured-glow: rgba(20, 90, 255, .75);
  --tile: linear-gradient(140deg, #6fd3ff, #0a6cff);
  --b1: #86b8ff;
  --b2: #9fe3ff;
  --b3: #b6b4ff;
  --b4: #cfe6ff;
  --b-alpha: .85;

  --code-bg: rgba(248, 251, 255, .92);
  --code-border: rgba(24, 48, 110, .10);
  --code-head: rgba(30, 44, 78, .55);
  --code-text: #13203d;
  --code-shadow: 0 24px 48px -30px rgba(28, 72, 170, .4);
  --code-tag: var(--blue);
  --code-tag-bg: rgba(10, 116, 255, .10);
  --t-f: #0a5cff;
  --t-k: #7c3aed;
  --t-m: #2f4fd0;
  --t-s: #0e8a7a;
  --t-c: rgba(30, 44, 78, .5);

  color-scheme: light;
}

:root[data-theme="dark"] {
  --bg: #03060f;
  --label: #eef3ff;
  --label-2: rgba(214, 226, 255, .70);
  --label-3: rgba(214, 226, 255, .44);
  --glass: rgba(12, 18, 38, .52);
  --glass-strong: rgba(16, 24, 48, .76);
  --glass-border: rgba(140, 170, 255, .12);
  --hairline: rgba(140, 170, 255, .11);
  --fill: rgba(120, 150, 240, .08);
  --seg-on: rgba(90, 120, 210, .28);
  --shadow: 0 1px 0 rgba(255, 255, 255, .06) inset, 0 30px 60px -30px rgba(0, 0, 0, .8);
  --shadow-sm: 0 1px 0 rgba(255, 255, 255, .06) inset, 0 8px 20px -10px rgba(0, 0, 0, .65);
  --sheet-bg: rgba(9, 14, 30, .9);
  --scrim: rgba(0, 2, 10, .55);
  --grid: rgba(110, 150, 255, .07);

  --blue: #2a6fe2;
  --blue-soft: rgba(42, 111, 226, .16);
  --grad-text: linear-gradient(100deg, #1f5fd6 0%, #2a8ad0 25%, #5a52d6 50%, #2a8ad0 75%, #1f5fd6 100%);
  --btn-grad: linear-gradient(180deg, #2566d6 0%, #0a3fa8 100%);
  --btn-glow: rgba(8, 60, 190, .7);
  --on-white: #0a3a9e;
  --featured: linear-gradient(135deg, #07196a 0%, #0e3aa2 25%, #1a64b6 50%, #0e3aa2 75%, #07196a 100%);
  --featured-glow: rgba(6, 40, 150, .8);
  --tile: linear-gradient(140deg, #2a7cc0, #0a3fa8);
  --b1: #0e2a70;
  --b2: #053f62;
  --b3: #211a6a;
  --b4: #0a2150;
  --b-alpha: .55;

  --code-bg: linear-gradient(180deg, #0c1530 0%, #08101f 100%);
  --code-border: rgba(140, 170, 255, .14);
  --code-head: rgba(205, 220, 255, .6);
  --code-text: #e6edff;
  --code-shadow: 0 30px 60px -30px rgba(0, 0, 0, .75);
  --code-tag: #5aaee0;
  --code-tag-bg: rgba(90, 170, 240, .12);
  --t-f: #5a9ef0;
  --t-k: #b9a6ff;
  --t-m: #8ea2f0;
  --t-s: #6fd6c8;
  --t-c: rgba(200, 215, 255, .42);

  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--label);
  font: 16px/1.45 var(--font);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: background-color .4s;
}
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--blue) 55%, transparent); outline-offset: 2px; }

.sky { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.blob { position: absolute; border-radius: 50%; opacity: var(--b-alpha); will-change: transform; animation: drift 30s var(--ease) infinite alternate; }
.b1 { width: 70vmax; height: 70vmax; top: -30vmax; left: -22vmax; background: radial-gradient(circle, var(--b1) 0%, transparent 62%); }
.b2 { width: 60vmax; height: 60vmax; top: -8vmax; right: -26vmax; background: radial-gradient(circle, var(--b2) 0%, transparent 62%); animation-duration: 36s; }
.b3 { width: 65vmax; height: 65vmax; bottom: -34vmax; left: 8vmax; background: radial-gradient(circle, var(--b3) 0%, transparent 62%); animation-duration: 42s; }
.b4 { width: 46vmax; height: 46vmax; top: 34%; left: 38%; background: radial-gradient(circle, var(--b4) 0%, transparent 62%); animation-duration: 33s; }
.grid {
  position: absolute;
  inset: -72px;
  background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: radial-gradient(140% 110% at 50% 0%, #000 40%, rgba(0, 0, 0, .25) 100%);
  mask-image: radial-gradient(140% 110% at 50% 0%, #000 40%, rgba(0, 0, 0, .25) 100%);
  animation: grid-pan 28s linear infinite;
}

.glass {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  backdrop-filter: blur(28px) saturate(180%);
}

.btn {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 50px;
  padding: 0 24px;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font: 600 16px/1 var(--font);
  letter-spacing: -.01em;
  text-decoration: none;
  white-space: nowrap;
  -webkit-tap-highlight-color: transparent;
  transition: transform .25s var(--ease), box-shadow .25s, background-color .25s;
}
.btn:active { transform: scale(.96); }
.btn svg { width: 18px; height: 18px; flex: none; transition: transform .3s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }
.btn-primary { color: #fff; background: var(--btn-grad); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3), 0 12px 26px -12px var(--btn-glow); }
.btn-primary:hover { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3), 0 16px 32px -12px var(--btn-glow); }
.btn-primary::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .28) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform .8s var(--ease);
}
.btn-primary:hover::after { transform: translateX(120%); }
.btn-glass {
  color: var(--label);
  background: var(--glass-strong);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-sm);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  backdrop-filter: blur(20px) saturate(180%);
}
.btn-glass:hover { background: color-mix(in srgb, var(--glass-strong) 88%, var(--blue) 12%); }
.btn-white { color: var(--on-white); background: #fff; box-shadow: 0 12px 26px -14px rgba(0, 20, 90, .7); }
.btn-sm { height: 40px; padding: 0 18px; font-size: 15px; }
.btn-block { width: 100%; }

.logo { width: 28px; height: 28px; flex: none; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--label); font-size: 18px; font-weight: 700; letter-spacing: -.02em; text-decoration: none; }

.nav { position: sticky; top: 0; z-index: 50; padding: calc(12px + env(safe-area-inset-top)) 16px 0; }
.nav-inner {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  max-width: 1120px;
  height: 62px;
  margin: 0 auto;
  padding: 0 10px 0 16px;
  border-radius: 999px;
}
.nav-links { display: flex; gap: 2px; margin-left: 22px; }
.nav-links a {
  padding: 9px 15px;
  border-radius: 999px;
  color: var(--label-2);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  transition: background-color .2s, color .2s;
}
.nav-links a:hover, .nav-links a.active { background: var(--fill); color: var(--label); }
.nav-right { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.menu-btn {
  display: none;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--hairline);
  border-radius: 50%;
  background: var(--fill);
  cursor: pointer;
}
.menu-btn svg { width: 18px; height: 18px; }
.menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  right: 0;
  padding: 8px;
  border-radius: 26px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px) scale(.98);
  transition: opacity .25s, transform .3s var(--ease);
}
.menu.open { opacity: 1; pointer-events: auto; transform: none; }
.menu a { display: flex; justify-content: space-between; align-items: center; padding: 14px 16px; border-radius: 16px; font-size: 17px; font-weight: 500; text-decoration: none; }
.menu a:hover { background: var(--fill); }
.menu a svg { width: 14px; height: 14px; color: var(--label-3); }

.hero { max-width: 1120px; margin: 0 auto; padding: 104px 16px 24px; text-align: center; }
.hero h1 { margin: 0 0 22px; font-size: clamp(40px, 7vw, 84px); font-weight: 800; line-height: .98; letter-spacing: -.045em; }
.grad {
  color: transparent;
  background: var(--grad-text);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  animation: shimmer 8s ease-in-out infinite alternate;
}
.lead { max-width: 560px; margin: 0 auto 34px; color: var(--label-2); font-size: clamp(17px, 2.2vw, 21px); line-height: 1.5; letter-spacing: -.01em; }
.cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 34px 0 0; padding: 0; list-style: none; }
.chips li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 36px;
  padding: 0 16px;
  border-radius: 999px;
  color: var(--label-2);
  font-size: 14px;
  font-weight: 500;
  animation: float 6s ease-in-out infinite;
}
.chips li:nth-child(2) { animation-delay: -2s; }
.chips li:nth-child(3) { animation-delay: -4s; }
.chips b { color: var(--label); font-weight: 700; font-variant-numeric: tabular-nums; }
.chips svg { width: 15px; height: 15px; color: var(--blue); }

.section { max-width: 1120px; margin: 0 auto; padding: 64px 16px; scroll-margin-top: 90px; }
.section-head { max-width: 640px; margin: 0 auto 40px; text-align: center; }
.section-plans { padding-top: 56px; }
.section-head h2 { margin: 10px 0 12px; font-size: clamp(36px, 5.4vw, 56px); font-weight: 800; line-height: 1.02; letter-spacing: -.04em; }
.section-head p { margin: 0; color: var(--label-2); font-size: 18px; line-height: 1.5; }
.eyebrow { color: var(--blue); font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }

.plans { display: grid; grid-template-columns: repeat(3, 1fr); align-items: stretch; gap: 18px; }
.plan {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: 28px 26px 26px;
  border-radius: var(--radius);
  transition: transform .35s var(--ease);
}
.plan-title { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 10px; }
.plan h3 { margin: 0; font-size: 21px; font-weight: 700; letter-spacing: -.025em; }
.badge { padding: 5px 11px; border-radius: 999px; background: var(--blue-soft); color: var(--blue); font-size: 12px; font-weight: 700; letter-spacing: .02em; white-space: nowrap; }
.price { margin: 16px 0 2px; font-size: 48px; font-weight: 800; line-height: 1.05; letter-spacing: -.045em; font-variant-numeric: tabular-nums; }
.price small { margin-right: 2px; font-size: .56em; font-weight: 700; vertical-align: .55em; }
.period { color: var(--label-2); font-size: 15px; }
.feats { display: grid; gap: 11px; margin: 22px 0 26px; padding: 18px 0 0; border-top: 1px solid var(--hairline); list-style: none; }
.feats li { display: flex; align-items: flex-start; gap: 11px; font-size: 14.5px; line-height: 1.4; }
.check { display: grid; place-items: center; flex: none; width: 20px; height: 20px; border-radius: 50%; background: var(--blue-soft); color: var(--blue); }
.check svg { width: 11px; height: 11px; }
.plan .btn { width: 100%; margin-top: auto; }
.plan.featured {
  color: #fff;
  border-color: rgba(255, 255, 255, .3);
  background: var(--featured);
  background-size: 300% 300%;
  box-shadow: 0 34px 70px -30px var(--featured-glow), inset 0 1px 0 rgba(255, 255, 255, .4);
  animation: flow 9s ease-in-out infinite alternate;
}
.plan.featured::before, .plan.featured::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; }
.plan.featured::before { background: radial-gradient(80% 60% at 10% 0%, rgba(255, 255, 255, .22), transparent 60%); }
.plan.featured::after {
  background: linear-gradient(115deg, transparent 38%, rgba(255, 255, 255, .16) 50%, transparent 62%);
  background-size: 250% 100%;
  animation: sheen 5s ease-in-out infinite;
}
.plan.featured .period { color: rgba(255, 255, 255, .85); }
.plan.featured .feats { border-top-color: rgba(255, 255, 255, .2); }
.plan.featured .check, .plan.featured .badge { background: rgba(255, 255, 255, .2); color: #fff; }
.center { display: flex; justify-content: center; margin-top: 30px; }

.loader { display: grid; grid-template-columns: 1fr 1.25fr; gap: 32px; padding: 30px; border-radius: var(--radius); }
.loader h3 { margin: 8px 0 10px; font-size: 30px; font-weight: 800; letter-spacing: -.035em; }
.loader-copy > p { margin: 0; color: var(--label-2); font-size: 16px; line-height: 1.55; }
.steps { overflow: hidden; margin: 22px 0 0; padding: 0; border: 1px solid var(--hairline); border-radius: 20px; background: var(--glass-strong); list-style: none; }
.steps li { display: flex; align-items: stretch; padding-left: 14px; }
.num {
  display: grid;
  place-items: center;
  flex: none;
  width: 30px;
  height: 30px;
  margin: 14px 14px 14px 0;
  border-radius: 9px;
  color: #fff;
  background: var(--tile);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35);
  font-size: 14px;
  font-weight: 700;
}
.step-body { flex: 1; display: flex; flex-direction: column; justify-content: center; padding: 13px 16px 13px 0; }
.steps li + li .step-body { border-top: 1px solid var(--hairline); }
.step-body b { font-size: 16px; font-weight: 600; letter-spacing: -.01em; }
.step-body span { color: var(--label-2); font-size: 14px; }
.loader-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 14px; }
.code { overflow: hidden; border: 1px solid var(--code-border); border-radius: 22px; background: var(--code-bg); box-shadow: var(--code-shadow); }
.code-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 18px;
  border-bottom: 1px solid var(--code-border);
  color: var(--code-head);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
}
.code-tag { margin-left: auto; padding: 4px 10px; border-radius: 999px; background: var(--code-tag-bg); color: var(--code-tag); font-weight: 600; letter-spacing: .02em; }
.code pre { margin: 0; padding: 22px 20px 24px; color: var(--code-text); font: 14px/1.75 var(--mono); white-space: pre-wrap; overflow-wrap: anywhere; }
.t-f { color: var(--t-f); }
.t-k { color: var(--t-k); }
.t-m { color: var(--t-m); }
.t-s { color: var(--t-s); }
.t-c { color: var(--t-c); font-style: italic; }
.caret { display: inline-block; width: 8px; height: 1.15em; margin-left: 3px; border-radius: 2px; background: var(--blue); vertical-align: -.2em; animation: blink 1.1s steps(1) infinite; }

.store { max-width: 760px; margin: 0 auto; padding: 44px 16px 40px; }
.back { display: inline-flex; align-items: center; gap: 4px; margin-left: -4px; color: var(--blue); font-size: 17px; text-decoration: none; }
.back svg { width: 20px; height: 20px; }
.large-title { margin: 14px 0 8px; font-size: clamp(42px, 6vw, 58px); font-weight: 800; line-height: 1; letter-spacing: -.045em; }
.store-sub { margin: 0 0 8px; color: var(--label-2); font-size: 18px; }
.group-label { margin: 30px 0 8px 18px; color: var(--label-3); font-size: 13px; font-weight: 500; letter-spacing: .05em; text-transform: uppercase; }
.list { overflow: hidden; border-radius: 24px; }
.row {
  display: flex;
  align-items: stretch;
  width: 100%;
  padding: 0 0 0 18px;
  border: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
  transition: background-color .2s;
}
.row:hover { background: var(--fill); }
.row-body { flex: 1; min-width: 0; display: flex; align-items: center; gap: 12px; padding: 16px 14px 16px 0; }
.row + .row .row-body, .info-row + .info-row .row-body { border-top: 1px solid var(--hairline); }
.row-text { flex: 1; min-width: 0; }
.row-title { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 17px; font-weight: 600; letter-spacing: -.015em; }
.row-title .badge { padding: 3px 9px; font-size: 11px; }
.row-sub { display: block; margin-top: 2px; color: var(--label-2); font-size: 14px; }
.row-price { font-size: 17px; font-weight: 700; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.chev { flex: none; width: 14px; height: 14px; color: var(--label-3); transition: transform .3s var(--ease); }
.row:hover .chev { transform: translateX(3px); }
.info-row { display: flex; align-items: center; gap: 14px; padding-left: 16px; }
.info-row .sym { display: grid; place-items: center; flex: none; width: 30px; height: 30px; margin: 12px 0; border-radius: 8px; color: #fff; background: var(--tile); }
.info-row .sym svg { width: 14px; height: 14px; }
.info-row .row-body { padding: 12px 16px 12px 0; font-size: 16px; }
.footnote { margin: 10px 18px 0; color: var(--label-3); font-size: 13px; line-height: 1.45; }

.sheet-wrap {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  background: var(--scrim);
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s, visibility 0s .35s;
}
.sheet-wrap.open { opacity: 1; visibility: visible; transition: opacity .3s; }
.sheet {
  width: 100%;
  max-width: 520px;
  margin: 0 8px 8px;
  padding: 8px 20px calc(20px + env(safe-area-inset-bottom));
  border: 1px solid var(--glass-border);
  border-radius: 36px;
  background: var(--sheet-bg);
  box-shadow: 0 -10px 60px -12px rgba(10, 30, 90, .35);
  transform: translateY(105%);
  transition: transform .5s var(--ease);
  -webkit-backdrop-filter: blur(40px) saturate(180%);
  backdrop-filter: blur(40px) saturate(180%);
}
.sheet-wrap.open .sheet { transform: none; }
.grabber { width: 38px; height: 5px; margin: 0 auto 6px; border-radius: 3px; background: var(--label-3); opacity: .45; }
.sheet-top { display: flex; align-items: center; justify-content: space-between; height: 40px; }
.sheet-kicker { color: var(--label-3); font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.icon-btn { display: grid; place-items: center; width: 32px; height: 32px; border: 0; border-radius: 50%; background: var(--fill); color: var(--label-2); cursor: pointer; }
.icon-btn svg { width: 14px; height: 14px; }
.sheet-hero { margin: 8px 0 20px; }
.sheet-hero h3 { margin: 0; font-size: 26px; font-weight: 800; letter-spacing: -.03em; }
.sheet-hero p { margin: 4px 0 0; color: var(--label-2); font-size: 15px; }
.sheet .list { margin-bottom: 18px; border: 1px solid var(--hairline); border-radius: 20px; background: var(--glass-strong); }
.kv { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; font-size: 16px; }
.kv + .kv { border-top: 1px solid var(--hairline); }
.kv span { color: var(--label-2); }
.kv b { font-weight: 600; }
.kv.total b { color: var(--blue); font-size: 22px; font-weight: 800; letter-spacing: -.03em; }
.sheet .btn { height: 54px; font-size: 17px; }
.sheet .footnote { margin: 12px 0 0; text-align: center; }

.toast {
  position: fixed;
  top: calc(14px + env(safe-area-inset-top));
  left: 50%;
  z-index: 200;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 22px 10px 10px;
  border: 1px solid var(--glass-border);
  border-radius: 999px;
  background: var(--sheet-bg);
  box-shadow: var(--shadow);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -.01em;
  white-space: nowrap;
  transform: translate(-50%, -160%);
  transition: transform .5s var(--ease);
  -webkit-backdrop-filter: blur(30px) saturate(180%);
  backdrop-filter: blur(30px) saturate(180%);
}
.toast.show { transform: translate(-50%, 0); }
.toast-ico { display: grid; place-items: center; flex: none; width: 32px; height: 32px; border-radius: 50%; color: #fff; background: var(--tile); }
.toast.ok .toast-ico { background: linear-gradient(140deg, #5be37d, #22b24c); }
.toast-ico svg { width: 18px; height: 18px; }

.footer { max-width: 1120px; margin: 40px auto 0; padding: 36px 16px calc(28px + env(safe-area-inset-bottom)); border-top: 1px solid var(--hairline); }
.footer-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 32px; }
.footer-brand { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.footer-brand p { margin: 0; color: var(--label-2); font-size: 14px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 4px; }
.footer-links a { padding: 8px 14px; border-radius: 999px; color: var(--label-2); font-size: 14px; font-weight: 500; text-decoration: none; transition: background-color .2s, color .2s; }
.footer-links a:hover { background: var(--fill); color: var(--label); }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--hairline);
  color: var(--label-3);
  font-size: 13px;
}
.seg { display: inline-flex; padding: 3px; border: 1px solid var(--hairline); border-radius: 12px; background: var(--fill); }
.seg button { padding: 6px 13px; border: 0; border-radius: 9px; background: transparent; color: var(--label-2); font-size: 13px; font-weight: 500; cursor: pointer; transition: background-color .2s, color .2s, box-shadow .2s; }
.seg button[aria-pressed="true"] { background: var(--seg-on); color: var(--label); box-shadow: 0 1px 4px rgba(10, 30, 80, .14); }

.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

@keyframes drift {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(5vmax, 3vmax, 0) scale(1.08); }
  100% { transform: translate3d(-4vmax, 6vmax, 0) scale(.96); }
}
@keyframes grid-pan { to { transform: translate3d(72px, 72px, 0); } }
@keyframes shimmer { from { background-position: 0% 50%; } to { background-position: 100% 50%; } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }
@keyframes flow { from { background-position: 0% 0%; } to { background-position: 100% 100%; } }
@keyframes sheen { from { background-position: 100% 0; } to { background-position: 0% 0; } }
@keyframes blink { 50% { opacity: 0; } }

@media (hover: hover) {
  .plan:hover { transform: translateY(-4px); }
}
@media (min-width: 720px) {
  .sheet-wrap { align-items: center; }
  .sheet { margin: 0; padding-top: 14px; opacity: 0; transform: translateY(24px) scale(.96); transition: transform .4s var(--ease), opacity .25s; }
  .sheet-wrap.open .sheet { opacity: 1; transform: none; }
  .grabber { display: none; }
}
@media (max-width: 920px) {
  .plans { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .loader { grid-template-columns: 1fr; padding: 22px; }
}
@media (max-width: 760px) {
  .nav-links { display: none; }
  .menu-btn { display: grid; }
}
@media (max-width: 640px) {
  .footer-links { margin-left: -14px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}
