:root {
  color-scheme: light;
  --primary: #0066cc;
  --primary-focus: #0071e3;
  --primary-on-dark: #2997ff;
  --canvas: #ffffff;
  --canvas-parchment: #f5f5f7;
  --surface-tile-1: #272729;
  --surface-tile-2: #2a2a2c;
  --surface-black: #000000;
  --surface-chip: #d2d2d7;
  --ink: #1d1d1f;
  --body-on-dark: #ffffff;
  --body-muted: #cccccc;
  --ink-muted: #6e6e73;
  --hairline: #e0e0e0;
  --divider-soft: rgb(0 0 0 / 4%);
  --product-shadow: 3px 5px 30px rgb(0 0 0 / 22%);
  --max: 1440px;
  --text-max: 980px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--canvas-parchment);
  color: var(--ink);
  font-family: "SF Pro Text", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
  text-decoration: none;
}

code {
  font-family: "SF Mono", ui-monospace, Menlo, monospace;
  font-size: 0.94em;
}

.global-nav {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 34px;
  height: 44px;
  padding: 0 20px;
  background: var(--surface-black);
  color: var(--body-on-dark);
}

.global-mark {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  color: var(--body-on-dark);
}

.global-mark svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.global-mark svg path + path {
  fill: var(--primary-on-dark);
}

.global-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  color: rgb(255 255 255 / 78%);
  font-size: 12px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0;
}

.global-links a:hover,
.global-links a:focus-visible {
  color: var(--body-on-dark);
}

.sub-nav {
  position: sticky;
  top: 44px;
  z-index: 29;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 52px;
  padding: 0 max(24px, calc((100vw - var(--text-max)) / 2));
  background: rgb(245 245 247 / 82%);
  border-bottom: 1px solid rgb(0 0 0 / 8%);
  backdrop-filter: saturate(180%) blur(20px);
}

.sub-title {
  font-family: "SF Pro Display", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 21px;
  font-weight: 600;
  line-height: 1.19;
  letter-spacing: 0;
}

.sub-links {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.29;
  letter-spacing: 0;
}

.sub-cta,
.button-primary,
.button-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  transition: transform 120ms ease;
}

.sub-cta {
  min-height: 28px;
  padding: 6px 14px;
  background: var(--primary);
  color: var(--body-on-dark);
}

.button-primary,
.button-secondary {
  min-height: 44px;
  padding: 11px 22px;
  font-size: 17px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0;
}

.button-primary {
  background: var(--primary);
  color: var(--body-on-dark);
}

.button-secondary {
  border: 1px solid var(--primary);
  color: var(--primary);
}

.button-secondary.on-dark {
  border-color: var(--primary-on-dark);
  color: var(--primary-on-dark);
}

.sub-cta:active,
.button-primary:active,
.button-secondary:active {
  transform: scale(0.95);
}

.sub-cta:focus-visible,
.button-primary:focus-visible,
.button-secondary:focus-visible {
  outline: 2px solid var(--primary-focus);
  outline-offset: 3px;
}

.product-tile,
.utility-tile {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 82svh;
  overflow: hidden;
  padding: 80px 24px;
  text-align: center;
}

.hero-tile {
  min-height: calc(88svh - 96px);
  padding-top: 70px;
}

.tile-light {
  background: var(--canvas);
  color: var(--ink);
}

.tile-parchment {
  background: var(--canvas-parchment);
  color: var(--ink);
}

.tile-dark {
  background: var(--surface-tile-1);
  color: var(--body-on-dark);
}

.tile-dark-2 {
  background: var(--surface-tile-2);
}

.tile-copy {
  width: min(var(--text-max), 100%);
  margin: 0 auto;
}

.tile-copy.compact {
  max-width: 760px;
}

h1,
h2 {
  margin: 0;
  font-family: "SF Pro Display", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 600;
  letter-spacing: 0;
}

h1 {
  font-size: 56px;
  line-height: 1.07;
}

h2 {
  font-size: 40px;
  line-height: 1.1;
}

h3 {
  margin: 0;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.24;
  letter-spacing: 0;
}

p {
  margin: 0;
  color: var(--ink-muted);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.47;
  letter-spacing: 0;
}

.tile-dark p {
  color: var(--body-muted);
}

.tile-copy > p {
  max-width: 760px;
  margin: 10px auto 0;
  font-size: 28px;
  line-height: 1.14;
  letter-spacing: 0;
}

.cta-row {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 22px;
}

.product-stage {
  width: min(980px, 100%);
  margin: 56px auto 0;
}

.mac-render {
  width: min(820px, 92vw);
  margin: 0 auto;
  filter: drop-shadow(var(--product-shadow));
}

.mac-window {
  overflow: hidden;
  border: 1px solid rgb(0 0 0 / 8%);
  border-radius: 18px;
  background: var(--canvas);
}

.window-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  height: 42px;
  padding: 0 14px;
  background: var(--canvas-parchment);
  border-bottom: 1px solid var(--hairline);
}

.window-bar span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--surface-chip);
}

.window-bar strong {
  margin-left: 8px;
  color: var(--ink-muted);
  font-size: 12px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0;
}

.app-surface {
  display: grid;
  gap: 18px;
  padding: 34px;
  background: var(--canvas);
  text-align: left;
}

.recording-state {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ink-muted);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.29;
  letter-spacing: 0;
}

.record-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--primary);
}

.spoken,
.transcribed {
  max-width: none;
  margin: 0;
}

.spoken {
  color: var(--ink);
  font-size: 28px;
  line-height: 1.21;
  letter-spacing: 0;
}

.transcribed {
  padding-top: 18px;
  border-top: 1px solid var(--hairline);
  color: var(--ink-muted);
  font-size: 17px;
  line-height: 1.47;
}

.mac-base {
  width: 72%;
  height: 14px;
  margin: 0 auto;
  border-radius: 0 0 32px 32px;
  background: var(--surface-chip);
}

.flow-render,
.privacy-strip {
  display: grid;
  width: min(980px, 100%);
  margin: 56px auto 0;
  border-top: 1px solid rgb(255 255 255 / 18%);
  border-bottom: 1px solid rgb(255 255 255 / 18%);
}

.flow-render {
  grid-template-columns: repeat(3, 1fr);
}

.flow-render div,
.privacy-strip div {
  padding: 28px 24px;
  border-right: 1px solid rgb(255 255 255 / 18%);
}

.flow-render div:last-child,
.privacy-strip div:last-child {
  border-right: 0;
}

.flow-render span,
.privacy-strip span,
.model-grid span,
.utility-grid span {
  display: block;
  color: var(--primary-on-dark);
  font-size: 12px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0;
}

.flow-render strong,
.privacy-strip strong {
  display: block;
  margin-top: 28px;
  color: var(--body-on-dark);
  font-size: 21px;
  font-weight: 600;
  line-height: 1.19;
  letter-spacing: 0;
}

.flow-render p {
  margin-top: 8px;
  font-size: 17px;
  line-height: 1.47;
}

.utility-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  width: min(var(--max), 100%);
  margin: 48px auto 0;
  padding: 0;
  list-style: none;
  text-align: left;
}

.utility-grid li,
.model-grid article {
  min-height: 240px;
  padding: 24px;
  border: 1px solid var(--hairline);
  border-radius: 18px;
  background: var(--canvas);
}

.utility-grid span,
.model-grid span {
  color: var(--primary);
}

.utility-grid h3,
.model-grid h3 {
  margin-top: 44px;
}

.utility-grid p,
.model-grid p {
  margin-top: 10px;
}

.model-tile {
  align-content: center;
}

.model-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  width: min(980px, 100%);
  margin: 48px auto 0;
  text-align: left;
}

.model-grid article {
  min-height: 250px;
}

.model-grid h3 {
  color: var(--ink);
  font-size: 21px;
  line-height: 1.19;
  letter-spacing: 0;
}

.privacy-strip {
  grid-template-columns: repeat(3, 1fr);
}

.site-footer {
  background: var(--canvas-parchment);
  color: var(--ink-muted);
  padding: 64px 24px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  width: min(var(--text-max), 100%);
  margin: 0 auto;
  text-align: left;
}

.footer-inner strong {
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.29;
  letter-spacing: 0;
}

.footer-inner p {
  margin-top: 8px;
  color: var(--ink-muted);
  font-size: 12px;
  line-height: 1.3;
  letter-spacing: 0;
}

.footer-inner nav {
  display: grid;
  grid-template-columns: repeat(4, max-content);
  gap: 22px;
  color: var(--ink-muted);
  font-size: 12px;
  line-height: 1;
  letter-spacing: 0;
}

.footer-inner a:hover,
.footer-inner a:focus-visible {
  color: var(--primary);
}

@media (max-width: 1068px) {
  .product-tile,
  .utility-tile {
    min-height: auto;
    padding: 72px 24px;
  }

  .hero-tile {
    min-height: auto;
  }

  h1,
  h2 {
    font-size: 40px;
    line-height: 1.1;
  }

  .tile-copy > p {
    font-size: 24px;
    line-height: 1.24;
  }

  .utility-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .model-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 833px) {
  .global-nav {
    justify-content: space-between;
  }

  .global-links {
    gap: 18px;
  }

  .global-links a:nth-child(2),
  .global-links a:nth-child(3) {
    display: none;
  }

  .sub-nav {
    padding: 0 18px;
  }

  .sub-links a:not(.sub-cta) {
    display: none;
  }

  .flow-render,
  .privacy-strip {
    grid-template-columns: 1fr;
  }

  .flow-render div,
  .privacy-strip div {
    border-right: 0;
    border-bottom: 1px solid rgb(255 255 255 / 18%);
  }

  .flow-render div:last-child,
  .privacy-strip div:last-child {
    border-bottom: 0;
  }
}

@media (max-width: 640px) {
  .global-links {
    gap: 16px;
  }

  .product-tile,
  .utility-tile {
    padding: 56px 16px;
  }

  .hero-tile {
    padding-top: 48px;
  }

  h1,
  h2 {
    font-size: 34px;
    line-height: 1.12;
  }

  .tile-copy > p {
    font-size: 21px;
    line-height: 1.19;
  }

  .cta-row {
    flex-direction: column;
    align-items: center;
  }

  .button-primary,
  .button-secondary {
    width: min(100%, 260px);
  }

  .product-stage {
    margin-top: 40px;
  }

  .mac-render {
    width: 100%;
  }

  .mac-window {
    border-radius: 18px;
  }

  .app-surface {
    padding: 22px;
  }

  .spoken {
    font-size: 21px;
    line-height: 1.24;
  }

  .utility-grid {
    grid-template-columns: 1fr;
  }

  .utility-grid li,
  .model-grid article {
    min-height: 220px;
  }

  .footer-inner {
    display: grid;
  }

  .footer-inner nav {
    grid-template-columns: repeat(2, max-content);
  }
}

@media (max-width: 419px) {
  h1,
  h2 {
    font-size: 28px;
  }

  .global-links {
    gap: 13px;
  }

  .sub-title {
    font-size: 18px;
  }
}
