:root {
  --ink: #1a1a2e;
  --muted: #5c5c7a;
  --soft: #f4f2f8;
  --paper: #fdfcff;
  --panel: #ffffff;
  --line: #e0dce8;
  --teal: #7B2FBE;
  --teal-dark: #5E1FA3;
  --teal-soft: #EDE5F8;
  --lime: #56C8E8;
  --blue: #4A7CF7;
  --coral: #e45f45;
  --gold: #d69a24;
  --shadow: 0 22px 70px rgba(26, 26, 46, 0.14);
  --tight-shadow: 0 12px 32px rgba(26, 26, 46, 0.1);
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: #ffffff;
  -webkit-font-smoothing: antialiased;
}

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

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

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

.hidden {
  display: none !important;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding: 0 32px;
  border-bottom: 1px solid rgba(224, 220, 232, 0.74);
  background: rgba(253, 252, 255, 0.84);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 999px;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.nav-links,
.header-actions,
.hero-actions,
.download-actions,
.hero-proof,
.site-footer nav {
  display: flex;
  align-items: center;
}

.nav-links {
  gap: 26px;
  color: var(--muted);
  font-size: 0.93rem;
  font-weight: 700;
}

.nav-links a:hover,
.text-link:hover,
.site-footer a:hover {
  color: var(--teal);
}

.header-actions {
  gap: 14px;
}

.text-link {
  color: var(--muted);
  font-size: 0.93rem;
  font-weight: 800;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border: 1px solid var(--teal);
  border-radius: 8px;
  background: var(--teal);
  color: white;
  font-weight: 800;
  box-shadow: 0 14px 28px rgba(123, 47, 190, 0.2);
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    background 160ms ease;
}

.button::after {
  content: "";
  width: 7px;
  height: 7px;
  margin-left: 10px;
  border-radius: 999px;
  background: var(--lime);
  box-shadow: 0 0 0 4px rgba(86, 200, 232, 0.25);
}

.button.secondary::after {
  background: var(--teal);
  box-shadow: 0 0 0 4px rgba(123, 47, 190, 0.12);
}

.button:hover {
  transform: translateY(-1px);
  background: var(--teal-dark);
  box-shadow: 0 18px 36px rgba(123, 47, 190, 0.24);
}

.button.secondary {
  border-color: var(--line);
  background: white;
  color: var(--ink);
  box-shadow: var(--tight-shadow);
}

.button.secondary:hover {
  border-color: rgba(123, 47, 190, 0.4);
  background: var(--teal-soft);
}

.button.small {
  min-height: 38px;
  padding: 0 16px;
  font-size: 0.9rem;
}

.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

.menu-button span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  border-radius: 999px;
  background: var(--ink);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  gap: 56px;
  align-items: center;
  width: min(1180px, calc(100% - 48px));
  min-height: calc(100vh - 72px);
  margin: 0 auto;
  padding: 72px 0 78px;
}

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

.eyebrow {
  margin: 0 0 14px;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 760px;
  margin-bottom: 20px;
  font-size: clamp(3.1rem, 7vw, 5.85rem);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 0.95;
}

.hero-lede {
  max-width: 610px;
  margin-bottom: 30px;
  color: var(--muted);
  font-size: clamp(1.08rem, 1.7vw, 1.28rem);
  line-height: 1.65;
}

.hero-actions {
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}

.hero-proof {
  flex-wrap: wrap;
  gap: 10px;
}

.hero-proof span {
  padding: 8px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: #4a4560;
  font-size: 0.85rem;
  font-weight: 800;
}

.hero-visual {
  position: relative;
  padding: 12px;
  border: 1px solid rgba(123, 47, 190, 0.16);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(237, 229, 248, 0.5)),
    white;
  box-shadow: var(--shadow);
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: -18px 36px auto auto;
  width: 170px;
  height: 170px;
  border-radius: 999px;
  background: rgba(86, 200, 232, 0.28);
  filter: blur(4px);
  z-index: -1;
}

.hero-visual img {
  width: 100%;
  border-radius: 8px;
  border: 1px solid rgba(26, 26, 46, 0.1);
}

.join-strip {
  position: absolute;
  right: 28px;
  bottom: 28px;
  left: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 13px 14px 13px 16px;
  border: 1px solid rgba(94, 31, 163, 0.12);
  border-radius: 8px;
  background: rgba(26, 26, 46, 0.9);
  color: white;
  box-shadow: 0 18px 42px rgba(26, 26, 46, 0.22);
  backdrop-filter: blur(12px);
}

.join-strip div {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.join-strip span {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.join-strip strong {
  overflow: hidden;
  font-size: 1rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.join-strip a {
  display: inline-flex;
  min-height: 40px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  padding: 0 15px;
  border-radius: 8px;
  background: var(--lime);
  color: var(--ink);
  font-weight: 900;
}

.callout {
  position: absolute;
  display: grid;
  gap: 3px;
  min-width: 218px;
  padding: 14px 16px;
  border: 1px solid rgba(224, 220, 232, 0.9);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--tight-shadow);
}

.callout span {
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.callout strong {
  font-size: 1rem;
}

.callout small {
  color: var(--muted);
  font-size: 0.82rem;
}

.callout-top {
  top: 30px;
  right: -22px;
}

.callout-bottom {
  left: -24px;
  bottom: 104px;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto 36px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--tight-shadow);
}

.metrics div {
  display: grid;
  gap: 4px;
  padding: 28px;
  border-right: 1px solid var(--line);
}

.metrics div:last-child {
  border-right: 0;
}

.metrics strong {
  font-size: clamp(1.55rem, 3vw, 2.35rem);
  font-weight: 900;
}

.metrics span {
  color: var(--muted);
  font-weight: 700;
}

.product-section,
.workflow-section,
.desktop-section,
.pricing-section,
.help-section,
.download-section {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 88px 0;
}

.section-heading {
  max-width: 730px;
  margin-bottom: 34px;
}

.section-heading h2,
.workflow-copy h2,
.desktop-panel h2,
.download-card h2 {
  margin-bottom: 14px;
  font-size: clamp(2rem, 4vw, 3.35rem);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.02;
}

.section-heading p,
.workflow-copy > p,
.desktop-panel p,
.download-card p {
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.65;
}

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

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

.help-card {
  display: grid;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  padding: 22px;
  box-shadow: var(--tight-shadow);
}

.help-card h3 {
  font-size: 1.05rem;
}

.help-card p {
  color: var(--muted);
  line-height: 1.55;
}

.feature-card {
  min-height: 280px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--tight-shadow);
}

.feature-number {
  color: var(--teal);
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.feature-card h3 {
  margin: 34px 0 12px;
  font-size: 1.35rem;
}

.feature-card p {
  color: var(--muted);
  line-height: 1.62;
}

.workflow-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 72px;
  align-items: center;
}

.steps {
  display: grid;
  gap: 16px;
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
}

.steps li {
  display: grid;
  grid-template-columns: 104px 1fr;
  gap: 18px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
}

.steps span {
  color: var(--teal);
  font-weight: 900;
}

.steps p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.phone-frame {
  position: relative;
  padding: 12px;
  border: 1px solid rgba(123, 47, 190, 0.16);
  border-radius: 8px;
  background: white;
  box-shadow: var(--shadow);
}

.phone-frame img {
  border-radius: 8px;
  border: 1px solid rgba(23, 33, 31, 0.1);
}

.desktop-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px 420px;
  gap: 34px;
  align-items: center;
  padding: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(123, 47, 190, 0.1), rgba(255, 255, 255, 0.9)),
    white;
  box-shadow: var(--shadow);
}

.desktop-visual {
  position: relative;
  display: grid;
  margin: 0;
  padding: 14px;
  border: 1px solid rgba(123, 47, 190, 0.16);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(237, 229, 248, 0.58)),
    white;
  box-shadow: var(--tight-shadow);
}

.desktop-wallpaper {
  width: 100%;
  border: 1px solid rgba(26, 26, 46, 0.08);
  border-radius: 8px;
}

.floating-day-card,
.floating-alert-card {
  position: absolute;
  display: grid;
  gap: 4px;
  min-width: 168px;
  padding: 12px 14px;
  border: 1px solid rgba(224, 220, 232, 0.94);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--tight-shadow);
}

.floating-day-card {
  top: 18px;
  left: 18px;
}

.floating-alert-card {
  right: 18px;
  bottom: 18px;
}

.floating-day-card span,
.floating-alert-card span {
  color: var(--teal);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.floating-day-card strong,
.floating-alert-card strong {
  font-size: 1rem;
  line-height: 1.2;
}

.floating-day-card small,
.floating-alert-card small {
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.35;
}

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

.check-list li {
  padding: 13px 14px;
  border: 1px solid rgba(123, 47, 190, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.7);
  font-weight: 850;
}

.check-list li::before {
  content: "";
  display: inline-block;
  width: 9px;
  height: 9px;
  margin-right: 10px;
  border-radius: 999px;
  background: var(--teal);
}

.pricing-section {
  padding-top: 68px;
}

.pricing-heading {
  max-width: 820px;
}

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

.pricing-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 24px;
  min-height: 470px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--tight-shadow);
}

.pricing-card.featured {
  border-color: rgba(123, 47, 190, 0.34);
  background:
    linear-gradient(180deg, rgba(237, 229, 248, 0.82), rgba(255, 255, 255, 0.95)),
    white;
  box-shadow: var(--shadow);
}

.plan-badge,
.pricing-kicker,
.pricing-note {
  color: var(--teal);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.plan-badge {
  position: absolute;
  top: 18px;
  right: 18px;
  padding: 7px 9px;
  border: 1px solid rgba(123, 47, 190, 0.2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
}

.pricing-kicker {
  margin-bottom: 12px;
}

.pricing-card h3 {
  margin-bottom: 12px;
  font-size: clamp(2.1rem, 4vw, 3.2rem);
  font-weight: 900;
  letter-spacing: 0;
}

.pricing-card h3 span {
  color: var(--muted);
  font-size: 1rem;
  font-weight: 800;
}

.pricing-copy {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.pricing-card ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pricing-card li {
  display: flex;
  gap: 10px;
  color: #3d3654;
  font-weight: 760;
  line-height: 1.45;
}

.pricing-card li::before {
  content: "";
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  margin-top: 8px;
  border-radius: 999px;
  background: var(--teal);
}

.pricing-card .button,
.pricing-note {
  margin-top: auto;
  align-self: flex-start;
}

.pricing-card .button.secondary {
  box-shadow: none;
}

.pricing-note {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  letter-spacing: 0;
  text-transform: none;
}

.download-card {
  max-width: 880px;
  margin: 0 auto;
  padding: 46px;
  border: 1px solid rgba(123, 47, 190, 0.18);
  border-radius: 8px;
  background: var(--ink);
  color: white;
  box-shadow: var(--shadow);
  text-align: center;
}

.download-card .eyebrow {
  color: #81eee3;
}

.download-card p {
  color: rgba(255, 255, 255, 0.72);
}

.download-card .button.secondary {
  background: transparent;
  color: white;
  border-color: rgba(255, 255, 255, 0.24);
  box-shadow: none;
}

.download-actions {
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.platform-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 30px;
  text-align: left;
}

.platform-card {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 14px;
  align-items: start;
  min-height: 188px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.platform-card.active {
  background: rgba(255, 255, 255, 0.1);
}

.platform-icon {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid rgba(129, 238, 227, 0.28);
  border-radius: 8px;
  background: rgba(129, 238, 227, 0.1);
  color: #81eee3;
}

.platform-icon svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.platform-card h3 {
  margin: 1px 0 6px;
  font-size: 1.08rem;
}

.platform-card p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.5;
}

.platform-card .button,
.platform-status {
  grid-column: 1 / -1;
  justify-self: start;
  margin-top: 4px;
}

.platform-card .button {
  min-height: 40px;
  padding: 0 16px;
}

.platform-status {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.88rem;
  font-weight: 900;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 34px 32px;
  border-top: 1px solid var(--line);
  background: rgba(253, 252, 255, 0.72);
}

.site-footer p {
  margin: 0;
  color: var(--muted);
  font-weight: 650;
}

.site-footer nav {
  gap: 18px;
  color: var(--muted);
  font-weight: 800;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 520ms ease,
    transform 520ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .hero,
  .workflow-section,
  .desktop-panel {
    grid-template-columns: 1fr;
  }

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

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

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

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

  .workflow-section {
    gap: 36px;
  }

  .phone-frame {
    max-width: 520px;
  }
}

@media (max-width: 760px) {
  .site-header {
    padding: 0 18px;
  }

  .menu-button {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 72px;
    left: 12px;
    right: 12px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: white;
    box-shadow: var(--tight-shadow);
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links a {
    padding: 13px 12px;
  }

  .header-actions .text-link {
    display: none;
  }

  .hero,
  .metrics,
  .product-section,
  .workflow-section,
  .desktop-section,
  .pricing-section,
  .help-section,
  .download-section {
    width: min(100% - 28px, 1180px);
  }

  h1 {
    font-size: clamp(2.55rem, 15vw, 4.5rem);
  }

  .hero {
    gap: 32px;
    padding-bottom: 50px;
  }

  .callout {
    position: static;
    min-width: 0;
    margin-top: 10px;
  }

  .join-strip {
    position: static;
    margin-top: 10px;
  }

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

  .metrics div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .metrics div:last-child {
    border-bottom: 0;
  }

  .product-section,
  .workflow-section,
  .desktop-section,
  .pricing-section,
  .help-section,
  .download-section {
    padding: 58px 0;
  }

  .steps li {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .desktop-panel,
  .download-card,
  .feature-card,
  .help-card {
    padding: 24px;
  }

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

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ==========================================================================
   Legal and Article Document Styling
   ========================================================================== */
.legal-page {
  background: var(--soft);
  min-height: calc(100vh - 72px);
  padding: 60px 0 80px;
}

.legal-container {
  max-width: 840px;
  margin: 0 auto;
  padding: 48px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--tight-shadow);
}

.legal-header {
  border-bottom: 1px solid var(--line);
  padding-bottom: 28px;
  margin-bottom: 34px;
}

.legal-header h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 900;
  margin-bottom: 12px;
  line-height: 1.1;
  color: var(--ink);
}

.legal-meta {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.legal-body {
  color: var(--ink);
  line-height: 1.7;
  font-size: 1.05rem;
}

.legal-body h2 {
  font-size: 1.45rem;
  font-weight: 800;
  margin-top: 36px;
  margin-bottom: 16px;
  color: var(--teal);
}

.legal-body h3 {
  font-size: 1.15rem;
  font-weight: 800;
  margin-top: 24px;
  margin-bottom: 12px;
  color: var(--ink);
}

.legal-body p {
  margin-bottom: 20px;
}

.legal-body ul, .legal-body ol {
  margin-bottom: 24px;
  padding-left: 24px;
}

.legal-body li {
  margin-bottom: 8px;
}

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

.legal-body a {
  color: var(--teal);
  font-weight: 700;
  text-decoration: underline;
}

.legal-body a:hover {
  color: var(--teal-dark);
}

@media (max-width: 760px) {
  .legal-page {
    padding: 30px 0 60px;
  }
  .legal-container {
    padding: 28px 20px;
    border-radius: 0;
    border-left: none;
    border-right: none;
  }
}
