@font-face {
  font-family: Inter;
  src: url("./assets/inter-variable.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  color-scheme: light;
  font-family: Inter, system-ui, sans-serif;
  background: #f8f7f3;
  color: #211c2b;
  --paper: #f8f7f3;
  --ink: #211c2b;
  --muted: #595365;
  --accent: #5b36a7;
  --accent-dark: #45258b;
  --line: #dfdce7;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; }
a { color: inherit; text-underline-offset: .2em; }
button { font: inherit; }
:focus-visible { outline: 2px solid #704bd2; outline-offset: 5px; }
.preview-stage :focus-visible { outline-color: #b8a4ff; }
h1, h2, h3, p, figure { margin: 0; }
img { display: block; }

.frame { width: min(100% - 56px, 1250px); margin-inline: auto; }
.skip { position: fixed; z-index: 2; left: 20px; top: 15px; padding: 12px 18px; background: white; transform: translateY(-160%); }
.skip:focus { transform: none; }

.site-header, .site-footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.site-header { min-height: 88px; border-bottom: 1px solid var(--line); }
.wordmark, .preview-wordmark { display: inline-flex; align-items: center; gap: 9px; font-weight: 680; white-space: nowrap; }
.wordmark { font-size: 1rem; text-decoration: none; letter-spacing: -.025em; }
.site-nav, .site-footer nav { display: flex; flex-wrap: wrap; gap: 10px 24px; align-items: center; color: var(--muted); }
.site-nav a, .site-footer nav a, .header-signin { font-size: .875rem; font-weight: 570; text-decoration: none; }
.site-nav a:hover, .site-footer nav a:hover, .header-signin:hover { color: var(--accent-dark); text-decoration: underline; }
.header-signin { white-space: nowrap; }
.header-signin span { margin-left: 3px; }

.hero { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: clamp(26px,5vw,78px); align-items: center; padding-block: clamp(60px,8.2vw,118px) clamp(60px,7vw,98px); }
.product-name { margin-bottom: 19px; color: var(--accent); font-size: .9rem; font-weight: 700; }
.hero h1, .updates-page h1 { color: var(--ink); font-size: clamp(3.05rem,5.5vw,5.1rem); font-weight: 680; letter-spacing: -.077em; line-height: .99; }
.hero h1 { max-width: 11.1ch; }
.hero-description { max-width: 42ch; margin-top: 26px; font-size: clamp(1rem,1.45vw,1.13rem); line-height: 1.62; color: var(--muted); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 17px; margin-top: 30px; }
.button { display: inline-flex; width: fit-content; min-height: 46px; align-items: center; gap: 11px; padding: 10px 16px; border: 1px solid transparent; border-radius: 8px; font-size: .83rem; font-weight: 680; text-decoration: none; }
.button span { font-size: 1rem; }
.button-primary { background: var(--accent); color: white; }
.button-primary:hover { background: var(--accent-dark); }
.button-text { padding-inline: 0; color: var(--ink); }
.button-text:hover { color: var(--accent-dark); text-decoration: underline; }
.button-outline { border-color: #bdb2db; color: var(--accent-dark); }
.button-outline:hover { background: #eee8fb; }

.product-preview { min-width: 0; }
.preview-stage { padding: clamp(12px,3vw,37px); border-radius: 26px; background: radial-gradient(ellipse at 30% 12%,#d0bbf9 0,transparent 59%),linear-gradient(145deg,#c7b6f5,#8c66da 88%); }
.preview-window { max-width: 520px; margin-inline: auto; color: #eee8fd; background: #201a2d; border: 1px solid #544763; border-radius: 15px; box-shadow: 0 18px 48px #34205166; }
.preview-topbar { display: flex; justify-content: space-between; gap: 12px; align-items: center; min-height: 51px; padding-inline: 16px; border-bottom: 1px solid #524462; font-size: .74rem; }
.preview-wordmark { gap: 7px; }
.preview-space { color: #d0c5df; text-align: end; }
.preview-inner { padding: 16px; }
.preview-nav { display: flex; justify-content: flex-start; flex-wrap: wrap; gap: 4px; margin: 0 0 18px; }
.preview-nav button { min-height: 36px; border: 0; padding: 6px 10px; border-radius: 6px; background: transparent; color: #d0c5df; font-size: .74rem; cursor: pointer; }
.preview-nav button[aria-selected="true"] { color: #fff; background: #534368; font-weight: 650; }
.preview-nav button:hover:not([aria-selected="true"]) { background: #3b304a; color: white; }
.preview-panel h2 { color: #fff; font-weight: 650; font-size: clamp(1.48rem,2.9vw,1.92rem); letter-spacing: -.055em; }
.preview-panel p { margin-top: 4px; color: #d8cde7; font-size: .77rem; line-height: 1.5; }
.preview-list { padding: 0; margin: 16px 0 0; list-style: none; }
.preview-list li { display: grid; grid-template-columns: .65rem minmax(0,1fr) auto; column-gap: 10px; align-items: center; min-height: 51px; padding: 8px 10px; margin-bottom: 5px; background: #2d243d; border: 1px solid #57456c; border-radius: 7px; }
.preview-list li:last-child { margin-bottom: 0; }
.preview-list strong { display: block; color: #f5f0ff; font-size: .73rem; font-weight: 620; overflow-wrap: break-word; }
.preview-list small { display: block; margin-top: 3px; color: #cfc2e0; font-size: .67rem; }
.preview-tick { width: 7px; height: 7px; border-radius: 50%; background: #f1c983; }
.preview-tick-purple { background: #c9a8fa; }
.preview-tick-green { background: #a1dfd0; }
.preview-state { color: #e1d5ee; font-size: .64rem; text-align: end; overflow-wrap: break-word; }
.product-preview figcaption { margin-top: 12px; color: var(--muted); font-size: .75rem; text-align: center; }

.features { background: #f0edf6; border-block: 1px solid var(--line); padding-block: clamp(46px,6vw,85px); }
.features-heading { display: grid; grid-template-columns: minmax(0,1.35fr) minmax(0,1fr); column-gap: 30px; row-gap: 10px; align-items: end; }
.features-heading h2, .updates-summary h2 { font-size: clamp(1.72rem,3.4vw,2.52rem); font-weight: 680; letter-spacing: -.056em; line-height: 1.12; }
.features-heading p, .updates-summary p, .updates-page section > p { color: var(--muted); font-size: .94rem; line-height: 1.6; }
.features-heading p { max-width: 33ch; }
.feature-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; margin-top: 30px; }
.feature { background: var(--paper); border: 1px solid var(--line); border-radius: 13px; padding: clamp(17px,2.35vw,28px); }
.feature h3 { margin-bottom: 9px; font-size: clamp(1.01rem,1.8vw,1.17rem); letter-spacing: -.038em; }
.feature p { color: var(--muted); font-size: .9rem; line-height: 1.57; }
.updates-summary { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; padding-block: clamp(43px,7vw,75px); }
.updates-summary p { margin-top: 6px; }
.site-footer { min-height: 88px; padding: 15px 0; border-top: 1px solid var(--line); }
.site-footer a[aria-current="page"] { color: var(--ink); font-weight: 680; }

.updates-page { padding-block: clamp(52px,9vw,110px) clamp(64px,11vw,145px); }
.updates-page section { max-width: 850px; }
.updates-page section > p { margin-top: 16px; }
.release-list { display: grid; gap: 20px; margin-top: 52px; }
.release-entry { display: grid; grid-template-columns: minmax(122px,.35fr) minmax(0,1fr); gap: 16px 24px; padding-block: 21px; border-block: 1px solid var(--line); }
.release-entry time { color: var(--accent-dark); font-size: .87rem; font-weight: 650; }
.release-entry h2 { margin-bottom: 9px; font-size: clamp(1.15rem,2.8vw,1.6rem); letter-spacing: -.035em; }
.release-entry p { color: var(--muted); font-size: .93rem; line-height: 1.57; }

.legal-page { padding-block: clamp(52px,9vw,100px) clamp(64px,10vw,120px); }
.legal-page article { max-width: 68ch; overflow-wrap: anywhere; }
.legal-page h1 { font-size: clamp(2.1rem,6.5vw,4.25rem); font-weight: 680; letter-spacing: -.06em; line-height: 1.05; }
.legal-page section { margin-top: 32px; }
.legal-page h2 { margin-bottom: 10px; font-size: 1.2rem; letter-spacing: -.025em; }
.legal-page p, .legal-page address { color: var(--muted); line-height: 1.65; }
.legal-page h1 + p, .legal-page p + p { margin-top: 12px; }
.legal-page address { font-style: normal; }
.legal-page a { color: var(--accent-dark); }

@media (max-width: 850px) {
  .hero { grid-template-columns: minmax(0,1fr); gap: 38px; }
  .hero-copy { max-width: 680px; }
  .hero h1 { max-width: 12ch; font-size: clamp(3.05rem,9vw,5rem); }
  .features-heading { grid-template-columns: minmax(0,1fr); }
}

@media (max-width: 560px) {
  .frame { width: calc(100% - 34px); }
  .site-header { flex-wrap: wrap; gap: 12px; padding-block: 13px; }
  .site-nav { order: 1; flex: 1 0 100%; gap: 12px; padding-block: 3px; }
  .site-nav a, .site-footer nav a { font-size: .8rem; }
  .hero { padding-block: 45px 50px; }
  .hero h1 { font-size: clamp(2.45rem,10.2vw,4rem); }
  .hero-description { margin-top: 20px; }
  .hero-actions { margin-top: 24px; }
  .feature-grid, .release-entry { grid-template-columns: minmax(0,1fr); }
  .site-footer { flex-wrap: wrap; }
  .preview-stage { border-radius: 17px; }
  .preview-inner { padding: 12px; }
  .preview-list li { column-gap: 6px; padding-inline: 7px; }
}
