:root {
  --bg-top: #f6fafe;
  --bg-bottom: #edf3f9;
  --surface: rgba(255, 255, 255, 0.72);
  --surface-strong: rgba(255, 255, 255, 0.88);
  --surface-soft: rgba(247, 251, 255, 0.82);
  --text: #16324a;
  --muted: #5f7489;
  --line: rgba(22, 50, 74, 0.08);
  --accent: #2b6fff;
  --accent-soft: rgba(43, 111, 255, 0.12);
  --accent-glow: rgba(110, 181, 255, 0.28);
  --shadow-large: 0 30px 80px rgba(35, 68, 102, 0.12);
  --shadow-medium: 0 18px 44px rgba(35, 68, 102, 0.08);
  --radius-xl: 10px;
  --radius-lg: 8px;
  --radius-md: 6px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "SF Pro Display", "SF Pro Text", "Helvetica Neue", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(96, 175, 255, 0.22), transparent 24%),
    radial-gradient(circle at 88% 18%, rgba(255, 255, 255, 0.88), transparent 20%),
    linear-gradient(180deg, var(--bg-top) 0%, var(--bg-bottom) 100%);
}

.page-shell {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 32px 0 72px;
}

.legal-shell {
  width: min(900px, calc(100% - 40px));
}

.hero,
.section,
.card,
.feature-card,
.callout,
.legal-header,
.legal-section,
.note-panel,
.focus-window,
.menu-pill {
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(420px, 0.94fr);
  gap: 34px;
  align-items: center;
  padding: 34px;
  border-radius: var(--radius-xl);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,0.68) 0%, rgba(255,255,255,0.84) 100%);
  box-shadow: var(--shadow-large);
}

.hero-copy {
  max-width: 600px;
}

.brand-lockup {
  display: grid;
  gap: 10px;
  margin-bottom: 20px;
}

.brand-name {
  margin: 0;
  font-size: clamp(26px, 3.5vw, 38px);
  line-height: 1;
  letter-spacing: -0.07em;
  color: var(--text);
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  padding: 7px 11px;
  border-radius: 4px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p,
li {
  margin-top: 0;
}

h1 {
  margin-bottom: 18px;
  font-size: clamp(46px, 7vw, 76px);
  line-height: 0.95;
  letter-spacing: -0.06em;
  text-wrap: balance;
}

.hero-lead {
  margin-bottom: 12px;
  font-size: clamp(20px, 2.4vw, 28px);
  line-height: 1.28;
  letter-spacing: -0.03em;
  color: #234764;
}

.brand-lockup + h1 {
  margin-top: 0;
}

.hero-text,
.section-heading p,
.card p,
.feature-card p,
.callout p {
  color: var(--muted);
  line-height: 1.72;
  font-size: 16px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 28px 0 22px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 156px;
  height: 48px;
  padding: 0 18px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
  border: 1px solid transparent;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  background: linear-gradient(180deg, #3a82ff 0%, #2b6fff 100%);
  color: #fff;
  box-shadow: 0 16px 32px rgba(43, 111, 255, 0.26);
}

.button-secondary {
  background: rgba(255,255,255,0.72);
  border-color: var(--line);
  color: var(--text);
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.hero-points li {
  padding: 8px 12px;
  border-radius: 4px;
  background: rgba(255,255,255,0.78);
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

.hero-visual {
  position: relative;
}

.scene {
  position: relative;
  min-height: 520px;
}

.menu-pill {
  position: absolute;
  top: 4px;
  right: 18px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 4px;
  background: rgba(255,255,255,0.8);
  border: 1px solid rgba(255,255,255,0.95);
  box-shadow: 0 18px 32px rgba(45, 83, 120, 0.12);
  color: #335573;
  font-size: 13px;
  font-weight: 600;
}

.menu-dot {
  width: 10px;
  height: 10px;
  border-radius: 2px;
  background: linear-gradient(180deg, #3f8cff, #2b6fff);
  box-shadow: 0 0 0 4px rgba(43, 111, 255, 0.12);
}

.display {
  position: absolute;
  inset: 48px 0 0;
  border-radius: 10px;
  background: linear-gradient(180deg, rgba(255,255,255,0.42) 0%, rgba(255,255,255,0.2) 100%);
  border: 1px solid rgba(255,255,255,0.86);
  box-shadow: 0 34px 70px rgba(46, 82, 120, 0.16);
  overflow: hidden;
}

.display-glow {
  position: absolute;
  width: 320px;
  height: 320px;
  top: -90px;
  left: -72px;
  border-radius: 999px;
  background: var(--accent-glow);
  filter: blur(54px);
}

.display-canvas {
  position: relative;
  width: 100%;
  height: 100%;
}

.note-panel,
.focus-window {
  position: absolute;
  border: 1px solid rgba(255,255,255,0.88);
  background: linear-gradient(180deg, rgba(255,255,255,0.76), rgba(235,245,255,0.72));
  box-shadow: 0 28px 56px rgba(44, 81, 118, 0.14);
}

.note-panel {
  top: 86px;
  right: 28px;
  width: 190px;
  height: 344px;
  border-radius: 8px 0 0 8px;
  padding: 22px 18px 16px;
}

.editor-lines {
  display: grid;
  gap: 12px;
}

.line,
.focus-line {
  display: block;
  height: 11px;
  border-radius: 3px;
  background: rgba(42, 74, 104, 0.12);
}

.wide { width: 92%; }
.medium { width: 70%; }
.short { width: 46%; }

.panel-footer {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
  font-size: 11px;
}

.footer-icons {
  display: flex;
  gap: 7px;
}

.footer-icons i {
  width: 18px;
  height: 18px;
  display: block;
  border-radius: 3px;
  background: rgba(31, 63, 92, 0.08);
}

.focus-window {
  left: 42px;
  bottom: 34px;
  width: 368px;
  height: 242px;
  border-radius: 8px;
  padding: 16px 18px 20px;
}

.window-bar {
  display: flex;
  gap: 8px;
  margin-bottom: 18px;
}

.window-bar span {
  width: 11px;
  height: 11px;
  border-radius: 2px;
  background: rgba(22, 50, 74, 0.16);
}

.window-bar span:first-child { background: #ff665d; }
.window-bar span:nth-child(2) { background: #ffbd4f; }
.window-bar span:nth-child(3) { background: #28c840; }

.focus-content {
  display: grid;
  gap: 14px;
  padding: 8px 6px 0;
}

.section {
  margin-top: 24px;
  padding: 28px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow-medium);
}

.statement-grid,
.split-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.card {
  padding: 22px;
  border-radius: 6px;
  border: 1px solid var(--line);
  background: var(--surface-strong);
}

.card-soft {
  background: linear-gradient(180deg, rgba(255,255,255,0.84), rgba(246,250,255,0.88));
}

.section-heading {
  max-width: 760px;
  margin-bottom: 20px;
}

h2 {
  margin: 12px 0 14px;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.04;
  letter-spacing: -0.05em;
  text-wrap: balance;
}

h3 {
  margin-bottom: 10px;
  font-size: 18px;
  letter-spacing: -0.02em;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.feature-card {
  padding: 20px;
  border-radius: 6px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.78);
}

.shortcut-list,
.use-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.shortcut-list li,
.use-list li {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  color: var(--text);
}

.shortcut-list li:last-child,
.use-list li:last-child {
  border-bottom: 0;
}

.shortcut-list span {
  color: var(--accent);
  font-weight: 700;
  white-space: nowrap;
}

.shortcut-list strong {
  font-size: 15px;
  font-weight: 600;
  text-align: right;
}

.use-list li {
  font-size: 15px;
}

.callout {
  min-height: 220px;
  display: flex;
  align-items: center;
  background:
    radial-gradient(circle at right top, rgba(43,111,255,0.16), transparent 26%),
    linear-gradient(135deg, rgba(255,255,255,0.88), rgba(239,247,255,0.9));
}

.callout-copy {
  max-width: 680px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-top: 24px;
  padding: 4px 2px 0;
  color: var(--muted);
  font-size: 14px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-links a,
.legal-back,
.legal-section a {
  color: var(--accent);
  text-decoration: none;
}

.footer-links a:hover,
.legal-back:hover,
.legal-section a:hover {
  text-decoration: underline;
}

.legal-header,
.legal-section {
  border-radius: 6px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,0.78), rgba(246,250,255,0.88));
  box-shadow: var(--shadow-medium);
}

.legal-header {
  padding: 24px 26px;
  margin-bottom: 18px;
}

.legal-back {
  display: inline-block;
  margin-bottom: 18px;
  font-size: 14px;
  font-weight: 600;
}

.legal-header h1 {
  margin-bottom: 10px;
  font-size: clamp(34px, 5vw, 52px);
  line-height: 0.98;
}

.legal-content {
  display: grid;
  gap: 14px;
}

.legal-section {
  padding: 22px 26px;
}

.legal-section h2 {
  margin-bottom: 10px;
  font-size: 20px;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.legal-section p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.72;
}

@media (max-width: 1040px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    max-width: none;
  }

  .scene {
    min-height: 460px;
  }
}

@media (max-width: 820px) {
  .page-shell {
    width: min(100%, calc(100% - 24px));
    padding-top: 16px;
  }

  .hero,
  .section {
    padding: 22px;
    border-radius: 8px;
  }

  .statement-grid,
  .split-grid,
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .scene {
    min-height: 380px;
  }

  .display {
    inset: 40px 0 0;
  }

  .focus-window {
    left: 20px;
    width: min(320px, calc(100% - 88px));
    height: 210px;
  }

  .note-panel {
    top: 78px;
    right: 18px;
    width: 148px;
    height: 284px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  h1 {
    font-size: 42px;
  }

  .hero-lead {
    font-size: 19px;
  }

  .shortcut-list li,
  .use-list li {
    flex-direction: column;
  }

  .shortcut-list strong {
    text-align: left;
  }

  .focus-window {
    left: 14px;
    bottom: 18px;
    width: calc(100% - 90px);
  }

  .note-panel {
    width: 132px;
    height: 260px;
    padding: 18px 14px 14px;
  }
}
