@font-face {
  font-family: "Google Sans Flex";
  src: url("assets/google-sans-flex-variable.woff2") format("woff2");
  font-display: swap;
  font-weight: 1 1000;
}

:root {
  --ink: #111114;
  --muted: #555760;
  --paper: #fbfaf7;
  --line: rgba(17, 17, 20, 0.1);
  --radius-xl: 44px;
  --max: 1180px;
  --type-tight: 0.98;
  --type-heading: 1.02;
  --type-body: 1.46;
  --fs-eyebrow: clamp(0.78rem, 0.72vw, 0.9rem);
  --fs-hero-eyebrow: clamp(0.92rem, 1.08vw, 1.08rem);
  --fs-hero-lede: clamp(1.18rem, 1.78vw, 1.55rem);
  --fs-section: clamp(2.55rem, 5vw, 5rem);
  --fs-body: 1.05rem;
  --tilt-x: 0deg;
  --tilt-y: 0deg;
  --drift-x-a: 0px;
  --drift-y-a: 0px;
  --drift-x-b: 0px;
  --drift-y-b: 0px;
  --drift-x-c: 0px;
  --drift-y-c: 0px;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--paper);
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: "Google Sans Flex", ui-rounded, "Arial Rounded MT Bold", system-ui, sans-serif;
  font-variation-settings:
    "ROND" 100,
    "wght" 520,
    "GRAD" 0,
    "opsz" 18;
  line-height: var(--type-body);
}

main,
.site-header,
.site-footer {
  position: relative;
  z-index: 2;
}

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

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

::selection {
  background: rgba(255, 199, 95, 0.42);
  color: var(--ink);
}

.site-header {
  position: sticky;
  top: 18px;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(var(--max), calc(100% - 32px));
  margin: 18px auto 0;
  padding: 10px 12px;
  border: 1px solid rgba(17, 17, 20, 0.06);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: none;
  backdrop-filter: blur(18px);
}

.brand,
.site-header nav,
.hero-actions,
.site-footer,
.closing {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  padding-right: 16px;
  font-size: 1.05rem;
  line-height: 1;
  font-variation-settings:
    "ROND" 100,
    "wght" 780,
    "GRAD" 0,
    "opsz" 18;
}

.brand img {
  border-radius: 11px;
  box-shadow: none;
}

.site-header nav {
  gap: 6px;
}

.site-header nav a {
  padding: 10px 14px;
  border-radius: 999px;
  color: rgba(17, 17, 20, 0.72);
  font-size: 0.94rem;
  line-height: 1;
  font-variation-settings:
    "ROND" 100,
    "wght" 620,
    "GRAD" 0,
    "opsz" 16;
}

.site-header nav a:hover,
.site-header nav a:focus-visible {
  background: rgba(17, 17, 20, 0.08);
  color: var(--ink);
}

.section-pad {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  padding: 112px 0;
}

.hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: 44px;
  align-items: center;
  justify-items: center;
  min-height: calc(100vh - 58px);
  padding-top: 108px;
  text-align: center;
}

.eyebrow {
  margin: 0 0 16px;
  color: rgba(17, 17, 20, 0.66);
  letter-spacing: 0.08em;
  line-height: 1.1;
  text-transform: uppercase;
  font-size: var(--fs-eyebrow);
  font-variation-settings:
    "ROND" 100,
    "wght" 780,
    "GRAD" 0,
    "opsz" 14;
}

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

h1 {
  max-width: 760px;
  margin-bottom: 26px;
  letter-spacing: -0.058em;
  line-height: var(--type-tight);
  font-size: clamp(3.45rem, 7vw, 6.9rem);
  font-variation-settings:
    "ROND" 100,
    "wght" 640,
    "GRAD" -8,
    "opsz" 72;
}

.hero .eyebrow {
  margin-bottom: 18px;
  font-size: var(--fs-hero-eyebrow);
}

.hero-lede {
  max-width: 480px;
  margin-bottom: 32px;
  margin-inline: auto;
  color: var(--muted);
  line-height: 1.38;
  font-size: var(--fs-hero-lede);
  font-variation-settings:
    "ROND" 100,
    "wght" 520,
    "GRAD" 0,
    "opsz" 24;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  box-shadow: 0 8px 18px rgba(17, 17, 20, 0.09);
  font-size: 0.98rem;
  line-height: 1;
  font-variation-settings:
    "ROND" 100,
    "wght" 760,
    "GRAD" 0,
    "opsz" 16;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(17, 17, 20, 0.12);
}

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

.hero-card {
  position: relative;
  width: min(500px, 100%);
  perspective: 1100px;
}

.phone-shell {
  padding: 22px;
  border: 1px solid rgba(17, 17, 20, 0.08);
  border-radius: 40px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: none;
  transform: rotateX(var(--tilt-y)) rotateY(var(--tilt-x));
  transition: transform 220ms ease-out;
  backdrop-filter: blur(18px);
  text-align: left;
}

.phone-top {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 4px 4px 18px;
  color: var(--muted);
  line-height: 1.2;
  font-size: 0.98rem;
}

.phone-top strong {
  color: var(--ink);
}

.room-list {
  display: grid;
  gap: 0;
  border-block: 1px solid rgba(17, 17, 20, 0.1);
}

.room {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 16px 4px;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.room + .room {
  border-top: 1px solid rgba(17, 17, 20, 0.08);
}

.room-icon {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  background: rgba(17, 17, 20, 0.045);
  font-size: 1.05rem;
}

.room h2 {
  margin: 0 0 4px;
  line-height: 1.12;
  font-size: 1.02rem;
  font-variation-settings:
    "ROND" 100,
    "wght" 760,
    "GRAD" 0,
    "opsz" 18;
}

.room p,
.room time,
.composer span {
  margin: 0;
  color: var(--muted);
  line-height: 1.25;
  font-size: 0.93rem;
}

.composer {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  margin-top: 18px;
  padding: 8px 8px 8px 16px;
  border: 1px solid rgba(17, 17, 20, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.48);
}

.composer span {
  color: rgba(17, 17, 20, 0.48);
}

.composer .composer-send {
  display: grid;
  width: 36px;
  min-width: 36px;
  height: 36px;
  min-height: 36px;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--ink);
  color: white;
  font: inherit;
  line-height: 1;
  font-variation-settings:
    "ROND" 100,
    "wght" 760,
    "GRAD" 0,
    "opsz" 14;
}

.section-heading {
  max-width: 740px;
  margin: 0 auto 44px;
  text-align: center;
}

.section-heading h2,
.story-card h2,
.closing h2 {
  margin-bottom: 16px;
  letter-spacing: -0.048em;
  line-height: var(--type-heading);
  font-size: var(--fs-section);
  font-variation-settings:
    "ROND" 100,
    "wght" 680,
    "GRAD" -8,
    "opsz" 54;
}

.feature-strip,
.use-cases {
  border-top: 1px solid rgba(17, 17, 20, 0.08);
  position: relative;
}

.feature-strip::before,
.use-cases::before {
  position: absolute;
  top: 0;
  left: 50%;
  z-index: -1;
  width: 100vw;
  height: 100%;
  content: "";
  transform: translateX(-50%);
  background: #ffffff;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.feature-card {
  min-height: 260px;
  padding: 24px;
  border: 0;
  border-radius: 24px;
  background: #f7f6f3;
  box-shadow: none;
  backdrop-filter: none;
}

.feature-card span {
  display: inline-flex;
  margin-bottom: 42px;
  color: rgba(17, 17, 20, 0.45);
  line-height: 1;
  font-size: 0.92rem;
  font-variation-settings:
    "ROND" 100,
    "wght" 800,
    "GRAD" 0,
    "opsz" 18;
}

.feature-card h3 {
  margin-bottom: 12px;
  line-height: 1.12;
  font-size: 1.32rem;
  font-variation-settings:
    "ROND" 100,
    "wght" 760,
    "GRAD" 0,
    "opsz" 22;
}

.feature-card p,
.story-card p,
.closing p {
  color: var(--muted);
  line-height: var(--type-body);
  font-size: var(--fs-body);
}

.story-card {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 0.68fr);
  gap: 56px;
  align-items: end;
  padding: clamp(28px, 6vw, 68px);
  border-radius: var(--radius-xl);
  background: #f7f6f3;
  box-shadow: none;
}

.story-card > p {
  max-width: 620px;
  margin-bottom: 0;
}

.story-card .eyebrow,
.story-card h2,
.story-card > p {
  grid-column: 1;
}

.steps {
  display: grid;
  grid-column: 2;
  grid-row: 1 / span 3;
  gap: 12px;
}

.steps article {
  display: grid;
  gap: 4px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.68);
}

.steps strong {
  line-height: 1.15;
  font-size: 1.1rem;
  font-variation-settings:
    "ROND" 100,
    "wght" 760,
    "GRAD" 0,
    "opsz" 18;
}

.steps span {
  color: var(--muted);
  line-height: 1.38;
  font-size: 0.98rem;
}

.pill-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.pill-cloud span {
  padding: 14px 20px;
  border: 1px solid rgba(17, 17, 20, 0.11);
  border-radius: 999px;
  background: #f7f6f3;
  box-shadow: none;
  line-height: 1;
  font-size: clamp(1.04rem, 1.7vw, 1.38rem);
  font-variation-settings:
    "ROND" 100,
    "wght" 720,
    "GRAD" 0,
    "opsz" 24;
}

.closing {
  justify-content: space-between;
  gap: 36px;
  margin-top: 36px;
  margin-bottom: 0;
  padding: 54px 48px;
  border-radius: var(--radius-xl);
  background: var(--ink);
  color: white;
}

.closing h2 {
  margin-bottom: 28px;
}

.closing p {
  max-width: 640px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.52;
}

.closing .eyebrow {
  margin-bottom: 18px;
  color: rgba(255, 255, 255, 0.58);
}

.closing .button-primary {
  flex: 0 0 auto;
  background: white;
  color: var(--ink);
}

.site-footer {
  justify-content: space-between;
  gap: 20px;
  width: min(var(--max), calc(100% - 32px));
  margin: 44px auto;
  color: rgba(17, 17, 20, 0.58);
  font-size: 0.94rem;
  line-height: 1.35;
}

.site-footer span:first-child {
  color: var(--ink);
  font-variation-settings:
    "ROND" 100,
    "wght" 780,
    "GRAD" 0,
    "opsz" 16;
}

.site-footer a {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.legal-page {
  width: min(900px, calc(100% - 32px));
  margin: 0 auto;
  padding: 92px 0 24px;
}

.legal-card {
  padding: clamp(28px, 6vw, 64px);
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.82);
}

.legal-card h1 {
  max-width: 780px;
  margin-bottom: 22px;
  font-size: clamp(3rem, 7vw, 5.8rem);
}

.legal-card h2 {
  margin-bottom: 12px;
  letter-spacing: -0.026em;
  line-height: 1.1;
  font-size: clamp(1.45rem, 3vw, 2.2rem);
  font-variation-settings:
    "ROND" 100,
    "wght" 720,
    "GRAD" -4,
    "opsz" 32;
}

.legal-card section {
  padding-top: 30px;
  margin-top: 30px;
  border-top: 1px solid rgba(17, 17, 20, 0.09);
}

.legal-card p,
.legal-card li {
  color: var(--muted);
  font-size: var(--fs-body);
}

.legal-card a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.legal-lede {
  max-width: 720px;
  color: var(--ink);
  font-size: clamp(1.18rem, 1.8vw, 1.45rem);
}

.legal-card ul {
  display: grid;
  gap: 10px;
  padding-left: 1.2rem;
  margin: 0;
}

.letter-field {
  position: fixed;
  inset: -12vh -12vw;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
  perspective: 900px;
}

.letter {
  position: absolute;
  color: rgba(255, 255, 255, 0.9);
  letter-spacing: -0.14em;
  line-height: 0.78;
  text-shadow:
    1px 1px 0 rgba(255, 255, 255, 0.8),
    10px 14px 26px rgba(17, 17, 20, 0.08);
  transform: translate3d(calc(var(--x) + var(--dx)), calc(var(--y) + var(--dy)), 0) rotate(var(--r)) scale(var(--s));
  transition: transform 260ms ease-out;
  font-size: clamp(10rem, 26vw, 28rem);
  font-variation-settings:
    "ROND" 100,
    "wght" 920,
    "GRAD" -30,
    "opsz" 72;
}

.letter-h {
  -webkit-text-stroke: 0;
}

.letter-c {
  -webkit-text-stroke: 0;
}

.layer-a {
  --x: -6vw;
  --y: 16vh;
  --r: -14deg;
  --s: 1.12;
  --dx: var(--drift-x-a);
  --dy: var(--drift-y-a);
}

.layer-b {
  --x: 72vw;
  --y: 4vh;
  --r: 11deg;
  --s: 1.03;
  --dx: var(--drift-x-b);
  --dy: var(--drift-y-b);
}

.layer-c {
  --x: 84vw;
  --y: 42vh;
  --r: -24deg;
  --s: 0.72;
  --dx: var(--drift-x-c);
  --dy: var(--drift-y-c);
}

.layer-d {
  --x: -8vw;
  --y: 62vh;
  --r: 19deg;
  --s: 0.76;
  --dx: var(--drift-x-b);
  --dy: var(--drift-y-b);
}

.layer-e {
  --x: 38vw;
  --y: 84vh;
  --r: 6deg;
  --s: 0.58;
  --dx: var(--drift-x-c);
  --dy: var(--drift-y-c);
}

.layer-f {
  --x: 34vw;
  --y: -3vh;
  --r: -4deg;
  --s: 0.5;
  --dx: var(--drift-x-a);
  --dy: var(--drift-y-a);
}

.layer-g {
  --x: 90vw;
  --y: 82vh;
  --r: 15deg;
  --s: 0.52;
  --dx: var(--drift-x-b);
  --dy: var(--drift-y-b);
}

.layer-h {
  --x: -8vw;
  --y: -1vh;
  --r: 23deg;
  --s: 0.46;
  --dx: var(--drift-x-c);
  --dy: var(--drift-y-c);
}

@media (max-width: 980px) {
  .hero,
  .story-card {
    grid-template-columns: 1fr;
  }

  .story-card .eyebrow,
  .story-card h2,
  .story-card > p,
  .steps {
    grid-column: 1;
  }

  .steps {
    grid-row: auto;
  }

  .hero {
    gap: 46px;
    min-height: auto;
  }

  .hero-card {
    max-width: 520px;
  }

  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .site-header {
    align-items: flex-start;
    border-radius: 28px;
  }

  .site-header nav {
    display: none;
  }

  .section-pad {
    width: min(100% - 24px, var(--max));
    padding: 70px 0;
  }

  .hero {
    padding-top: 52px;
  }

  h1 {
    letter-spacing: -0.052em;
    line-height: 1.02;
    font-size: clamp(3rem, 13vw, 4rem);
  }

  .hero-lede {
    font-size: 1.18rem;
  }

  .phone-shell {
    border-radius: 34px;
    padding: 12px;
  }

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

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

  .story-card,
  .closing {
    padding: 28px;
    border-radius: 32px;
  }

  .closing {
    display: grid;
  }

  .closing .button {
    width: 100%;
  }

  .site-footer {
    display: grid;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .phone-shell,
  .letter {
    transform: none;
  }
}
