:root {
  color-scheme: light;
  --ink: #17171d;
  --muted: #66666f;
  --line: rgba(35, 32, 55, 0.12);
  --paper: #fbfafc;
  --card: rgba(255, 255, 255, 0.9);
  --violet: #6955df;
  --violet-dark: #4f3fc4;
  --violet-soft: #f0edff;
  --shadow: 0 28px 70px rgba(40, 32, 78, 0.13);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
  --display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 86% 2%, rgba(122, 101, 235, 0.13), transparent 31rem),
    linear-gradient(180deg, #fff 0%, var(--paper) 42%, #f4f2f8 100%);
  font: 17px/1.55 var(--font);
  text-rendering: optimizeLegibility;
}
a { color: inherit; }
.shell { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 0;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { width: 42px; height: 42px; object-fit: contain; }
.brand span { display: grid; line-height: 1.05; }
.brand strong { font-size: 15px; letter-spacing: -0.01em; }
.brand small { color: var(--muted); font-size: 12px; font-weight: 700; }
.nav-links { display: flex; gap: 10px; align-items: center; }
.nav-links a {
  padding: 9px 13px;
  border-radius: 999px;
  color: #4f4d58;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}
.nav-links a:hover, .nav-links a[aria-current="page"] { background: var(--violet-soft); color: var(--violet-dark); }
.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(390px, 1.1fr);
  gap: clamp(38px, 6vw, 88px);
  align-items: center;
  min-height: 690px;
  padding: 62px 0 86px;
}
.eyebrow {
  margin: 0 0 16px;
  color: var(--violet-dark);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
h1, h2, h3 { margin: 0; font-family: var(--display); letter-spacing: -0.035em; }
h1 { max-width: 720px; font-size: clamp(52px, 7vw, 88px); line-height: 0.96; }
h2 { font-size: clamp(34px, 4.5vw, 56px); line-height: 1.02; }
h3 { font-size: 23px; line-height: 1.15; }
.lead { max-width: 680px; margin: 24px 0 0; color: #55535e; font-size: clamp(19px, 2vw, 23px); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
}
.button.primary { border-color: var(--violet); color: #fff; background: var(--violet); }
.button.secondary { background: rgba(255, 255, 255, 0.72); }
.release-note { margin-top: 18px; color: var(--muted); font-size: 14px; }
.device-stage { position: relative; min-height: 500px; }
.mac-shot {
  position: absolute;
  inset: 0 0 auto 0;
  width: 100%;
  border: 1px solid rgba(41, 36, 67, 0.1);
  border-radius: 24px;
  box-shadow: var(--shadow);
}
.section { padding: 92px 0; border-top: 1px solid var(--line); }
.section-head { display: grid; gap: 15px; max-width: 760px; margin-bottom: 38px; }
.section-head p { margin: 0; color: var(--muted); font-size: 19px; }
.feature-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.feature {
  min-height: 240px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--card);
  box-shadow: 0 12px 28px rgba(34, 29, 62, 0.05);
}
.feature span { display: block; margin-bottom: 32px; color: var(--violet-dark); font-size: 13px; font-weight: 850; }
.feature p { margin: 12px 0 0; color: var(--muted); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; align-items: stretch; }
.panel { padding: clamp(28px, 5vw, 54px); border: 1px solid var(--line); border-radius: 30px; background: var(--card); }
.panel p { color: var(--muted); }
.panel img { width: 100%; margin-top: 24px; border-radius: 18px; box-shadow: 0 16px 38px rgba(24, 20, 44, 0.12); }
.plain-page main { padding: 70px 0 100px; }
.plain-hero { max-width: 820px; padding: 46px 0 62px; }
.plain-hero h1 { font-size: clamp(48px, 7vw, 74px); }
.plain-hero p { color: var(--muted); font-size: 20px; }
.policy-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 34px; align-items: start; }
.policy-copy { padding: 38px; border: 1px solid var(--line); border-radius: 28px; background: var(--card); }
.policy-copy h2 { margin-top: 38px; font-size: 28px; letter-spacing: -0.02em; }
.policy-copy h2:first-child { margin-top: 0; }
.policy-copy p, .policy-copy li { color: #55535e; }
.policy-copy li + li { margin-top: 9px; }
.aside-card { position: sticky; top: 24px; padding: 28px; border-radius: 24px; color: #fff; background: #1b1930; }
.aside-card h3 { color: #fff; }
.aside-card p { color: #d3cfe7; }
.aside-card a { color: #fff; font-weight: 800; }
.aside-card a { overflow-wrap: anywhere; }
.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 34px 0 48px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}
.site-footer nav { display: flex; gap: 16px; }
.site-footer a { text-decoration: none; }
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; min-height: auto; padding-top: 44px; }
  .device-stage { min-height: 430px; }
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split, .policy-grid { grid-template-columns: 1fr; }
  .aside-card { position: static; }
}
@media (max-width: 620px) {
  .shell { width: min(100% - 26px, 1180px); }
  .site-nav { align-items: flex-start; }
  .nav-links { gap: 2px; }
  .nav-links a { padding: 8px; font-size: 12px; }
  .brand small { display: none; }
  .hero { gap: 24px; padding-bottom: 62px; }
  h1 { font-size: 50px; }
  .device-stage { min-height: 320px; }
  .feature-grid { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
  .policy-copy { padding: 26px; }
  .site-footer { flex-direction: column; }
}
