:root {
  --ink: #1f1b2c;
  --ink-soft: #555168;
  --ink-muted: #7b7790;
  --paper: #ffffff;
  --paper-soft: #f7f5ff;
  --line: #e7e3f4;
  --accent: #6e72ec;
  --accent-deep: #262127;
  --lavender: #c8c5fa;
  --lavender-soft: #ddd9ff;
  --sky: #d7eafa;
  --peach: #f5d0ab;
  --mint: #ddefe5;
  --danger: #e56c73;
  --shadow: 0 24px 60px rgba(25, 20, 36, 0.08);
  --radius-xl: 32px;
  --radius-lg: 26px;
  --radius-md: 22px;
  --radius-pill: 999px;
}

* {
  box-sizing: border-box;
}

html {
  background: #fcfbff;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: #fcfbff;
  font-family: "Avenir Next", Avenir, "Segoe UI", sans-serif;
  line-height: 1.6;
}

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

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

.page-frame {
  padding: 20px 0 56px;
}

.site-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 26px;
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
}

.brand-mark {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: center / cover no-repeat url("./assets/loginlogo.png");
  border: 1px solid rgba(221, 217, 255, 0.9);
  box-shadow: 0 8px 24px rgba(110, 114, 236, 0.12);
}

.brand-copy {
  display: grid;
  gap: 2px;
}

.brand-title {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.brand-subtitle {
  color: var(--ink-muted);
  font-size: 0.84rem;
}

.nav-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.nav-links a {
  min-height: 40px;
  padding: 0 14px;
  border-radius: var(--radius-pill);
  display: inline-flex;
  align-items: center;
  color: var(--ink-soft);
  font-size: 0.95rem;
  font-weight: 600;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  background: var(--paper-soft);
  color: var(--ink);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 520px);
  gap: 22px;
  align-items: stretch;
}

.hero-card,
.surface-card,
.feature-card,
.faq-card,
.legal-card,
.mini-card,
.cta-banner {
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: var(--paper);
  box-shadow: var(--shadow);
}

.hero-copy {
  padding: 40px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: var(--radius-pill);
  background: var(--paper-soft);
  color: var(--ink-soft);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-title,
.page-title {
  margin: 18px 0 14px;
  color: var(--ink);
  font-size: clamp(3.1rem, 6vw, 5.4rem);
  line-height: 0.94;
  letter-spacing: -0.06em;
  max-width: 10ch;
}

.page-title {
  font-size: clamp(2.2rem, 4vw, 3.6rem);
  max-width: 12ch;
}

.lede {
  margin: 0;
  color: var(--ink-soft);
  font-size: 1.02rem;
  line-height: 1.75;
  max-width: 56ch;
}

.cta-row,
.pill-row,
.page-link-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.cta-row,
.pill-row {
  margin-top: 22px;
}

.button,
.store-button {
  min-height: 54px;
  padding: 0 18px;
  border-radius: var(--radius-pill);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  font-size: 0.96rem;
  font-weight: 700;
}

.button.primary,
.store-button.primary {
  background: var(--accent-deep);
  color: var(--paper);
}

.button.secondary,
.store-button.secondary,
.store-button.coming-soon {
  background: var(--paper);
  color: var(--ink);
  border-color: var(--line);
}

.button:hover,
.button:focus-visible,
.store-button:hover,
.store-button:focus-visible {
  transform: translateY(-1px);
}

.pill {
  min-height: 38px;
  padding: 0 14px;
  border-radius: var(--radius-pill);
  display: inline-flex;
  align-items: center;
  background: var(--paper-soft);
  color: var(--ink-soft);
  font-size: 0.88rem;
  font-weight: 600;
}

.hero-note,
.meta-note {
  margin-top: 14px;
  color: var(--ink-muted);
  font-size: 0.92rem;
}

.hero-visual {
  position: relative;
  padding: 24px;
  min-height: 620px;
  overflow: hidden;
  background: #faf8ff;
}

.orb {
  display: none;
}

.phone-stack {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}

.phone {
  position: relative;
  width: min(100%, 390px);
  padding: 14px;
  border-radius: 42px;
  background: #11101b;
  box-shadow: 0 34px 70px rgba(31, 27, 44, 0.18);
}

.phone.primary {
  z-index: 2;
}

.phone-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 12px 10px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.78rem;
  font-weight: 700;
}

.phone-screen {
  min-height: 540px;
  padding: 18px 18px 20px;
  border-radius: 30px;
  background:
    radial-gradient(circle at top left, rgba(255,255,255,0.24), transparent 28%),
    radial-gradient(circle at 82% 22%, rgba(244, 227, 234, 0.34), transparent 20%),
    var(--lavender);
}

.screen-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.screen-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid rgba(255,255,255,0.7);
}

.screen-avatar.small {
  width: 36px;
  height: 36px;
}

.screen-user {
  display: flex;
  align-items: center;
  gap: 10px;
}

.screen-user-copy {
  display: grid;
  gap: 3px;
}

.screen-user-copy strong {
  font-size: 1.05rem;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.screen-user-copy span {
  color: var(--ink-soft);
  font-size: 0.84rem;
}

.screen-action {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.62);
  color: var(--ink);
  font-size: 1.2rem;
  font-weight: 600;
}

.screen-hero {
  margin-top: 28px;
}

.screen-muted {
  color: rgba(31, 27, 44, 0.38);
  font-size: 1.9rem;
  line-height: 1;
  letter-spacing: -0.05em;
}

.screen-title {
  margin: 4px 0 0;
  font-size: 3.05rem;
  line-height: 0.96;
  letter-spacing: -0.07em;
}

.screen-meta {
  margin-top: 12px;
  color: var(--ink-soft);
  font-size: 0.96rem;
  line-height: 1.55;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 24px;
}

.metric-card {
  min-height: 120px;
  padding: 16px;
  border-radius: 24px;
  background: #fff;
  border: 1px solid rgba(255,255,255,0.7);
}

.metric-card.purple {
  background: #eceaff;
}

.metric-card.blush {
  background: #f7e8ee;
}

.metric-card.blue {
  background: #eaf1ff;
}

.metric-card.peach {
  background: #fceedd;
}

.metric-label {
  color: var(--ink-soft);
  font-size: 0.82rem;
  font-weight: 600;
}

.metric-value {
  margin-top: 12px;
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.06em;
}

.metric-note {
  margin-top: 4px;
  color: var(--ink-soft);
  font-size: 0.82rem;
}

.screen-section-title {
  margin-top: 24px;
  font-size: 1.18rem;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.flow-stack {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.flow-item {
  padding: 16px;
  border-radius: 24px;
  background: #fff;
  border: 1px solid rgba(255,255,255,0.7);
}

.flow-time {
  color: var(--ink-soft);
  font-size: 0.88rem;
}

.flow-item-title {
  margin-top: 6px;
  font-size: 1.28rem;
  font-weight: 700;
  letter-spacing: -0.05em;
}

.flow-item-subtitle {
  margin-top: 4px;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.flow-pills {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 14px;
}

.flow-pill {
  min-height: 34px;
  padding: 0 12px;
  border-radius: var(--radius-pill);
  display: inline-flex;
  align-items: center;
  font-size: 0.8rem;
  font-weight: 600;
}

.flow-pill.purple {
  background: #eceaff;
  color: var(--accent);
}

.flow-pill.dark {
  background: var(--accent-deep);
  color: #fff;
}

.section {
  margin-top: 24px;
  padding: 28px;
}

.section-header {
  display: grid;
  gap: 10px;
  margin-bottom: 20px;
}

.section-title {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 0.98;
  letter-spacing: -0.05em;
  max-width: 16ch;
}

.section-copy {
  margin: 0;
  max-width: 58ch;
  color: var(--ink-soft);
}

.grid-3,
.grid-2,
.helper-grid,
.footer-grid {
  display: grid;
  gap: 16px;
}

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

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

.feature-card,
.faq-card,
.legal-card,
.mini-card {
  padding: 22px;
}

.card-icon {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--paper-soft);
  color: var(--accent);
  font-size: 1rem;
  font-weight: 700;
}

.card-title {
  margin: 16px 0 10px;
  font-size: 1.32rem;
  line-height: 1.12;
  letter-spacing: -0.04em;
}

.card-copy {
  margin: 0;
  color: var(--ink-soft);
}

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

.timeline-list,
.plain-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.timeline-list li,
.plain-list li {
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.timeline-list li:first-child,
.plain-list li:first-child {
  padding-top: 0;
  border-top: 0;
}

.timeline-title,
.list-title {
  font-weight: 700;
  letter-spacing: -0.03em;
}

.timeline-copy,
.list-copy {
  margin-top: 4px;
  color: var(--ink-soft);
}

.cta-banner {
  margin-top: 24px;
  padding: 28px;
  background: var(--paper-soft);
}

.page-shell {
  display: grid;
  gap: 18px;
}

.page-hero {
  padding: 34px;
}

.prose-section {
  padding: 24px;
}

.prose-section h2 {
  margin: 0 0 10px;
  font-size: 1.45rem;
  line-height: 1.1;
  letter-spacing: -0.04em;
}

.prose-section p,
.prose-section li {
  color: var(--ink-soft);
}

.prose-section ul {
  margin: 0;
  padding-left: 20px;
}

.footer {
  margin-top: 28px;
  padding: 24px 28px 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: var(--paper);
  box-shadow: var(--shadow);
}

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

.footer-column {
  display: grid;
  gap: 10px;
}

.footer-title {
  color: var(--ink-muted);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-column a,
.footer-column span {
  color: var(--ink-soft);
  font-size: 0.95rem;
}

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

.footer-brand {
  max-width: 30ch;
}

.footer-bottom {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  color: var(--ink-muted);
  font-size: 0.88rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

@media (max-width: 1040px) {
  .hero-grid,
  .split-panel,
  .footer-grid {
    grid-template-columns: 1fr;
  }

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

  .hero-visual {
    min-height: 660px;
  }
}

@media (max-width: 720px) {
  .site-shell {
    width: min(100% - 20px, 1180px);
  }

  .page-frame {
    padding-top: 14px;
    padding-bottom: 40px;
  }

  .topbar,
  .hero-copy,
  .hero-visual,
  .section,
  .feature-card,
  .faq-card,
  .legal-card,
  .mini-card,
  .page-hero,
  .prose-section,
  .cta-banner,
  .footer {
    padding: 20px;
  }

  .nav-links {
    justify-content: flex-start;
  }

  .hero-grid,
  .grid-3,
  .grid-2,
  .helper-grid {
    grid-template-columns: 1fr;
  }

  .hero-title,
  .page-title {
    max-width: none;
  }

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

  .phone {
    width: 100%;
  }

  .screen-title {
    font-size: 2.45rem;
  }
}
