:root {
  color-scheme: light;
  --canvas: #f4f1eb;
  --surface: #fffdf9;
  --ink: #1b1b1d;
  --muted: #686765;
  --faint: #686765;
  --line: rgba(27, 27, 29, 0.12);
  --line-strong: rgba(27, 27, 29, 0.2);
  --blue: #1769e0;
  --midnight: #121826;
  --warm: #ded2c0;
  --radius-large: 40px;
  --radius-medium: 24px;
  --shadow: 0 30px 80px rgba(49, 42, 32, 0.12),
    0 3px 12px rgba(49, 42, 32, 0.05);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text",
    "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
}

.shell {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
}

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

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.03em;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 9px;
  background: var(--ink);
  color: white;
  font-size: 17px;
  font-weight: 750;
  box-shadow: 0 5px 14px rgba(27, 27, 29, 0.14);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 14px;
}

.site-nav a,
.footer-links a {
  color: var(--muted);
  text-decoration: none;
  transition: color 160ms ease;
}

.site-nav a:hover,
.footer-links a:hover,
.site-nav a[aria-current="page"],
.footer-links a[aria-current="page"] {
  color: var(--ink);
}

.site-nav .nav-cta {
  padding: 11px 17px;
  border-radius: 999px;
  background: var(--ink);
  color: white;
  font-weight: 650;
}

.site-nav .nav-cta:hover {
  color: white;
  background: #353537;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(470px, 1.1fr);
  align-items: center;
  gap: 70px;
  min-height: calc(100vh - 76px);
  padding-block: 70px 96px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--blue);
  font-size: 14px;
  font-weight: 720;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  text-wrap: pretty;
}

.hero h1 {
  margin: 0;
  font-size: clamp(64px, 7.2vw, 104px);
  font-weight: 730;
  letter-spacing: -0.075em;
  line-height: 0.9;
}

.hero-text {
  max-width: 560px;
  margin: 30px 0 0;
  color: var(--muted);
  font-size: clamp(20px, 2vw, 25px);
  letter-spacing: -0.025em;
  line-height: 1.35;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 36px;
}

.release-pill {
  display: inline-grid;
  min-height: 52px;
  place-items: center;
  padding: 0 22px;
  border-radius: 999px;
  background: var(--blue);
  color: white;
  font-size: 15px;
  font-weight: 680;
  text-decoration: none;
  transition: background 160ms ease, transform 160ms ease;
}

.release-pill:hover {
  background: #0f59c5;
  transform: translateY(-1px);
}

.text-link {
  color: white;
  font-size: 15px;
  font-weight: 650;
  text-decoration: none;
}

.dark-link {
  color: var(--ink);
}

.text-link span {
  display: inline-block;
  margin-left: 4px;
  transition: transform 160ms ease;
}

.text-link:hover span {
  transform: translateX(3px);
}

.dark-link:hover span {
  transform: translateY(3px);
}

.hero-product {
  position: relative;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: var(--radius-large);
  background: rgba(255, 255, 255, 0.58);
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px);
  overflow: hidden;
}

.hero-product::before {
  position: absolute;
  width: 300px;
  height: 300px;
  top: -140px;
  right: -110px;
  border-radius: 50%;
  background: rgba(23, 105, 224, 0.13);
  content: "";
  filter: blur(4px);
}

.editor-card {
  position: relative;
  padding: 24px;
  border-radius: 24px 24px 12px 12px;
  background: white;
}

.editor-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  color: var(--faint);
  font-size: 12px;
}

.status-dot {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.status-dot::before {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #30a75b;
  content: "";
}

.editor-text {
  min-height: 68px;
  margin: 0;
  padding: 18px;
  border-radius: 15px;
  background: #f3f3f5;
  color: #28282b;
  font-size: clamp(15px, 1.6vw, 18px);
  line-height: 1.55;
}

.cursor {
  display: inline-block;
  width: 2px;
  height: 1.2em;
  margin: 0 1px -0.22em;
  background: var(--blue);
  animation: blink 1s steps(1) infinite;
}

@keyframes blink {
  50% {
    opacity: 0;
  }
}

.keyboard {
  position: relative;
  padding: 12px;
  border-radius: 12px 12px 24px 24px;
  background: #d4d6dc;
}

.suggestion-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  min-height: 36px;
  align-items: center;
  margin-bottom: 7px;
  color: #343437;
  font-size: 12px;
  text-align: center;
}

.suggestion-row span + span {
  border-left: 1px solid rgba(27, 27, 29, 0.12);
}

.tool-row,
.key-row {
  display: grid;
  gap: 6px;
  margin-bottom: 6px;
}

.tool-row {
  grid-template-columns: repeat(4, 42px) 1fr auto;
}

.key-row.ten {
  grid-template-columns: repeat(10, 1fr);
}

.key-row.nine {
  grid-template-columns: repeat(9, 1fr);
  padding-inline: 4.5%;
}

.key-row.bottom-controls {
  grid-template-columns: 58px 44px 1fr 76px;
  margin: 0;
  padding-inline: 0;
}

.key {
  display: grid;
  min-width: 0;
  min-height: 39px;
  place-items: center;
  border-radius: 7px;
  background: white;
  color: #171719;
  font-size: clamp(11px, 1.2vw, 15px);
  font-weight: 520;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.2), 0 1px 3px rgba(0, 0, 0, 0.08);
}

.tool-key {
  min-height: 42px;
  font-size: 21px;
  font-weight: 650;
}

.tool-key.active {
  background: var(--ink);
  color: white;
}

.clipboard-key {
  display: grid;
  min-height: 42px;
  place-items: center;
  padding: 0 14px;
  border-radius: 9px;
  background: var(--ink);
  color: white;
  font-size: 12px;
  font-weight: 650;
}

.action-key {
  background: #afb3bb;
}

.space-key,
.return-key,
.wide-key {
  font-size: 11px;
}

.feature-section {
  padding-block: 140px 70px;
}

.section-heading {
  max-width: 780px;
  margin-bottom: 56px;
}

.section-heading h2,
.essentials h2,
.privacy-card h2,
.final-cta h2 {
  margin: 0;
  font-size: clamp(42px, 5vw, 70px);
  font-weight: 700;
  letter-spacing: -0.055em;
  line-height: 1;
}

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

.feature-card {
  display: flex;
  min-height: 440px;
  flex-direction: column;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: var(--radius-medium);
  background: rgba(255, 255, 255, 0.56);
  overflow: hidden;
}

.feature-number {
  color: var(--faint);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
}

.feature-card h3 {
  margin: auto 0 12px;
  font-size: clamp(26px, 2.6vw, 35px);
  font-weight: 680;
  letter-spacing: -0.045em;
  line-height: 1.05;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.5;
}

.feature-icon {
  display: grid;
  height: 130px;
  place-items: center;
  margin-top: 30px;
  border-radius: 20px;
}

.arrow-icon {
  background: var(--ink);
  color: white;
  font-size: 37px;
  font-weight: 620;
  letter-spacing: 0.08em;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.snippet-stack {
  position: relative;
  height: 142px;
  margin-top: 28px;
}

.snippet-stack span {
  position: absolute;
  display: block;
  width: calc(100% - 26px);
  padding: 17px 18px;
  border-radius: 14px;
  background: white;
  color: #38373a;
  font-size: 13px;
  box-shadow: 0 12px 30px rgba(42, 37, 31, 0.09);
}

.snippet-stack span:first-child {
  top: 10px;
  left: 0;
  transform: rotate(-2deg);
}

.snippet-stack span:last-child {
  top: 72px;
  right: 0;
  transform: rotate(2deg);
}

.theme-swatches {
  display: flex;
  height: 142px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 28px;
}

.theme-swatches span {
  display: grid;
  width: 75px;
  height: 88px;
  place-items: center;
  border-radius: 18px;
  font-size: 21px;
  font-weight: 650;
  box-shadow: 0 12px 30px rgba(42, 37, 31, 0.1);
}

.light-theme {
  background: white;
  color: var(--ink);
  transform: rotate(-7deg);
}

.midnight-theme {
  z-index: 2;
  background: var(--midnight);
  color: white;
}

.warm-theme {
  background: var(--warm);
  color: #3e3429;
  transform: rotate(7deg);
}

.essentials {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: end;
  gap: 80px;
  padding-block: 120px;
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.feature-list li {
  position: relative;
  padding: 17px 18px 17px 45px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.43);
  font-size: 15px;
  font-weight: 560;
}

.feature-list li::before {
  position: absolute;
  top: 50%;
  left: 18px;
  color: var(--blue);
  content: "✓";
  font-weight: 760;
  transform: translateY(-50%);
}

.privacy-section {
  padding-block: 40px 120px;
}

.privacy-card {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 52px;
  padding: 64px;
  border-radius: var(--radius-large);
  background: var(--midnight);
  color: white;
}

.privacy-symbol {
  display: grid;
  width: 140px;
  height: 140px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 38px;
  background: rgba(255, 255, 255, 0.08);
  color: #8ab7ff;
  font-size: 58px;
  font-weight: 700;
}

.privacy-card .eyebrow {
  color: #8ab7ff;
}

.privacy-card p:not(.eyebrow) {
  max-width: 720px;
  margin: 24px 0 26px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 19px;
  line-height: 1.55;
}

.final-cta {
  padding-block: 100px 150px;
  text-align: center;
}

.final-cta h2 {
  max-width: 900px;
  margin-inline: auto;
}

.final-release {
  margin-top: 36px;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 32px;
  padding-block: 32px;
  border-top: 1px solid var(--line);
}

.footer-links {
  display: flex;
  gap: 24px;
  font-size: 13px;
}

.site-footer > p {
  margin: 0;
  color: var(--faint);
  font-size: 12px;
  text-align: right;
}

.legal-page {
  max-width: 900px;
  padding-block: 100px 120px;
}

.legal-header {
  padding-bottom: 60px;
  border-bottom: 1px solid var(--line);
}

.legal-header h1 {
  margin: 0;
  font-size: clamp(58px, 8vw, 92px);
  font-weight: 720;
  letter-spacing: -0.07em;
  line-height: 0.95;
}

.legal-updated {
  margin: 20px 0 0;
  color: var(--faint);
  font-size: 13px;
}

.legal-intro {
  max-width: 730px;
  margin: 34px 0 0;
  color: var(--muted);
  font-size: 21px;
  line-height: 1.55;
}

.legal-content {
  padding-top: 30px;
}

.legal-content section {
  padding-block: 34px;
  border-bottom: 1px solid var(--line);
}

.legal-content h2 {
  margin: 0 0 18px;
  font-size: 24px;
  font-weight: 680;
  letter-spacing: -0.025em;
}

.legal-content p,
.legal-content li {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
}

.legal-content p {
  margin: 0;
}

.legal-content p + p,
.legal-content ul + p {
  margin-top: 16px;
}

.legal-content ul {
  margin: 14px 0 0;
  padding-left: 22px;
}

.legal-content li + li {
  margin-top: 7px;
}

.legal-content a {
  color: var(--blue);
  text-underline-offset: 3px;
}

.legal-footer {
  max-width: 1180px;
}

@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 60px;
    padding-top: 90px;
  }

  .hero-copy {
    max-width: 780px;
    margin-inline: auto;
    text-align: center;
  }

  .hero-text,
  .hero-actions {
    justify-content: center;
    margin-inline: auto;
  }

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

  .feature-card {
    min-height: 390px;
  }

  .essentials {
    grid-template-columns: 1fr;
    gap: 44px;
  }
}

@media (max-width: 720px) {
  .shell {
    width: min(100% - 28px, 1180px);
  }

  .site-header {
    min-height: 68px;
  }

  .site-nav {
    gap: 14px;
  }

  .site-nav > a {
    display: none;
  }

  .site-nav > .nav-cta,
  .site-nav > .mobile-link {
    display: inline-flex;
  }

  .hero {
    min-height: 0;
    padding-block: 70px 80px;
  }

  .hero h1 {
    font-size: clamp(54px, 17vw, 76px);
  }

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

  .hero-actions {
    flex-direction: column;
  }

  .hero-product {
    padding: 10px;
    border-radius: 28px;
  }

  .editor-card {
    padding: 15px 10px;
  }

  .editor-text {
    min-height: 58px;
    padding: 13px;
    font-size: 13px;
  }

  .keyboard {
    padding: 7px;
  }

  .tool-row,
  .key-row {
    gap: 4px;
    margin-bottom: 4px;
  }

  .tool-row {
    grid-template-columns: repeat(4, 34px) 1fr auto;
  }

  .key {
    min-height: 32px;
    border-radius: 5px;
    font-size: 10px;
  }

  .tool-key {
    min-height: 36px;
    font-size: 17px;
  }

  .clipboard-key {
    min-height: 36px;
    padding-inline: 9px;
    font-size: 10px;
  }

  .suggestion-row {
    min-height: 31px;
    font-size: 10px;
  }

  .key-row.bottom-controls {
    grid-template-columns: 47px 38px 1fr 62px;
  }

  .feature-section {
    padding-block: 100px 50px;
  }

  .section-heading {
    margin-bottom: 36px;
  }

  .section-heading h2,
  .essentials h2,
  .privacy-card h2,
  .final-cta h2 {
    font-size: clamp(39px, 12vw, 54px);
  }

  .feature-card {
    min-height: 380px;
    padding: 22px;
  }

  .essentials {
    padding-block: 90px;
  }

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

  .privacy-section {
    padding-bottom: 80px;
  }

  .privacy-card {
    grid-template-columns: 1fr;
    gap: 34px;
    padding: 34px 24px;
    border-radius: 28px;
  }

  .privacy-symbol {
    width: 76px;
    height: 76px;
    border-radius: 22px;
    font-size: 34px;
  }

  .privacy-card p:not(.eyebrow) {
    font-size: 17px;
  }

  .final-cta {
    padding-block: 80px 110px;
  }

  .site-footer {
    grid-template-columns: 1fr auto;
  }

  .site-footer > p {
    grid-column: 1 / -1;
    text-align: left;
  }

  .footer-links {
    gap: 15px;
  }

  .legal-page {
    padding-block: 70px 90px;
  }

  .legal-header {
    padding-bottom: 44px;
  }

  .legal-header h1 {
    font-size: clamp(52px, 16vw, 72px);
  }

  .legal-intro {
    font-size: 18px;
  }
}

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

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