/*
 * Panacea Tools landing page. One stylesheet for every page, no build step.
 * Tokens follow the Panacea design system
 * (https://claude.ai/artifact/Kzp7snn5dt1wMibzPnutfD).
 * Breakpoints: sm 40rem, md 48rem, lg 64rem.
 */

/* Fonts: Commissioner variable (SIL OFL 1.1, see fonts/commissioner-OFL.txt) */

@font-face {
  font-family: "Commissioner Variable";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(fonts/commissioner-cyrillic-ext-wght-normal.woff2)
    format("woff2-variations");
  unicode-range:
    U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}

@font-face {
  font-family: "Commissioner Variable";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(fonts/commissioner-cyrillic-wght-normal.woff2)
    format("woff2-variations");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: "Commissioner Variable";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(fonts/commissioner-greek-wght-normal.woff2)
    format("woff2-variations");
  unicode-range:
    U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}

@font-face {
  font-family: "Commissioner Variable";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(fonts/commissioner-vietnamese-wght-normal.woff2)
    format("woff2-variations");
  unicode-range:
    U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301,
    U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}

@font-face {
  font-family: "Commissioner Variable";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(fonts/commissioner-latin-ext-wght-normal.woff2)
    format("woff2-variations");
  unicode-range:
    U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF,
    U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Commissioner Variable";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(fonts/commissioner-latin-wght-normal.woff2)
    format("woff2-variations");
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
    U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Tokens */

:root {
  --font-sans:
    "Commissioner Variable", system-ui, -apple-system, "Segoe UI", Roboto,
    Arial, sans-serif;
  --radius: 0.625rem;

  --background: oklch(0.963 0.005 258.3); /* #F1F3F6 */
  --foreground: oklch(0.167 0.014 258.4); /* #0B0F15 */
  --card: oklch(1 0 0); /* #FFFFFF */
  --primary: oklch(0.577 0.215 27.3); /* #DC2626 */
  --primary-foreground: oklch(1 0 0); /* #FFFFFF */
  --secondary: oklch(0.944 0.008 253.9); /* #E9EDF2 */
  --muted: oklch(0.944 0.008 253.9); /* #E9EDF2 */
  --muted-foreground: oklch(0.383 0.027 256.8); /* #3A4452 */
  --accent: oklch(0.948 0.023 17.6); /* #FDE8E8 */
  --destructive: oklch(0.469 0.179 26.4); /* #A8151B */
  --border: oklch(0.865 0.014 258.3); /* #CDD3DC */
  --input: oklch(0.542 0.028 257.7); /* #657080 */
  --ring: oklch(0.577 0.215 27.3); /* #DC2626 */
  --success: oklch(0.449 0.113 150.9); /* #116632 */
  --success-soft: oklch(0.943 0.031 157.2); /* #DCF3E4 */

  /* Fixed colours for the phone mock-up, glows and info boxes */
  --slate-600: oklch(44.6% 0.043 257.281);
  --slate-700: oklch(37.2% 0.044 257.287);
  --slate-800: oklch(27.9% 0.041 260.031);
  --slate-900: oklch(20.8% 0.042 265.755);
  --rose-200: oklch(89.2% 0.058 10.001);
  --rose-300: oklch(81% 0.117 11.638);
  --rose-400: oklch(71.2% 0.194 13.428);
  --rose-500: oklch(64.5% 0.246 16.439);
  --orange-200: oklch(90.1% 0.076 70.697);
  --orange-300: oklch(83.7% 0.128 66.29);
  --red-100: oklch(93.6% 0.032 17.717);
  --red-200: oklch(88.5% 0.062 18.334);
  --blue-50: oklch(97% 0.014 254.604);
  --blue-200: oklch(88.2% 0.059 254.128);
  --blue-600: oklch(54.6% 0.245 262.881);

  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out: cubic-bezier(0, 0, 0.2, 1);
  --ease-hero: cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-sm: 0 1px 3px 0 #0000001a, 0 1px 2px -1px #0000001a;
  --shadow-lg: 0 10px 15px -3px #0000001a, 0 4px 6px -4px #0000001a;
  --shadow-2xl: 0 25px 50px -12px #00000040;
}

/* Reset */

*,
::before,
::after,
::backdrop {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border: 0 solid var(--border);
}

html {
  -webkit-text-size-adjust: 100%;
  tab-size: 4;
  line-height: 1.5;
  font-family: var(--font-sans);
  -webkit-tap-highlight-color: transparent;
  scroll-behavior: smooth;
}

h1,
h2,
h3 {
  font-size: inherit;
  font-weight: inherit;
  text-wrap: balance;
}

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

b,
strong {
  font-weight: bolder;
}

ul {
  list-style: none;
}

img,
svg {
  display: block;
  vertical-align: middle;
}

img {
  max-width: 100%;
  height: auto;
}

button,
input {
  font: inherit;
  letter-spacing: inherit;
  color: inherit;
  background-color: transparent;
  border-radius: 0;
  opacity: 1;
}

button {
  appearance: button;
}

::placeholder {
  opacity: 1;
}

summary {
  display: list-item;
}

body {
  background-color: var(--background);
  color: var(--foreground);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* One focus style everywhere: a 2px solid ring, 2px away. */
:focus-visible {
  outline: 2px solid var(--ring);
  outline-offset: 2px;
}

/* Shared */

.skip-link {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 1000;
  padding: 0.75rem 1.25rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card);
  color: var(--foreground);
  transform: translateY(-200%);
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}

.skip-link:focus,
.skip-link:focus-visible {
  transform: translateY(0);
  box-shadow: 0 12px 30px -12px #00000059;
}

.page {
  min-height: 100vh;
  background-color: var(--background);
}

.text-gradient {
  background-image: linear-gradient(
    to right in oklab,
    var(--primary) 0%,
    color-mix(in oklab, var(--primary) 60%, transparent) 50%,
    var(--primary) 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.icon-4 {
  width: 1rem;
  height: 1rem;
}

.icon-5 {
  width: 1.25rem;
  height: 1.25rem;
}

.blob {
  position: absolute;
  border-radius: 9999px;
}

/* Buttons */

.button {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  height: 3rem;
  padding-inline: 1.375rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.5;
  white-space: nowrap;
  cursor: pointer;
  user-select: none;
  transition:
    color 0.15s var(--ease),
    background-color 0.15s var(--ease),
    border-color 0.15s var(--ease);
}

.button svg {
  flex-shrink: 0;
  pointer-events: none;
}

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

.button-outline {
  border-color: var(--input);
  background-color: var(--card);
  color: var(--foreground);
}

.button:disabled {
  pointer-events: none;
  opacity: 0.4;
}

@media (hover: hover) {
  .button-primary:hover {
    background-color: color-mix(in oklch, var(--primary), black 8%);
  }

  .button-outline:hover {
    background-color: var(--secondary);
  }
}

/* Phone mock-up. The default size is the hero phone; .phone-sm is the feature phone. */

.phone {
  position: relative;
  isolation: isolate;
}

.phone-frame {
  position: relative;
  padding: 0.5rem;
  border-radius: 3.5rem;
  background-image: linear-gradient(
    to bottom right in oklab,
    var(--slate-700) 0%,
    var(--slate-800) 50%,
    var(--slate-900) 100%
  );
  box-shadow: var(--shadow-2xl);
}

.phone-bezel {
  position: relative;
  padding: 0.375rem;
  border-radius: 3.2rem;
  background-color: #000;
}

.phone-screen {
  position: relative;
  overflow: hidden;
  aspect-ratio: 9 / 19.5;
  border-radius: 3rem;
  background-color: #fff;
}

.phone-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.phone-home-bar {
  position: absolute;
  bottom: 0.5rem;
  left: 50%;
  width: 8rem;
  height: 0.25rem;
  border-radius: 9999px;
  background-color: color-mix(in oklab, #000 30%, transparent);
  translate: -50% 0;
}

.phone-key {
  position: absolute;
  left: -2px;
  width: 3px;
  height: 50px;
  border-radius: 0.25rem 0 0 0.25rem;
  background-color: var(--slate-600);
}

.phone-key-1 {
  top: 100px;
}

.phone-key-2 {
  top: 165px;
}

.phone-key-3 {
  top: 230px;
}

.phone-key-power {
  top: 180px;
  right: -2px;
  left: auto;
  height: 70px;
  border-radius: 0 0.25rem 0.25rem 0;
}

.phone-sm .phone-frame {
  padding: 0.375rem;
  border-radius: 3rem;
}

.phone-sm .phone-bezel {
  padding: 0.25rem;
  border-radius: 2.8rem;
}

.phone-sm .phone-screen {
  aspect-ratio: 9 / 19;
  border-radius: 2.5rem;
}

.phone-sm .phone-home-bar {
  bottom: 0.375rem;
  width: 6rem;
  height: 0.125rem;
}

.phone-sm .phone-key {
  left: -1.5px;
  width: 2px;
  height: 40px;
}

.phone-sm .phone-key-1 {
  top: 80px;
}

.phone-sm .phone-key-2 {
  top: 135px;
}

.phone-sm .phone-key-3 {
  top: 190px;
}

.phone-sm .phone-key-power {
  top: 145px;
  right: -1.5px;
  left: auto;
  height: 55px;
}

.phone-shot {
  position: absolute;
  inset: 0;
}

/* Footer */

.footer {
  position: relative;
  padding: 2rem 1.5rem 3rem;
  background-image: linear-gradient(
    to bottom in oklab,
    var(--background) 0%,
    var(--background) 50%,
    color-mix(in oklab, var(--muted) 20%, transparent) 100%
  );
}

.footer-inner {
  max-width: 72rem;
  margin-inline: auto;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid color-mix(in oklab, var(--border) 50%, transparent);
}

.footer-name {
  font-size: 1.125rem;
  font-weight: 600;
  line-height: calc(1.75 / 1.125);
}

.footer-tagline {
  max-width: 20rem;
  text-align: center;
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.footer-bottom p,
.footer-tagline,
.footer-links a {
  color: var(--muted-foreground);
  font-size: 0.875rem;
  line-height: calc(1.25 / 0.875);
}

.footer-links a {
  transition: color 0.15s var(--ease);
}

@media (hover: hover) {
  .footer-links a:hover {
    color: var(--foreground);
  }
}

@media (min-width: 48rem) {
  .footer-bottom {
    flex-direction: row;
  }
}

/* Home: hero */

.hero {
  position: relative;
  overflow: hidden;
  padding: 5rem 1.5rem 4rem;
}

.hero::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1;
  height: 200px;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    color-mix(in oklab, var(--background) 30%, transparent) 40%,
    color-mix(in oklab, var(--background) 70%, transparent) 70%,
    var(--background) 100%
  );
  pointer-events: none;
}

.container {
  max-width: 80rem;
  margin-inline: auto;
}

.hero-badge-row {
  display: flex;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.badge {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  gap: 0.5rem;
  width: fit-content;
  padding: 0.375rem 0.75rem;
  border: 1px solid var(--input);
  border-radius: 6px;
  background-color: var(--card);
  color: var(--foreground);
  font-size: 0.875rem;
  font-weight: 500;
  line-height: calc(1.25 / 0.875);
  white-space: nowrap;
}

.badge svg {
  flex-shrink: 0;
  width: 0.875rem;
  height: 0.875rem;
  color: var(--primary);
  pointer-events: none;
}

.hero-grid {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  margin-bottom: 4rem;
}

.hero-copy {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero-title {
  margin-bottom: 1.5rem;
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

.hero-lead {
  max-width: 42rem;
  margin-bottom: 2rem;
  color: var(--muted-foreground);
  font-size: 1.125rem;
  line-height: 1.625;
  text-wrap: pretty;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  width: 100%;
  margin-bottom: 1.5rem;
}

.hero-actions .button {
  width: 100%;
}

.web-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
  color: var(--primary);
  font-size: 0.875rem;
  font-weight: 500;
  line-height: calc(1.25 / 0.875);
  transition: color 0.15s var(--ease);
}

.web-link .icon-small {
  width: 0.875rem;
  height: 0.875rem;
}

@media (hover: hover) {
  .web-link:hover {
    color: color-mix(in oklab, var(--primary) 80%, transparent);
  }
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  color: var(--muted-foreground);
  font-size: 0.875rem;
  line-height: calc(1.25 / 0.875);
}

.hero-points > div {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.hero-point-icon {
  padding: 0.375rem;
  border-radius: 9999px;
  background-color: color-mix(in oklab, var(--primary) 10%, transparent);
}

.hero-point-icon svg {
  width: 1rem;
  height: 1rem;
  color: var(--primary);
}

.hero-phone-wrap {
  display: flex;
  flex-shrink: 0;
  justify-content: center;
  width: 100%;
}

.hero-phone {
  width: 280px;
}

.hero-glow {
  position: absolute;
  inset: -2rem;
  z-index: -1;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.9;
  pointer-events: none;
}

.hero-glow-1 {
  width: 400px;
  height: 400px;
  background-image: linear-gradient(
    to bottom left in oklab,
    color-mix(in oklab, var(--rose-200) 40%, transparent) 0%,
    color-mix(in oklab, var(--rose-300) 25%, transparent) 50%,
    transparent 100%
  );
  filter: blur(70px);
}

.hero-glow-2 {
  width: 480px;
  height: 480px;
  background-image: linear-gradient(
    to top right in oklab,
    color-mix(in oklab, var(--rose-200) 30%, transparent) 0%,
    color-mix(in oklab, var(--orange-200) 20%, transparent) 50%,
    color-mix(in oklab, var(--red-100) 30%, transparent) 100%
  );
  filter: blur(75px);
}

.hero-glow-3 {
  top: -60px;
  left: -60px;
  width: 300px;
  height: 300px;
  background-color: color-mix(in oklab, var(--rose-500) 20%, transparent);
  filter: blur(65px);
}

.hero-glow-4 {
  right: -50px;
  bottom: -50px;
  width: 340px;
  height: 340px;
  background-color: color-mix(in oklab, var(--rose-400) 10%, transparent);
  filter: blur(68px);
}

.hero-glow-5 {
  width: 380px;
  height: 380px;
  background-image: linear-gradient(
    to bottom left in oklab,
    color-mix(in oklab, var(--orange-300) 30%, transparent) 0%,
    color-mix(in oklab, var(--red-200) 25%, transparent) 50%,
    transparent 100%
  );
  filter: blur(72px);
}

@media (min-width: 40rem) {
  .hero-actions {
    flex-direction: row;
    width: auto;
  }

  .hero-actions .button {
    width: auto;
  }
}

@media (min-width: 48rem) {
  .hero {
    padding-top: 6rem;
    padding-bottom: 6rem;
  }

  .hero-title {
    font-size: 3.75rem;
  }

  .hero-lead {
    font-size: 1.25rem;
  }

  .hero-phone {
    width: 320px;
  }

  .hero-glow {
    inset: -2.5rem;
  }
}

@media (min-width: 64rem) {
  .hero-grid {
    flex-direction: row;
    align-items: center;
    gap: 4rem;
  }

  .hero-copy {
    align-items: flex-start;
    text-align: left;
  }

  .hero-title {
    font-size: 4.5rem;
  }

  .hero-actions,
  .hero-points {
    justify-content: flex-start;
  }

  .hero-phone-wrap {
    justify-content: flex-end;
    width: auto;
  }

  .hero-phone {
    width: 360px;
  }

  .hero-glow {
    inset: -3rem;
  }
}

/* Home: section headings */

.section-heading {
  margin-bottom: 4rem;
  text-align: center;
}

.section-heading h2 {
  margin-bottom: 1rem;
  color: var(--foreground);
  font-size: 1.875rem;
  font-weight: 700;
  line-height: calc(2.25 / 1.875);
  letter-spacing: -0.025em;
}

.section-heading p {
  color: var(--muted-foreground);
  font-size: 1.125rem;
  line-height: calc(1.75 / 1.125);
}

/* Home: features */

.features {
  position: relative;
}

.features::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 0;
  height: 100px;
  background: linear-gradient(to top, var(--background) 0%, transparent 100%);
  pointer-events: none;
}

.features-head {
  padding: 4rem 1.5rem 0;
}

.section-heading p.features-sub {
  max-width: 42rem;
  margin-inline: auto;
}

/* Below lg: tap a feature to show it on the phone */

.features-mobile {
  padding-inline: 1.5rem;
}

.features-mobile-grid {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.feature-tabs {
  position: relative;
  z-index: 10;
  flex: 1;
}

.feature-tabs > :not(:last-child) {
  margin-bottom: 2rem;
}

.feature-tab {
  display: flex;
  gap: 1.5rem;
  width: 100%;
  padding: 1rem;
  border-radius: 16px;
  text-align: left;
  cursor: pointer;
  transition: all 0.15s var(--ease);
}

.feature-tab[aria-pressed="true"] {
  border-width: 1px;
  border-color: color-mix(in oklab, var(--primary) 20%, transparent);
  background-color: color-mix(in oklab, var(--muted) 50%, transparent);
}

.feature-tab-icon {
  position: relative;
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 16px;
  background-color: color-mix(in oklab, var(--primary) 10%, transparent);
  transition: background-color 0.15s var(--ease);
}

.feature-tab-icon svg {
  width: 1.75rem;
  height: 1.75rem;
  color: var(--primary);
}

.feature-tab h3 {
  margin-bottom: 0.5rem;
  color: var(--foreground);
  font-size: 1.25rem;
  font-weight: 600;
  line-height: calc(1.75 / 1.25);
}

.feature-tab p {
  color: var(--muted-foreground);
  line-height: 1.625;
}

@media (hover: hover) {
  .feature-tab:hover {
    background-color: color-mix(in oklab, var(--muted) 50%, transparent);
  }

  .feature-tab:hover .feature-tab-icon {
    background-color: color-mix(in oklab, var(--primary) 20%, transparent);
  }
}

.features-mobile-phone {
  display: flex;
  flex-shrink: 0;
  justify-content: center;
  width: 100%;
}

.features-mobile-phone .phone {
  width: 240px;
}

.features-mobile-phone .phone-shot {
  transition: opacity 0.5s var(--ease);
}

.features-mobile-phone .phone-shot[aria-hidden="true"] {
  opacity: 0;
}

/* lg and up: the section pins while you scroll through the features */

.features-scroll {
  position: relative;
  display: none;
  height: 250vh;
}

.features-sticky {
  position: sticky;
  top: 0;
  display: flex;
  align-items: center;
  height: 100vh;
  padding-inline: 1.5rem;
}

.features-sticky-inner {
  display: flex;
  align-items: center;
  gap: 4rem;
  width: 100%;
  max-width: 80rem;
  margin-inline: auto;
}

.features-copy {
  flex: 1;
}

.feature-texts {
  position: relative;
  height: 280px;
}

.feature-text {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  opacity: 1;
  translate: 0 0;
  transition: all 0.7s var(--ease-out);
}

.feature-text[data-step="next"] {
  opacity: 0;
  translate: 0 2rem;
}

.feature-text[data-step="past"] {
  opacity: 0;
  translate: 0 -2rem;
}

.feature-text-label {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.feature-text-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 4rem;
  height: 4rem;
  border-radius: 1rem;
  background-color: color-mix(in oklab, var(--primary) 10%, transparent);
}

.feature-text-icon svg {
  width: 2rem;
  height: 2rem;
  color: var(--primary);
}

.feature-text-label span {
  color: color-mix(in oklab, var(--primary) 80%, transparent);
  font-size: 0.875rem;
  font-weight: 500;
  line-height: calc(1.25 / 0.875);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.feature-text h3 {
  margin-bottom: 1rem;
  color: var(--foreground);
  font-size: 2.25rem;
  font-weight: 700;
  line-height: calc(2.5 / 2.25);
}

.feature-text p {
  max-width: 32rem;
  color: var(--muted-foreground);
  font-size: 1.25rem;
  line-height: 1.625;
}

.feature-progress {
  display: flex;
  align-items: center;
  margin-top: 2rem;
}

.progress-dot {
  position: relative;
  z-index: 10;
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 9999px;
  background-color: color-mix(
    in oklab,
    var(--muted-foreground) 30%,
    transparent
  );
  cursor: pointer;
  transition: all 0.3s var(--ease);
}

.progress-dot[data-reached] {
  background-color: var(--primary);
}

.progress-dot[aria-pressed="true"] {
  scale: 125% 125%;
}

@media (hover: hover) {
  .progress-dot:not(:first-child):hover {
    background-color: color-mix(
      in oklab,
      var(--muted-foreground) 50%,
      transparent
    );
  }
}

.progress-track {
  width: 4rem;
  height: 0.25rem;
  overflow: hidden;
  border-radius: 9999px;
  background-color: color-mix(
    in oklab,
    var(--muted-foreground) 20%,
    transparent
  );
}

.progress-bar {
  width: 0;
  height: 100%;
  border-radius: 9999px;
  background-color: var(--primary);
  transition: all 0.3s var(--ease-out);
}

.scroll-hint {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 2rem;
  color: color-mix(in oklab, var(--muted-foreground) 60%, transparent);
  transition: opacity 0.5s var(--ease);
}

.scroll-hint.is-hidden {
  opacity: 0;
}

.scroll-hint span {
  font-size: 0.875rem;
  line-height: calc(1.25 / 0.875);
}

.scroll-hint svg {
  width: 1rem;
  height: 1rem;
  animation: bounce 1s infinite;
}

.features-desktop-phone {
  flex-shrink: 0;
}

.features-desktop-phone .phone {
  width: 300px;
  transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
  transition: transform 0.7s var(--ease-out);
}

.features-desktop-phone .phone-shot {
  transition: all 0.7s var(--ease-out);
}

.features-desktop-phone .phone-shot[aria-hidden="true"] {
  opacity: 0;
  scale: 95% 95%;
}

@media (min-width: 48rem) {
  .features-head {
    padding-top: 6rem;
  }

  .section-heading h2 {
    font-size: 3rem;
    line-height: 1;
  }

  .features-mobile-phone .phone {
    width: 280px;
  }
}

@media (min-width: 64rem) {
  .features-mobile {
    display: none;
  }

  .features-scroll {
    display: block;
  }
}

/* Home: waitlist */

.waitlist {
  position: relative;
  overflow: hidden;
  padding: 6rem 1.5rem 5rem;
}

.waitlist::before,
.waitlist::after {
  content: "";
  position: absolute;
  right: 0;
  left: 0;
  z-index: 0;
  height: 80px;
  pointer-events: none;
}

.waitlist::before {
  top: 0;
  background: linear-gradient(
    to bottom,
    var(--background) 0%,
    transparent 100%
  );
}

.waitlist::after {
  bottom: 0;
  background: linear-gradient(to top, var(--background) 0%, transparent 100%);
}

.waitlist-inner {
  position: relative;
  z-index: 10;
  max-width: 42rem;
  margin-inline: auto;
}

.waitlist .section-heading {
  margin-bottom: 3rem;
}

.waitlist-form {
  padding: 1.5rem;
  border: 1px solid var(--border);
  border-radius: 14px;
  background-color: var(--card);
  text-align: left;
}

.waitlist-form > :not(:last-child) {
  margin-bottom: 1.5rem;
}

.field > :not(:last-child) {
  margin-bottom: 0.5rem;
}

.field label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.25;
  user-select: none;
}

.field label span {
  color: var(--muted-foreground);
  font-weight: 400;
}

.field input {
  display: flex;
  width: 100%;
  min-width: 0;
  height: 3rem;
  padding-inline: 0.875rem;
  border: 1px solid var(--input);
  border-radius: var(--radius);
  background-color: var(--card);
  color: var(--foreground);
  font-size: 1rem;
  line-height: 1.5;
  transition:
    color 0.15s var(--ease),
    background-color 0.15s var(--ease),
    border-color 0.15s var(--ease);
}

.field input::placeholder {
  color: var(--muted-foreground);
}

.waitlist-submit {
  position: relative;
  min-height: 120px;
}

.waitlist-submit .button {
  width: 100%;
}

.waitlist-actions,
.waitlist-success {
  transition: opacity 0.5s var(--ease);
}

.waitlist-actions[aria-hidden="true"] {
  opacity: 0;
  pointer-events: none;
}

.waitlist-note {
  padding-top: 0.5rem;
  color: var(--muted-foreground);
  font-size: 0.75rem;
  line-height: calc(1 / 0.75);
  text-align: center;
}

.waitlist-success {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}

.waitlist-success[aria-hidden="true"] {
  opacity: 0;
  pointer-events: none;
}

.waitlist-success-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 4rem;
  height: 4rem;
  border-radius: 9999px;
  background-color: var(--success-soft);
}

.waitlist-success-icon svg {
  width: 2rem;
  height: 2rem;
  color: var(--success);
}

.waitlist-success-text {
  padding-inline: 1rem;
  text-align: center;
}

.waitlist-success-text p:first-child {
  margin-bottom: 0.25rem;
  color: var(--foreground);
  font-size: 1.125rem;
  font-weight: 600;
  line-height: calc(1.75 / 1.125);
}

.waitlist-success-text p:last-child {
  color: var(--muted-foreground);
  font-size: 0.875rem;
  line-height: calc(1.25 / 0.875);
}

@media (min-width: 40rem) {
  .waitlist-form {
    padding: 2rem;
  }
}

@media (min-width: 48rem) {
  .waitlist {
    padding-top: 8rem;
  }

  .waitlist .section-heading h2 {
    font-size: 2.25rem;
    line-height: calc(2.5 / 2.25);
  }

  .waitlist-form {
    padding: 2.5rem;
  }
}

/* Toasts */

.toasts {
  position: fixed;
  top: 1rem;
  right: 1rem;
  z-index: 50;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  pointer-events: none;
}

.toast {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 300px;
  max-width: 28rem;
  padding: 1rem;
  border: 1px solid var(--border);
  border-radius: 14px;
  background-color: var(--card);
  box-shadow: var(--shadow-lg);
  pointer-events: auto;
  animation: toast-in 0.3s ease;
}

.toast.is-leaving {
  animation: toast-out 0.3s ease;
}

.toast > svg {
  flex-shrink: 0;
  width: 1.25rem;
  height: 1.25rem;
  color: var(--destructive);
}

.toast p {
  flex: 1;
  color: var(--foreground);
  font-size: 0.875rem;
  font-weight: 500;
  line-height: calc(1.25 / 0.875);
}

.toast button {
  color: var(--muted-foreground);
  cursor: pointer;
  transition: color 0.15s var(--ease);
}

.toast button svg {
  width: 1rem;
  height: 1rem;
}

@media (hover: hover) {
  .toast button:hover {
    color: var(--foreground);
  }
}

/* Inner pages: contact, privacy policy, terms of use */

.page-hero {
  padding: 4rem 1.5rem;
}

.page-inner {
  max-width: 56rem;
  margin-inline: auto;
}

.page-inner-narrow {
  max-width: 42rem;
}

.page-header {
  margin-bottom: 2rem;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 2rem;
  color: var(--muted-foreground);
  font-size: 0.875rem;
  line-height: calc(1.25 / 0.875);
  transition: color 0.15s var(--ease);
}

@media (hover: hover) {
  .back-link:hover {
    color: var(--foreground);
  }
}

.page-title {
  margin-bottom: 1rem;
  font-size: 2.25rem;
  font-weight: 700;
  line-height: calc(2.5 / 2.25);
  letter-spacing: -0.025em;
}

.page-lead {
  color: var(--muted-foreground);
  font-size: 1.125rem;
  line-height: calc(1.75 / 1.125);
}

.card {
  border: 1px solid var(--border);
  border-radius: 1rem;
  background-color: var(--card);
  box-shadow: var(--shadow-lg);
}

.icon-box {
  padding: 0.5rem;
  border-radius: 14px;
  background-color: color-mix(in oklab, var(--primary) 10%, transparent);
}

.icon-box svg {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--primary);
}

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

@media (hover: hover) {
  .text-link:hover {
    text-decoration-line: underline;
  }
}

@media (min-width: 48rem) {
  .page-hero {
    padding-top: 5rem;
  }

  .page-title {
    font-size: 3rem;
    line-height: 1;
  }
}

/* Legal pages */

.legal {
  padding: 2rem;
}

.legal > :not(:last-child) {
  margin-bottom: 2rem;
}

.legal h2 {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  color: var(--foreground);
  font-size: 1.5rem;
  font-weight: 600;
  line-height: calc(2 / 1.5);
}

.legal h3 {
  margin-bottom: 0.5rem;
  color: var(--foreground);
  font-weight: 500;
}

.legal p {
  color: var(--muted-foreground);
  line-height: 1.625;
}

.legal strong {
  color: var(--foreground);
}

.legal .intro {
  margin-bottom: 1rem;
}

.legal .small {
  font-size: 0.875rem;
}

.legal .note {
  font-size: 0.875rem;
  line-height: calc(1.25 / 0.875);
}

.legal .closing {
  padding-top: 1.5rem;
  border-top-width: 1px;
}

.bullets > :not(:last-child) {
  margin-bottom: 0.75rem;
}

.bullets li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  color: var(--muted-foreground);
}

.bullets li::before {
  content: "";
  flex-shrink: 0;
  width: 0.5rem;
  height: 0.5rem;
  margin-top: 0.375rem;
  border-radius: 9999px;
  background-color: var(--primary);
}

.bullets-muted {
  margin-top: 1rem;
}

.bullets-muted li::before {
  background-color: color-mix(
    in oklab,
    var(--muted-foreground) 50%,
    transparent
  );
}

.callout {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.5rem;
  border: 1px solid color-mix(in oklab, var(--primary) 20%, transparent);
  border-radius: 16px;
  background-color: color-mix(in oklab, var(--primary) 5%, transparent);
}

.callout .icon-box {
  flex-shrink: 0;
}

.legal .callout h3 {
  font-weight: 600;
}

.data-list > :not(:last-child) {
  margin-bottom: 1rem;
}

.data-list > div {
  padding-left: 1rem;
  border-left: 2px solid color-mix(in oklab, var(--primary) 30%, transparent);
}

.info-box {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  padding: 1.5rem;
  border: 1px solid var(--blue-200);
  border-radius: 16px;
  background-color: var(--blue-50);
}

.info-box > svg {
  flex-shrink: 0;
  width: 1.5rem;
  height: 1.5rem;
  margin-top: 0.125rem;
  color: var(--blue-600);
}

.legal .strong-line {
  margin-bottom: 0.5rem;
  color: var(--foreground);
  font-weight: 600;
}

.danger-box {
  padding: 1.5rem;
  border: 1px solid color-mix(in oklab, var(--destructive) 20%, transparent);
  border-radius: 16px;
  background-color: color-mix(in oklab, var(--destructive) 10%, transparent);
}

.danger-box > :not(:last-child) {
  margin-bottom: 1rem;
}

.legal .danger-box > p:first-child {
  color: var(--foreground);
  font-weight: 500;
}

.danger-list {
  color: var(--muted-foreground);
  font-size: 0.875rem;
  line-height: calc(1.25 / 0.875);
}

.danger-list > :not(:last-child) {
  margin-bottom: 0.5rem;
}

.danger-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.danger-list li::before {
  content: "•";
  margin-top: 0.125rem;
  color: var(--destructive);
}

.danger-box > div {
  padding-top: 1rem;
  border-top: 1px solid color-mix(in oklab, var(--destructive) 20%, transparent);
}

.legal .danger-box .strong-line {
  line-height: 1.55;
}

.services {
  display: grid;
  gap: 1rem;
}

.services > div {
  padding: 1rem;
  border-radius: 16px;
  background-color: color-mix(in oklab, var(--muted) 50%, transparent);
}

.services .icon-box {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  margin-bottom: 0.75rem;
  padding: 0;
}

@media (min-width: 48rem) {
  .legal {
    padding: 2.5rem;
  }

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

/* Contact page */

.contact-card {
  margin-bottom: 2rem;
  padding: 2rem;
  text-align: center;
}

.contact-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 4rem;
  height: 4rem;
  margin-bottom: 1.5rem;
  border-radius: 9999px;
  background-color: color-mix(in oklab, var(--primary) 10%, transparent);
}

.contact-icon svg {
  width: 2rem;
  height: 2rem;
  color: var(--primary);
}

.contact-card h2 {
  margin-bottom: 0.75rem;
  color: var(--foreground);
  font-size: 1.25rem;
  font-weight: 600;
  line-height: calc(1.75 / 1.25);
}

.contact-card > p {
  color: var(--muted-foreground);
}

.contact-card .contact-text {
  max-width: 28rem;
  margin: 0 auto 1.5rem;
}

.contact-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}

.mail-button,
.copy-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding-block: 0.75rem;
  border-radius: 14px;
  font-weight: 500;
  box-shadow: var(--shadow-sm);
  transition:
    color 0.15s var(--ease),
    background-color 0.15s var(--ease),
    border-color 0.15s var(--ease);
}

.mail-button {
  padding-inline: 1.5rem;
  background-color: var(--primary);
  color: var(--primary-foreground);
  font-size: 1rem;
  line-height: 1.5;
}

.copy-button {
  padding-inline: 1rem;
  border: 1px solid var(--border);
  background-color: var(--background);
  color: var(--foreground);
  font-size: 0.875rem;
  line-height: calc(1.25 / 0.875);
  cursor: pointer;
  transition-duration: 0.2s;
}

.mail-button:focus-visible,
.copy-button:focus-visible {
  outline-style: none;
  box-shadow:
    0 0 0 2px #fff,
    0 0 0 4px var(--ring),
    var(--shadow-sm);
}

@media (hover: hover) {
  .mail-button:hover {
    background-color: color-mix(in oklab, var(--primary) 90%, transparent);
  }

  .copy-button:hover {
    background-color: var(--accent);
  }
}

.copy-icons {
  position: relative;
  width: 1rem;
  height: 1rem;
}

.copy-icons svg {
  position: absolute;
  inset: 0;
  width: 1rem;
  height: 1rem;
  transition: opacity 0.2s var(--ease);
}

.copy-icons .check-icon {
  color: var(--primary);
  opacity: 0;
}

.copy-button.is-copied .copy-icon {
  opacity: 0;
}

.copy-button.is-copied .check-icon {
  opacity: 1;
}

.contact-card .reply-time {
  margin-top: 1rem;
  font-size: 0.875rem;
  line-height: calc(1.25 / 0.875);
}

.faq {
  padding: 1.5rem;
}

.faq h2 {
  margin-bottom: 1rem;
  color: var(--foreground);
  font-size: 1.125rem;
  font-weight: 600;
  line-height: calc(1.75 / 1.125);
}

.faq-list > :not(:last-child) {
  margin-bottom: 0.75rem;
}

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 0.5rem;
  color: var(--foreground);
  font-weight: 500;
  cursor: pointer;
}

.faq summary svg {
  width: 1rem;
  height: 1rem;
  color: var(--muted-foreground);
  transition:
    transform 0.15s var(--ease),
    rotate 0.15s var(--ease);
}

.faq details[open] summary svg {
  rotate: 180deg;
}

.faq details p {
  padding-bottom: 0.5rem;
  color: var(--muted-foreground);
  font-size: 0.875rem;
  line-height: calc(1.25 / 0.875);
}

@media (min-width: 40rem) {
  .contact-actions {
    flex-direction: row;
  }

  .mail-button,
  .copy-button {
    width: auto;
  }
}

/* Motion */

.hero-animate {
  opacity: 0;
  transform: translateY(1rem);
  will-change: transform, opacity;
}

.hero-animate-1 {
  animation: hero-in 0.8s var(--ease-hero) 0.1s both;
}

.hero-animate-2 {
  animation: hero-in 0.8s var(--ease-hero) 0.2s both;
}

.hero-animate-3 {
  animation: hero-in 0.8s var(--ease-hero) 0.35s both;
}

/* Fades a block up into place as the page loads; data-delay waits first. */
.rise {
  animation: rise 1s ease;
}

.rise[data-delay="100"] {
  animation-delay: 0.1s;
}

.rise[data-delay="200"] {
  animation-delay: 0.2s;
}

@keyframes hero-in {
  0% {
    opacity: 0;
    transform: translateY(1rem) scale(0.98);
  }

  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes rise {
  0% {
    opacity: 0;
    transform: translate3d(0, 1rem, 0) scale3d(1, 1, 1) rotate(0);
    filter: blur(0);
  }
}

@keyframes toast-in {
  0% {
    opacity: 0;
    transform: translate3d(0, -0.5rem, 0) scale3d(1, 1, 1) rotate(0);
    filter: blur(0);
  }
}

@keyframes toast-out {
  100% {
    opacity: 0;
    transform: translate3d(0, -0.5rem, 0) scale3d(1, 1, 1) rotate(0);
    filter: blur(0);
  }
}

@keyframes bounce {
  0%,
  100% {
    transform: translateY(-25%);
    animation-timing-function: cubic-bezier(0.8, 0, 1, 1);
  }

  50% {
    transform: none;
    animation-timing-function: cubic-bezier(0, 0, 0.2, 1);
  }
}

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