:root {
  --font-display: "Albert Sans", "Avenir Next", "Segoe UI", sans-serif;
  --font-body: "Albert Sans", "Avenir Next", "Segoe UI", sans-serif;
  --ink: #1f1e2e;
  --ink-muted: #575376;
  --ink-soft: #7c79ae;
  --paper: #f9f9fd;
  --surface: #ffffff;
  --surface-tint: #f0effa;
  --lavender: #e6e6f7;
  --violet: #7f26d9;
  --violet-deep: #55209a;
  --mint: #19ad63;
  --mint-soft: #e2faee;
  --blue-soft: #daeaff;
  --rose: #ff5d8e;
  --rose-soft: #ffe5df;
  --line: #ddddef;
  --shadow-soft: 0 28px 70px rgba(31, 30, 46, 0.12);
  --shadow-tight: 0 16px 38px rgba(31, 30, 46, 0.14);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 16px;
  --content: min(1160px, calc(100vw - 36px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(31, 30, 46, 0.04) 1px, transparent 1px),
    linear-gradient(180deg, rgba(31, 30, 46, 0.035) 1px, transparent 1px),
    radial-gradient(circle at 16% 12%, rgba(25, 173, 99, 0.2), transparent 28%),
    radial-gradient(circle at 82% 10%, rgba(255, 93, 142, 0.18), transparent 26%),
    linear-gradient(180deg, #fbfbff 0%, #f4f4fb 46%, #ffffff 100%);
  background-size: 36px 36px, 36px 36px, auto, auto, auto;
}

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

a {
  color: inherit;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: 12px;
  z-index: 20;
  transform: translateY(-160%);
  padding: 10px 14px;
  border-radius: 999px;
  color: #ffffff;
  background: var(--ink);
}

.skip-link:focus {
  transform: translateY(0);
}

.page-shell {
  width: var(--content);
  margin: 0 auto;
  padding: 20px 0 38px;
}

.site-header {
  position: sticky;
  top: 14px;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 28px;
  padding: 10px 12px;
  border: 1px solid rgba(221, 221, 239, 0.8);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 10px 30px rgba(31, 30, 46, 0.08);
  backdrop-filter: blur(16px);
}

.brand-mark,
.nav-links {
  display: flex;
  align-items: center;
}

.brand-mark {
  gap: 10px;
  min-width: 0;
  text-decoration: none;
  font-weight: 800;
}

.brand-mark img {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  box-shadow: 0 8px 18px rgba(127, 38, 217, 0.16);
}

.nav-links {
  gap: 4px;
}

.nav-links a,
.text-link {
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  color: var(--ink-muted);
}

.nav-links a {
  padding: 11px 14px;
  font-size: 0.92rem;
}

.nav-links a:hover,
.nav-links a:focus-visible,
.text-link:hover,
.text-link:focus-visible {
  color: var(--ink);
  background: var(--surface-tint);
}

.hero-section {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.8fr);
  gap: clamp(28px, 6vw, 76px);
  align-items: center;
  min-height: calc(100vh - 110px);
  padding: 18px 0 54px;
}

.hero-copy {
  max-width: 680px;
}

.eyebrow {
  margin: 0 0 12px;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
  color: var(--violet);
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--font-display);
  line-height: 1.02;
}

h1 {
  max-width: 760px;
  font-size: clamp(3.5rem, 9vw, 7.2rem);
}

h2 {
  font-size: clamp(2rem, 4.8vw, 4.35rem);
}

h3 {
  font-size: clamp(1.12rem, 2vw, 1.45rem);
  line-height: 1.16;
}

.lead,
.section-heading p:not(.eyebrow),
.privacy-band p,
.download-cta p,
.feature-card p,
.proof-strip span {
  color: var(--ink-muted);
  line-height: 1.62;
}

.lead {
  max-width: 610px;
  margin: 22px 0 0;
  font-size: clamp(1.08rem, 2vw, 1.28rem);
}

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

.appstore-badge-link {
  display: inline-block;
  line-height: 0;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 18px 34px rgba(31, 30, 46, 0.13);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.appstore-badge-link:hover,
.appstore-badge-link:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 24px 42px rgba(31, 30, 46, 0.18);
}

.appstore-badge-link img {
  width: min(250px, 68vw);
  height: auto;
}

.text-link {
  padding: 15px 18px;
}

.hero-stage {
  position: relative;
  min-height: 690px;
  display: grid;
  place-items: center;
}

.hero-stage::before {
  content: "";
  position: absolute;
  width: min(92%, 460px);
  height: 74%;
  border-radius: 44% 56% 52% 48%;
  background:
    linear-gradient(135deg, rgba(226, 250, 238, 0.94), rgba(230, 230, 247, 0.9)),
    repeating-linear-gradient(135deg, rgba(127, 38, 217, 0.16) 0 1px, transparent 1px 12px);
  transform: rotate(-7deg);
  box-shadow: var(--shadow-soft);
}

.phone-frame {
  position: relative;
  z-index: 1;
  width: min(315px, 76vw);
  padding: 10px;
  border-radius: 38px;
  background: #ffffff;
  box-shadow: 0 34px 70px rgba(31, 30, 46, 0.24);
}

.phone-frame img,
.phone-shot img {
  width: 100%;
  border-radius: 28px;
  background: var(--paper);
}

.focus-meter {
  position: absolute;
  z-index: 2;
  right: 2%;
  bottom: 11%;
  display: grid;
  gap: 2px;
  width: 178px;
  padding: 16px;
  border: 1px solid rgba(221, 221, 239, 0.95);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-tight);
  backdrop-filter: blur(16px);
}

.focus-meter span,
.focus-meter small {
  color: var(--ink-soft);
  font-weight: 700;
}

.focus-meter strong {
  color: var(--mint);
  font-size: 2rem;
}

.proof-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin: -12px 0 80px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--line);
  box-shadow: var(--shadow-soft);
}

.proof-strip div {
  padding: 24px;
  background: rgba(255, 255, 255, 0.86);
}

.proof-strip strong {
  display: block;
  margin-bottom: 6px;
  font-size: 1.05rem;
}

.section-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.2fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
  margin-bottom: 88px;
}

.section-heading {
  position: sticky;
  top: 108px;
}

.section-heading p:not(.eyebrow) {
  max-width: 520px;
  margin: 18px 0 0;
  font-size: 1.05rem;
}

.feature-list {
  display: grid;
  gap: 14px;
}

.feature-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px 16px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 16px 34px rgba(31, 30, 46, 0.07);
}

.feature-card h3 {
  align-self: center;
}

.feature-card p {
  grid-column: 2;
  margin: 0;
}

.feature-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  font-weight: 900;
  color: var(--ink);
}

.feature-icon--mint {
  background: var(--mint-soft);
}

.feature-icon--blue {
  background: var(--blue-soft);
}

.feature-icon--rose {
  background: var(--rose-soft);
}

.preview-band {
  margin-bottom: 88px;
  padding: clamp(24px, 5vw, 46px);
  border-radius: var(--radius-xl);
  color: #ffffff;
  background:
    linear-gradient(135deg, rgba(31, 30, 46, 0.94), rgba(85, 32, 154, 0.93)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 18px);
  box-shadow: var(--shadow-soft);
}

.preview-band .eyebrow,
.preview-band .section-heading p {
  color: #d9d8ff;
}

.preview-band .section-heading {
  position: static;
}

.screen-rail {
  display: grid;
  grid-template-columns: repeat(3, minmax(190px, 260px));
  gap: clamp(18px, 3vw, 30px);
  align-items: start;
  justify-content: center;
  margin-top: 32px;
}

.phone-shot {
  margin: 0;
  padding: 8px;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.14);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.18);
}

.phone-shot:nth-child(1),
.phone-shot:nth-child(3) {
  margin-top: 34px;
}

.phone-shot--raised {
  margin-top: 0;
}

.phone-shot figcaption {
  padding: 14px 8px 8px;
  color: #ffffff;
  font-weight: 800;
  text-align: center;
}

.privacy-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  margin-bottom: 88px;
  padding: clamp(26px, 5vw, 48px);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background:
    linear-gradient(135deg, rgba(226, 250, 238, 0.9), rgba(255, 255, 255, 0.9)),
    repeating-linear-gradient(45deg, rgba(25, 173, 99, 0.1) 0 2px, transparent 2px 14px);
  box-shadow: var(--shadow-soft);
}

.privacy-band p {
  max-width: 760px;
  margin: 20px 0 0;
  font-size: 1.05rem;
}

.privacy-points {
  display: grid;
  gap: 12px;
  min-width: 190px;
}

.privacy-points span {
  padding: 14px 16px;
  border: 1px solid rgba(25, 173, 99, 0.2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
  font-weight: 900;
  text-align: center;
}

.download-cta {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  padding: clamp(24px, 5vw, 38px);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: #ffffff;
  box-shadow: var(--shadow-soft);
}

.download-cta h2 {
  font-size: clamp(1.9rem, 4vw, 3.6rem);
}

.download-cta p {
  max-width: 620px;
  margin: 12px 0 0;
}

.cta-icon {
  width: clamp(72px, 10vw, 112px);
  border-radius: 24px;
  box-shadow: 0 18px 34px rgba(127, 38, 217, 0.2);
}

.site-footer,
footer {
  margin-top: 26px;
  padding: 28px 4px 0;
  color: var(--ink-muted);
  font-size: 0.95rem;
  text-align: center;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.footer-links a {
  font-weight: 800;
  text-decoration: none;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--violet);
}

.page {
  width: var(--content);
  margin: 0 auto;
  padding: 24px 0 42px;
}

.top-nav {
  margin-bottom: 22px;
}

.back-link {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.8);
  color: var(--ink-muted);
  font-weight: 800;
  text-decoration: none;
}

.back-link:hover,
.back-link:focus-visible {
  color: var(--ink);
  background: var(--surface);
}

.page-card {
  padding: clamp(24px, 5vw, 46px);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-soft);
}

.legal-content {
  max-width: 880px;
  margin: 0 auto;
}

.legal-content h1 {
  font-size: clamp(2.4rem, 6vw, 4.8rem);
  margin-bottom: 10px;
}

.legal-content h2 {
  margin-top: 30px;
  font-size: clamp(1.3rem, 3vw, 2rem);
}

.legal-content h3 {
  margin-top: 22px;
  font-size: clamp(1.05rem, 2vw, 1.25rem);
}

.legal-content p,
.legal-content li,
.intro,
.note {
  color: var(--ink-muted);
  line-height: 1.68;
}

.legal-content ul {
  padding-left: 1.25rem;
}

.legal-content a {
  color: var(--violet);
  font-weight: 800;
}

.legal-meta {
  margin-bottom: 24px;
  color: var(--ink-soft);
  font-weight: 800;
}

.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 18px 0 30px;
}

.hero--compact {
  padding-top: 8px;
}

.app-icon {
  width: clamp(88px, 14vw, 124px);
  height: auto;
  margin: 0 auto 16px;
  border-radius: 28px;
  box-shadow: 0 18px 34px rgba(127, 38, 217, 0.16);
}

.app-icon--small {
  width: clamp(70px, 12vw, 94px);
  border-radius: 22px;
}

.intro {
  width: min(720px, 100%);
  margin: 12px auto 0;
  font-size: 1.05rem;
}

.support-card {
  max-width: 720px;
  margin: 0 auto;
}

.support-form,
.form-group {
  display: grid;
  gap: 10px;
}

.support-form {
  gap: 18px;
}

.support-form label {
  font-weight: 900;
}

.support-form input,
.support-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px 16px;
  color: var(--ink);
  background: #ffffff;
  font: inherit;
}

.support-form textarea {
  min-height: 160px;
  resize: vertical;
}

.submit-button,
.copy-button,
.email-service-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border: 0;
  border-radius: 999px;
  padding: 0 18px;
  background: var(--violet);
  color: #ffffff;
  font: inherit;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
}

.copy-button,
.email-service-btn {
  min-height: 36px;
  background: var(--surface-tint);
  color: var(--ink);
}

.error-message,
.success-message,
.fallback-info {
  display: none;
}

.fallback-info {
  gap: 14px;
  padding: 16px;
  border-radius: 18px;
  background: var(--surface-tint);
}

.email-copy-section,
.web-email-links {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}

:focus-visible {
  outline: 3px solid rgba(127, 38, 217, 0.38);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: no-preference) {
  .hero-copy,
  .hero-stage,
  .proof-strip,
  .feature-card,
  .phone-shot,
  .privacy-band,
  .download-cta {
    animation: rise-in 620ms ease both;
  }

  .hero-stage {
    animation-delay: 90ms;
  }

  .feature-card:nth-child(2),
  .phone-shot:nth-child(2) {
    animation-delay: 80ms;
  }

  .feature-card:nth-child(3),
  .phone-shot:nth-child(3) {
    animation-delay: 150ms;
  }

  @keyframes rise-in {
    from {
      transform: translateY(18px);
    }
    to {
      transform: translateY(0);
    }
  }
}

@media (max-width: 980px) {
  .hero-section,
  .section-grid,
  .privacy-band,
  .download-cta {
    grid-template-columns: 1fr;
  }

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

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

  .section-heading {
    position: static;
  }

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

  .screen-rail {
    grid-template-columns: repeat(3, minmax(150px, 1fr));
    gap: 14px;
  }

  .phone-shot:nth-child(1),
  .phone-shot:nth-child(3) {
    margin-top: 0;
  }

  .download-cta .appstore-badge-link {
    width: max-content;
  }
}

@media (max-width: 640px) {
  :root {
    --content: min(100% - 24px, 1160px);
  }

  .page-shell {
    padding-top: 10px;
  }

  .site-header {
    position: static;
    align-items: flex-start;
    border-radius: 22px;
  }

  .nav-links {
    gap: 0;
  }

  .nav-links a {
    padding: 10px 9px;
    font-size: 0.84rem;
  }

  .brand-mark span {
    display: none;
  }

  h1 {
    font-size: clamp(3rem, 17vw, 4.7rem);
  }

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

  .phone-frame {
    width: min(280px, 82vw);
  }

  .focus-meter {
    right: 0;
    bottom: 2%;
    width: 158px;
  }

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

  .feature-card p {
    grid-column: auto;
  }

  .screen-rail {
    grid-template-columns: 1fr;
  }

  .phone-shot {
    max-width: 330px;
    margin-inline: auto;
  }

  .privacy-points {
    grid-template-columns: 1fr;
    min-width: 0;
  }

  .download-cta {
    text-align: left;
  }
}
