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

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

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

:root {
  color: #171717;
  background: #ffffff;
  font-family: "Inter", system-ui, sans-serif;
  font-synthesis: none;
  --white: #ffffff;
  --ink: #171717;
  --muted: #60625f;
  --faint: #8b8d89;
  --surface: #f4f5f2;
  --surface-strong: #e9ebe7;
  --line: #dfe1dc;
  --line-strong: #c9ccc6;
  --blue: #3267d6;
  --green: #2f7451;
  --yellow: #f2d36b;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: clip;
  color: var(--ink);
  background: var(--white);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

button,
a {
  color: inherit;
  font: inherit;
}

button {
  border: 0;
}

a {
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

button:focus-visible,
a:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 8px;
  left: 8px;
  padding: 8px 12px;
  color: var(--white);
  background: var(--ink);
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: none;
}

.paper-grid {
  background: var(--white);
}

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  height: 64px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 clamp(20px, 3.2vw, 56px);
  background: rgb(255 255 255 / 96%);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.wordmark {
  width: fit-content;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 19px;
  font-weight: 600;
}

.wordmark img {
  width: 28px;
  height: 28px;
}

.desktop-nav,
.header-actions,
.legal-nav {
  display: flex;
  align-items: center;
}

.desktop-nav {
  gap: 30px;
  color: #444643;
  font-size: 14px;
}

.header-actions {
  justify-content: flex-end;
  gap: 18px;
}

.desktop-nav a,
.mobile-nav a,
.footer-column a,
.legal-nav a {
  position: relative;
  width: fit-content;
}

.desktop-nav a::after,
.mobile-nav a::after,
.footer-column a::after,
.legal-nav a::after {
  position: absolute;
  right: 0;
  bottom: -3px;
  left: 0;
  height: 1px;
  content: "";
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 160ms ease;
}

.desktop-nav a:hover::after,
.mobile-nav a:hover::after,
.footer-column a:hover::after,
.legal-nav a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.language-switch {
  padding: 6px 0;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
}

.language-switch:hover {
  color: var(--ink);
}

.header-cta {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  color: var(--white);
  background: var(--ink);
  border: 1px solid var(--ink);
  border-radius: 4px;
  font-size: 13px;
  font-weight: 500;
  transition: background 160ms ease, color 160ms ease;
}

.header-cta:hover {
  color: var(--ink);
  background: var(--white);
}

.menu-toggle,
.mobile-nav {
  display: none;
}

.hero {
  min-height: auto;
  display: flex;
  flex-direction: column;
  padding: 68px clamp(20px, 4vw, 72px) 0;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.hero-copy {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 34%);
  grid-template-rows: auto auto auto;
  column-gap: clamp(40px, 7vw, 130px);
}

.hero-kicker {
  grid-column: 1 / -1;
  margin: 0 0 24px;
  color: var(--green);
  font-size: 12px;
  font-weight: 600;
}

.hero h1 {
  max-width: 900px;
  margin: 0;
  font-size: 70px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0;
}

.hero-summary {
  align-self: end;
  max-width: 510px;
  margin: 0 0 5px;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.6;
}

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

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border: 1px solid var(--ink);
  border-radius: 4px;
  font-size: 15px;
  font-weight: 500;
  transition: transform 160ms ease, background 160ms ease, color 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-dark {
  color: var(--white);
  background: var(--ink);
}

.button-dark:hover {
  color: var(--ink);
  background: transparent;
}

.text-link {
  color: #4d4f4c;
  font-size: 15px;
}

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

.hero-note {
  align-self: center;
  justify-self: end;
  margin: 32px 0 0;
  color: var(--faint);
  font-size: 10px;
  font-weight: 600;
}

.hero-product {
  width: calc(100% + 2 * clamp(20px, 4vw, 72px));
  margin: 56px calc(-1 * clamp(20px, 4vw, 72px)) 0;
}

.product-window {
  overflow: hidden;
  background: var(--white);
  border-top: 1px solid var(--line-strong);
}

.window-bar {
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 0 clamp(16px, 2vw, 32px);
  color: #6c6e6a;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  font-size: 11px;
}

.window-status {
  display: flex;
  align-items: center;
  gap: 7px;
}

.window-status::before {
  width: 7px;
  height: 7px;
  content: "";
  background: var(--green);
  border-radius: 50%;
}

.product-window img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  object-position: top;
}

.demo-section {
  padding: 88px clamp(20px, 4vw, 72px) 0;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}

.demo-intro,
.tour-heading {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr) minmax(280px, 34%);
  column-gap: clamp(28px, 5vw, 90px);
}

.section-number {
  padding-top: 8px;
  color: var(--faint);
  font-size: 10px;
  font-weight: 600;
}

.demo-heading p,
.demo-heading h2,
.tour-heading p,
.tour-heading h2,
.final-copy p,
.final-copy h2 {
  margin: 0;
  font-size: 50px;
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: 0;
}

.demo-heading h2,
.tour-heading h2,
.final-copy h2 {
  color: #898c87;
}

.demo-detail {
  align-self: end;
  margin: 0 0 5px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
}

.demo-player {
  width: calc(100% + 2 * clamp(20px, 4vw, 72px));
  aspect-ratio: 16 / 9;
  margin: 72px calc(-1 * clamp(20px, 4vw, 72px)) 0;
  overflow: hidden;
  background: #e6e8e4;
  border-top: 1px solid var(--line-strong);
}

.demo-player video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

.feature-tour {
  border-bottom: 1px solid var(--line);
}

.tour-heading {
  padding: 112px clamp(20px, 4vw, 72px);
  border-bottom: 1px solid var(--line);
}

.tour-heading > div {
  grid-column: 2 / -1;
}

.feature-row {
  min-height: 720px;
  display: grid;
  grid-template-columns: minmax(280px, 34%) minmax(0, 1fr);
  align-items: stretch;
  border-bottom: 1px solid var(--line);
}

.feature-row:nth-of-type(even) {
  background: var(--surface);
}

.feature-row:last-child {
  border-bottom: 0;
}

.feature-copy {
  max-width: 600px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px clamp(28px, 4vw, 72px);
}

.feature-copy > span {
  display: block;
  margin-bottom: 40px;
  color: var(--green);
  font-size: 10px;
  font-weight: 600;
}

.feature-copy h3 {
  margin: 0;
  font-size: 46px;
  font-weight: 400;
  line-height: 1.06;
  letter-spacing: 0;
}

.feature-copy > p {
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.62;
}

.feature-copy ul {
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.feature-copy li {
  position: relative;
  padding: 13px 0 13px 20px;
  color: #4e504d;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  line-height: 1.45;
}

.feature-copy li::before {
  position: absolute;
  top: 19px;
  left: 2px;
  width: 5px;
  height: 5px;
  content: "";
  background: var(--blue);
  border-radius: 50%;
}

.feature-media {
  min-width: 0;
  min-height: 720px;
  display: grid;
  place-items: center;
  margin: 0;
  overflow: hidden;
  background: #e8eae6;
  border-left: 1px solid var(--line);
}

.feature-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

.feature-row-reverse {
  grid-template-columns: minmax(0, 1fr) minmax(280px, 34%);
}

.feature-row-reverse .feature-copy {
  order: 2;
}

.feature-row-reverse .feature-media {
  order: 1;
  border-right: 1px solid var(--line);
  border-left: 0;
}

.feature-media-portrait {
  padding: 48px;
  background: #e7ece8;
}

.feature-media-portrait img {
  width: auto;
  height: calc(100% - 16px);
  max-height: 760px;
  border: 1px solid var(--line-strong);
  box-shadow: 0 20px 50px rgb(0 0 0 / 10%);
}

.sync-row {
  grid-template-columns: minmax(280px, 34%) minmax(0, 1fr);
}

.sync-visual {
  min-width: 0;
  display: grid;
  grid-template-columns: 1fr 48px 1fr 48px 1fr;
  align-items: stretch;
  padding: 0 clamp(28px, 4vw, 72px);
  background: #e9eee9;
  border-left: 1px solid var(--line);
}

.sync-visual > div {
  min-width: 0;
  align-self: center;
  min-height: 210px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 26px;
  background: var(--white);
  border: 1px solid var(--line-strong);
  border-radius: 4px;
}

.sync-visual span {
  color: var(--faint);
  font-size: 10px;
}

.sync-visual strong {
  font-size: 18px;
  font-weight: 500;
}

.sync-visual small {
  color: var(--muted);
}

.sync-visual i {
  align-self: center;
  color: #777a75;
  font-size: 22px;
  font-style: normal;
  text-align: center;
}

.final-cta {
  min-height: 620px;
  display: flex;
  align-items: center;
  padding: 100px clamp(20px, 4vw, 72px);
  border-bottom: 1px solid var(--line);
}

.final-copy {
  width: 100%;
}

.final-copy p,
.final-copy h2 {
  font-size: 64px;
}

.site-footer {
  min-height: 300px;
  display: grid;
  grid-template-columns: minmax(240px, 1fr) 180px 180px;
  gap: 48px;
  padding: 52px clamp(20px, 4vw, 72px) 32px;
  background: var(--surface-strong);
}

.footer-brand {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  font-size: 16px;
  font-weight: 600;
}

.footer-brand img {
  width: 28px;
  height: 28px;
}

.footer-column {
  display: flex;
  flex-direction: column;
  gap: 11px;
  font-size: 13px;
}

.footer-column > span {
  margin-bottom: 8px;
  color: var(--faint);
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
}

.footer-note {
  grid-column: 1 / -1;
  align-self: end;
  margin: 24px 0 0;
  color: var(--faint);
  font-size: 11px;
}

.legal-header {
  grid-template-columns: 1fr auto;
}

.legal-nav {
  justify-content: flex-end;
  gap: 28px;
  color: var(--muted);
  font-size: 14px;
}

.legal-page {
  padding: 90px clamp(20px, 7vw, 132px) 120px;
}

.legal-title {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr) auto;
  align-items: end;
  gap: 40px;
  padding-bottom: 64px;
  border-bottom: 1px solid var(--line-strong);
}

.legal-title > p,
.legal-title > span {
  margin: 0 0 8px;
  color: var(--faint);
  font-size: 10px;
  font-weight: 600;
}

.legal-title h1 {
  margin: 0;
  font-size: 60px;
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: 0;
}

.legal-summary {
  display: grid;
  grid-template-columns: 160px minmax(0, 720px);
  gap: 40px;
  padding: 70px 0;
}

.legal-summary p {
  grid-column: 2;
  margin: 0;
  color: var(--muted);
  font-size: 21px;
  line-height: 1.6;
}

.legal-content {
  border-top: 1px solid var(--line);
}

.legal-content section {
  display: grid;
  grid-template-columns: 160px minmax(0, 760px);
  gap: 40px;
  padding: 46px 0;
  border-bottom: 1px solid var(--line);
}

.legal-content section > span {
  color: var(--faint);
  font-size: 10px;
  font-weight: 600;
}

.legal-content h2 {
  margin: 0;
  font-size: 25px;
  font-weight: 500;
  letter-spacing: 0;
}

.legal-content p {
  margin: 14px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

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

.legal-content code {
  padding: 2px 5px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 3px;
}

.legal-footer {
  grid-template-columns: 1fr 180px;
}

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 520ms ease, transform 520ms ease;
}

.reveal[data-visible="true"] {
  opacity: 1;
  transform: none;
}

@media (max-width: 1100px) {
  .hero h1 {
    font-size: 58px;
  }

  .demo-intro,
  .tour-heading {
    grid-template-columns: 120px minmax(0, 1fr) minmax(240px, 34%);
    column-gap: 30px;
  }

  .demo-heading p,
  .demo-heading h2,
  .tour-heading p,
  .tour-heading h2 {
    font-size: 42px;
  }

  .feature-copy h3 {
    font-size: 38px;
  }

  .sync-visual {
    grid-template-columns: 1fr;
    gap: 12px;
    padding-block: 50px;
  }

  .sync-visual > div {
    width: 100%;
    min-height: 120px;
  }

  .sync-visual i {
    transform: rotate(90deg);
  }

  .final-copy p,
  .final-copy h2 {
    font-size: 54px;
  }
}

@media (max-width: 820px) {
  .site-header {
    height: 56px;
    grid-template-columns: 1fr auto;
  }

  .desktop-nav,
  .header-cta {
    display: none;
  }

  .header-actions {
    gap: 16px;
  }

  .menu-toggle {
    width: 28px;
    height: 28px;
    display: grid;
    align-content: center;
    gap: 6px;
    padding: 5px;
    background: transparent;
    cursor: pointer;
  }

  .menu-toggle span {
    width: 18px;
    height: 1px;
    display: block;
    background: var(--ink);
  }

  .mobile-nav {
    position: absolute;
    top: 55px;
    right: 0;
    left: 0;
    display: none;
    grid-template-columns: 1fr 1fr;
    gap: 1px;
    padding: 1px;
    background: var(--line);
    border-bottom: 1px solid var(--line);
  }

  .mobile-nav[data-open="true"] {
    display: grid;
  }

  .mobile-nav a {
    width: 100%;
    padding: 18px 20px;
    background: var(--white);
    font-size: 14px;
  }

  .hero {
    min-height: auto;
    padding-top: 52px;
  }

  .hero-copy {
    grid-template-columns: 1fr;
  }

  .hero-kicker,
  .hero h1,
  .hero-summary,
  .hero-actions,
  .hero-note {
    grid-column: 1;
  }

  .hero h1 {
    font-size: 48px;
  }

  .hero-summary {
    max-width: 620px;
    margin-top: 28px;
    font-size: 17px;
  }

  .hero-note {
    justify-self: start;
    margin-top: 20px;
  }

  .hero-product {
    margin-top: 48px;
  }

  .product-window img {
    height: auto;
  }

  .demo-section,
  .tour-heading {
    padding-top: 84px;
  }

  .demo-intro,
  .tour-heading {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .tour-heading > div {
    grid-column: 1;
  }

  .section-number {
    padding-top: 0;
  }

  .demo-detail {
    max-width: 620px;
  }

  .demo-player {
    margin-top: 52px;
  }

  .feature-row,
  .feature-row-reverse,
  .sync-row {
    min-height: auto;
    grid-template-columns: 1fr;
  }

  .feature-copy,
  .feature-row-reverse .feature-copy {
    max-width: none;
    min-height: 520px;
    order: 1;
  }

  .feature-media,
  .feature-row-reverse .feature-media {
    min-height: 0;
    order: 2;
    border-top: 1px solid var(--line);
    border-right: 0;
    border-left: 0;
  }

  .feature-media img {
    height: auto;
  }

  .feature-media-portrait {
    min-height: 680px;
  }

  .feature-media-portrait img {
    width: auto;
    height: auto;
    max-height: 610px;
  }

  .sync-visual {
    min-height: 560px;
    order: 2;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .final-cta {
    min-height: 520px;
  }

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

  .legal-page {
    padding-top: 70px;
  }

  .legal-title {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .legal-title h1 {
    font-size: 48px;
  }

  .legal-summary,
  .legal-content section {
    grid-template-columns: 90px minmax(0, 1fr);
    gap: 24px;
  }
}

@media (max-width: 520px) {
  .wordmark {
    font-size: 17px;
  }

  .wordmark img {
    width: 25px;
    height: 25px;
  }

  .language-switch {
    font-size: 13px;
  }

  .hero {
    padding-top: 40px;
  }

  .hero-kicker {
    margin-bottom: 18px;
    font-size: 10px;
  }

  .hero h1 {
    font-size: 36px;
    line-height: 1.04;
  }

  .hero-summary {
    margin-top: 22px;
    font-size: 15px;
    line-height: 1.55;
  }

  .hero-actions {
    gap: 18px;
    margin-top: 26px;
  }

  .button {
    min-height: 44px;
    padding: 0 16px;
    font-size: 14px;
  }

  .text-link {
    font-size: 13px;
  }

  .hero-note {
    font-size: 9px;
    line-height: 1.5;
  }

  .window-bar {
    min-height: 34px;
    font-size: 9px;
  }

  .window-status {
    display: none;
  }

  .demo-section,
  .tour-heading {
    padding-top: 68px;
  }

  .demo-heading p,
  .demo-heading h2,
  .tour-heading p,
  .tour-heading h2 {
    font-size: 34px;
  }

  .demo-detail {
    font-size: 14px;
  }

  .demo-player {
    margin-top: 40px;
  }

  .tour-heading {
    padding-bottom: 68px;
  }

  .feature-copy,
  .feature-row-reverse .feature-copy {
    min-height: auto;
    padding: 64px 20px;
  }

  .feature-copy > span {
    margin-bottom: 28px;
  }

  .feature-copy h3 {
    font-size: 32px;
  }

  .feature-copy > p {
    margin-top: 20px;
    font-size: 15px;
  }

  .feature-copy ul {
    margin-top: 28px;
  }

  .feature-media-portrait {
    min-height: 540px;
    padding: 24px;
  }

  .feature-media-portrait img {
    max-height: 490px;
  }

  .sync-visual {
    min-height: 500px;
    padding: 36px 20px;
  }

  .sync-visual > div {
    min-height: 112px;
    padding: 20px;
  }

  .sync-visual strong {
    font-size: 16px;
  }

  .final-cta {
    min-height: 440px;
  }

  .final-copy p,
  .final-copy h2 {
    font-size: 38px;
    line-height: 1.04;
  }

  .site-footer,
  .legal-footer {
    grid-template-columns: 1fr 1fr;
    gap: 36px 24px;
    padding-top: 40px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .legal-nav {
    gap: 18px;
    font-size: 13px;
  }

  .legal-page {
    padding-top: 54px;
    padding-bottom: 80px;
  }

  .legal-title h1 {
    font-size: 38px;
  }

  .legal-summary {
    display: block;
    padding: 48px 0;
  }

  .legal-summary p {
    font-size: 18px;
  }

  .legal-content section {
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 14px;
    padding: 36px 0;
  }

  .legal-content h2 {
    font-size: 22px;
  }

  .legal-content p {
    font-size: 14px;
  }
}

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

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
