:root {
  --bg: #f5f1e6;
  --bg-soft: #efe8d7;
  --surface: #ffffff;
  --surface-alt: #fbf7ec;
  --ink: #0f2a4d;
  --text-soft: #1f3a5f;
  --muted: #6b7a90;
  --border: #e5dfcd;
  --blue: #1e90ff;
  --violet: #7c5bff;
  --magenta: #e94b9b;
  --orange: #ff8a3c;
  --gradient: linear-gradient(135deg, var(--blue), var(--violet), var(--magenta), var(--orange));
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--bg);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at top left, rgba(30, 144, 255, 0.12), transparent 36rem),
    radial-gradient(circle at 82% 10%, rgba(233, 75, 155, 0.14), transparent 32rem),
    var(--bg);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: min(1180px, calc(100% - 2rem));
  margin: 1rem auto 0;
  padding: 0.75rem 0.85rem;
  border: 1px solid rgba(229, 223, 205, 0.85);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 20px 60px rgba(15, 42, 77, 0.08);
  backdrop-filter: blur(18px);
}

.brand,
.nav-links,
.hero-actions,
.trust-row,
.platform-row,
.post-meta {
  display: flex;
  align-items: center;
}

.brand {
  gap: 0.55rem;
  font-weight: 850;
  letter-spacing: -0.04em;
  font-size: 1.2rem;
}

.brand img {
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 0.85rem;
}

.nav-links {
  gap: 1.4rem;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 650;
}

.nav-links a:hover,
.secondary-link:hover {
  color: var(--violet);
}

.header-cta {
  padding: 0.75rem 1.05rem;
  border-radius: 999px;
  color: #fff;
  font-weight: 800;
  background: var(--gradient);
  box-shadow: 0 12px 28px rgba(124, 91, 255, 0.25);
}

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

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.88fr);
  align-items: center;
  gap: 4rem;
  min-height: calc(100vh - 6rem);
  padding: 5rem 0 3rem;
}

.eyebrow {
  margin: 0 0 0.9rem;
  color: var(--violet);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 760px;
  margin-bottom: 1.25rem;
  font-size: clamp(3.25rem, 8vw, 6.9rem);
  line-height: 0.9;
  letter-spacing: -0.085em;
}

h2 {
  margin-bottom: 1rem;
  font-size: clamp(2rem, 4.5vw, 4rem);
  line-height: 0.96;
  letter-spacing: -0.065em;
}

h3 {
  margin-bottom: 0.6rem;
  font-size: 1.35rem;
  letter-spacing: -0.04em;
}

.hero-text,
.preview-copy > p {
  max-width: 640px;
  color: var(--text-soft);
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  line-height: 1.7;
}

.hero-actions {
  flex-wrap: wrap;
  gap: 1rem;
  margin: 2rem 0 1.5rem;
}

.app-store-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  min-width: 190px;
  padding: 0.78rem 1.05rem;
  border-radius: 1.15rem;
  color: #fff;
  background: #090c14;
  box-shadow: 0 20px 42px rgba(15, 42, 77, 0.2);
}

.badge-icon {
  font-size: 2rem;
  line-height: 1;
}

.app-store-badge small {
  display: block;
  font-size: 0.68rem;
  line-height: 1;
  opacity: 0.82;
}

.app-store-badge span:last-child {
  font-size: 1.15rem;
  font-weight: 850;
  line-height: 1.05;
}

.secondary-link {
  color: var(--ink);
  font-weight: 800;
}

.trust-row {
  flex-wrap: wrap;
  gap: 0.75rem;
}

.trust-row span {
  padding: 0.55rem 0.8rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.55);
  font-size: 0.9rem;
  font-weight: 750;
}

.hero-visual {
  position: relative;
  min-height: 670px;
}

.orb {
  position: absolute;
  border-radius: 999px;
  filter: blur(2px);
  opacity: 0.85;
}

.orb-blue {
  width: 15rem;
  height: 15rem;
  top: 4rem;
  right: 11rem;
  background: rgba(30, 144, 255, 0.16);
}

.orb-pink {
  width: 17rem;
  height: 17rem;
  right: 1rem;
  bottom: 5rem;
  background: rgba(233, 75, 155, 0.14);
}

.phone {
  position: absolute;
  border: 0.75rem solid #101829;
  border-radius: 3rem;
  background: #101829;
  box-shadow: 0 32px 90px rgba(15, 42, 77, 0.28);
}

.phone-main {
  top: 1rem;
  right: 6.3rem;
  width: 300px;
  min-height: 610px;
  transform: rotate(4deg);
}

.phone-secondary {
  right: 0;
  bottom: 2.5rem;
  width: 220px;
  min-height: 430px;
  transform: rotate(-8deg);
}

.phone-speaker {
  position: absolute;
  top: 0.65rem;
  left: 50%;
  width: 5.2rem;
  height: 0.45rem;
  border-radius: 999px;
  background: #26324a;
  transform: translateX(-50%);
  z-index: 2;
}

.app-screen {
  min-height: 586px;
  padding: 3rem 1rem 1rem;
  border-radius: 2.15rem;
  overflow: hidden;
  background: var(--bg);
}

.app-screen.compact {
  min-height: 406px;
  padding-top: 3.4rem;
  text-align: center;
}

.screen-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
}

.screen-header p,
.screen-header h2,
.app-screen h3,
.app-screen p {
  margin: 0;
}

.screen-header p {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
}

.screen-header h2 {
  font-size: 1.65rem;
  letter-spacing: -0.05em;
}

.pill {
  padding: 0.45rem 0.7rem;
  border-radius: 999px;
  color: var(--violet);
  background: #e9e2ff;
  font-size: 0.75rem;
  font-weight: 850;
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.4rem;
  margin: 1.4rem 0 1rem;
  padding: 0.8rem;
  border: 1px solid var(--border);
  border-radius: 1.35rem;
  background: #fff;
  text-align: center;
}

.calendar-grid span {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 850;
}

.calendar-grid b {
  padding: 0.65rem 0;
  border-radius: 0.9rem;
}

.calendar-grid .active {
  color: #fff;
  background: var(--violet);
}

.post-card {
  margin-top: 0.75rem;
  padding: 0.95rem;
  border: 1px solid var(--border);
  border-radius: 1.15rem;
  background: #fff;
}

.post-card p {
  margin-top: 0.8rem;
  color: var(--ink);
  font-size: 0.92rem;
  line-height: 1.45;
}

.post-meta {
  justify-content: space-between;
  gap: 1rem;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 700;
}

.status {
  padding: 0.3rem 0.55rem;
  border-radius: 999px;
  font-size: 0.67rem;
  font-weight: 900;
  text-transform: uppercase;
}

.scheduled {
  color: #b45309;
  background: #fef3c7;
}

.ai {
  color: var(--magenta);
  background: rgba(233, 75, 155, 0.13);
}

.platform-row {
  gap: 0.4rem;
  margin-top: 0.8rem;
}

.platform-row span {
  display: grid;
  place-items: center;
  width: 1.7rem;
  height: 1.7rem;
  border-radius: 0.55rem;
  color: #fff;
  background: var(--ink);
  font-size: 0.75rem;
  font-weight: 900;
}

.ai-card {
  background: linear-gradient(135deg, #fff, #fff6fb);
}

.gradient-icon {
  display: grid;
  place-items: center;
  width: 4rem;
  height: 4rem;
  margin: 0 auto 1rem;
  border-radius: 1.25rem;
  color: #fff;
  background: var(--gradient);
  font-size: 1.8rem;
}

.compact h3 {
  font-size: 1.55rem;
}

.compact p {
  margin: 0.6rem 0 1.2rem;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

.day-chips {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 1rem;
}

.day-chips span {
  padding: 0.5rem 0.6rem;
  border-radius: 999px;
  color: var(--violet);
  background: #e9e2ff;
  font-size: 0.78rem;
  font-weight: 850;
}

.compact button {
  width: 100%;
  border: 0;
  border-radius: 1rem;
  padding: 0.9rem;
  color: #fff;
  background: var(--gradient);
  font: inherit;
  font-weight: 900;
}

.feature-band,
.plans-section {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 5rem 0;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 2rem;
}

.features-grid,
.plan-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.features-grid article,
.plan-cards article,
.metric-card {
  border: 1px solid rgba(229, 223, 205, 0.95);
  border-radius: 1.6rem;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 18px 46px rgba(15, 42, 77, 0.07);
}

.features-grid article,
.plan-cards article {
  padding: 1.4rem;
}

.features-grid p,
.plan-cards p,
.check-list {
  color: var(--muted);
  line-height: 1.65;
}

.feature-icon {
  display: inline-flex;
  margin-bottom: 2.4rem;
  padding: 0.55rem 0.7rem;
  border-radius: 999px;
  color: #fff;
  background: var(--gradient);
  font-size: 0.74rem;
  font-weight: 950;
}

.preview-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  align-items: center;
  gap: 3rem;
  padding: 5rem 0;
}

.check-list {
  display: grid;
  gap: 0.7rem;
  margin: 1.2rem 0 0;
  padding-left: 1.2rem;
}

.stacked-cards {
  display: grid;
  gap: 1rem;
}

.metric-card {
  padding: 1.3rem;
}

.metric-card strong {
  display: block;
  font-size: 2.2rem;
  letter-spacing: -0.06em;
}

.metric-card span {
  color: var(--muted);
}

.featured-plan {
  position: relative;
  color: #fff;
  border: 0 !important;
  background: var(--gradient) !important;
  transform: translateY(-0.8rem);
}

.featured-plan p {
  color: rgba(255, 255, 255, 0.82);
}

.popular {
  display: inline-flex;
  margin-bottom: 1.2rem;
  padding: 0.45rem 0.65rem;
  border-radius: 999px;
  color: var(--ink);
  background: #fff;
  font-size: 0.75rem;
  font-weight: 900;
}

.price {
  margin-bottom: 0.5rem;
  color: var(--ink) !important;
  font-size: 2.35rem;
  font-weight: 950;
  letter-spacing: -0.06em;
}

.featured-plan .price {
  color: #fff !important;
}

.price span {
  color: currentColor;
  font-size: 1rem;
  opacity: 0.72;
}

.final-cta {
  width: min(940px, calc(100% - 2rem));
  margin: 2rem auto 5rem;
  padding: 4rem 1.5rem;
  border-radius: 2.4rem;
  text-align: center;
  background:
    radial-gradient(circle at 30% 20%, rgba(30, 144, 255, 0.18), transparent 20rem),
    radial-gradient(circle at 70% 0%, rgba(233, 75, 155, 0.18), transparent 18rem),
    #fff;
  box-shadow: 0 24px 70px rgba(15, 42, 77, 0.1);
}

.final-cta img {
  width: 5.5rem;
  height: 5.5rem;
  border-radius: 1.6rem;
  margin-bottom: 1.2rem;
}

.final-cta .app-store-badge {
  margin-top: 1rem;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 2rem 0;
  color: var(--muted);
  font-size: 0.92rem;
}

@media (max-width: 940px) {
  .nav-links {
    display: none;
  }

  .hero,
  .preview-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 4rem;
  }

  .hero-visual {
    min-height: 620px;
    max-width: 520px;
    width: 100%;
    margin: 0 auto;
  }

  .phone-main {
    left: 1rem;
    right: auto;
  }

  .phone-secondary {
    right: 1rem;
  }

  .features-grid,
  .plan-cards {
    grid-template-columns: 1fr;
  }

  .featured-plan {
    transform: none;
  }
}

@media (max-width: 560px) {
  .site-header {
    width: calc(100% - 1rem);
  }

  .header-cta {
    display: none;
  }

  .hero {
    gap: 2rem;
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero-visual {
    min-height: 540px;
    overflow: hidden;
  }

  .phone-main {
    left: 50%;
    width: 270px;
    min-height: 560px;
    transform: translateX(-50%) rotate(3deg);
  }

  .phone-secondary {
    display: none;
  }

  .app-screen {
    min-height: 536px;
  }

  .feature-band,
  .plans-section,
  .preview-section {
    padding: 3rem 0;
  }

  .site-footer {
    flex-direction: column;
  }
}
