@import url("https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,500;9..144,600;9..144,700&family=Work+Sans:wght@400;500;600;700&display=swap");

:root {
  --bg: #f6f1e8;
  --surface: rgba(255, 255, 255, 0.78);
  --text: #1f2937;
  --text-muted: #6b7280;
  --line: rgba(31, 41, 55, 0.09);
  --primary: #6366f1;
  --primary-deep: #4749d1;
  --primary-soft: rgba(99, 102, 241, 0.12);
  --success: #10b981;
  --success-soft: rgba(16, 185, 129, 0.12);
  --shadow: 0 22px 60px rgba(44, 52, 76, 0.12);
  --shadow-soft: 0 18px 40px rgba(44, 52, 76, 0.08);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --container: 1180px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Work Sans", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(99, 102, 241, 0.12), transparent 34%),
    radial-gradient(circle at 85% 10%, rgba(246, 200, 186, 0.55), transparent 22%),
    linear-gradient(180deg, #faf6ef 0%, var(--bg) 46%, #f9f4eb 100%);
}

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

a {
  color: inherit;
}

button,
summary {
  font: inherit;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  z-index: 100;
  padding: 0.9rem 1.15rem;
  border-radius: 999px;
  background: var(--primary);
  color: #fff;
  text-decoration: none;
}

.skip-link:focus {
  top: 1rem;
}

.announcement-bar {
  padding: 0.85rem 1.25rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.88);
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.96), rgba(70, 72, 172, 0.92));
  font-size: 0.95rem;
  letter-spacing: 0.02em;
}

.announcement-bar p {
  margin: 0;
}

.site-header,
.section,
.signal-band,
.site-footer,
.legal-shell,
.support-shell,
.error-shell {
  width: min(calc(100% - 2rem), var(--container));
  margin-inline: auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.brand span {
  font-size: 1.15rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.site-nav a,
.footer-nav a {
  color: var(--text-muted);
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.footer-nav a:hover,
.footer-nav a:focus-visible,
.brand:hover,
.brand:focus-visible {
  color: var(--text);
}

.nav-pill {
  padding: 0.75rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.66);
}

.menu-toggle {
  display: none;
  padding: 0.7rem 0.95rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--text);
}

.section {
  padding: 2rem 0 5rem;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 3rem;
  align-items: center;
  padding-top: 2rem;
}

.eyebrow,
.floating-label,
.feature-kicker,
.price-label,
.comparison-label,
.support-label {
  margin: 0 0 1rem;
  color: var(--primary-deep);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Fraunces", serif;
  line-height: 0.95;
  letter-spacing: -0.04em;
}

h1 {
  max-width: 11ch;
  font-size: clamp(3.6rem, 7vw, 6.9rem);
}

h2 {
  max-width: 12ch;
  font-size: clamp(2.2rem, 4.2vw, 4rem);
}

h3 {
  font-size: clamp(1.5rem, 2vw, 2rem);
}

p {
  color: var(--text-muted);
  line-height: 1.7;
}

.hero-lede,
.section-heading p,
.price-copy,
.footer-copy,
.legal-hero p {
  max-width: 58ch;
  font-size: 1.08rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.25rem;
  padding: 0.9rem 1.25rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

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

.button-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--primary-deep));
  box-shadow: 0 14px 30px rgba(71, 73, 209, 0.24);
}

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

.hero-points {
  display: grid;
  gap: 0.8rem;
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
}

.hero-points li {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--text);
  font-weight: 500;
}

.hero-points li::before {
  content: "";
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--primary), var(--success));
  box-shadow: 0 0 0 6px rgba(99, 102, 241, 0.1);
}

.hero-stage {
  position: relative;
  min-height: 640px;
}

.aurora {
  position: absolute;
  border-radius: 999px;
  filter: blur(24px);
  opacity: 0.7;
}

.aurora-one {
  top: 0;
  right: 5%;
  width: 14rem;
  height: 14rem;
  background: rgba(99, 102, 241, 0.22);
}

.aurora-two {
  bottom: 12%;
  left: 8%;
  width: 11rem;
  height: 11rem;
  background: rgba(246, 200, 186, 0.35);
}

.device-shell,
.floating-card,
.comparison-card,
.feature-card,
.value-panel,
.price-card,
.support-card,
.legal-card,
.closing-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: var(--surface);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow-soft);
}

.device-shell {
  position: relative;
  width: min(100%, 420px);
  margin-left: auto;
  padding: 1.25rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.78));
  transform: rotate(-4deg);
  box-shadow: var(--shadow);
}

.device-header {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 1rem;
  color: var(--text);
  font-weight: 700;
}

.device-dot {
  width: 0.6rem;
  height: 0.6rem;
  border-radius: 999px;
  background: var(--primary);
}

.device-meta {
  margin-left: auto;
  color: var(--text-muted);
  font-size: 0.92rem;
}

.mock-list {
  display: grid;
  gap: 0.85rem;
}

.mock-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.85rem;
  padding: 0.9rem;
  border-radius: var(--radius-md);
  background: rgba(247, 241, 233, 0.88);
  border: 1px solid rgba(31, 41, 55, 0.06);
}

.mock-row strong {
  display: block;
  margin-bottom: 0.2rem;
  color: var(--text);
}

.mock-row p {
  margin: 0;
  font-size: 0.92rem;
}

.mock-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 999px;
  font-weight: 700;
  color: var(--primary-deep);
  background: var(--primary-soft);
}

.mock-check,
.mock-pill {
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: lowercase;
}

.mock-check {
  color: #0e8060;
  background: var(--success-soft);
}

.mock-pill {
  color: var(--primary-deep);
  background: var(--primary-soft);
}

.mock-meter {
  width: 5rem;
  height: 0.55rem;
  border-radius: 999px;
  background: rgba(31, 41, 55, 0.08);
  overflow: hidden;
}

.mock-meter span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--primary), var(--success));
}

.mock-rating {
  display: flex;
  gap: 0.35rem;
}

.mock-rating i {
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 999px;
  background: rgba(31, 41, 55, 0.16);
}

.mock-rating .is-on {
  background: var(--success);
}

.floating-card {
  position: absolute;
  padding: 1rem 1.1rem;
}

.floating-card strong {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 1.05rem;
}

.floating-card p {
  margin: 0;
  font-size: 0.95rem;
}

.reminder-card {
  top: 7%;
  left: 3%;
  width: 240px;
  transform: rotate(6deg);
}

.rhythm-card {
  right: 2%;
  bottom: 16%;
  width: 220px;
}

.workout-card {
  left: 9%;
  bottom: 2%;
  width: 250px;
  transform: rotate(-5deg);
}

.rhythm-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.rhythm-tags span {
  padding: 0.35rem 0.6rem;
  border-radius: 999px;
  background: rgba(99, 102, 241, 0.08);
  color: var(--primary-deep);
  font-size: 0.83rem;
  font-weight: 700;
}

.signal-band {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin: 0 auto 3.5rem;
  padding: 1.1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.62);
  backdrop-filter: blur(10px);
}

.signal-band div {
  padding: 1rem 1.1rem;
  border-radius: var(--radius-md);
  background: rgba(255, 248, 238, 0.8);
}

.signal-band strong {
  display: block;
  margin-bottom: 0.45rem;
  font-size: 1.05rem;
}

.signal-band p {
  margin: 0;
  font-size: 0.96rem;
}

.section-heading {
  display: grid;
  gap: 1rem;
  margin-bottom: 2rem;
}

.comparison-grid,
.feature-grid,
.values-grid,
.pricing-grid,
.support-grid {
  display: grid;
  gap: 1rem;
}

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

.comparison-card {
  padding: 1.75rem;
}

.comparison-card ul,
.price-list {
  display: grid;
  gap: 0.75rem;
  margin: 1.25rem 0 0;
  padding: 0;
  list-style: none;
}

.comparison-card li,
.price-list li {
  position: relative;
  padding-left: 1.3rem;
  color: var(--text);
}

.comparison-card li::before,
.price-list li::before {
  content: "";
  position: absolute;
  top: 0.65rem;
  left: 0;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 999px;
  background: var(--primary);
}

.comparison-card-rigid {
  background: linear-gradient(180deg, rgba(31, 41, 55, 0.96), rgba(51, 65, 85, 0.9));
  color: #fff;
}

.comparison-card-rigid .comparison-label,
.comparison-card-rigid li {
  color: rgba(255, 255, 255, 0.88);
}

.comparison-card-rigid li::before {
  background: rgba(255, 255, 255, 0.48);
}

.comparison-card-cadence {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(244, 250, 247, 0.9));
}

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

.feature-card,
.value-panel,
.price-card,
.support-card {
  padding: 1.5rem;
}

.feature-card p,
.value-panel p,
.support-card p {
  margin-bottom: 0;
}

.feature-card-accent {
  background: linear-gradient(180deg, rgba(99, 102, 241, 0.1), rgba(255, 255, 255, 0.88));
}

.cadence-track {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.cadence-step {
  position: relative;
  padding: 1.4rem 1.2rem 1.2rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.68);
  overflow: hidden;
}

.cadence-step::before {
  content: "";
  position: absolute;
  inset: auto auto 0 0;
  width: 100%;
  height: 0.45rem;
  background: linear-gradient(90deg, var(--primary), var(--success));
}

.cadence-step strong {
  display: block;
  margin-bottom: 0.45rem;
  font-size: 1.15rem;
}

.cadence-step span {
  color: var(--text-muted);
}

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

.value-panel {
  min-height: 100%;
  background: rgba(255, 255, 255, 0.72);
}

.pricing-grid {
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
}

.price-card h3 {
  margin-top: 0.2rem;
}

.price-card-primary {
  background: linear-gradient(180deg, rgba(99, 102, 241, 0.12), rgba(255, 255, 255, 0.9));
}

.faq-list {
  display: grid;
  gap: 1rem;
}

.faq-list details {
  padding: 1.2rem 1.35rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.7);
}

.faq-list summary {
  cursor: pointer;
  color: var(--text);
  font-weight: 700;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list p {
  margin: 0.9rem 0 0;
}

.closing-section {
  padding-bottom: 5.5rem;
}

.closing-card {
  position: relative;
  padding: 2rem;
  overflow: hidden;
  background:
    radial-gradient(circle at top right, rgba(99, 102, 241, 0.14), transparent 24%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(255, 248, 238, 0.92));
}

.closing-card::after {
  content: "";
  position: absolute;
  right: -2rem;
  bottom: -2rem;
  width: 14rem;
  height: 14rem;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.08);
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem 2rem;
  padding: 1.2rem 0 2rem;
  border-top: 1px solid var(--line);
}

.brand-footer {
  margin-bottom: 0.75rem;
}

.footer-copy,
.footer-meta {
  margin: 0;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: start;
  justify-content: end;
}

.footer-meta {
  grid-column: 1 / -1;
  padding-top: 0.25rem;
  color: var(--text-muted);
}

.legal-shell,
.support-shell,
.error-shell {
  padding: 2rem 0 5rem;
}

.legal-hero {
  max-width: 52rem;
  margin-bottom: 2rem;
}

.legal-card {
  padding: 1.75rem;
}

.legal-card h2 {
  margin-top: 2rem;
  margin-bottom: 0.8rem;
  font-size: clamp(1.45rem, 2vw, 2rem);
}

.legal-card h2:first-child {
  margin-top: 0;
}

.legal-card ul {
  margin: 0;
  padding-left: 1.2rem;
}

.legal-card li + li {
  margin-top: 0.55rem;
}

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

.support-card h2 {
  margin-top: 0.2rem;
  font-size: clamp(1.15rem, 1.8vw, 1.55rem);
  line-height: 1.15;
}

.page-error {
  display: grid;
  place-items: center;
}

.error-shell {
  display: grid;
  place-items: center;
  min-height: 100vh;
}

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

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

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 1.25rem;
  color: var(--text-muted);
  font-size: 0.92rem;
}

.breadcrumb a {
  text-decoration: none;
}

.hub-hero,
.article-hero {
  padding-top: 1rem;
  padding-bottom: 2.5rem;
}

.page-seo h1 {
  max-width: 14ch;
}

.hub-grid,
.topic-grid,
.article-section-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.hub-card,
.topic-card,
.section-card,
.comparison-table-card {
  padding: 1.5rem;
}

.hub-card h3 a {
  color: inherit;
  text-decoration: none;
}

.hub-card h3 a:hover,
.hub-card h3 a:focus-visible,
.topic-links a:hover,
.topic-links a:focus-visible {
  color: var(--primary-deep);
}

.tag-list,
.topic-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 1.25rem 0 0;
  padding: 0;
  list-style: none;
}

.tag-list li,
.topic-links a,
.topic-links li {
  padding: 0.45rem 0.7rem;
  border-radius: 999px;
  background: rgba(99, 102, 241, 0.08);
  color: var(--primary-deep);
  font-size: 0.84rem;
  font-weight: 700;
}

.topic-links li {
  list-style: none;
}

.topic-links a {
  display: inline-flex;
  text-decoration: none;
}

.topic-links-bullets {
  display: grid;
  gap: 0.65rem;
}

.topic-links-bullets li {
  padding: 0;
  border-radius: 0;
  background: transparent;
  color: var(--text);
  font-size: 1rem;
  font-weight: 500;
}

.comparison-table-card {
  overflow-x: auto;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
}

.comparison-table th,
.comparison-table td {
  padding: 0.95rem 1rem;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.comparison-table th {
  color: var(--text);
  font-weight: 700;
}

.section-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow-soft);
}

.section-card h2 {
  margin-bottom: 1rem;
  font-size: clamp(1.6rem, 2.3vw, 2.4rem);
}

.topic-card p:last-child,
.hub-card p:last-child,
.section-card p:last-child {
  margin-bottom: 0;
}

@media (max-width: 1040px) {
  .hero,
  .pricing-grid,
  .comparison-grid,
  .feature-grid,
  .values-grid,
  .support-grid,
  .signal-band,
  .site-footer {
    grid-template-columns: 1fr;
  }

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

  .device-shell {
    margin-inline: auto;
  }

  .reminder-card {
    top: 4%;
    left: 4%;
  }

  .workout-card {
    left: 2%;
    bottom: 3%;
  }

  .rhythm-card {
    right: 4%;
  }

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

  .footer-nav {
    justify-content: start;
  }
}

@media (max-width: 760px) {
  .site-header {
    position: relative;
    align-items: start;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 0.35rem);
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.96);
    box-shadow: var(--shadow-soft);
  }

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

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

  .hero {
    padding-top: 1rem;
  }

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

  .floating-card {
    width: min(15.5rem, calc(100% - 2rem));
  }

  .rhythm-card,
  .workout-card,
  .reminder-card {
    transform: none;
  }

  .signal-band {
    margin-bottom: 2.5rem;
  }

  .cadence-track {
    grid-template-columns: 1fr;
  }

  .legal-card,
  .closing-card,
  .support-card,
  .feature-card,
  .comparison-card,
  .price-card {
    padding: 1.3rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal,
  .button {
    transition: none;
  }
}
