/* Apple-inspired: SF system type, hairlines, no marketing chrome. */

:root {
  --background: #fff;
  --foreground: #1d1d1f;
  --paper: #f5f5f7;
  --muted: #6e6e73;
  --blue: #0066cc;
  --blue-pressed: #004f9e;
  --line: #d2d2d7;
  --card: #fff;
  --accent: #f5f5f7;
  --radius: 18px;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  color: var(--foreground);
  background: var(--background);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Helvetica Neue", sans-serif;
  letter-spacing: -0.022em;
  word-break: keep-all;
}

.shell {
  width: min(1760px, calc(100% - 48px));
}

@media (min-width: 900px) {
  .shell {
    width: calc(100% - 80px);
    max-width: none;
  }
}

.site-header {
  background: rgba(255, 255, 255, 0.72);
}

.brand > span {
  color: var(--muted);
  font-weight: 400;
}

.contact-pill {
  background: #1d1d1f;
  color: #fff;
  min-height: 36px;
  box-shadow: none;
}

.contact-pill:hover {
  background: #000;
}

.eyebrow,
.eyebrow.blue {
  color: var(--muted);
  letter-spacing: 0.01em;
  font-weight: 600;
  text-transform: none;
}

.hero {
  padding-top: 96px;
  padding-bottom: 8px;
}

.hero h1 {
  letter-spacing: -0.055em;
}

.hero-description {
  max-width: 36rem;
}

.button {
  background: var(--blue);
  box-shadow: none;
}

.button:hover {
  background: var(--blue-pressed);
}

.hero-shortcuts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin: 72px auto 0;
  text-align: left;
  border-top: 1px solid var(--line);
}

.hero-shortcuts a {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  min-height: 0;
  padding: 28px 32px 8px 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  transform: none;
}

.hero-shortcuts a + a {
  padding-left: 32px;
  border-left: 1px solid var(--line);
}

.hero-shortcuts a:hover {
  border-color: var(--line);
  box-shadow: none;
  transform: none;
  opacity: 0.72;
}

.shortcut-number {
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding-top: 4px;
}

.shortcut-copy {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
  min-width: 0;
}

.shortcut-copy strong {
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.shortcut-copy span {
  color: var(--muted);
  font-size: 14px;
}

.shortcut-arrow {
  display: none;
}

.hero-signature {
  display: none !important;
}

.feature-card {
  background: var(--paper);
  border: 0;
  box-shadow: none;
}

.extras-grid > article {
  background: transparent;
  border: 0;
  border-top: 1px solid var(--line);
  border-radius: 0;
  box-shadow: none;
  padding: 28px 0 8px;
  min-height: 0;
}

.extras-grid > article svg {
  color: var(--foreground);
}

.policy-summary,
.music-controls,
.domain-guide {
  background: var(--paper);
  border: 0;
  box-shadow: none;
}

.music-section {
  color: var(--foreground);
  background: var(--paper);
  border-block: 0;
}

.music-section h2 > span,
.music-section .feature-heading > div > p:not(.eyebrow),
.music-section .feature-photo figcaption {
  color: var(--muted);
}

.music-steps > div {
  border-top-color: var(--line);
}

.music-steps > div > span,
.music-steps p,
.music-note,
.music-controls .number {
  color: var(--muted);
}

.music-steps h3,
.music-steps code,
.music-controls h3 {
  color: var(--foreground);
}

.music-section .text-link {
  color: var(--blue);
}

.music-controls {
  background: #fff;
}

.music-controls dl > div {
  border-top-color: var(--line);
}

.contact-section {
  background: none;
}

.price-note {
  max-width: 28rem;
  margin: 36px auto 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.price-note strong {
  display: block;
  color: var(--foreground);
  margin-bottom: 8px;
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -0.03em;
}

@media (min-width: 1200px) {
  .document-layout {
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 80px;
  }
}

.header-inner nav {
  flex-wrap: wrap;
  justify-content: flex-end;
  row-gap: 0;
}

.header-inner nav a[aria-current="page"] {
  color: var(--foreground);
  font-weight: 600;
}

@media (max-width: 900px) {
  .header-inner nav {
    gap: 12px 16px;
    font-size: 13px;
  }
}

.footer {
  background: var(--paper);
}

.footer-top p {
  color: var(--muted);
}

.toc nav a {
  position: relative;
  padding-left: 12px;
  border-radius: 0;
  color: var(--muted);
}

.toc nav a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  bottom: 7px;
  width: 1px;
  border-radius: 0;
  background: transparent;
}

.toc nav a:hover {
  color: var(--foreground);
  background: transparent;
}

.toc nav a.is-active,
.toc nav a[aria-current="location"] {
  color: var(--foreground);
  background: transparent;
  font-weight: 600;
}

.toc nav a.is-active::before,
.toc nav a[aria-current="location"]::before {
  background: var(--foreground);
}

.command-group,
.prose h2 {
  scroll-margin-top: 112px;
}

.faq-item[open] summary::after {
  content: "–";
  color: var(--muted);
}

.photo-trigger {
  background: #e8e8ed;
}

@media (max-width: 900px) {
  .shell {
    width: calc(100% - 32px);
  }

  .hero-shortcuts {
    grid-template-columns: 1fr;
    margin-top: 48px;
  }

  .hero-shortcuts a + a {
    padding-left: 0;
    border-left: 0;
    border-top: 1px solid var(--line);
  }
}

@media (max-width: 600px) {
  .header-inner {
    min-height: 0;
    padding-block: 12px 10px;
    flex-wrap: wrap;
    gap: 8px 16px;
  }

  .brand {
    flex: 0 0 auto;
  }

  .header-inner nav {
    flex: 1 1 100%;
    min-width: 0;
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 16px;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 2px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .header-inner nav::-webkit-scrollbar {
    display: none;
  }

  .header-inner nav > a {
    flex: 0 0 auto;
    min-height: 40px;
    white-space: nowrap;
  }
}
