:root {
  --bg: #f5efe7;
  --bg-soft: #fbf8f4;
  --panel: rgba(255, 253, 249, 0.86);
  --panel-strong: rgba(255, 253, 249, 0.96);
  --ink: #141a22;
  --muted: #66717d;
  --line: rgba(20, 26, 34, 0.1);
  --line-strong: rgba(20, 26, 34, 0.16);
  --brand: #12a798;
  --brand-deep: #0c746b;
  --accent: #ef9462;
  --stage: #101720;
  --stage-soft: #16202b;
  --radius-xl: 34px;
  --radius-lg: 26px;
  --radius-md: 20px;
  --radius-sm: 14px;
  --shadow-xl: 0 36px 90px rgba(24, 31, 40, 0.16);
  --shadow-lg: 0 24px 60px rgba(24, 31, 40, 0.12);
  --shadow-md: 0 16px 34px rgba(24, 31, 40, 0.08);
  --font-display: "Sora", "Avenir Next", "Segoe UI", sans-serif;
  --font-body: "IBM Plex Sans", "Helvetica Neue", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  color: var(--ink);
  font-family: var(--font-body);
  background:
    radial-gradient(circle at top left, rgba(18, 167, 152, 0.12), transparent 22%),
    radial-gradient(circle at bottom right, rgba(239, 148, 98, 0.16), transparent 24%),
    linear-gradient(180deg, #fcf8f2 0%, var(--bg) 100%);
  overflow-x: hidden;
}

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

a {
  text-decoration: none;
}

img {
  max-width: 100%;
}

.ambient,
.background-glow {
  position: fixed;
  z-index: 0;
  width: 28rem;
  height: 28rem;
  border-radius: 999px;
  pointer-events: none;
  filter: blur(46px);
}

.ambient-left,
.background-glow-left {
  top: -10rem;
  left: -10rem;
  background: rgba(18, 167, 152, 0.16);
}

.ambient-right,
.background-glow-right {
  right: -12rem;
  bottom: -10rem;
  background: rgba(239, 148, 98, 0.16);
}

.site-header,
main,
.site-footer {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 32px));
  margin-left: auto;
  margin-right: auto;
}

.site-header {
  position: sticky;
  top: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 14px;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 999px;
  background: rgba(255, 252, 247, 0.74);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 14px 34px rgba(24, 31, 40, 0.08);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.brand img {
  width: 54px;
  height: 54px;
  border-radius: 18px;
  box-shadow: var(--shadow-md);
}

.brand span {
  display: grid;
  gap: 4px;
}

.brand strong {
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 700;
  letter-spacing: -0.05em;
}

.brand small {
  color: var(--muted);
  font-size: 0.88rem;
}

.site-nav,
.hero-actions,
.hero-list,
.launch-panel,
.legal-meta,
.legal-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.site-nav a {
  padding: 10px 12px;
  color: var(--muted);
  border-radius: 999px;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.72);
  outline: none;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.button-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--brand), #0eb7a5);
  box-shadow: 0 14px 32px rgba(18, 167, 152, 0.24);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.74);
  border-color: var(--line);
}

main {
  display: grid;
  gap: 24px;
  padding-top: 28px;
  padding-bottom: 72px;
}

.hero,
.summary-strip,
.showcase,
.flows,
.launch-section,
.legal-hero,
.legal-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: var(--panel);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow-lg);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  gap: clamp(28px, 5vw, 56px);
  padding: clamp(24px, 4vw, 44px);
  align-items: center;
}

.hero-copy,
.section-head,
.launch-copy {
  display: grid;
  gap: 16px;
}

.eyebrow {
  margin: 0;
  color: var(--brand-deep);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--font-display);
  letter-spacing: -0.06em;
  line-height: 0.97;
}

h1 {
  max-width: 9ch;
  font-size: clamp(2.5rem, 5.2vw, 4.5rem);
}

h2 {
  max-width: 11ch;
  font-size: clamp(1.8rem, 3.4vw, 3rem);
}

h3 {
  font-size: 1.12rem;
}

.hero-text,
.section-head p,
.card-copy p,
.flows-grid p,
.launch-copy p,
.launch-panel p,
.legal-lead,
.legal-block p,
.legal-list {
  margin: 0;
  color: var(--muted);
  line-height: 1.66;
  font-size: 0.97rem;
}

.hero-list span,
.launch-panel span,
.legal-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--line);
  font-size: 0.8rem;
}

.hero-stage {
  position: relative;
  min-height: 620px;
  padding: 24px;
  border-radius: calc(var(--radius-xl) - 4px);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0)),
    linear-gradient(180deg, var(--stage-soft) 0%, var(--stage) 100%);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.hero-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 30px 30px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.54), transparent 88%);
  pointer-events: none;
}

.stage-label {
  position: absolute;
  top: 22px;
  left: 22px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.8rem;
  font-weight: 600;
}

.device-shell {
  position: absolute;
  margin: 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 22px 54px rgba(0, 0, 0, 0.24);
}

.desktop-shell {
  top: 76px;
  left: 56px;
  right: 56px;
  padding: 16px;
  border-radius: 28px;
}

.desktop-shell::before {
  content: "";
  display: block;
  width: 68px;
  height: 10px;
  margin-bottom: 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
}

.phone-shell {
  width: min(100%, 220px);
  padding: 12px;
  border-radius: 32px;
}

.phone-shell::before {
  content: "";
  position: absolute;
  top: 7px;
  left: 50%;
  width: 84px;
  height: 16px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.5);
  transform: translateX(-50%);
}

.phone-shell-left {
  left: 18px;
  bottom: 24px;
  transform: rotate(-6deg);
}

.phone-shell-right {
  right: 18px;
  bottom: 42px;
  transform: rotate(6deg);
}

.device-screen {
  overflow: hidden;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.04);
}

.device-screen-desktop {
  aspect-ratio: 16 / 9;
}

.device-screen-phone {
  aspect-ratio: 9 / 19.5;
}

.device-screen img {
  display: block;
  width: 100%;
  height: 100%;
}

.device-screen-desktop img {
  object-fit: contain;
  object-position: center top;
  background: #eef2f5;
}

.device-screen-phone img {
  object-fit: cover;
}

.summary-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  overflow: hidden;
}

.summary-strip article {
  display: grid;
  gap: 8px;
  padding: 24px 26px;
}

.summary-strip article + article {
  border-left: 1px solid var(--line);
}

.summary-strip strong,
.card-copy span,
.flows-grid strong {
  font-family: var(--font-display);
}

.summary-strip strong {
  font-size: 0.94rem;
  letter-spacing: -0.04em;
}

.summary-strip p {
  margin: 0;
  color: var(--muted);
  line-height: 1.62;
}

.showcase,
.flows,
.launch-section,
.legal-hero,
.legal-card {
  padding: clamp(24px, 4vw, 38px);
}

.showcase-grid {
  margin-top: 26px;
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr);
  gap: 18px;
  align-items: start;
}

.showcase-stack {
  display: grid;
  gap: 18px;
  align-content: start;
}

.showcase-card {
  display: grid;
  gap: 18px;
  padding: 18px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 248, 242, 0.82));
  box-shadow: var(--shadow-md);
}

.showcase-card-desktop {
  align-content: start;
}

.showcase-card-tint {
  background: linear-gradient(180deg, rgba(245, 255, 253, 0.96), rgba(255, 248, 242, 0.82));
}

.card-copy {
  display: grid;
  gap: 8px;
}

.card-copy span,
.flows-grid span {
  color: var(--brand-deep);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.media-frame {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--panel-strong);
}

.media-frame-desktop {
  height: 100%;
  min-height: 420px;
}

.media-frame-phone {
  width: min(100%, 270px);
  margin: 0 auto;
  aspect-ratio: 9 / 19.5;
  border-radius: 28px;
}

.media-frame img {
  display: block;
  width: 100%;
  height: 100%;
}

.media-frame-desktop img {
  object-fit: cover;
  object-position: center top;
}

.media-frame-phone img {
  object-fit: cover;
}

.flows {
  display: grid;
  gap: 26px;
}

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

.flows-grid article {
  display: grid;
  gap: 12px;
  padding: 22px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
}

.flows-grid strong {
  font-size: 1rem;
  letter-spacing: -0.04em;
}

.launch-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.88fr);
  gap: 18px;
}

.launch-panel {
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 22px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.74);
}

.launch-panel p {
  font-size: 0.9rem;
}

.site-footer {
  margin-bottom: 28px;
}

.site-footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 18px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 252, 247, 0.74);
  box-shadow: var(--shadow-md);
}

.site-footer-inner span {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.04em;
}

.legal-nav a {
  color: var(--muted);
}

.legal-nav a:hover,
.legal-nav a:focus-visible {
  color: var(--ink);
  outline: none;
}

.legal-hero {
  display: grid;
  gap: 18px;
}

.legal-hero h1 {
  max-width: none;
  font-size: clamp(2.7rem, 5vw, 4.6rem);
}

.legal-card {
  display: grid;
  gap: 18px;
}

.legal-block {
  display: grid;
  gap: 12px;
  padding: 22px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.74);
}

.legal-block h2 {
  max-width: none;
  font-size: clamp(1.4rem, 3vw, 2rem);
}

.legal-list {
  padding-left: 18px;
}

@media (max-width: 1120px) {
  .site-header,
  main,
  .site-footer {
    width: min(100%, calc(100% - 24px));
  }

  .hero,
  .showcase-grid,
  .flows-grid,
  .launch-section {
    grid-template-columns: 1fr;
  }

  .showcase-stack {
    grid-template-columns: 1fr;
  }

  .summary-strip {
    grid-template-columns: 1fr;
  }

  .summary-strip article + article {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .hero-stage {
    min-height: 560px;
  }
}

@media (max-width: 760px) {
  .site-header {
    flex-wrap: wrap;
    border-radius: 26px;
    padding: 14px;
  }

  .site-nav {
    order: 3;
    width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  main {
    gap: 20px;
    padding-top: 20px;
    padding-bottom: 52px;
  }

  .hero,
  .showcase,
  .flows,
  .launch-section,
  .legal-hero,
  .legal-card {
    padding: 22px;
  }

  h1 {
    max-width: 10ch;
    font-size: clamp(2.2rem, 10vw, 3.4rem);
  }

  h2 {
    max-width: none;
    font-size: clamp(1.7rem, 7vw, 2.5rem);
  }

  .hero-stage {
    min-height: auto;
    display: grid;
    gap: 14px;
    padding: 16px;
  }

  .stage-label,
  .device-shell {
    position: relative;
    top: auto;
    right: auto;
    bottom: auto;
    left: auto;
    transform: none;
    width: 100%;
  }

  .desktop-shell {
    padding: 12px;
  }

  .phone-shell {
    max-width: 290px;
    margin: 0 auto;
  }

  .site-footer-inner,
  .legal-meta,
  .hero-list,
  .launch-panel,
  .legal-nav {
    flex-direction: column;
    align-items: flex-start;
  }
}
