:root {
  color-scheme: light;
  --paper: #fff;
  --ink: #17191b;
  --blue: #2858ee;
  --line: #96999c;
  font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; }
a { color: inherit; text-decoration: none; text-underline-offset: .22em; }
a:hover { text-decoration: underline; }
a:focus-visible { outline: 2px solid var(--blue); outline-offset: 7px; border-radius: 1px; }
p, h1, h2, h3 { margin: 0; }
.page { width: min(100% - 112px, 1440px); margin-inline: auto; min-height: 100svh; display: flex; flex-direction: column; }
.header { min-height: 88px; padding-block: 22px; display: flex; align-items: center; justify-content: space-between; gap: 24px; border-bottom: 1px solid var(--line); }
.wordmark { font-size: 30px; font-weight: 750; letter-spacing: -.055em; white-space: nowrap; }
.header nav { display: flex; gap: 48px; align-items: center; font-size: 19px; }
.header nav a { padding-block: 10px; }
main { flex: 1; display: flex; flex-direction: column; }
.hero { padding-top: 78px; padding-bottom: 168px; flex: 1; }
h1 { font-size: clamp(4rem, 8.72vw, 8.375rem); font-weight: 750; letter-spacing: -.062em; line-height: .975; }
h1 span { display: block; }
.intro { font-size: clamp(1.125rem, 1.93vw, 1.875rem); line-height: 1.32; letter-spacing: -.025em; margin-top: 34px; max-width: 54rem; }
.text-link { display: inline-flex; gap: .4em; align-items: center; color: var(--blue); }
.text-link svg { width: 1em; height: 1em; flex: 0 0 1em; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; transition: transform 160ms ease; }
.text-link:hover svg { transform: translateX(4px); }
.hero-link { margin-top: 32px; font-size: clamp(1.25rem, 1.93vw, 1.875rem); padding-block: 4px; }
.work { display: grid; grid-template-columns: 39% 1fr auto; gap: 20px; align-items: center; padding-block: 40px 44px; border-top: 1px solid var(--line); scroll-margin-top: 32px; }
.work h2 { font-size: 22px; font-weight: 400; }
.product h3 { font-size: 48px; letter-spacing: -.045em; line-height: 1.12; }
.product p { font-size: 20px; letter-spacing: -.025em; line-height: 1.4; }
.product-link { font-size: 20px; white-space: nowrap; padding-block: 12px; }
.footer { min-height: 100px; display: flex; justify-content: space-between; align-items: center; gap: 24px; border-top: 1px solid var(--line); padding-block: 28px; font-size: 18px; }
.footer a { padding-block: 8px; }
.skip-link { position: fixed; left: 20px; top: 12px; transform: translateY(-200%); padding: 12px 16px; background: var(--ink); color: white; z-index: 1; }
.skip-link:focus { transform: translateY(0); }
.error-page main { justify-content: center; padding-block: 90px; }
.error-page h1 { font-size: clamp(3rem, 7vw, 7rem); }

@media (min-width: 1600px) { .hero { padding-top: 100px; } }
@media (max-width: 900px) {
  .page { width: calc(100% - 64px); }
  .header nav { gap: 28px; font-size: 16px; }
  .wordmark { font-size: 25px; }
  .hero { padding-block: 76px 124px; }
  h1 { font-size: clamp(3.4rem, 8.7vw, 5.25rem); }
  .intro { font-size: 21px; max-width: 37rem; }
  .hero-link { font-size: 22px; }
  .work { grid-template-columns: 26% 1fr auto; gap: 16px; }
  .work h2, .product-link, .product p { font-size: 16px; }
  .product h3 { font-size: 36px; }
  .footer { font-size: 16px; }
}

@media (max-width: 600px) {
  .page { width: calc(100% - 40px); }
  .header { min-height: 80px; gap: 18px; padding-block: 18px; }
  .wordmark { font-size: 23px; }
  .header nav { gap: 20px; font-size: 14px; }
  .header nav a { min-height: 44px; display: inline-flex; align-items: center; }
  .hero { padding-block: 68px 94px; }
  h1 { font-size: clamp(2rem, 10.3vw, 3.85rem); letter-spacing: -.065em; line-height: 1.05; }
  .intro { margin-top: 28px; font-size: 19px; line-height: 1.5; letter-spacing: -.02em; max-width: 27rem; }
  .desktop-break { display: none; }
  .hero-link { font-size: 21px; margin-top: 26px; min-height: 44px; }
  .work { grid-template-columns: 1fr; padding-block: 28px 32px; gap: 26px; }
  .work h2 { font-size: 16px; }
  .product h3 { font-size: 38px; }
  .product p { font-size: 18px; margin-top: 4px; }
  .product-link { justify-self: start; min-height: 44px; font-size: 18px; padding-block: 8px; margin-top: -8px; }
  .footer { font-size: 14px; min-height: 90px; flex-wrap: wrap; column-gap: 16px; row-gap: 0; }
}

@media (max-width: 350px) { .header nav { gap: 12px; font-size: 14px; } .wordmark { font-size: 20px; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .text-link svg { transition: none; } }
