/* Isle - marketing site
 * Design system: product-first, Mac-native, Apple-clean.
 * No build step. Single shared stylesheet.
 */

:root {
  /* Palette */
  --bg:        #08080A;
  --bg-2:      #0E0E11;
  --surface:   #131318;
  --surface-2: #1A1A21;
  --border:    rgba(255,255,255,0.08);
  --border-2:  rgba(255,255,255,0.14);
  --text:      #F4F4F6;
  --muted:     #A0A0AB;
  --faint:     #6B6B76;

  /* Brand: Isle attention orange to amber */
  --brand:      #FF7A1A;
  --brand-2:    #FFB02E;
  --brand-soft: rgba(255,122,26,0.14);
  --brand-ring: rgba(255,122,26,0.35);

  --green: #34D399;
  --red:   #F87171;

  --radius:    14px;
  --radius-lg: 22px;
  --radius-xl: 30px;

  --maxw: 1120px;
  --gap:  clamp(16px, 4vw, 28px);

  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI",
          Roboto, Helvetica, Arial, sans-serif;
  --mono: "SF Mono", ui-monospace, "JetBrains Mono", Menlo, Consolas, monospace;

  --shadow: 0 24px 60px -20px rgba(0,0,0,0.7);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  font-size: 17px;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
main { overflow: hidden; }

/* Ambient glow behind the page */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(900px 500px at 50% -8%, rgba(255,122,26,0.10), transparent 60%),
    radial-gradient(700px 600px at 85% 10%, rgba(255,176,46,0.05), transparent 55%);
  pointer-events: none;
  z-index: 0;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.014) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.8), transparent 72%);
  pointer-events: none;
  z-index: 0;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  margin: 0 0 .4em;
  line-height: 1.08;
  letter-spacing: 0;
  font-weight: 680;
}
h1 { font-size: clamp(2.4rem, 6vw, 4rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.7rem); }
h3 { font-size: clamp(1.2rem, 2.2vw, 1.5rem); }
p  { margin: 0 0 1em; color: var(--muted); }
strong { color: var(--text); font-weight: 650; }

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gap);
  position: relative;
  z-index: 1;
}

section { padding-block: clamp(56px, 9vw, 112px); }
.section-tight { padding-block: clamp(36px, 6vw, 64px); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--brand-2);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 4px var(--brand-soft);
}

.lead { font-size: clamp(1.05rem, 2vw, 1.3rem); color: var(--muted); max-width: 58ch; }
.center { text-align: center; }
.center .lead, .center .eyebrow { margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-size: 1rem;
  font-weight: 600;
  padding: 13px 22px;
  border-radius: 12px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, background .2s ease, border-color .2s ease, box-shadow .2s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: linear-gradient(180deg, var(--brand-2), var(--brand));
  color: #1a0d00;
  box-shadow: 0 10px 30px -10px var(--brand-ring), inset 0 1px 0 rgba(255,255,255,.35);
}
.btn-primary:hover { box-shadow: 0 14px 38px -10px var(--brand-ring), inset 0 1px 0 rgba(255,255,255,.45); transform: translateY(-1px); }
.btn-ghost {
  background: var(--surface);
  border-color: var(--border-2);
  color: var(--text);
}
.btn-ghost:hover { background: var(--surface-2); border-color: rgba(255,255,255,.22); }
.btn-lg { padding: 16px 28px; font-size: 1.05rem; }

/* ---------- Hero ---------- */
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(460px, 1.18fr);
  align-items: center;
  gap: clamp(36px, 5vw, 72px);
  padding-top: clamp(72px, 10vw, 120px);
  padding-bottom: clamp(34px, 6vw, 72px);
}
.hero-redesign { max-width: 1240px; }
.hero-copy h1 {
  max-width: 13ch;
  font-size: clamp(2.85rem, 5.8vw, 5rem);
  line-height: .98;
  text-wrap: balance;
  overflow-wrap: break-word;
}
.hero-copy .lead { max-width: 54ch; margin-bottom: 28px; }
.hero-visual { position: relative; }
.hero-visual::before {
  content: "";
  position: absolute;
  inset: -12% -8% auto;
  height: 72%;
  background: radial-gradient(closest-side, rgba(255,122,26,.18), transparent 72%);
  filter: blur(10px);
  pointer-events: none;
}
.trust-list {
  display: grid;
  gap: 10px;
  margin-top: 24px;
  color: var(--muted);
  font-size: .92rem;
}
.trust-list span {
  display: flex;
  align-items: center;
  gap: 10px;
  line-height: 1.25;
}
.mini-mark {
  width: 44px;
  height: 28px;
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 9px;
  background: var(--surface);
  border: 1px solid var(--border-2);
  color: var(--brand-2);
  font: 700 .68rem/1 var(--mono);
  letter-spacing: .04em;
}
@media (max-width: 900px) {
  .hero-redesign {
    width: 100vw;
    max-width: 100vw;
    margin-inline: calc(50% - 50vw);
    padding-inline: 20px;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    max-width: 100%;
  }
  .hero-copy { min-width: 0; }
  .hero-copy h1,
  .hero-copy .lead { margin-inline: auto; }
  .hero-actions,
  .trust-list span { justify-content: center; }
  .hero-actions { width: 100%; }
  .hero-copy h1 {
    max-width: 9.4ch;
    font-size: clamp(2.35rem, 10vw, 3.45rem);
  }
  .hero-copy .lead {
    max-width: 275px;
    font-size: 1rem;
  }
  .hero-actions {
    max-width: 275px;
    margin-inline: auto;
  }
  .hero-actions .btn {
    width: 100%;
    white-space: normal;
  }
  .trust-list {
    max-width: 275px;
    margin-inline: auto;
    display: none;
  }
  .trust-list span {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    text-align: left;
    justify-content: start;
  }
}
@media (max-width: 560px) {
  .hero-copy h1 {
    max-width: 8.8ch;
    font-size: clamp(2.3rem, 11vw, 3.25rem);
  }
  .hero-copy .lead {
    max-width: 275px;
    font-size: 1rem;
  }
  .hero-actions { max-width: 275px; }
  .hero-actions .btn {
    width: 100%;
    white-space: normal;
  }
  .trust-list {
    max-width: 275px;
    margin-inline: auto;
    display: none;
  }
  .trust-list span {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    text-align: left;
    justify-content: start;
  }
}

/* ---------- MacBook product scene ---------- */
.macbook-demo {
  position: relative;
  width: min(720px, 100%);
  margin-inline: auto;
  padding-bottom: 50px;
}
.macbook-lid {
  position: relative;
  border-radius: 30px 30px 18px 18px;
  padding: 11px;
  background:
    linear-gradient(145deg, rgba(255,255,255,.18), rgba(255,255,255,.035) 28%, rgba(0,0,0,.4)),
    #17171b;
  border: 1px solid rgba(255,255,255,.14);
  box-shadow:
    0 42px 90px -36px rgba(0,0,0,.95),
    inset 0 1px 0 rgba(255,255,255,.16);
}
.macbook-screen {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 22px 22px 12px 12px;
  background:
    radial-gradient(620px 340px at 50% 0%, rgba(255,122,26,.15), transparent 60%),
    linear-gradient(180deg, #202027 0%, #0b0b10 62%, #08080a 100%);
  border: 1px solid rgba(255,255,255,.06);
}
.macbook-screen::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(255,255,255,.09), transparent 28%),
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: auto, 100% 36px;
  opacity: .5;
  pointer-events: none;
}
.menu-row {
  position: absolute;
  inset: 0 0 auto;
  height: 30px;
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 0 18px;
  color: rgba(255,255,255,.62);
  font-size: .72rem;
  background: rgba(0,0,0,.22);
  border-bottom: 1px solid rgba(255,255,255,.055);
  z-index: 2;
}
.menu-spacer { flex: 1; }
.physical-notch {
  position: absolute;
  top: 0;
  left: 50%;
  width: 122px;
  height: 31px;
  transform: translateX(-50%);
  border-radius: 0 0 17px 17px;
  background: #000;
  box-shadow: 0 7px 18px rgba(0,0,0,.75);
  z-index: 5;
}
.island-popover {
  position: absolute;
  top: 35px;
  left: 50%;
  width: min(390px, calc(100% - 34px));
  transform: translateX(-50%);
  padding: 12px;
  border-radius: 25px;
  background: rgba(0,0,0,.92);
  border: 1px solid rgba(255,255,255,.09);
  box-shadow:
    0 24px 60px -18px rgba(0,0,0,.95),
    0 0 0 1px rgba(255,122,26,.12),
    0 0 44px rgba(255,122,26,.18);
  z-index: 6;
}
.island-compact {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 32px;
  color: var(--text);
  font-size: .88rem;
  font-weight: 650;
}
.island-compact strong {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--brand-2);
  font-size: .76rem;
  font-weight: 700;
}
.agent-icon {
  width: 24px;
  height: 24px;
  border-radius: 8px;
  background:
    radial-gradient(circle at 35% 30%, rgba(255,255,255,.7), transparent 24%),
    linear-gradient(180deg, var(--brand-2), var(--brand));
  box-shadow: 0 0 22px rgba(255,122,26,.34);
}
.approval-panel {
  display: grid;
  gap: 10px;
  margin-top: 11px;
  padding: 13px;
  border-radius: 18px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.08);
}
.approval-kicker {
  display: block;
  color: var(--brand-2);
  font-family: var(--mono);
  font-size: .66rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 3px;
}
.approval-panel b {
  display: block;
  font-size: .96rem;
}
.approval-panel code {
  display: block;
  min-width: 0;
  padding: 9px 10px;
  border-radius: 10px;
  color: #ffd08a;
  background: rgba(0,0,0,.72);
  border: 1px solid rgba(255,255,255,.08);
  font-family: var(--mono);
  font-size: .73rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.approval-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
}
.approval-actions span {
  display: grid;
  place-items: center;
  min-height: 34px;
  border-radius: 11px;
  font-size: .82rem;
  font-weight: 720;
}
.approval-actions .allow {
  color: #170b00;
  background: linear-gradient(180deg, var(--brand-2), var(--brand));
}
.approval-actions .deny {
  color: rgba(255,255,255,.78);
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.1);
}
.editor-window {
  position: absolute;
  left: 34px;
  right: 34px;
  bottom: 38px;
  height: 48%;
  border-radius: 18px;
  overflow: hidden;
  background: rgba(7,7,10,.78);
  border: 1px solid rgba(255,255,255,.09);
  box-shadow: 0 28px 50px -26px rgba(0,0,0,.9);
  z-index: 1;
}
.window-dots {
  height: 30px;
  display: flex;
  align-items: center;
  gap: 7px;
  padding-left: 13px;
  border-bottom: 1px solid rgba(255,255,255,.07);
  background: rgba(255,255,255,.035);
}
.window-dots span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
}
.window-dots span:nth-child(1) { background: #ff5f57; }
.window-dots span:nth-child(2) { background: #ffbd2e; }
.window-dots span:nth-child(3) { background: #28c840; }
.editor-grid {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  height: calc(100% - 30px);
}
.editor-sidebar {
  display: grid;
  align-content: start;
  gap: 9px;
  padding: 16px;
  color: rgba(255,255,255,.72);
  font-size: .78rem;
  background: rgba(255,255,255,.035);
  border-right: 1px solid rgba(255,255,255,.07);
}
.editor-sidebar span {
  color: var(--text);
  font-weight: 720;
}
.editor-sidebar small {
  color: rgba(255,255,255,.42);
  font-size: .72rem;
}
.editor-lines {
  display: grid;
  align-content: start;
  gap: 11px;
  padding: 18px;
}
.editor-lines i {
  display: block;
  height: 9px;
  border-radius: 99px;
  background: linear-gradient(90deg, rgba(255,176,46,.72), rgba(255,255,255,.14));
}
.status-pill {
  position: absolute;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 7px 12px;
  border-radius: 99px;
  color: rgba(255,255,255,.82);
  background: rgba(0,0,0,.58);
  border: 1px solid rgba(255,255,255,.08);
  backdrop-filter: blur(10px);
  font-size: .76rem;
  font-weight: 650;
}
.status-left { left: 28px; top: 62px; }
.status-right { right: 30px; top: 122px; }
.macbook-base {
  position: relative;
  width: 88%;
  height: 18px;
  margin: -1px auto 0;
  border-radius: 0 0 38px 38px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.22), rgba(255,255,255,.04) 45%, rgba(0,0,0,.36)),
    #1b1b20;
  border: 1px solid rgba(255,255,255,.1);
  box-shadow: 0 28px 42px -24px rgba(0,0,0,.9);
}
.macbook-base::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 120px;
  height: 6px;
  transform: translateX(-50%);
  border-radius: 0 0 12px 12px;
  background: rgba(0,0,0,.32);
}
.hero-caption {
  display: flex;
  justify-content: center;
  gap: 9px;
  margin-top: 16px;
  color: var(--muted);
  font-size: .93rem;
}
.hero-caption b { color: var(--text); }
@media (max-width: 760px) {
  .macbook-demo { padding-bottom: 24px; }
  .island-popover {
    top: 31px;
    width: calc(100% - 22px);
    border-radius: 20px;
  }
  .approval-panel { padding: 11px; }
  .editor-window { left: 18px; right: 18px; bottom: 24px; }
  .editor-grid { grid-template-columns: 102px minmax(0, 1fr); }
  .status-pill { display: none; }
  .hero-caption {
    display: grid;
    text-align: center;
  }
}
@media (max-width: 560px) {
  .macbook-demo {
    width: min(560px, calc(100vw - 24px));
    margin-top: 24px;
  }
  .macbook-lid { border-radius: 22px 22px 14px 14px; padding: 8px; }
  .macbook-screen { border-radius: 16px 16px 10px 10px; }
  .menu-row {
    height: 26px;
    gap: 10px;
    padding-inline: 13px;
    font-size: .62rem;
  }
  .physical-notch {
    width: 88px;
    height: 27px;
    border-radius: 0 0 14px 14px;
  }
  .island-popover {
    top: 33px;
    padding: 9px;
  }
  .island-compact {
    gap: 8px;
    font-size: .78rem;
  }
  .island-compact strong { font-size: .68rem; }
  .approval-panel b { font-size: .86rem; }
  .approval-panel code { font-size: .64rem; }
  .approval-actions span { min-height: 30px; font-size: .76rem; }
  .editor-window { height: 42%; }
  .editor-sidebar { display: none; }
  .editor-grid { grid-template-columns: 1fr; }
  .hero-caption { font-size: .84rem; }
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  background: rgba(8,8,10,0.62);
  border-bottom: 1px solid var(--border);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 680;
  font-size: 1.12rem;
  letter-spacing: 0;
}
.brand .mark {
  width: 30px; height: 30px;
  border-radius: 8px;
  object-fit: cover;
  display: block;
  box-shadow: 0 1px 5px rgba(0,0,0,0.45);
}
.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a.navlink { color: var(--muted); font-size: .95rem; font-weight: 500; transition: color .15s; }
.nav-links a.navlink:hover { color: var(--text); }
.nav-cta { display: flex; align-items: center; gap: 12px; }
.menu-toggle { display: none; background: none; border: 0; color: var(--text); cursor: pointer; }

@media (max-width: 860px) {
  .nav-links { display: none; }
  .menu-toggle { display: inline-flex; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 64px; left: 0; right: 0;
    background: var(--bg-2);
    border-bottom: 1px solid var(--border);
    padding: 18px var(--gap) 24px;
    gap: 18px;
    align-items: flex-start;
  }
}

/* ---------- Product snapshot ---------- */
.product-snapshot {
  display: grid;
  grid-template-columns: minmax(0, .72fr) minmax(520px, 1.28fr);
  gap: clamp(26px, 5vw, 58px);
  align-items: start;
  padding-block: clamp(34px, 6vw, 76px);
}
.snapshot-copy h2 {
  max-width: 12ch;
  font-size: clamp(1.65rem, 3vw, 2.4rem);
  line-height: 1.05;
}
.snapshot-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.snapshot-grid article {
  display: grid;
  gap: 10px;
  align-content: start;
  min-height: 178px;
  padding: 19px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.01)),
    rgba(255,255,255,.018);
}
.snapshot-grid strong {
  color: var(--text);
  font-size: 1rem;
  line-height: 1.2;
}
.snapshot-grid span {
  color: var(--muted);
  font-size: .92rem;
  line-height: 1.42;
}
@media (max-width: 960px) {
  .product-snapshot { grid-template-columns: 1fr; }
  .snapshot-copy h2 { max-width: 18ch; }
  .snapshot-grid { grid-template-columns: 1fr; }
  .snapshot-grid article { min-height: 0; }
}

/* ---------- Demo first ---------- */
.demo-first {
  padding-block: clamp(48px, 8vw, 98px);
}
.demo-first-grid {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(520px, 1.18fr);
  gap: clamp(30px, 5vw, 62px);
  align-items: center;
}
.demo-first h2 {
  max-width: 13ch;
  font-size: clamp(2rem, 4.4vw, 3.55rem);
  line-height: 1.02;
}
.demo-bullets {
  display: grid;
  gap: 11px;
  margin-top: 24px;
}
.demo-bullets span {
  position: relative;
  display: block;
  padding-left: 25px;
  color: var(--text);
  font-size: .98rem;
}
.demo-bullets span::before {
  content: "";
  position: absolute;
  left: 0;
  top: .62em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 5px var(--brand-soft);
}
.demo-panel {
  margin-bottom: 0;
}
.demo-panel .shot {
  border-color: rgba(255,122,26,.22);
  box-shadow:
    0 28px 60px -34px rgba(0,0,0,.95),
    0 0 0 1px rgba(255,122,26,.05);
}
@media (max-width: 960px) {
  .demo-first-grid { grid-template-columns: 1fr; }
  .demo-first h2 { max-width: 18ch; }
}

/* ---------- Notch hero device ---------- */
.notch-device {
  position: relative;
  width: min(560px, 100%);
  margin: 0 auto;
  aspect-ratio: 16 / 10;
  border-radius: 26px;
  background: linear-gradient(180deg, #17171c, #0b0b0e);
  border: 1px solid var(--border-2);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.notch-device .screen {
  position: absolute;
  inset: 10px;
  border-radius: 18px;
  background:
    radial-gradient(120% 90% at 50% 0%, #1c1c24, #0a0a0d 70%);
  overflow: hidden;
}
.the-notch {
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  background: #000;
  border-radius: 0 0 18px 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  min-width: 220px;
  justify-content: space-between;
  box-shadow: 0 4px 18px rgba(0,0,0,0.6);
  z-index: 3;
}
.the-notch.attention { animation: glow 2.2s ease-in-out infinite; }
@keyframes glow {
  0%,100% { box-shadow: 0 0 0 0 var(--brand-soft), 0 4px 18px rgba(0,0,0,0.6); }
  50%     { box-shadow: 0 0 0 6px var(--brand-soft), 0 4px 18px rgba(0,0,0,0.6); }
}
.notch-agent { display: flex; align-items: center; gap: 8px; }
.notch-agent .dot { width: 18px; height: 18px; border-radius: 6px; background: linear-gradient(180deg, var(--brand-2), var(--brand)); }
.notch-agent .lbl { font-size: .78rem; font-weight: 600; }
.notch-status { font-size: .72rem; color: var(--brand-2); font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }
.notch-status .ping { width: 7px; height: 7px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 0 var(--brand-ring); animation: ping 1.6s infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 var(--brand-ring);} 70%{box-shadow:0 0 0 8px transparent;}100%{box-shadow:0 0 0 0 transparent;} }

.permission-card {
  position: absolute;
  top: 52px; left: 50%;
  transform: translateX(-50%);
  width: min(300px, 80%);
  background: var(--surface);
  border: 1px solid var(--border-2);
  border-radius: 16px;
  padding: 14px;
  z-index: 2;
  box-shadow: 0 20px 40px -12px rgba(0,0,0,0.65);
}
.permission-card .pc-head { display: flex; align-items: center; gap: 9px; margin-bottom: 8px; }
.permission-card .pc-head .pc-ico { width: 22px; height: 22px; border-radius: 7px; background: linear-gradient(180deg,var(--brand-2),var(--brand)); }
.permission-card .pc-head b { font-size: .9rem; }
.permission-card code {
  display: block;
  font-family: var(--mono);
  font-size: .74rem;
  color: var(--brand-2);
  background: #000;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 7px 9px;
  margin-bottom: 10px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.permission-card .pc-actions { display: flex; gap: 8px; }
.permission-card .pc-btn { flex: 1; text-align: center; font-size: .8rem; font-weight: 600; padding: 8px; border-radius: 9px; }
.pc-yes { background: linear-gradient(180deg,var(--brand-2),var(--brand)); color: #1a0d00; }
.pc-no  { background: var(--surface-2); border: 1px solid var(--border-2); color: var(--muted); }

/* ---------- Email capture ---------- */
.capture { max-width: 520px; }
.capture form { display: flex; gap: 10px; flex-wrap: wrap; }
.capture input[type=email] {
  flex: 1 1 240px;
  min-width: 0;
  background: var(--surface);
  border: 1px solid var(--border-2);
  color: var(--text);
  padding: 14px 16px;
  border-radius: 12px;
  font-size: 1rem;
  font-family: inherit;
  transition: border-color .15s, box-shadow .15s;
}
.capture input[type=email]:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 4px var(--brand-soft);
}
.capture .btn { flex: 0 0 auto; }
.capture .form-note { font-size: .82rem; color: var(--faint); margin: 12px 0 0; }
.capture .form-msg { font-size: .92rem; margin: 12px 0 0; min-height: 1.2em; }
.capture .form-msg.ok  { color: var(--green); }
.capture .form-msg.err { color: var(--red); }

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: 18px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px){ .grid-3,.grid-4 { grid-template-columns: repeat(2,1fr);} }
@media (max-width: 600px){ .grid-2,.grid-3,.grid-4 { grid-template-columns: 1fr; } }

.card {
  background: linear-gradient(180deg, var(--surface), var(--bg-2));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 26px;
  transition: border-color .2s, transform .2s;
}
.card:hover { border-color: var(--border-2); transform: translateY(-2px); }
.card .ico {
  width: 42px; height: 42px;
  border-radius: 11px;
  display: grid; place-items: center;
  background: var(--brand-soft);
  border: 1px solid var(--brand-ring);
  margin-bottom: 16px;
  font: 700 .78rem/1 var(--mono);
  color: var(--brand-2);
}
.card h3 { font-size: 1.18rem; }
.card p { margin-bottom: 0; font-size: .98rem; }

.feature-board {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  max-width: 1040px;
  margin-inline: auto;
}
.feature-flow,
.feature-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, rgba(255,255,255,.028), rgba(255,255,255,.008)),
    var(--bg-2);
}
.feature-flow {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(360px, 1.08fr);
  gap: clamp(24px, 4vw, 46px);
  align-items: center;
  padding: clamp(26px, 4vw, 38px);
  background:
    radial-gradient(720px 260px at 12% 0%, rgba(255,122,26,.12), transparent 70%),
    linear-gradient(180deg, rgba(255,255,255,.034), rgba(255,255,255,.01)),
    var(--bg-2);
}
.feature-flow h3 {
  max-width: 14ch;
  margin: 10px 0 12px;
  font-size: clamp(1.7rem, 3.2vw, 2.7rem);
  line-height: 1.02;
  letter-spacing: 0;
}
.feature-flow p,
.feature-card p {
  margin: 0;
  color: var(--muted);
}
.flow-steps {
  display: grid;
  gap: 0;
  padding: 10px;
  border: 1px solid rgba(255,255,255,.075);
  border-radius: 22px;
  background: rgba(0,0,0,.18);
}
.flow-step {
  position: relative;
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 16px;
  align-items: baseline;
  min-height: 0;
  padding: 15px 16px;
  border-radius: 16px;
}
.flow-step + .flow-step {
  border-top: 1px solid rgba(255,255,255,.07);
}
.flow-step span {
  display: block;
  color: var(--brand-2);
  font-family: var(--mono);
  font-size: .76rem;
  font-weight: 700;
  margin-bottom: 0;
  text-transform: uppercase;
}
.flow-step p {
  color: var(--text);
  font-size: .95rem;
  line-height: 1.35;
}
.feature-card {
  padding: 24px;
  min-height: 230px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.025);
}
.feature-card h3 {
  margin: 8px 0 10px;
  font-size: clamp(1.18rem, 1.7vw, 1.45rem);
  line-height: 1.12;
}
.feature-kicker {
  color: var(--brand-2);
  font-family: var(--mono);
  font-size: .76rem;
  font-weight: 700;
  text-transform: uppercase;
}
.mini-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}
.mini-chips span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 7px 11px 7px 9px;
  border: 1px solid var(--border-2);
  border-radius: 99px;
  color: var(--text);
  font-size: .86rem;
  font-weight: 560;
}
.mini-chips img {
  width: 17px;
  height: 17px;
  display: block;
  flex: 0 0 auto;
}
.mini-chips .sw {
  width: 10px;
  height: 10px;
  border-radius: 4px;
}
.privacy-card {
  background:
    radial-gradient(320px 180px at 0% 0%, rgba(76,175,120,.1), transparent 70%),
    linear-gradient(180deg, rgba(255,255,255,.028), rgba(255,255,255,.008)),
    var(--bg-2);
}
@media (max-width: 960px) {
  .feature-board { grid-template-columns: 1fr; }
  .feature-flow { grid-template-columns: 1fr; }
  .feature-flow h3 { max-width: 18ch; }
}
@media (max-width: 600px) {
  .feature-flow,
  .feature-card { padding: 22px; }
  .flow-step { grid-template-columns: 1fr; gap: 6px; }
}

/* ---------- Agents grid ---------- */
.agents { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.agent-chip {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 16px;
  border-radius: 99px;
  background: var(--surface);
  border: 1px solid var(--border-2);
  font-weight: 560;
  font-size: .95rem;
}
.agent-chip .sw { width: 12px; height: 12px; border-radius: 4px; }

/* ---------- Screenshot gallery ----------
 * Auto-appearing slots: drop a correctly-named file in assets/shots/ and it
 * shows. If the file is missing, onerror removes the broken <img>/<video> and
 * the labeled placeholder (::after) shows through. No code edits needed.
 */
.showcase {
  max-width: 920px;
  margin-inline: auto;
}
.showcase-hero {
  margin: 0 0 26px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background:
    radial-gradient(620px 180px at 50% 0%, rgba(255,122,26,.08), transparent 70%);
  box-shadow: none;
}
.showcase-hero figcaption {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 12px 6px 0;
  color: var(--muted);
  font-size: .94rem;
}
.showcase-hero figcaption strong {
  color: var(--text);
  font-weight: 650;
  white-space: nowrap;
}
.showcase-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px 20px;
  align-items: start;
}
.showcase-card {
  margin: 0;
}
.showcase-card figcaption {
  color: var(--muted);
  font-size: .92rem;
  margin-top: 11px;
  padding-inline: 4px;
}
.media-card { grid-column: span 1; }
.shot {
  position: relative;
  border: 1px solid rgba(255,255,255,.065);
  border-radius: 22px;
  overflow: hidden;
  background: radial-gradient(120% 120% at 50% 0%, #16161d, #0a0a0e);
  aspect-ratio: 16 / 10;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.02);
  transition: border-color .2s, transform .2s;
}
.shot:hover { border-color: var(--border-2); transform: translateY(-2px); }
.shot.featured,
.shot-wide { aspect-ratio: 1540 / 436; }
.shot-tall { aspect-ratio: 16 / 10; }
.shot::after {
  content: attr(data-label);
  position: absolute;
  inset: 0;
  z-index: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  text-align: center;
  color: var(--faint);
  font-family: var(--mono);
  font-size: .85rem;
  line-height: 1.6;
}
.shot.featured::after { content: attr(data-label); }
.shot img, .shot video {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.shot img {
  background: radial-gradient(120% 120% at 50% 0%, #16161d, #0a0a0e);
}
.shot-tall img {
  object-fit: contain;
  background: #f5f5f5;
}
@media (max-width: 900px) {
  .showcase-grid { grid-template-columns: 1fr; }
  .showcase-hero figcaption { display: block; }
  .showcase-hero figcaption strong { display: block; margin-top: 4px; }
}

/* ---------- Steps ---------- */
.steps { counter-reset: step; }
.step { display: flex; gap: 18px; padding: 20px 0; border-bottom: 1px solid var(--border); }
.step:last-child { border-bottom: 0; }
.step .num {
  counter-increment: step;
  flex: 0 0 auto;
  width: 38px; height: 38px;
  border-radius: 10px;
  display: grid; place-items: center;
  background: var(--brand-soft);
  border: 1px solid var(--brand-ring);
  color: var(--brand-2);
  font-weight: 700;
}
.step .num::before { content: counter(step); }
.step h3 { font-size: 1.15rem; margin-bottom: 4px; }
.step p { margin: 0; }

/* ---------- Pricing ---------- */
.price-card {
  max-width: 460px;
  margin-inline: auto;
  background: linear-gradient(180deg, var(--surface), var(--bg-2));
  border: 1px solid var(--brand-ring);
  border-radius: var(--radius-xl);
  padding: 36px;
  text-align: center;
  position: relative;
  box-shadow: var(--shadow);
}
.price-badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(180deg,var(--brand-2),var(--brand));
  color: #1a0d00; font-weight: 700; font-size: .78rem;
  padding: 6px 14px; border-radius: 99px; letter-spacing: .02em;
}
.price-amount { font-size: 3.6rem; font-weight: 720; letter-spacing: 0; line-height: 1; }
.price-amount .cur { font-size: 1.6rem; vertical-align: super; color: var(--muted); }
.price-amount .old { font-size: 1.3rem; color: var(--faint); text-decoration: line-through; margin-left: 10px; font-weight: 500; }
.price-amount .plus { font-size: 2rem; color: var(--muted); margin-left: 2px; }
.price-sub { color: var(--muted); margin-top: 6px; }
.price-list { list-style: none; padding: 0; margin: 26px 0; text-align: left; display: grid; gap: 12px; }
.price-list li { display: flex; gap: 11px; align-items: flex-start; color: var(--text); font-size: .98rem; }
.price-list li .ck { color: var(--green); flex: 0 0 auto; font-weight: 700; }

.support-hero { padding-bottom: clamp(36px, 6vw, 72px); }
.support-note,
.split-panel {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: clamp(24px, 5vw, 70px);
  align-items: start;
  padding: clamp(28px, 5vw, 46px);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(600px 220px at 20% 0%, rgba(255,122,26,.11), transparent 70%),
    linear-gradient(180deg, var(--surface), var(--bg-2));
}
.support-note p,
.split-panel p { margin: 0; }
.support-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}
.support-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 34px 26px 26px;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  background:
    linear-gradient(180deg, rgba(255,255,255,.025), transparent 26%),
    linear-gradient(180deg, var(--surface), var(--bg-2));
  box-shadow: 0 22px 50px -30px rgba(0,0,0,.9);
}
.support-card.featured-support {
  border-color: var(--brand-ring);
  transform: translateY(-8px);
  box-shadow: var(--shadow);
}
.support-card h3 { margin-top: 16px; }
.support-card .price-list { flex: 1; }
.support-card .btn { width: 100%; }
.custom-support {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  margin-top: 22px;
  padding: clamp(24px, 4vw, 34px);
  border: 1px solid var(--brand-ring);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(540px 220px at 10% 0%, rgba(255,176,46,.12), transparent 72%),
    linear-gradient(180deg, rgba(255,122,26,.055), rgba(255,122,26,.018));
}
.custom-support .eyebrow { margin-bottom: 10px; }
.custom-support h3 { margin-bottom: 8px; font-size: clamp(1.35rem, 2.4vw, 1.8rem); }
.custom-support p { max-width: 66ch; margin: 0; }
@media (max-width: 920px) {
  .support-grid { grid-template-columns: 1fr; }
  .support-card.featured-support { transform: none; }
  .support-note,
  .split-panel,
  .custom-support { grid-template-columns: 1fr; }
  .custom-support .btn { width: 100%; }
}

/* ---------- Comparison table ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius-lg); }
table.cmp { width: 100%; border-collapse: collapse; min-width: 560px; }
table.cmp th, table.cmp td { padding: 15px 18px; text-align: left; border-bottom: 1px solid var(--border); font-size: .96rem; }
table.cmp thead th { background: var(--surface); font-weight: 640; }
table.cmp th.isle, table.cmp td.isle { background: var(--brand-soft); }
table.cmp tbody tr:last-child td { border-bottom: 0; }
table.cmp td .y { color: var(--green); font-weight: 700; }
table.cmp td .n { color: var(--faint); }
table.cmp .feat { color: var(--muted); font-weight: 500; }

/* ---------- FAQ ---------- */
.faq details {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 4px 20px;
  margin-bottom: 12px;
  background: var(--surface);
  transition: border-color .2s;
}
.faq details[open] { border-color: var(--border-2); }
.faq summary {
  cursor: pointer;
  font-weight: 600;
  padding: 16px 0;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-size: 1.05rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--brand-2); font-size: 1.4rem; font-weight: 400; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding-bottom: 18px; margin: 0; }

/* ---------- CTA band ---------- */
.cta-band {
  background:
    radial-gradient(600px 300px at 50% 0%, rgba(255,122,26,0.14), transparent 70%),
    linear-gradient(180deg, var(--surface), var(--bg-2));
  border: 1px solid var(--brand-ring);
  border-radius: var(--radius-xl);
  padding: clamp(36px, 6vw, 64px);
  text-align: center;
}

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--border);
  padding-block: 56px 40px;
  margin-top: 40px;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; }
@media (max-width: 760px){ .footer-grid { grid-template-columns: 1fr 1fr; } }
.footer-col h4 { font-size: .82rem; text-transform: uppercase; letter-spacing: .06em; color: var(--faint); margin-bottom: 14px; font-weight: 600; }
.footer-col a { display: block; color: var(--muted); margin-bottom: 10px; font-size: .94rem; transition: color .15s; }
.footer-col a:hover { color: var(--text); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--border); color: var(--faint); font-size: .85rem; }

/* ---------- Trust strip ---------- */
.trust {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  max-width: 1040px;
  margin-inline: auto;
  color: var(--muted);
  font-size: .88rem;
}
.trust span {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  padding: 10px 13px;
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 14px;
  background: rgba(255,255,255,.018);
  line-height: 1.25;
}
.trust .ck {
  color: var(--green);
  font-size: 1rem;
  line-height: 1;
}
@media (max-width: 1000px) {
  .trust { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .trust { grid-template-columns: 1fr; }
}

/* ---------- Breadcrumb ---------- */
.crumb { font-size: .85rem; color: var(--faint); margin-bottom: 18px; }
.crumb a { color: var(--muted); }
.crumb a:hover { color: var(--text); }

/* ---------- Utility ---------- */
.muted { color: var(--muted); }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.stack-sm > * + * { margin-top: 10px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; margin-top: 8px; }
.badge-row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 22px; }
.badge {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: .82rem; color: var(--muted);
  background: var(--surface); border: 1px solid var(--border);
  padding: 7px 13px; border-radius: 99px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ---------- Apple mainstream homepage ---------- */
body:has(.apple-page) {
  --bg: #f5f5f7;
  --bg-2: #ffffff;
  --surface: #ffffff;
  --surface-2: #fbfbfd;
  --surface-3: #f2f2f5;
  --border: rgba(0, 0, 0, .08);
  --border-2: rgba(0, 0, 0, .14);
  --text: #1d1d1f;
  --muted: #6e6e73;
  --faint: #86868b;
  --brand: #0071e3;
  --brand-2: #2997ff;
  --brand-soft: rgba(0, 113, 227, .10);
  --brand-ring: rgba(0, 113, 227, .22);
  --green: #248a3d;
  background: #f5f5f7;
  color: #1d1d1f;
}

body:has(.apple-page)::before,
body:has(.apple-page)::after {
  display: none;
}

body:has(.apple-page) .site-header {
  top: 0;
  width: 100%;
  background: rgba(251, 251, 253, .78);
  border-bottom: 1px solid rgba(0, 0, 0, .08);
  box-shadow: none;
  backdrop-filter: saturate(180%) blur(22px);
  -webkit-backdrop-filter: saturate(180%) blur(22px);
}

body:has(.apple-page) .nav {
  min-height: 56px;
}

body:has(.apple-page) .brand {
  color: #1d1d1f;
  font-weight: 650;
}

body:has(.apple-page) .mark {
  box-shadow: 0 10px 28px rgba(0, 0, 0, .12);
}

body:has(.apple-page) .navlink {
  color: #424245;
  font-size: .9rem;
}

body:has(.apple-page) .navlink:hover {
  color: #000;
}

body:has(.apple-page) .btn {
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, .10);
  background: rgba(255, 255, 255, .72);
  color: #1d1d1f;
  box-shadow: none;
  min-height: 40px;
  padding: 10px 18px;
  font-weight: 560;
}

body:has(.apple-page) .btn:hover {
  transform: none;
  border-color: rgba(0, 0, 0, .18);
  box-shadow: none;
}

body:has(.apple-page) .btn-primary {
  border-color: transparent;
  background: #0071e3;
  color: #fff;
}

body:has(.apple-page) .btn-primary:hover {
  background: #0077ed;
  color: #fff;
}

body:has(.apple-page) .btn-ghost {
  background: rgba(255, 255, 255, .68);
}

body:has(.apple-page) .btn-lg {
  min-height: 46px;
  padding: 13px 24px;
  font-size: 1rem;
}

.apple-page {
  overflow: hidden;
}

.apple-page .wrap {
  max-width: 1180px;
}

.apple-hero {
  min-height: min(100svh, 980px);
  padding: clamp(92px, 12vh, 132px) 0 clamp(42px, 7vw, 86px);
  text-align: center;
  background:
    radial-gradient(circle at 50% 0%, rgba(0, 113, 227, .13), transparent 34%),
    linear-gradient(180deg, #fff 0%, #f5f5f7 58%, #f5f5f7 100%);
}

.apple-hero-copy {
  width: min(920px, calc(100% - 40px));
  max-width: 920px;
  margin-inline: auto;
}

.hero-kicker {
  margin: 0 0 16px;
  color: #6e6e73;
  font-size: clamp(1rem, 1.4vw, 1.22rem);
  font-weight: 650;
}

.apple-hero h1 {
  width: min(100%, 11ch);
  max-width: 11ch;
  margin: 0 auto;
  color: #1d1d1f;
  font-size: clamp(3.5rem, 8.4vw, 7.15rem);
  line-height: .96;
  font-weight: 720;
  letter-spacing: 0;
}

.hero-sub {
  max-width: 620px;
  margin: 24px auto 0;
  color: #6e6e73;
  font-size: clamp(1.2rem, 2vw, 1.72rem);
  line-height: 1.32;
}

.apple-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.hero-product {
  margin-top: clamp(44px, 7vw, 72px);
}

.product-shell {
  position: relative;
  max-width: 1120px;
  margin-inline: auto;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, .42);
  border-radius: 34px;
  background:
    linear-gradient(180deg, #2b2b31, #0d0d10),
    #111;
  box-shadow:
    0 46px 90px rgba(29, 29, 31, .22),
    0 18px 46px rgba(0, 0, 0, .24),
    inset 0 1px 0 rgba(255, 255, 255, .12);
}

.product-shell video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1708 / 658;
  border-radius: 25px;
  background: #050507;
  object-fit: cover;
}

.product-notch {
  position: absolute;
  top: 10px;
  left: 50%;
  z-index: 2;
  width: min(23vw, 255px);
  height: 31px;
  border-radius: 0 0 22px 22px;
  background: #050507;
  transform: translateX(-50%);
  box-shadow: 0 8px 22px rgba(0, 0, 0, .48);
}

.apple-intro {
  padding: clamp(74px, 11vw, 142px) 0 clamp(42px, 7vw, 82px);
  text-align: center;
}

.apple-intro h2,
.apple-agents h2,
.apple-split h2,
.apple-gallery h2,
.apple-compare h2,
.apple-faq h2,
.apple-final h2 {
  margin: 0 auto;
  color: #1d1d1f;
  font-size: clamp(2.45rem, 5.2vw, 5.25rem);
  line-height: 1.02;
  font-weight: 720;
  letter-spacing: 0;
}

.apple-intro h2 {
  max-width: 12ch;
}

.apple-intro p {
  max-width: 760px;
  margin: 24px auto 0;
  color: #6e6e73;
  font-size: clamp(1.15rem, 1.8vw, 1.45rem);
  line-height: 1.45;
}

.apple-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  padding: 0 0 clamp(74px, 11vw, 134px);
}

.apple-feature {
  min-height: 420px;
  padding: clamp(26px, 4.5vw, 48px);
  border: 1px solid rgba(0, 0, 0, .06);
  border-radius: 30px;
  background: #fff;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .05);
  overflow: hidden;
}

.apple-feature.large {
  grid-column: 1 / -1;
  min-height: 640px;
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
  background: linear-gradient(180deg, #fff, #fafafa);
}

.apple-feature h2,
.apple-feature h3 {
  margin: 0;
  color: #1d1d1f;
  font-size: clamp(2rem, 4.4vw, 4.2rem);
  line-height: 1.04;
  font-weight: 720;
  letter-spacing: 0;
}

.apple-feature h3 {
  font-size: clamp(1.85rem, 3.3vw, 3.1rem);
}

.apple-feature p {
  max-width: 520px;
  margin: 18px 0 0;
  color: #6e6e73;
  font-size: clamp(1.05rem, 1.65vw, 1.28rem);
  line-height: 1.42;
}

.apple-feature img,
.apple-feature video {
  display: block;
  width: 100%;
  height: auto;
  margin-top: 28px;
  border-radius: 24px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, .16);
}

.apple-feature video {
  aspect-ratio: 1708 / 658;
  background: #050507;
  object-fit: cover;
}

.apple-feature.large img {
  margin: 0;
}

.apple-feature.dark {
  display: flex;
  min-height: 420px;
  flex-direction: column;
  justify-content: flex-end;
  background:
    radial-gradient(circle at 18% 12%, rgba(41, 151, 255, .24), transparent 42%),
    linear-gradient(160deg, #303033, #111113 64%);
  color: #fff;
}

.apple-feature.dark h3 {
  color: #fff;
}

.apple-feature.dark p {
  color: rgba(255, 255, 255, .72);
}

.apple-agents,
.apple-gallery,
.apple-compare,
.apple-faq,
.apple-final {
  padding: clamp(72px, 10vw, 132px) 0;
  text-align: center;
}

.apple-agents p,
.apple-gallery > p,
.apple-split p,
.apple-compare > p,
.apple-final p {
  max-width: 720px;
  margin: 22px auto 0;
  color: #6e6e73;
  font-size: clamp(1.1rem, 1.7vw, 1.35rem);
  line-height: 1.45;
}

.agent-cloud {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  max-width: 900px;
  margin: 34px auto 0;
}

.agent-cloud span {
  padding: 12px 18px;
  border: 1px solid rgba(0, 0, 0, .08);
  border-radius: 999px;
  background: rgba(255, 255, 255, .78);
  color: #1d1d1f;
  box-shadow: 0 10px 28px rgba(0, 0, 0, .05);
  font-size: .98rem;
  font-weight: 560;
}

.apple-split {
  display: grid;
  grid-template-columns: .96fr 1.04fr;
  gap: clamp(34px, 7vw, 90px);
  align-items: center;
  padding: clamp(78px, 12vw, 150px) 0;
}

.apple-split,
.apple-split h2,
.apple-split p {
  text-align: left;
}

.apple-split h2 {
  margin-inline: 0;
}

.setup-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: setup;
}

.setup-list li {
  position: relative;
  min-height: 106px;
  padding: 26px 28px 26px 86px;
  border: 1px solid rgba(0, 0, 0, .07);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 18px 45px rgba(0, 0, 0, .045);
}

.setup-list li::before {
  position: absolute;
  top: 24px;
  left: 28px;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #0071e3;
  color: #fff;
  content: counter(setup);
  counter-increment: setup;
  font-weight: 700;
}

.setup-list strong {
  display: block;
  color: #1d1d1f;
  font-size: 1.08rem;
}

.setup-list span {
  display: block;
  margin-top: 5px;
  color: #6e6e73;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 42px;
}

.gallery-grid figure {
  margin: 0;
  padding: 10px 10px 22px;
  border: 1px solid rgba(0, 0, 0, .07);
  border-radius: 30px;
  background: #fff;
  box-shadow: 0 18px 54px rgba(0, 0, 0, .055);
}

.gallery-grid img {
  display: block;
  width: 100%;
  border-radius: 22px;
}

.gallery-grid figcaption {
  margin-top: 15px;
  color: #6e6e73;
  font-size: .98rem;
}

.compare-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 42px;
  text-align: left;
}

.compare-cards article {
  min-height: 230px;
  padding: 28px;
  border: 1px solid rgba(0, 0, 0, .07);
  border-radius: 26px;
  background: #fff;
}

.compare-cards article.featured {
  background: #1d1d1f;
  color: #fff;
}

.compare-cards h3 {
  margin: 0;
  color: inherit;
  font-size: 1.35rem;
}

.compare-cards p {
  margin: 14px 0 0;
  color: #6e6e73;
  line-height: 1.48;
}

.compare-cards .featured p {
  color: rgba(255, 255, 255, .72);
}

.compare-links {
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
}

.compare-links a {
  color: #0066cc;
  font-weight: 560;
}

.apple-faq .faq {
  max-width: 800px;
  margin: 38px auto 0;
  text-align: left;
}

.apple-faq .faq details {
  border-color: rgba(0, 0, 0, .08);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(0, 0, 0, .035);
}

.apple-faq .faq summary {
  color: #1d1d1f;
}

.apple-faq .faq p {
  color: #6e6e73;
}

.apple-final {
  padding-top: clamp(86px, 12vw, 160px);
  padding-bottom: clamp(98px, 13vw, 176px);
}

body:has(.apple-page) .site-footer {
  margin-top: 0;
  padding-block: 48px 34px;
  border-top: 1px solid rgba(0, 0, 0, .08);
  background: #f5f5f7;
}

body:has(.apple-page) .footer-col h4 {
  color: #6e6e73;
  letter-spacing: 0;
  text-transform: none;
  font-size: .92rem;
}

body:has(.apple-page) .footer-col a,
body:has(.apple-page) .site-footer p,
body:has(.apple-page) .footer-bottom {
  color: #6e6e73;
}

@media (max-width: 980px) {
  .apple-hero {
    min-height: auto;
  }

  .apple-feature-grid,
  .apple-feature.large,
  .apple-split,
  .gallery-grid,
  .compare-cards {
    grid-template-columns: 1fr;
  }

  .apple-feature.large {
    min-height: 0;
  }

  .apple-feature.large img {
    margin-top: 26px;
  }

  .apple-split,
  .apple-split h2,
  .apple-split p {
    text-align: center;
  }

  .apple-split h2 {
    margin-inline: auto;
  }
}

@media (max-width: 640px) {
  .apple-hero {
    padding-top: 84px;
  }

  .apple-hero h1 {
    width: min(100%, 8.8ch);
    max-width: 8.8ch;
    font-size: clamp(2.75rem, 13vw, 3.95rem);
    line-height: 1;
  }

  .hero-sub {
    max-width: 26ch;
    font-size: 1.08rem;
  }

  .product-shell {
    border-radius: 24px;
    padding: 7px;
  }

  .product-shell video {
    border-radius: 18px;
  }

  .product-notch {
    top: 7px;
    width: 155px;
    height: 24px;
    border-radius: 0 0 17px 17px;
  }

  .apple-feature,
  .setup-list li,
  .compare-cards article {
    border-radius: 22px;
    padding: 24px;
  }

  .setup-list li {
    padding-left: 74px;
  }

  .setup-list li::before {
    left: 24px;
  }

  .apple-actions .btn {
    width: 100%;
    justify-content: center;
  }
}

/* ---------- Apple mainstream pricing ---------- */
body:has(.pricing-page) {
  --bg: #f5f5f7;
  --bg-2: #ffffff;
  --surface: #ffffff;
  --surface-2: #fbfbfd;
  --surface-3: #f2f2f5;
  --border: rgba(0, 0, 0, .08);
  --border-2: rgba(0, 0, 0, .14);
  --text: #1d1d1f;
  --muted: #6e6e73;
  --faint: #86868b;
  --brand: #0071e3;
  --brand-2: #2997ff;
  --brand-soft: rgba(0, 113, 227, .10);
  --brand-ring: rgba(0, 113, 227, .22);
  background: #f5f5f7;
  color: #1d1d1f;
}

body:has(.pricing-page)::before,
body:has(.pricing-page)::after {
  display: none;
}

body:has(.pricing-page) .site-header {
  top: 0;
  width: 100%;
  background: rgba(251, 251, 253, .78);
  border-bottom: 1px solid rgba(0, 0, 0, .08);
  box-shadow: none;
  backdrop-filter: saturate(180%) blur(22px);
  -webkit-backdrop-filter: saturate(180%) blur(22px);
}

body:has(.pricing-page) .nav {
  min-height: 56px;
}

body:has(.pricing-page) .brand {
  color: #1d1d1f;
  font-weight: 650;
}

body:has(.pricing-page) .navlink {
  color: #424245;
  font-size: .9rem;
}

body:has(.pricing-page) .navlink:hover {
  color: #000;
}

body:has(.pricing-page) .btn {
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, .10);
  background: rgba(255, 255, 255, .72);
  color: #1d1d1f;
  box-shadow: none;
  min-height: 40px;
  padding: 10px 18px;
  font-weight: 560;
}

body:has(.pricing-page) .btn:hover {
  transform: none;
  border-color: rgba(0, 0, 0, .18);
  box-shadow: none;
}

body:has(.pricing-page) .btn-primary {
  border-color: transparent;
  background: #0071e3;
  color: #fff;
}

body:has(.pricing-page) .btn-primary:hover {
  background: #0077ed;
  color: #fff;
}

body:has(.pricing-page) .btn-ghost {
  background: rgba(255, 255, 255, .68);
}

body:has(.pricing-page) .btn-lg {
  min-height: 46px;
  padding: 13px 24px;
  font-size: 1rem;
}

.pricing-page {
  overflow: hidden;
}

.pricing-page .wrap {
  max-width: 1180px;
}

.pricing-hero {
  padding: clamp(96px, 12vh, 138px) 0 clamp(58px, 8vw, 94px);
  background:
    radial-gradient(circle at 54% 0%, rgba(0, 113, 227, .13), transparent 35%),
    linear-gradient(180deg, #fff 0%, #f5f5f7 74%, #f5f5f7 100%);
}

.pricing-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, .84fr) minmax(480px, 1.16fr);
  gap: clamp(34px, 5vw, 72px);
  align-items: center;
  min-width: 0;
}

.pricing-copy {
  min-width: 0;
}

.pricing-copy h1 {
  max-width: 9ch;
  margin: 0;
  color: #1d1d1f;
  font-size: clamp(3.7rem, 7vw, 7rem);
  line-height: .96;
  font-weight: 720;
  letter-spacing: 0;
}

.pricing-lead {
  max-width: 560px;
  margin: 24px 0 0;
  color: #6e6e73;
  font-size: clamp(1.18rem, 1.8vw, 1.48rem);
  line-height: 1.38;
}

.pricing-copy .apple-actions {
  justify-content: flex-start;
}

.pricing-legal {
  max-width: 520px;
  margin: 22px 0 0;
  color: #86868b;
  font-size: .96rem;
  line-height: 1.45;
}

.pricing-preview {
  min-width: 0;
}

.pricing-shell {
  transform: rotate(0deg);
}

.pricing-shell video {
  aspect-ratio: 1708 / 658;
}

.pricing-trust {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  padding: 12px 0 clamp(74px, 10vw, 120px);
}

.pricing-trust span {
  display: grid;
  place-items: center;
  min-height: 72px;
  padding: 16px;
  border: 1px solid rgba(0, 0, 0, .07);
  border-radius: 20px;
  background: rgba(255, 255, 255, .72);
  color: #424245;
  text-align: center;
  font-size: .96rem;
  font-weight: 560;
  box-shadow: 0 14px 34px rgba(0, 0, 0, .035);
}

.pricing-section {
  padding: 0 0 clamp(76px, 11vw, 136px);
}

.pricing-section-head {
  max-width: 760px;
  margin: 0 auto 42px;
  text-align: center;
}

.pricing-section-head h2,
.pricing-explain h2,
.pricing-faq h2,
.pricing-final h2 {
  margin: 0;
  color: #1d1d1f;
  font-size: clamp(2.45rem, 5vw, 5.1rem);
  line-height: 1.02;
  font-weight: 720;
  letter-spacing: 0;
}

.pricing-section-head p,
.pricing-final p {
  max-width: 700px;
  margin: 20px auto 0;
  color: #6e6e73;
  font-size: clamp(1.08rem, 1.65vw, 1.32rem);
  line-height: 1.45;
}

.pricing-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}

.pricing-card {
  display: flex;
  min-height: 620px;
  flex-direction: column;
  padding: clamp(24px, 3.2vw, 34px);
  border: 1px solid rgba(0, 0, 0, .07);
  border-radius: 30px;
  background: #fff;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .055);
}

.pricing-card.featured {
  background:
    radial-gradient(circle at 22% 0%, rgba(41, 151, 255, .24), transparent 42%),
    linear-gradient(160deg, #303033, #111113 64%);
  color: #fff;
  transform: translateY(-12px);
}

.tier-label {
  display: inline-flex;
  width: fit-content;
  margin: 0 0 24px;
  padding: 8px 13px;
  border-radius: 999px;
  background: #f2f2f5;
  color: #6e6e73;
  font-size: .82rem;
  font-weight: 650;
}

.pricing-card.featured .tier-label {
  background: rgba(255, 255, 255, .12);
  color: rgba(255, 255, 255, .78);
}

.pricing-card h3 {
  margin: 0;
  color: inherit;
  font-size: clamp(1.55rem, 2.5vw, 2.05rem);
  line-height: 1.1;
}

.tier-price {
  margin-top: 16px;
  color: inherit;
  font-size: clamp(4rem, 7vw, 5.7rem);
  line-height: .95;
  font-weight: 720;
  letter-spacing: 0;
}

.tier-price span {
  margin-right: 3px;
  color: #86868b;
  font-size: .42em;
  vertical-align: super;
}

.pricing-card.featured .tier-price span {
  color: rgba(255, 255, 255, .62);
}

.tier-price .plus {
  margin-left: 2px;
  font-size: .46em;
  vertical-align: baseline;
}

.tier-sub {
  min-height: 54px;
  margin: 12px 0 0;
  color: #6e6e73;
  line-height: 1.4;
}

.pricing-card.featured .tier-sub {
  color: rgba(255, 255, 255, .72);
}

.tier-list {
  display: grid;
  gap: 12px;
  flex: 1;
  margin: 28px 0;
  padding: 0;
  list-style: none;
}

.tier-list li {
  position: relative;
  padding-left: 22px;
  color: #424245;
  line-height: 1.4;
}

.tier-list li::before {
  position: absolute;
  top: .55em;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #0071e3;
  content: "";
}

.pricing-card.featured .tier-list li {
  color: rgba(255, 255, 255, .82);
}

.pricing-card.featured .tier-list li::before {
  background: #66b8ff;
}

.pricing-card .btn {
  width: 100%;
}

.pricing-custom {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  margin-top: 18px;
  padding: 28px;
  border: 1px solid rgba(0, 0, 0, .07);
  border-radius: 28px;
  background: rgba(255, 255, 255, .74);
  box-shadow: 0 16px 42px rgba(0, 0, 0, .04);
}

.pricing-custom h3 {
  margin: 0;
  color: #1d1d1f;
  font-size: 1.35rem;
}

.pricing-custom p {
  max-width: 58ch;
  margin: 6px 0 0;
  color: #6e6e73;
}

.pricing-explain {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: clamp(34px, 7vw, 90px);
  align-items: start;
  padding: clamp(76px, 11vw, 136px) 0;
}

.explain-stack {
  display: grid;
  gap: 14px;
}

.explain-stack p {
  margin: 0;
  padding: 24px;
  border: 1px solid rgba(0, 0, 0, .07);
  border-radius: 22px;
  background: #fff;
  color: #6e6e73;
  box-shadow: 0 14px 36px rgba(0, 0, 0, .04);
}

.explain-stack strong {
  color: #1d1d1f;
}

.pricing-faq {
  padding: clamp(70px, 10vw, 128px) 0;
  text-align: center;
}

.pricing-faq .faq {
  max-width: 800px;
  margin: 38px auto 0;
  text-align: left;
}

.pricing-faq .faq details {
  border-color: rgba(0, 0, 0, .08);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(0, 0, 0, .035);
}

.pricing-faq .faq summary {
  color: #1d1d1f;
}

.pricing-faq .faq p {
  color: #6e6e73;
}

.pricing-final {
  padding: clamp(86px, 12vw, 158px) 0 clamp(98px, 13vw, 176px);
  text-align: center;
}

body:has(.pricing-page) .site-footer {
  margin-top: 0;
  padding-block: 48px 34px;
  border-top: 1px solid rgba(0, 0, 0, .08);
  background: #f5f5f7;
}

body:has(.pricing-page) .footer-col h4 {
  color: #6e6e73;
  letter-spacing: 0;
  text-transform: none;
  font-size: .92rem;
}

body:has(.pricing-page) .footer-col a,
body:has(.pricing-page) .site-footer p,
body:has(.pricing-page) .footer-bottom {
  color: #6e6e73;
}

@media (max-width: 1080px) {
  .pricing-hero-grid,
  .pricing-card-grid,
  .pricing-explain {
    grid-template-columns: 1fr;
  }

  .pricing-copy,
  .pricing-copy h1,
  .pricing-copy .apple-actions,
  .pricing-legal {
    text-align: center;
    margin-inline: auto;
  }

  .pricing-copy .apple-actions {
    justify-content: center;
  }

  .pricing-card.featured {
    transform: none;
  }
}

@media (max-width: 760px) {
  .pricing-trust,
  .pricing-custom {
    grid-template-columns: 1fr;
  }

  .pricing-custom .btn {
    width: 100%;
  }
}

@media (max-width: 640px) {
  .pricing-hero {
    padding-top: 84px;
  }

  .pricing-copy h1 {
    width: min(100%, 7.4ch);
    max-width: 7.4ch;
    font-size: clamp(3rem, 13vw, 4rem);
  }

  .pricing-copy,
  .pricing-copy .apple-actions,
  .pricing-lead,
  .pricing-legal {
    width: min(100%, calc(100vw - 40px));
  }

  .pricing-copy .apple-actions {
    display: grid;
    max-width: calc(100vw - 64px);
    justify-items: center;
  }

  .pricing-lead {
    max-width: 26ch;
    margin-inline: auto;
    font-size: 1.08rem;
  }

  .pricing-legal {
    max-width: 29ch;
    margin-inline: auto;
  }

  .pricing-preview {
    margin-inline: -8px;
  }

  .pricing-card,
  .pricing-custom,
  .explain-stack p {
    border-radius: 22px;
    padding: 24px;
  }

  .pricing-card {
    min-height: auto;
  }

  .pricing-page .apple-actions .btn {
    width: min(260px, calc(100vw - 72px));
    max-width: calc(100vw - 64px);
    justify-content: center;
  }
}

/* ---------- Dynamic Island header ---------- */
body:has(.apple-page) .site-header,
body:has(.pricing-page) .site-header {
  position: fixed;
  top: 22px;
  left: 0;
  z-index: 80;
  display: flex;
  justify-content: center;
  width: 100%;
  padding-inline: 18px;
  border-bottom: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

body:has(.apple-page) .nav.island-nav,
body:has(.pricing-page) .nav.island-nav {
  position: relative;
  overflow: hidden;
  width: min(calc(100vw - 36px), 980px);
  max-width: 980px;
  height: 76px;
  min-height: 76px;
  padding: 10px 14px 10px 22px;
  border: 1px solid rgba(255, 255, 255, .72);
  border-radius: 999px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .86), rgba(255, 255, 255, .58) 48%, rgba(255, 255, 255, .78)),
    rgba(255, 255, 255, .62);
  box-shadow:
    0 32px 80px rgba(68, 76, 94, .16),
    0 10px 26px rgba(0, 0, 0, .08),
    inset 0 1px 0 rgba(255, 255, 255, .96),
    inset 0 -1px 0 rgba(255, 255, 255, .46);
  backdrop-filter: saturate(190%) blur(28px);
  -webkit-backdrop-filter: saturate(190%) blur(28px);
  transition:
    width .42s cubic-bezier(.22, 1, .36, 1),
    max-width .42s cubic-bezier(.22, 1, .36, 1),
    height .42s cubic-bezier(.22, 1, .36, 1),
    min-height .42s cubic-bezier(.22, 1, .36, 1),
    padding .42s cubic-bezier(.22, 1, .36, 1),
    background .42s ease,
    box-shadow .42s ease,
    border-color .42s ease;
}

body:has(.apple-page) .nav.island-nav::before,
body:has(.pricing-page) .nav.island-nav::before {
  position: absolute;
  inset: 1px 1px auto;
  height: 52%;
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .95), rgba(255, 255, 255, .24)),
    radial-gradient(circle at 18% 0%, rgba(255, 255, 255, .88), transparent 34%);
  content: "";
  pointer-events: none;
}

body:has(.apple-page) .nav.island-nav::after,
body:has(.pricing-page) .nav.island-nav::after {
  position: absolute;
  inset: -38% 10% auto 32%;
  height: 120%;
  border-radius: 999px;
  background: radial-gradient(closest-side, rgba(255, 255, 255, .62), transparent 72%);
  content: "";
  filter: blur(14px);
  opacity: .7;
  pointer-events: none;
}

body:has(.apple-page) .island-nav > *,
body:has(.pricing-page) .island-nav > * {
  position: relative;
  z-index: 1;
}

body:has(.apple-page) .island-nav .brand,
body:has(.pricing-page) .island-nav .brand {
  gap: 11px;
  color: #111113;
  font-size: 1.28rem;
  font-weight: 720;
  transition: gap .42s cubic-bezier(.22, 1, .36, 1), font-size .42s cubic-bezier(.22, 1, .36, 1);
}

body:has(.apple-page) .island-nav .mark,
body:has(.pricing-page) .island-nav .mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  box-shadow:
    0 9px 20px rgba(0, 0, 0, .20),
    0 0 0 5px rgba(255, 255, 255, .68);
  transition: width .42s cubic-bezier(.22, 1, .36, 1), height .42s cubic-bezier(.22, 1, .36, 1), box-shadow .42s ease;
}

body:has(.apple-page) .island-nav .nav-links,
body:has(.pricing-page) .island-nav .nav-links {
  gap: clamp(22px, 3vw, 36px);
  transition: gap .42s cubic-bezier(.22, 1, .36, 1);
}

body:has(.apple-page) .island-nav .navlink,
body:has(.pricing-page) .island-nav .navlink {
  color: #3f3f46;
  font-size: 1.16rem;
  font-weight: 560;
  transition: max-width .34s cubic-bezier(.22, 1, .36, 1), opacity .24s ease, transform .34s cubic-bezier(.22, 1, .36, 1), margin .34s ease, color .15s;
}

body:has(.apple-page) .island-nav .navlink:hover,
body:has(.pricing-page) .island-nav .navlink:hover {
  color: #09090b;
}

body:has(.apple-page) .island-nav .btn-primary,
body:has(.pricing-page) .island-nav .btn-primary {
  min-height: 56px;
  padding: 0 30px;
  border: 0;
  border-radius: 999px;
  background: #050507;
  color: #fff;
  box-shadow:
    0 12px 24px rgba(0, 0, 0, .16),
    inset 0 1px 0 rgba(255, 255, 255, .12);
  font-size: 1.08rem;
  font-weight: 720;
  transition:
    min-height .42s cubic-bezier(.22, 1, .36, 1),
    padding .42s cubic-bezier(.22, 1, .36, 1),
    background .2s ease,
    box-shadow .42s ease;
}

body:has(.apple-page) .island-nav .btn-primary:hover,
body:has(.pricing-page) .island-nav .btn-primary:hover {
  background: #141417;
  color: #fff;
}

body:has(.apple-page) .apple-hero,
body:has(.pricing-page) .pricing-hero {
  margin-top: 0;
  padding-top: clamp(118px, 14vh, 156px);
}

body:has(.apple-page) .site-header.is-scrolled .nav.island-nav,
body:has(.pricing-page) .site-header.is-scrolled .nav.island-nav {
  width: 430px;
  max-width: calc(100vw - 36px);
  height: 64px;
  min-height: 64px;
  padding: 8px 10px 8px 14px;
  border-color: rgba(255, 255, 255, .78);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .76), rgba(255, 255, 255, .46) 50%, rgba(255, 255, 255, .68)),
    rgba(255, 255, 255, .52);
  box-shadow:
    0 26px 70px rgba(68, 76, 94, .18),
    0 8px 22px rgba(0, 0, 0, .09),
    inset 0 1px 0 rgba(255, 255, 255, .96),
    inset 0 -1px 0 rgba(255, 255, 255, .42);
}

body:has(.apple-page) .site-header.is-scrolled .island-nav .brand,
body:has(.pricing-page) .site-header.is-scrolled .island-nav .brand {
  gap: 9px;
  font-size: 1.08rem;
}

body:has(.apple-page) .site-header.is-scrolled .island-nav .mark,
body:has(.pricing-page) .site-header.is-scrolled .island-nav .mark {
  width: 32px;
  height: 32px;
  box-shadow:
    0 7px 16px rgba(0, 0, 0, .18),
    0 0 0 4px rgba(255, 255, 255, .58);
}

body:has(.apple-page) .site-header.is-scrolled .island-nav .nav-links,
body:has(.pricing-page) .site-header.is-scrolled .island-nav .nav-links {
  gap: 0;
}

body:has(.apple-page) .site-header.is-scrolled .island-nav .navlink,
body:has(.pricing-page) .site-header.is-scrolled .island-nav .navlink {
  max-width: 0;
  margin: 0;
  opacity: 0;
  overflow: hidden;
  pointer-events: none;
  transform: translateY(-4px) scale(.96);
  white-space: nowrap;
}

body:has(.apple-page) .site-header.is-scrolled .island-nav .btn-primary,
body:has(.pricing-page) .site-header.is-scrolled .island-nav .btn-primary {
  min-height: 48px;
  padding-inline: 24px;
}

@media (max-width: 860px) {
  body:has(.apple-page) .site-header,
  body:has(.pricing-page) .site-header {
    top: 14px;
    padding-inline: 14px;
  }

  body:has(.apple-page) .nav.island-nav,
  body:has(.pricing-page) .nav.island-nav {
    justify-content: center;
    width: 116px;
    max-width: calc(100vw - 28px);
    height: 62px;
    min-height: 62px;
    padding: 8px 14px;
  }

  body:has(.apple-page) .island-nav .brand,
  body:has(.pricing-page) .island-nav .brand {
    font-size: 1.12rem;
  }

  body:has(.apple-page) .island-nav .mark,
  body:has(.pricing-page) .island-nav .mark {
    width: 34px;
    height: 34px;
  }

  body:has(.apple-page) .island-nav .nav-links,
  body:has(.pricing-page) .island-nav .nav-links {
    display: none;
  }

  body:has(.apple-page) .island-nav .btn-primary,
  body:has(.pricing-page) .island-nav .btn-primary {
    min-height: 46px;
    padding-inline: 20px;
    font-size: .98rem;
  }

  body:has(.apple-page) .island-nav .menu-toggle,
  body:has(.pricing-page) .island-nav .menu-toggle {
    display: none;
  }

  body:has(.apple-page) .site-header.is-scrolled .nav.island-nav,
  body:has(.pricing-page) .site-header.is-scrolled .nav.island-nav {
    width: 62px;
    max-width: 62px;
    height: 54px;
    min-height: 54px;
    padding: 7px;
  }

  body:has(.apple-page) .site-header.is-scrolled .island-nav .brand,
  body:has(.pricing-page) .site-header.is-scrolled .island-nav .brand {
    gap: 0;
    font-size: 0;
  }

  body:has(.apple-page) .site-header.is-scrolled .island-nav .mark,
  body:has(.pricing-page) .site-header.is-scrolled .island-nav .mark {
    width: 32px;
    height: 32px;
  }

  body:has(.apple-page) .apple-hero,
  body:has(.pricing-page) .pricing-hero {
    margin-top: 0;
    padding-top: 108px;
  }
}
