:root {
  --page: #f5f3ee;
  --ink: #111111;
  --ink-soft: #373737;
  --muted: #777069;
  --surface: #ffffff;
  --line: #e3ded3;
  --line-dark: #cbc4b8;
  --teal: #007a6e;
  --teal-soft: #dff6f2;
  --blue: #2563eb;
  --shadow: 0 30px 80px rgba(27, 25, 21, 0.14);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.75), rgba(245, 243, 238, 0) 360px),
    var(--page);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background-image:
    linear-gradient(rgba(17, 17, 17, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17, 17, 17, 0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(to bottom, black 0, transparent 620px);
}

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

img,
svg {
  display: block;
}

svg {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.skip-link {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 10;
  padding: 10px 12px;
  border-radius: var(--radius);
  background: var(--ink);
  color: white;
  transform: translateY(-140%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header,
.hero,
.proof-strip,
.simple-section,
.cta-section,
.site-footer {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
}

.brand img {
  border-radius: 8px;
  box-shadow: 0 12px 24px rgba(0, 122, 110, 0.2);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.nav-links a {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border-radius: var(--radius);
}

.nav-links a:hover,
.nav-links a:focus-visible {
  background: rgba(255, 255, 255, 0.78);
  color: var(--ink);
  outline: none;
}

.nav-links .nav-cta {
  background: var(--ink);
  color: white;
}

.nav-links .nav-cta:hover,
.nav-links .nav-cta:focus-visible {
  background: #2b2b2b;
  color: white;
}

.hero {
  display: grid;
  justify-items: center;
  gap: 34px;
  padding: 28px 0 72px;
  text-align: center;
}

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

.eyebrow {
  margin: 0 0 16px;
  color: var(--teal);
  font-size: 13px;
  font-weight: 850;
  line-height: 1.2;
  text-transform: uppercase;
}

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

h1 {
  max-width: 760px;
  margin-bottom: 20px;
  font-size: 76px;
  font-weight: 850;
  line-height: 0.98;
}

h2 {
  margin-bottom: 0;
  font-size: 44px;
  font-weight: 820;
  line-height: 1.06;
}

h3 {
  margin-bottom: 10px;
  font-size: 19px;
  line-height: 1.2;
}

.hero-lede {
  color: var(--ink-soft);
  font-size: 22px;
  line-height: 1.42;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 800;
  line-height: 1;
  transition: background-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.button svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
  outline: none;
}

.button-primary {
  background: var(--ink);
  color: white;
  box-shadow: 0 16px 34px rgba(17, 17, 17, 0.2);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: #2b2b2b;
  box-shadow: 0 20px 42px rgba(17, 17, 17, 0.24);
}

.availability {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
}

.mac-demo {
  width: 100%;
  min-height: 76px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  color: white;
}

.notch-overlay {
  width: min(100%, 520px);
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-top: 0;
  border-radius: 22px;
  background: rgba(0, 0, 0, 0.92);
  color: white;
  box-shadow: 0 14px 34px rgba(17, 17, 17, 0.16);
  animation: float-in 700ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.live-dot {
  width: 10px;
  height: 10px;
  flex: 0 0 auto;
  margin-top: 4px;
  border-radius: 50%;
  background: #ef4444;
  animation: pulse 1.8s ease-out infinite;
}

.overlay-copy {
  min-width: 0;
  color: white;
  font-size: 15px;
  font-weight: 650;
  line-height: 1.28;
  text-align: left;
}

.caret {
  display: inline-block;
  width: 2px;
  height: 1em;
  margin-left: 3px;
  background: white;
  vertical-align: -0.12em;
  animation: blink 1s step-end infinite;
}

.proof-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-bottom: 84px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.proof-strip div {
  min-height: 104px;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 6px;
  padding: 24px;
  text-align: center;
  border-left: 1px solid var(--line);
}

.proof-strip div:first-child {
  border-left: none;
}

.proof-strip strong {
  font-size: 24px;
  font-weight: 850;
  line-height: 1.1;
}

.proof-strip span {
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
}

.simple-section {
  padding: 72px 0 86px;
  border-top: 1px solid var(--line);
}

.section-heading {
  max-width: 700px;
  margin-bottom: 34px;
}

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

.feature-grid article {
  min-height: 210px;
  display: flex;
  flex-direction: column;
  padding: 24px 24px 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.68);
  transition: transform 160ms ease, border-color 160ms ease, background-color 160ms ease;
}

.feature-grid article:hover {
  transform: translateY(-2px);
  border-color: var(--line-dark);
  background: white;
}

.feature-mark {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  border: 1px solid var(--line-dark);
  border-radius: 50%;
  color: var(--teal);
  font-family: "SF Mono", ui-monospace, Menlo, monospace;
  font-size: 11px;
  font-weight: 850;
}

.feature-grid h3 {
  margin-top: 0;
}

.feature-grid p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 15px;
}

.cta-section {
  display: grid;
  justify-items: center;
  padding: 84px 0 88px;
  border-top: 1px solid var(--line);
  text-align: center;
}

.cta-section img {
  margin-bottom: 24px;
  border-radius: 8px;
  box-shadow: 0 16px 34px rgba(0, 122, 110, 0.24);
}

.cta-section h2 {
  margin-bottom: 14px;
}

.cta-section p {
  max-width: 520px;
  margin-bottom: 26px;
  color: var(--ink-soft);
  font-size: 18px;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 38px 0 44px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.site-footer div {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 18px;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--ink);
  outline: none;
}

@keyframes blink {
  0%, 49% { opacity: 1; }
  50%, 100% { opacity: 0; }
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.52; }
}

@keyframes float-in {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 980px) {
  .hero {
    padding-top: 26px;
  }

  h1 {
    max-width: 680px;
    font-size: 58px;
  }

  h2 {
    font-size: 36px;
  }

  .mac-demo {
    min-height: 74px;
  }

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

  .feature-grid article {
    min-height: 190px;
  }
}

@media (max-width: 720px) {
  .site-header,
  .hero,
  .proof-strip,
  .simple-section,
  .cta-section,
  .site-footer {
    width: min(100% - 28px, 1120px);
  }

  .site-header {
    height: 68px;
  }

  .nav-links a:first-child {
    display: none;
  }

  .hero {
    padding: 22px 0 50px;
  }

  h1 {
    font-size: 46px;
    line-height: 1;
  }

  h2 {
    font-size: 31px;
  }

  .hero-lede {
    font-size: 18px;
  }

  .button {
    width: 100%;
  }

  .mac-demo {
    min-height: 68px;
  }

  .notch-overlay {
    width: min(100%, 380px);
    min-height: 46px;
    padding: 9px 14px;
  }

  .overlay-copy {
    font-size: 14px;
  }

  .proof-strip {
    grid-template-columns: 1fr;
    margin-bottom: 54px;
  }

  .proof-strip div {
    min-height: 88px;
    border-top: 1px solid var(--line);
    border-left: none;
  }

  .proof-strip div:first-child {
    border-top: none;
  }

  .simple-section {
    padding: 56px 0 62px;
  }

  .feature-grid article {
    min-height: auto;
  }

  .cta-section {
    padding: 58px 0 62px;
  }

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

  .site-footer div {
    justify-content: flex-start;
  }
}

@media (max-width: 430px) {
  h1 {
    font-size: 40px;
  }

  .availability {
    max-width: 260px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }
}
