:root {
  --bg: #ffffff;
  --surface: #f5f5f7;
  --surface-elevated: #ffffff;
  --ink: #1d1d1f;
  --ink-secondary: #6e6e73;
  --ink-tertiary: #86868b;
  --muted: #6e6e73;
  --line: rgba(0, 0, 0, 0.08);
  --blue: #0071e3;
  --blue-hover: #0077ed;
  --blue-soft: rgba(0, 113, 227, 0.08);
  --ok: #137333;
  --ok-bg: #edf8f1;
  --err: #c92a2a;
  --err-bg: #fff0f0;
  --font-display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "PingFang SC", "Helvetica Neue", sans-serif;
  --font-text: -apple-system, BlinkMacSystemFont, "SF Pro Text", "PingFang SC", "Helvetica Neue", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body {
  margin: 0;
  font-family: var(--font-text);
  color: var(--ink);
  background: var(--bg);
  font-feature-settings: "kern" 1;
}
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
img { display: block; max-width: 100%; height: auto; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 3px solid rgba(0, 113, 227, 0.45);
  outline-offset: 2px;
}

.container { max-width: 1100px; margin: 0 auto; }

/* ---------- Sticky Apple Glass Nav ---------- */
.nav-wrap {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.84);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}
.site-nav {
  max-width: 1100px;
  height: 52px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.brand-logo {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 13px;
  color: #424245;
}
.nav-links a { transition: color 0.15s ease; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--ink); font-weight: 500; }
.nav-cta {
  padding: 6px 14px;
  border-radius: 980px;
  background: var(--blue);
  color: #fff !important;
  font-size: 12.5px;
  font-weight: 500;
  transition: background 0.15s ease;
}
.nav-cta:hover { background: var(--blue-hover); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 1px solid transparent;
  border-radius: 980px;
  padding: 12px 26px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-hover); }
.btn-outline { background: #ffffff; color: var(--blue); border-color: rgba(0, 113, 227, 0.35); }
.btn-outline:hover { background: var(--blue-soft); border-color: var(--blue); }
.btn-soft { background: #e8e8ed; color: var(--ink); }
.btn-soft:hover { background: #dcdce2; }
.btn.disabled, .btn:disabled { opacity: 0.55; cursor: default; pointer-events: none; }

/* ---------- Hero ---------- */
.hero {
  max-width: 1100px;
  margin: 0 auto;
  padding: 84px 24px 68px;
  text-align: center;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-secondary);
  margin: 0 0 18px;
}
.eyebrow-badge {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #30d158;
  display: inline-block;
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(42px, 6vw, 68px);
  font-weight: 700;
  line-height: 1.09;
  letter-spacing: -0.04em;
  margin: 0 auto 20px;
  max-width: 840px;
}
.hero h1 .accent {
  background: linear-gradient(95deg, #0071e3 0%, #2997ff 65%, #38bdf8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-sub {
  font-size: clamp(17px, 2vw, 20.5px);
  line-height: 1.55;
  color: var(--ink-secondary);
  max-width: 820px;
  margin: 0 auto 30px;
  font-weight: 400;
  letter-spacing: -0.01em;
}
.hero-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 16px;
}
.hero-meta {
  font-size: 12.5px;
  color: var(--ink-tertiary);
  margin: 0;
  line-height: 1.7;
}
.mono-hash {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, monospace;
  font-size: 11px;
  color: var(--ink-tertiary);
  margin: 6px auto 0;
  word-break: break-all;
  max-width: 640px;
}

/* ---------- Two-Pillar Hero Strip ---------- */
.pillar-strip {
  max-width: 920px;
  margin: 44px auto 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  text-align: left;
}
.pillar-pill {
  background: var(--surface);
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 20px;
  padding: 22px 26px;
  display: grid;
  gap: 6px;
  transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
}
.pillar-pill:hover {
  background: #eff5fc;
  transform: translateY(-2px);
  box-shadow: 0 10px 26px -14px rgba(0, 113, 227, 0.25);
}
.pillar-num {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--blue);
  letter-spacing: 0.02em;
}
.pillar-pill strong {
  font-size: 15.5px;
  font-weight: 600;
  line-height: 1.45;
  color: var(--ink);
}

/* ---------- Pillar Sections ---------- */
.pillar-section {
  padding: 88px 24px;
  scroll-margin-top: 56px;
}
.light-surface { background: var(--surface); }
.white-surface { background: var(--bg); }

.section-head {
  max-width: 760px;
  margin: 0 auto 44px;
  text-align: center;
}
.section-head.compact { margin-bottom: 36px; }
.section-kicker {
  display: inline-block;
  font-size: 13px;
  font-weight: 650;
  color: var(--blue);
  background: var(--blue-soft);
  padding: 5px 14px;
  border-radius: 980px;
  margin: 0 0 16px;
}
.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(30px, 4.1vw, 46px);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.14;
  margin: 0 0 14px;
}
.section-head p {
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink-secondary);
  margin: 0;
}

/* ---------- Wide Light Showcase (Pillar 1: Collaboration) ---------- */
.showcase-wide {
  max-width: 1020px;
  margin: 0 auto 32px;
  position: relative;
}
.window-frame {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.09);
  background: #ffffff;
  box-shadow:
    0 28px 72px -22px rgba(0, 0, 0, 0.14),
    0 6px 20px -8px rgba(0, 0, 0, 0.06);
}
.window-frame img { width: 100%; height: auto; }

.feature-trio {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.light-card {
  background: #ffffff;
  border-radius: 24px;
  padding: 28px 26px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}
.light-card h3 {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 650;
  letter-spacing: -0.02em;
  line-height: 1.3;
  margin: 0 0 10px;
}
.light-card p {
  font-size: 14.5px;
  line-height: 1.72;
  color: var(--ink-secondary);
  margin: 0;
}

/* ---------- Pillar 2: AI Dual Light Cards ---------- */
.ai-dual-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.ai-card {
  background: var(--surface);
  border-radius: 28px;
  padding: 34px 32px 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
}
.bento-kicker {
  font-size: 12.5px;
  font-weight: 650;
  color: var(--blue);
  margin: 0 0 10px;
}
.ai-card h3 {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.3vw, 27px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.24;
  margin: 0 0 10px;
}
.ai-card p {
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--ink-secondary);
  margin: 0;
}
.bento-shot {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: #ffffff;
  box-shadow: 0 16px 36px -14px rgba(0, 0, 0, 0.11);
}

.model-bar {
  margin-top: 24px;
  background: var(--surface);
  border-radius: 20px;
  padding: 20px 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
}
.model-bar-label {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink-secondary);
}
.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.pill-tag {
  font-size: 12.5px;
  font-weight: 500;
  padding: 6px 13px;
  border-radius: 980px;
  background: #ffffff;
  color: #3a3a3c;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

/* ---------- Audience Resonance Strip ---------- */
.audience-band {
  padding: 80px 24px;
  scroll-margin-top: 56px;
}
.audience-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.step-num {
  font-family: var(--font-display);
  font-size: 12.5px;
  font-weight: 700;
  color: var(--blue);
  letter-spacing: 0.03em;
  margin-bottom: 10px;
}

/* ---------- Closing CTA ---------- */
.closing-band {
  padding: 72px 24px 88px;
  background: var(--bg);
}
.closing-card {
  max-width: 1100px;
  margin: 0 auto;
  background: var(--surface);
  border-radius: 28px;
  padding: 64px 36px;
  text-align: center;
}
.closing-card h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.8vw, 42px);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.18;
  margin: 0 0 14px;
}
.closing-card p {
  font-size: 16px;
  color: var(--ink-secondary);
  margin: 0 auto 28px;
  max-width: 500px;
  line-height: 1.65;
}
.release-notes {
  margin: 22px auto 0;
  max-width: 600px;
  font-size: 13px;
  color: var(--ink-secondary);
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--surface);
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  padding: 26px 24px;
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 12px;
  color: var(--ink-tertiary);
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.footer-links a:hover { color: var(--ink); }

/* ---------- Subpages (Claim / Help / Terms / Privacy) ---------- */
.subpage { background: var(--surface); min-height: calc(100vh - 52px); }
.article-wrap {
  max-width: 780px;
  margin: 0 auto;
  padding: 56px 24px 96px;
}
.article-head { text-align: center; margin-bottom: 36px; }
.article-head h1 {
  font-family: var(--font-display);
  font-size: clamp(30px, 4.4vw, 44px);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.15;
  margin: 0 0 12px;
}
.article-head p {
  font-size: 16px;
  color: var(--ink-secondary);
  margin: 0 auto;
  max-width: 560px;
  line-height: 1.65;
}
.apple-card {
  background: #ffffff;
  border-radius: 24px;
  padding: 34px 36px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.035);
  margin-bottom: 20px;
}
.apple-card h2 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 650;
  letter-spacing: -0.02em;
  margin: 0 0 12px;
}
.apple-card h2:not(:first-child) { margin-top: 28px; }
.apple-card p, .apple-card li {
  font-size: 15px;
  line-height: 1.8;
  color: #424245;
}
.apple-card ol, .apple-card ul { padding-left: 20px; margin: 10px 0; }
.apple-card li { margin: 8px 0; }
.apple-card a { color: var(--blue); }
.callout-note {
  padding: 14px 18px;
  border-radius: 14px;
  background: var(--blue-soft);
  color: #1d3557;
  font-size: 14px;
  line-height: 1.7;
  margin: 0 0 22px;
}

.claim-form { display: grid; gap: 14px; margin-top: 16px; }
.claim-form label { display: grid; gap: 8px; font-size: 13.5px; font-weight: 500; color: var(--ink); }
.claim-form input {
  width: 100%;
  padding: 13px 15px;
  border: 1px solid #d2d2d7;
  border-radius: 12px;
  font-size: 15px;
  background: #fff;
  color: var(--ink);
  transition: border-color 0.15s ease;
}
.claim-form input:focus { border-color: var(--blue); outline: none; box-shadow: 0 0 0 4px rgba(0, 113, 227, 0.14); }
.claim-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 4px; }
.muted { font-size: 12.5px; color: var(--ink-tertiary); }
.claim-result {
  margin-top: 22px;
  padding: 20px;
  border-radius: 16px;
  background: var(--ok-bg);
}
.claim-result strong { color: var(--ok); font-size: 14px; }
.code-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: #fff;
  border-radius: 12px;
  padding: 13px 16px;
  margin: 12px 0;
  border: 1px solid rgba(19, 115, 51, 0.16);
}
.code-box code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, monospace;
  font-size: 17px;
  font-weight: 650;
  letter-spacing: 0.05em;
  color: #0d3b1e;
  word-break: break-all;
}
.claim-error {
  margin-top: 16px;
  padding: 13px 16px;
  border-radius: 12px;
  background: var(--err-bg);
  color: var(--err);
  font-size: 14px;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .pillar-strip, .feature-trio, .ai-dual-grid, .audience-grid { grid-template-columns: 1fr; gap: 16px; }
  .hero { padding: 56px 20px 52px; }
  .pillar-section { padding: 64px 20px; }
  .ai-card { padding: 26px 22px; border-radius: 22px; }
  .apple-card { padding: 26px 22px; border-radius: 20px; }
  .nav-links { gap: 16px; }
  .nav-links .hide-sm { display: none; }
  .code-box { flex-direction: column; align-items: flex-start; }
}
