@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap");

:root {
  --bg: #ffffff;
  --surface: #ffffff;
  --text: #1f2435;
  --muted: #667085;
  --line: #ece8e1;
  --soft: #f4eee8;
  --accent: #6429e4;
  --accent-dark: #5222bf;
  --shadow: rgba(31, 36, 53, 0.08);
  --radius-lg: 24px;
  --radius-md: 18px;
  --display-font: "Cormorant Garamond", "Times New Roman", serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family:
    "Manrope",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color: var(--text);
  background: var(--bg);
}

body.has-modal {
  overflow: hidden;
}

body.view-articles {
  background: #f7f1e8;
  color: #171717;
}

body.view-about {
  background: #ffffff;
  color: #171717;
}

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

button,
input,
textarea {
  font: inherit;
}

button {
  border: 0;
  cursor: pointer;
}

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

.page-background {
  display: none;
}

.app-root {
  min-height: 100vh;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.container {
  width: min(1280px, calc(100% - 48px));
  margin: 0 auto;
}

.narrow {
  width: min(850px, 100%);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid #f0ece6;
}

.header-inner {
  min-height: 82px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
}

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

.brand-icon {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  object-fit: cover;
  flex-shrink: 0;
}

.brand-wordmark {
  font-size: 1.82rem;
  font-weight: 700;
  letter-spacing: -0.06em;
}

.nav-links,
.header-actions,
.hero-actions,
.rating-proof,
.dialog-actions,
.quiz-actions,
.headline-row {
  display: flex;
  align-items: center;
  gap: 26px;
}

.nav-links {
  justify-content: start;
  color: #2e3342;
  font-size: 0.95rem;
  font-weight: 500;
}

.nav-links a {
  position: relative;
}

.nav-links a.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -10px;
  height: 1px;
  background: rgba(100, 41, 228, 0.55);
}

.header-actions {
  gap: 16px;
  justify-content: flex-end;
  flex-wrap: wrap;
}

.language-picker {
  position: relative;
  display: inline-block;
}

.language-trigger,
.language-option {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: white;
  border: 1px solid #ddd7cf;
  transition:
    border-color 160ms ease,
    transform 160ms ease,
    box-shadow 160ms ease;
}

.language-trigger {
  width: 42px;
  height: 42px;
  padding: 3px;
  border-radius: 999px;
}

.language-option {
  width: 100%;
  min-height: 44px;
  justify-content: flex-start;
  gap: 10px;
  padding: 6px 10px 6px 6px;
  border-radius: 14px;
}

.language-trigger:hover,
.language-option:hover,
.language-option.is-active {
  border-color: rgba(100, 41, 228, 0.45);
  box-shadow: 0 10px 22px rgba(31, 36, 53, 0.08);
  transform: translateY(-1px);
}

.language-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  min-width: 190px;
  padding: 12px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid #ece8e1;
  box-shadow: 0 18px 36px rgba(31, 36, 53, 0.12);
  backdrop-filter: blur(10px);
}

.flag-circle {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  overflow: hidden;
  flex: 0 0 28px;
  box-shadow: inset 0 0 0 1px rgba(31, 36, 53, 0.08);
}

.language-trigger .flag-circle {
  width: 100%;
  height: 100%;
  flex: none;
}

.flag-circle svg {
  width: 100%;
  height: 100%;
  display: block;
}

.language-option-label {
  color: #1f2435;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
}

.account-menu {
  position: relative;
}

.account-trigger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid #ddd7cf;
  border-radius: 999px;
  background: #ffffff;
  color: #1f2435;
  font-weight: 600;
  transition:
    border-color 160ms ease,
    transform 160ms ease,
    box-shadow 160ms ease;
}

.account-trigger:hover,
.account-trigger.is-active {
  border-color: rgba(100, 41, 228, 0.42);
  box-shadow: 0 10px 22px rgba(31, 36, 53, 0.08);
  transform: translateY(-1px);
}

.account-trigger-icon {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  stroke-width: 1.8;
  fill: none;
}

.account-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  display: grid;
  gap: 8px;
  min-width: 190px;
  padding: 12px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid #ece8e1;
  box-shadow: 0 18px 36px rgba(31, 36, 53, 0.12);
  backdrop-filter: blur(10px);
}

.account-option {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  min-height: 44px;
  padding: 0 12px;
  border-radius: 14px;
  background: #ffffff;
  color: #1f2435;
  border: 1px solid #e7e0d7;
  font-weight: 600;
  text-align: left;
  transition:
    border-color 160ms ease,
    transform 160ms ease,
    box-shadow 160ms ease;
}

.account-option:hover,
.account-option.is-active {
  border-color: rgba(100, 41, 228, 0.42);
  box-shadow: 0 10px 22px rgba(31, 36, 53, 0.08);
  transform: translateY(-1px);
}

.link-button {
  background: transparent;
  color: #1f2435;
  font-weight: 500;
}

.primary-button,
.secondary-button,
.ghost-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 20px;
  border-radius: 10px;
  font-weight: 700;
  text-align: center;
}

.primary-button {
  background: var(--accent);
  color: white;
  box-shadow: 0 8px 18px rgba(100, 41, 228, 0.2);
}

.secondary-button {
  background: white;
  color: var(--text);
  border: 1px solid #ddd7cf;
}

.ghost-button {
  background: #f3ebff;
  color: var(--accent);
}

.large-button {
  min-height: 42px;
}

.small-button {
  min-height: 44px;
}

.full-width-button {
  width: 100%;
  justify-content: center;
}

.hero-section {
  padding: 48px 0 42px;
}

.hero-grid,
.feature-grid,
.pricing-grid,
.faq-grid,
.quiz-shell,
.results-hero {
  display: grid;
  gap: 34px;
}

.hero-grid {
  /* grid-template-columns: minmax(700px, 1.08fr) minmax(0, 0.92fr); */
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.02fr);
  align-items: center;
}

.hero-copy h1,
.intro-center h2,
.section-heading h2,
.pricing-copy h2,
.faq-grid h2,
.quiz-sidebar h2,
.results-hero h1,
.results-summary h2 {
  margin: 0;
  font-size: clamp(2.95rem, 5.2vw, 4.05rem);
  line-height: 1.04;
  letter-spacing: -0.065em;
  font-weight: 700;
}

.hero-copy h1 {
  max-width: 620px;
}

.lead,
.intro-center p,
.feature-item p,
.pricing-copy p,
.faq-intro,
.quiz-sidebar p,
.quiz-card p,
.results-panel p,
.results-summary p,
.testimonial-card p {
  color: var(--muted);
  line-height: 1.55;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--accent);
  font-weight: 600;
  font-size: 1rem;
}

.small-eyebrow {
  font-size: 0.92rem;
  color: #202534;
}

.lead {
  max-width: 590px;
  margin-top: 22px;
  font-size: 1.04rem;
}

.lead em {
  font-style: italic;
}

.hero-actions {
  gap: 0;
  margin-top: 26px;
}

.micro-copy {
  margin: 18px 0 8px;
  color: var(--muted);
  font-size: 0.92rem;
}

.rating-proof {
  gap: 14px;
  margin-top: 6px;
}

.avatar-row {
  display: flex;
}

.avatar-row img {
  width: 34px;
  height: 34px;
  margin-right: -8px;
  border-radius: 999px;
  border: 2px solid white;
  object-fit: cover;
  object-position: center;
  display: block;
  background: linear-gradient(135deg, #dfc7b5, #f4e3d7);
}

.stars-row {
  color: #f4b73e;
  font-size: 1.1rem;
}

.stars-row strong {
  color: #2d3341;
  margin-left: 8px;
  font-size: 1rem;
}

.rating-copy p,
.compact-proof p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.hero-visual {
  position: relative;
}

.hero-card-visual {
  position: relative;
  width: min(100%, 620px);
  aspect-ratio: 1 / 1;
  margin-left: auto;
  overflow: visible;
}

.hero-media-crop {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.hero-main-image {
  width: 100%;
  height: 100%;
  border-radius: 0;
  object-fit: cover;
  display: block;
}

.hero-card-visual video.hero-main-image {
  position: absolute;
  inset: 0;
  object-fit: cover;
  object-position: center center;
  transform: scale(1.48);
  transform-origin: center center;
}

.floating-note {
  position: absolute;
  left: -184px;
  bottom: 8px;
  width: 355px;
  padding: 20px 28px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 10px 24px rgba(31, 36, 53, 0.08);
  color: #111827;
  backdrop-filter: blur(3px);
}

.floating-note-row {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 58px;
  font-size: 0.98rem;
  font-weight: 600;
  line-height: 1.25;
  white-space: nowrap;
}

.floating-note-row + .floating-note-row {
  margin-top: 2px;
}

.check-bullet {
  display: inline-grid;
  flex: 0 0 34px;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: #d9f9e8;
  color: #16a34a;
  font-size: 1.35rem;
  font-weight: 700;
}

.section-block {
  padding: 54px 0 72px;
}

.intro-center {
  text-align: center;
}

.intro-center h2,
.section-heading h2,
.pricing-copy h2,
.faq-grid h2,
.results-summary h2 {
  font-size: clamp(2.18rem, 3.6vw, 2.85rem);
}

.intro-center p {
  max-width: 860px;
  margin: 18px auto 0;
  font-size: 1rem;
}

.feature-grid,
.pricing-grid,
.faq-grid {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
}

.feature-list,
.bullet-list,
.faq-list {
  display: grid;
  gap: 26px;
}

.feature-section-heading {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin: -65px auto 28px;
  text-align: center;
  font-size: 1.5rem;
  font-weight: 700;
  color: #1f2435;
}

.feature-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 20px;
  align-items: start;
}

.feature-icon {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: radial-gradient(
    circle,
    #f7f1ff 0%,
    #f7f1ff 62%,
    #fbf8ff 62%,
    #fbf8ff 100%
  );
  color: var(--accent);
  box-shadow: inset 0 0 0 1px rgba(111, 52, 233, 0.03);
}

.feature-icon svg {
  width: 18px;
  height: 18px;
  stroke-width: 1.55;
}

.feature-item h3,
.step-card h3,
.article-card h3,
.quiz-card h3,
.routine-card h3 {
  margin: 0;
  font-size: 1.08rem;
  font-weight: 700;
}

.device-showcase {
  display: grid;
  place-items: center;
  padding: 20px;
  background: #fafafa;
}

.device-stack {
  width: 100%;
  max-width: 430px;
}

.feature-preview-image {
  display: block;
  width: 100%;
  height: auto;
}

.testimonials-section {
  background: var(--soft);
}

.centered {
  text-align: center;
}

.compact-proof {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 14px;
}

.testimonial-grid,
.steps-grid,
.article-grid,
.routine-grid {
  display: grid;
  gap: 18px;
}

.testimonial-carousel {
  margin-top: 34px;
}

.testimonial-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: stretch;
}

.testimonial-card,
.step-card,
.article-card,
.pricing-card,
.quiz-card,
.results-panel,
.routine-card {
  background: white;
  border: 1px solid #ddd7cf;
  border-radius: 16px;
  box-shadow: none;
  overflow: hidden;
}

.testimonial-card img,
.article-card img {
  width: 100%;
  height: 238px;
  object-fit: cover;
}

.testimonial-image-wrap {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid #ece4db;
}

.testimonial-card p,
.testimonial-meta,
.article-card h3,
.article-meta,
.article-link,
.pricing-card,
.quiz-card,
.results-panel,
.routine-card {
  padding-left: 12px;
  padding-right: 12px;
}

.testimonial-meta {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding-bottom: 12px;
  color: var(--muted);
}

.testimonial-card p {
  margin: 12px 0 10px;
  font-size: 0.95rem;
  line-height: 1.45;
  color: #434b5f;
}

.testimonial-meta strong {
  display: block;
  color: #202637;
}

.testimonial-meta span {
  display: block;
  margin-top: 3px;
}

.testimonial-stars {
  color: #f4b73e;
  font-size: 1.05rem;
  white-space: nowrap;
}

.testimonial-carousel-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 18px;
}

.testimonial-dots {
  display: flex;
  align-items: center;
  gap: 8px;
}

.testimonial-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: #ddd6cb;
}

.testimonial-dot.is-active {
  background: #6f3be8;
}

.testimonial-arrows {
  display: flex;
  align-items: center;
  gap: 10px;
}

.testimonial-arrow {
  width: 34px;
  height: 34px;
  border: 1px solid #ddd7cf;
  border-radius: 999px;
  background: white;
  color: #3d4457;
  font-size: 1rem;
  line-height: 1;
}

.testimonial-arrow:disabled {
  opacity: 0.45;
}

.testimonial-disclaimer {
  max-width: 880px;
  margin: 18px auto 0;
  text-align: center;
  font-size: 0.8rem;
  line-height: 1.45;
  color: #6d7386;
}

@media (max-width: 1023px) {
  .testimonial-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 719px) {
  .testimonial-grid {
    grid-template-columns: 1fr;
  }

  .testimonial-carousel-footer {
    flex-direction: column;
  }
}

.steps-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
  margin-top: 72px;
}

.step-card {
  text-align: center;
  padding: 0 10px 0;
  border: 0;
  background: transparent;
}

.step-image-wrap {
  width: 236px;
  height: 236px;
  margin: 0 auto 26px;
  border-radius: 999px;
  background: var(--soft);
  overflow: hidden;
}

.step-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.step-card h3 {
  margin: 0 0 8px;
  font-size: 1.08rem;
  line-height: 1.3;
}

.step-card p {
  max-width: 300px;
  margin: 0 auto;
  font-size: 0.96rem;
  line-height: 1.45;
  color: #5f6679;
}

#how-it-works {
  padding-bottom: 142px;
}

.pricing-panel {
  background: var(--soft);
  border-radius: 24px;
  padding: 26px 28px;
}

.pricing-copy h2 {
  max-width: 540px;
  font-size: clamp(1.95rem, 3vw, 2.7rem);
  line-height: 1.12;
  letter-spacing: -0.055em;
}

.bullet-list {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
}

.bullet-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-weight: 500;
}

.bullet-list li::before {
  content: "";
}

.pricing-intro-label {
  margin: 22px 0 0;
  font-size: 0.98rem;
  font-weight: 700;
  color: #2a3143;
}

.bullet-icon {
  display: inline-grid;
  flex: 0 0 42px;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: radial-gradient(
    circle,
    #f7f1ff 0%,
    #f7f1ff 62%,
    #fbf8ff 62%,
    #fbf8ff 100%
  );
  color: var(--accent);
}

.bullet-icon svg {
  width: 18px;
  height: 18px;
  stroke-width: 1.55;
}

.pricing-card {
  max-width: 430px;
  margin-left: auto;
  padding: 24px 22px 20px;
  border-radius: 18px;
}

.price-label,
.starting-from {
  text-align: center;
}

.price-label {
  font-size: 1.55rem;
  font-weight: 700;
}

.starting-from {
  margin-top: 4px;
  color: var(--muted);
}

.price-number {
  text-align: center;
  font-size: 3.55rem;
  font-weight: 700;
  letter-spacing: -0.07em;
}

.price-perks {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  padding: 14px 0;
  margin: 12px 0 14px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}

.price-perks span::before {
  content: "\2713";
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  margin-right: 8px;
  border-radius: 999px;
  background: #d9f9e8;
  color: #16a34a;
  font-weight: 700;
  font-size: 1.2rem;
  line-height: 1;
  vertical-align: middle;
}

.pricing-bonus {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-bottom: 14px;
  padding: 14px 16px;
  border: 1px solid #ddd7cf;
  border-radius: 8px;
  background: white;
}

.pricing-bonus-copy {
  display: grid;
  gap: 2px;
  font-size: 0.92rem;
  line-height: 1.4;
  color: #596174;
}

.pricing-bonus-copy strong {
  color: #23293a;
}

.faq-grid-wrap {
  padding-top: 42px;
}

.faq-grid {
  align-items: start;
}

.faq-item {
  border-top: 1px solid #ece8e1;
  padding: 20px 0;
}

.faq-item:last-child {
  border-bottom: 1px solid #ece8e1;
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  background: transparent;
  padding: 0;
  text-align: left;
  font-size: 1rem;
  font-weight: 600;
}

.faq-answer {
  margin: 14px 0 0;
  color: var(--muted);
}

.headline-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}

#articles {
  padding-top: 84px;
  padding-bottom: 68px;
}

#articles .section-heading {
  margin-bottom: 38px;
}

#articles .headline-row h2 {
  max-width: 760px;
  margin: 8px 0 0;
  font-size: clamp(2.15rem, 3.4vw, 3.6rem);
  line-height: 1.02;
  letter-spacing: -0.06em;
}

#articles .small-button {
  min-height: 48px;
  padding: 0 22px;
  border-radius: 12px;
  white-space: nowrap;
}

.article-carousel {
  display: grid;
  gap: 34px;
}

.article-card {
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  overflow: visible;
}

.article-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  align-items: start;
}

.article-image-wrap {
  position: relative;
  overflow: hidden;
  margin-bottom: 16px;
  border-radius: 14px;
  background: #edf4f0;
  aspect-ratio: 1.3 / 1;
}

.article-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 180ms ease;
}

.article-card:hover img {
  transform: scale(1.018);
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-top: 0;
  padding-left: 0;
  padding-right: 0;
  margin-bottom: 12px;
  color: #737a8d;
  font-size: 0.78rem;
  font-weight: 500;
}

.article-meta span {
  margin-left: 0;
  color: #737a8d;
}

.article-tag {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 0 10px;
  border-radius: 999px;
  background: #f3ecff;
  color: #7a49ea;
  font-weight: 700;
}

.article-read-time {
  white-space: nowrap;
}

.article-card h3 {
  padding-left: 0;
  padding-right: 0;
  margin: 0;
  font-size: 1.08rem;
  line-height: 1.32;
  letter-spacing: -0.02em;
  color: #22293a;
}

.article-title-link {
  color: inherit;
}

.article-link {
  background: transparent;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding-top: 0;
  padding-left: 0;
  padding-right: 0;
  margin-top: 16px;
  font-weight: 700;
}

.article-link-arrow {
  font-size: 1rem;
  line-height: 1;
}

.article-carousel-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.article-dots {
  display: flex;
  align-items: center;
  gap: 8px;
}

.article-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: #e1dcd4;
}

.article-dot.is-active {
  background: #6f3be8;
}

.article-arrows {
  display: flex;
  align-items: center;
  gap: 10px;
}

.article-arrow {
  width: 42px;
  height: 42px;
  border: 1px solid #e3ddd4;
  border-radius: 999px;
  background: white;
  color: #6d7282;
  font-size: 1rem;
}

.article-arrow:disabled {
  opacity: 0.45;
  cursor: default;
}

.article-arrow:not(:disabled):hover {
  border-color: #cfc7bc;
  color: #3c4355;
}

.article-arrow:focus-visible,
.article-dot:focus-visible {
  outline: 2px solid rgba(111, 59, 232, 0.35);
  outline-offset: 2px;
}

#articles + .newsletter-bar {
  margin-top: 12px;
}

.newsletter-bar {
  margin-top: 28px;
  background: var(--accent);
  color: white;
}

.articles-page {
  padding-bottom: 30px;
}

.articles-archive-hero {
  padding: 58px 0 24px;
}

.archive-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.55fr);
  gap: 44px;
  align-items: end;
}

.archive-kicker,
.archive-article-tag,
.archive-article-meta time {
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.archive-kicker {
  margin: 0 0 18px;
  color: rgba(23, 23, 23, 0.54);
}

.archive-title,
.archive-feature-copy h2,
.archive-article-copy h2 {
  margin: 0;
  font-family: var(--display-font);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 0.94;
}

.archive-title {
  font-size: clamp(5.1rem, 10vw, 7.5rem);
  max-width: 7ch;
}

.archive-intro {
  margin: 0;
  max-width: 26rem;
  padding-bottom: 12px;
  color: rgba(23, 23, 23, 0.72);
  font-size: 1.02rem;
  line-height: 1.7;
}

.archive-filter-section {
  padding: 8px 0 28px;
}

.archive-filter-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  padding: 14px 0 0;
  border-top: 1px solid rgba(23, 23, 23, 0.12);
  overflow-x: auto;
  scrollbar-width: none;
}

.archive-filter-nav::-webkit-scrollbar {
  display: none;
}

.archive-filter {
  position: relative;
  flex: 0 0 auto;
  padding: 0 0 8px;
  background: transparent;
  color: rgba(23, 23, 23, 0.52);
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.archive-filter::after,
.archive-feature-copy h2::after,
.archive-article-copy h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: rgba(100, 41, 228, 0.7);
  transition: width 220ms ease;
}

.archive-filter.is-active,
.archive-filter:hover {
  color: #171717;
}

.archive-filter.is-active::after,
.archive-filter:hover::after {
  width: 100%;
}

.archive-feature-section {
  padding: 0 0 34px;
}

.archive-feature-media {
  display: block;
  width: min(calc(100vw - 64px), 1460px);
  margin: 0 auto;
  overflow: hidden;
  background: #ece7dd;
  aspect-ratio: 1.74 / 1;
}

.archive-feature-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  will-change: transform;
}

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

.archive-feature-copy {
  grid-column: 3 / span 7;
}

.archive-feature-link,
.archive-article-media-link,
.archive-article-copy {
  display: block;
  color: inherit;
  text-decoration: none;
}

.archive-article-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
  color: rgba(23, 23, 23, 0.56);
}

.archive-article-tag {
  color: rgba(23, 23, 23, 0.78);
}

.archive-feature-copy h2 {
  position: relative;
  display: inline;
  font-size: clamp(3.4rem, 5.8vw, 5.7rem);
}

.archive-editorial-section {
  padding: 26px 0 40px;
}

.archive-editorial-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 44px 24px;
  align-items: start;
}

.archive-article {
  display: grid;
  gap: 16px;
}

.archive-article-portrait {
  grid-column: 1 / span 4;
}

.archive-article-wide {
  grid-column: 6 / -1;
  margin-top: 82px;
}

.archive-article-offset {
  grid-column: 7 / span 4;
  margin-top: 22px;
}

.archive-article-full {
  grid-column: 1 / -1;
  margin-top: 30px;
}

.archive-article-image-wrap {
  overflow: hidden;
  background: #ece7dd;
}

.archive-article-portrait .archive-article-image-wrap {
  aspect-ratio: 0.82 / 1;
}

.archive-article-wide .archive-article-image-wrap {
  aspect-ratio: 1.42 / 1;
}

.archive-article-offset .archive-article-image-wrap {
  aspect-ratio: 0.9 / 1;
}

.archive-article-full .archive-article-image-wrap {
  aspect-ratio: 2.16 / 1;
}

.archive-article-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition:
    transform 280ms ease,
    opacity 280ms ease;
}

.archive-article-copy h2 {
  position: relative;
  display: inline;
  font-size: clamp(2.1rem, 3.2vw, 3.5rem);
}

.archive-article-copy {
  display: block;
}

.archive-article:hover .archive-article-image-wrap img {
  opacity: 0.92;
  transform: scale(1.016);
}

.archive-feature-copy:hover h2::after,
.archive-article:hover .archive-article-copy h2::after {
  width: 100%;
}

[data-reveal] {
  opacity: 0;
  transform: translate3d(0, 30px, 0);
  transition:
    opacity 760ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 760ms cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--reveal-delay, 0ms);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

body.view-articles .site-header {
  background: rgba(247, 241, 232, 0.94);
  border-bottom-color: rgba(23, 23, 23, 0.08);
}

body.view-articles .site-footer {
  background: transparent;
}

body.view-articles .footer-main {
  padding-top: 54px;
}

body.view-articles .footer-bottom {
  border-top-color: rgba(23, 23, 23, 0.12);
}

.article-detail-page {
  padding-bottom: 80px;
}

.container-wide {
  width: min(1460px, calc(100% - 64px));
  margin: 0 auto;
}

.article-detail-shell {
  padding-top: 28px;
}

.article-detail-heading {
  padding: 42px 0 28px;
}

.article-detail-heading-inner {
  max-width: 980px;
  margin: 0 auto;
  text-align: center;
}

.article-detail-taxonomy {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 26px;
  flex-wrap: wrap;
  justify-content: center;
}

.article-detail-taxonomy span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 8px;
  background: rgba(23, 23, 23, 0.06);
  color: rgba(23, 23, 23, 0.74);
  font-size: 0.84rem;
  font-weight: 600;
}

.article-detail-title {
  max-width: 12ch;
  margin: 0 auto;
  font-size: clamp(3.5rem, 6.4vw, 5.2rem);
  line-height: 0.94;
  letter-spacing: -0.06em;
}

.article-detail-byline {
  display: inline-block;
  margin: 26px 0 0;
  padding-bottom: 2px;
  border-bottom: 1px solid rgba(23, 23, 23, 0.18);
  font-size: 0.92rem;
  font-weight: 600;
}

.article-detail-cover {
  overflow: hidden;
  background: #ece7dd;
}

.article-detail-cover img {
  width: 100%;
  min-height: 420px;
  max-height: 720px;
  object-fit: cover;
  display: block;
  will-change: transform;
}

.article-detail-body {
  padding: 56px 0 0;
}

.article-detail-grid {
  width: min(1100px, calc(100% - 48px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 56px;
}

.article-detail-side {
  position: sticky;
  top: 120px;
  align-self: start;
}

.article-detail-content {
  max-width: 760px;
}

.article-detail-intro p,
.article-section p,
.article-section li,
.article-strategy p,
.article-strategy li {
  font-size: 1.15rem;
  line-height: 1.78;
  color: rgba(23, 23, 23, 0.86);
}

.article-detail-intro p {
  margin: 0 0 22px;
}

.article-detail-intro p:first-child {
  font-size: 1.3rem;
  line-height: 1.7;
}

.article-section {
  margin-top: 58px;
}

.article-section h2 {
  margin: 0 0 18px;
  font-size: 2.3rem;
  font-weight: 600;
  letter-spacing: -0.04em;
}

.article-section h3 {
  margin: 0 0 14px;
  font-size: 1.48rem;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.article-section h4 {
  margin: 0 0 12px;
  font-size: 1.08rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.article-section ul,
.article-section ol,
.article-strategy ul,
.article-routine ul {
  margin: 18px 0 0;
  padding-left: 24px;
}

.article-section li,
.article-strategy li,
.article-routine li {
  margin-bottom: 12px;
}

.article-strategy + .article-strategy {
  margin-top: 34px;
}

.article-routine {
  margin-top: 22px;
  padding: 24px 28px;
  border: 1px solid rgba(23, 23, 23, 0.08);
  background: rgba(255, 255, 255, 0.36);
}

.article-detail-back {
  display: inline-flex;
  align-items: center;
  margin-top: 20px;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(100, 41, 228, 0.4);
  color: rgba(23, 23, 23, 0.78);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.article-share-button {
  position: fixed;
  right: 32px;
  bottom: 32px;
  z-index: 25;
  display: inline-grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 999px;
  background: #0f0f10;
  color: white;
  box-shadow: 0 16px 32px rgba(15, 15, 16, 0.18);
}

.article-share-button svg {
  width: 22px;
  height: 22px;
}

.article-share-toast {
  position: fixed;
  right: 98px;
  bottom: 40px;
  z-index: 25;
  padding: 12px 16px;
  border-radius: 999px;
  background: rgba(15, 15, 16, 0.92);
  color: white;
  font-size: 0.88rem;
  font-weight: 600;
}

.article-detail-empty {
  padding-top: 120px;
}

.article-detail-empty-copy {
  max-width: 760px;
  text-align: center;
}

.about-page {
  padding: 28px 0 0;
}

.about-detail-cover {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: 28px;
}

.about-detail-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(12, 10, 8, 0.34);
  pointer-events: none;
  z-index: 1;
}

.about-detail-cover img {
  min-height: 380px;
  max-height: 680px;
  object-position: center 32%;
  filter: brightness(0.78);
}

.about-detail-hero-copy {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  padding: clamp(28px, 4vw, 52px);
  pointer-events: none;
}

.about-detail-hero-title {
  margin: 0;
  max-width: 10ch;
  color: #ffffff;
  font-family: var(--display-font);
  font-size: clamp(3.6rem, 8vw, 6.2rem);
  font-weight: 600;
  letter-spacing: -0.055em;
  line-height: 0.9;
  text-wrap: balance;
  text-shadow: 0 10px 30px rgba(0, 0, 0, 0.24);
}

.about-detail-body {
  padding-top: 52px;
}

.about-detail-label {
  margin: 0 0 14px;
}

.about-detail-content {
  max-width: 780px;
}

.about-detail-intro p,
.about-detail-content .article-section p,
.about-detail-content .article-section li {
  font-family: var(--display-font);
  font-size: 1.38rem;
  line-height: 1.48;
  color: rgba(23, 23, 23, 0.88);
}

.about-detail-intro p {
  margin: 0 0 24px;
}

.about-detail-intro p:first-child {
  font-size: 1.58rem;
}

.about-detail-content .article-section {
  margin-top: 66px;
}

.about-detail-content .article-section h2 {
  margin-bottom: 20px;
  font-family: var(--display-font);
  font-size: clamp(2.5rem, 4vw, 3.2rem);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 0.96;
}

.about-detail-content .article-section ul {
  margin-top: 22px;
  padding-left: 26px;
}

.about-detail-content .article-section li {
  margin-bottom: 14px;
}

.treatments-page {
  padding-bottom: 24px;
}

.treatments-hero-section {
  padding: 54px 0 84px;
}

.treatments-section {
  padding: 96px 0;
}

.treatments-section-alt {
  background: #faf9f7;
}

.treatments-hero-grid,
.treatments-type-row {
  display: grid;
  gap: 56px;
}

.treatments-hero-grid {
  grid-template-columns: minmax(0, 1.18fr) minmax(0, 0.96fr);
  align-items: center;
}

.treatments-hero-copy {
  max-width: 520px;
}

.treatments-heading {
  margin-bottom: 46px;
}

.treatments-heading.centered,
.treatments-final-cta-inner {
  text-align: center;
}

.treatments-eyebrow {
  margin: 0 0 18px;
  color: rgba(100, 41, 228, 0.9);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.treatments-display,
.treatments-section-title,
.treatments-type-copy h3 {
  margin: 0;
  font-family: var(--display-font);
  font-weight: 500;
  letter-spacing: -0.05em;
  line-height: 0.95;
  text-wrap: balance;
}

.treatments-display {
  font-size: clamp(3.2rem, 6vw, 4.8rem);
}

.treatments-section-title {
  font-size: clamp(2.45rem, 4vw, 3.35rem);
}

.treatments-body {
  margin: 0;
  color: rgba(23, 23, 23, 0.72);
  font-size: 1.02rem;
  line-height: 1.68;
}

.treatments-hero-body {
  margin-top: 22px;
}

.treatments-cta {
  min-height: 54px;
  padding: 0 28px;
  border-radius: 999px;
  margin-top: 30px;
  box-shadow: 0 10px 22px rgba(100, 41, 228, 0.18);
}

.treatments-cta-large {
  min-height: 58px;
  padding: 0 34px;
}

.treatments-placeholder {
  display: grid;
  place-items: center;
  padding: 28px;
  border: 1px solid #ebe4d9;
  background: linear-gradient(180deg, #faf7f1 0%, #f3eee6 100%);
  color: #8d847a;
  text-align: center;
}

.treatments-placeholder span {
  max-width: 24ch;
  font-size: 0.82rem;
  line-height: 1.55;
}

.treatments-media {
  overflow: hidden;
  background: #ece7dd;
}

.treatments-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.treatments-media-hero {
  aspect-ratio: 1.08 / 1;
}

.treatments-media-landscape {
  aspect-ratio: 16 / 10;
}

.treatments-media-portrait {
  aspect-ratio: 4 / 5;
}

.treatments-placeholder-hero {
  aspect-ratio: 1.08 / 1;
}

.treatments-placeholder-landscape {
  aspect-ratio: 16 / 10;
}

.treatments-placeholder-portrait {
  aspect-ratio: 4 / 5;
}

.treatments-concern-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 60px 40px;
}

.treatments-concern-card {
  display: grid;
  gap: 16px;
}

.treatments-concern-media-link {
  display: block;
  color: inherit;
}

.treatments-concern-copy {
  display: grid;
  gap: 10px;
}

.treatments-concern-label {
  margin: 0;
  color: #171717;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.treatments-concern-description {
  max-width: 33ch;
}

.treatments-inline-link,
.treatments-type-related a {
  color: var(--accent);
  font-weight: 700;
}

.treatments-inline-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.treatments-steps-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 30px;
}

.treatments-step {
  padding-top: 20px;
  border-top: 1px solid rgba(23, 23, 23, 0.12);
}

.treatments-step-number {
  margin-bottom: 12px;
  color: rgba(100, 41, 228, 0.34);
  font-family: var(--display-font);
  font-size: 3.2rem;
  line-height: 0.9;
}

.treatments-step h3 {
  margin: 0 0 12px;
  color: #171717;
  font-size: 1.08rem;
  font-weight: 700;
}

.treatments-actions {
  margin-top: 42px;
}

.treatments-type-list {
  display: grid;
  gap: 82px;
}

.treatments-type-row {
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1fr);
  align-items: center;
}

.treatments-type-row.is-reversed .treatments-type-media {
  order: 2;
}

.treatments-type-row.is-reversed .treatments-type-copy {
  order: 1;
}

.treatments-type-copy {
  max-width: 540px;
}

.treatments-type-tag {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 14px;
  margin-bottom: 18px;
  border-radius: 999px;
  background: #f2edff;
  color: #6d38ec;
  font-size: 0.82rem;
  font-weight: 700;
}

.treatments-type-copy h3 {
  font-size: clamp(2.05rem, 3.2vw, 2.65rem);
}

.treatments-type-copy .treatments-body {
  margin-top: 18px;
}

.treatments-type-related {
  margin: 18px 0 0;
  color: rgba(23, 23, 23, 0.62);
  font-size: 0.95rem;
  line-height: 1.6;
}

.treatments-results-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.treatments-result-card {
  display: grid;
  gap: 16px;
  padding: 24px;
  border: 1px solid #e8e5e0;
  border-radius: 8px;
  background: #ffffff;
}

.treatments-stars {
  display: flex;
  gap: 4px;
  color: var(--accent);
  font-size: 0.9rem;
}

.treatments-result-quote,
.treatments-result-attribution,
.treatments-proof-line {
  margin: 0;
}

.treatments-result-quote {
  color: rgba(23, 23, 23, 0.82);
  font-size: 1rem;
  line-height: 1.72;
  font-style: italic;
}

.treatments-result-attribution {
  color: rgba(23, 23, 23, 0.72);
  font-weight: 600;
}

.treatments-proof-line {
  margin-top: 30px;
  color: #24262f;
  text-align: center;
  font-size: 1rem;
  font-weight: 600;
}

.treatments-final-cta {
  padding-top: 112px;
  padding-bottom: 118px;
}

.treatments-final-cta-inner {
  max-width: 720px;
  margin: 0 auto;
}

.treatments-final-title {
  font-size: clamp(3rem, 4.8vw, 4rem);
}

.treatments-final-cta .treatments-body {
  margin-top: 18px;
}

.treatments-page [data-reveal] {
  transform: translate3d(0, 20px, 0);
  transition:
    opacity 0.4s ease,
    transform 0.4s ease;
  transition-delay: var(--reveal-delay, 0ms);
}

.app-page {
  padding-bottom: 24px;
}

.plans-page {
  padding-bottom: 24px;
}

.plans-hero-section {
  padding: 56px 0 96px;
}

.plans-shell {
  max-width: 1140px;
  margin: 0 auto;
}

.plans-hero-copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 26px;
  max-width: 620px;
  margin: 0 auto 48px;
  text-align: center;
}

.plans-title {
  margin: 0;
  color: #1f2435;
  font-family: var(--display-font);
  font-size: clamp(3rem, 5vw, 4.4rem);
  font-weight: 500;
  letter-spacing: -0.05em;
  line-height: 0.9;
  text-wrap: balance;
}

.plans-intro {
  margin: 0 auto;
  padding-top: 15px;
  width: 100%;
  max-width: 32ch;
  text-align: center;
  text-wrap: balance;
}

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

.plans-feedback {
  max-width: 520px;
  margin: 0 auto 24px;
  padding: 14px 18px;
  border: 1px solid rgba(180, 127, 40, 0.18);
  border-radius: 18px;
  background: rgba(255, 247, 232, 0.96);
  color: rgba(110, 74, 20, 0.92);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.5;
  text-align: center;
  box-shadow: 0 12px 28px rgba(82, 63, 24, 0.05);
}

.plans-account-summary {
  max-width: 720px;
  margin: 0 auto 24px;
  padding: 24px 28px;
  border: 1px solid rgba(100, 41, 228, 0.14);
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(245, 239, 255, 0.95), rgba(255, 255, 255, 0.98));
  box-shadow: 0 18px 40px rgba(100, 41, 228, 0.08);
  text-align: center;
}

.plans-account-summary.is-loading {
  background: rgba(255, 255, 255, 0.96);
  border-color: rgba(25, 29, 42, 0.08);
  box-shadow: 0 12px 26px rgba(25, 29, 42, 0.05);
}

.plans-account-summary h2,
.plans-account-summary p {
  margin: 0;
}

.plans-account-summary h2 {
  margin-top: 12px;
  color: #1f2435;
  font-family: var(--display-font);
  font-size: clamp(2rem, 3.8vw, 2.8rem);
  font-weight: 600;
  letter-spacing: -0.045em;
}

.plans-account-summary p {
  max-width: 48ch;
  margin: 14px auto 0;
  color: rgba(31, 36, 53, 0.76);
  line-height: 1.6;
}

.plans-account-summary .secondary-button {
  margin-top: 18px;
}

.plans-account-pill {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(100, 41, 228, 0.1);
  color: #6429e4;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.plan-card {
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-height: 100%;
  padding: 24px;
  border: 1px solid rgba(25, 29, 42, 0.08);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 18px 40px rgba(25, 29, 42, 0.06);
}

.plan-card.is-featured {
  border-color: rgba(100, 41, 228, 0.22);
  box-shadow: 0 24px 56px rgba(100, 41, 228, 0.12);
}

.plan-card.is-current {
  border-color: rgba(100, 41, 228, 0.26);
  background: linear-gradient(180deg, rgba(245, 239, 255, 0.92), rgba(255, 255, 255, 0.98));
}

.plan-card-top,
.plan-price-row,
.plans-includes {
  display: flex;
  align-items: center;
}

.plan-card-top,
.plan-price-row {
  justify-content: space-between;
}

.plan-name,
.plan-summary {
  margin: 0;
}

.plan-name {
  color: #171717;
  font-size: 1rem;
  font-weight: 700;
}

.plan-price-row {
  align-items: baseline;
  gap: 10px;
  margin-top: 12px;
}

.plan-price {
  color: #171717;
  font-family: var(--display-font);
  font-size: clamp(2.4rem, 4vw, 3.2rem);
  line-height: 0.95;
  letter-spacing: -0.06em;
}

.plan-interval,
.plan-summary {
  color: rgba(23, 23, 23, 0.68);
}

.plan-interval {
  font-size: 0.95rem;
  font-weight: 600;
}

.plan-badge {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(100, 41, 228, 0.1);
  color: #6429e4;
  font-size: 0.8rem;
  font-weight: 700;
}

.plan-state-chip {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(39, 123, 76, 0.12);
  color: #216743;
  font-size: 0.8rem;
  font-weight: 800;
}

.plan-summary {
  line-height: 1.6;
}

.plan-extra-note {
  margin: -4px 0 0;
  color: rgba(31, 36, 53, 0.7);
  font-size: 0.93rem;
  line-height: 1.55;
}

.plans-includes {
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  max-width: 880px;
  margin: 26px auto 0;
}

.plans-includes span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid rgba(25, 29, 42, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: rgba(23, 23, 23, 0.76);
  font-size: 0.9rem;
  font-weight: 600;
}

.profile-page {
  padding-bottom: 24px;
}

.profile-section {
  padding: 56px 0 96px;
}

.profile-shell {
  max-width: 1140px;
  margin: 0 auto;
}

.profile-hero-copy {
  display: flex;
  flex-direction: column;
  gap: 18px;
  max-width: 620px;
  margin-bottom: 40px;
}

.profile-hero-copy-centered {
  align-items: center;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.profile-hero-copy-centered .plans-intro {
  width: auto;
  margin-left: auto;
  margin-right: auto;
}

.profile-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
  gap: 22px;
  align-items: start;
}

.profile-card {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 28px;
  border: 1px solid rgba(25, 29, 42, 0.08);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 20px 46px rgba(25, 29, 42, 0.07);
}

.profile-signin-card {
  max-width: 620px;
  margin: 0 auto;
  text-align: center;
}

.profile-card-copy-block {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.profile-section-label {
  margin: 0;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.profile-card-title,
.profile-card-copy,
.profile-plan-name,
.profile-helper,
.profile-period-text,
.profile-inline-state {
  margin: 0;
}

.profile-card-title {
  color: #1f2435;
  font-size: 1.7rem;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.profile-card-copy,
.profile-helper,
.profile-period-text,
.profile-inline-state {
  color: rgba(31, 36, 53, 0.72);
  line-height: 1.6;
}

.profile-inline-state {
  padding: 16px 18px;
  border: 1px solid rgba(25, 29, 42, 0.08);
  border-radius: 20px;
  background: #fbfaf8;
}

.profile-inline-state.is-warning {
  border-color: rgba(180, 127, 40, 0.18);
  background: rgba(255, 247, 232, 0.96);
  color: rgba(110, 74, 20, 0.92);
}

.profile-plan-surface {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 24px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(247, 242, 255, 0.74), rgba(255, 255, 255, 0.98));
  border: 1px solid rgba(100, 41, 228, 0.12);
}

.profile-plan-surface.is-empty,
.profile-account-surface {
  background: rgba(251, 250, 248, 0.96);
  border-color: rgba(25, 29, 42, 0.08);
}

.profile-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.profile-plan-name {
  color: #1f2435;
  font-family: var(--display-font);
  font-size: clamp(2rem, 3.7vw, 2.7rem);
  font-weight: 600;
  letter-spacing: -0.05em;
  line-height: 0.95;
}

.profile-status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(25, 29, 42, 0.08);
  color: #394050;
  font-size: 0.82rem;
  font-weight: 700;
}

.profile-status-pill.is-active {
  background: rgba(39, 123, 76, 0.12);
  color: #216743;
}

.profile-status-pill.is-muted {
  background: rgba(180, 127, 40, 0.14);
  color: #8e651f;
}

.profile-detail-list {
  display: grid;
}

.profile-detail-row {
  display: grid;
  grid-template-columns: minmax(0, 150px) minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  padding: 14px 0;
  border-top: 1px solid rgba(25, 29, 42, 0.08);
}

.profile-detail-row:first-child {
  border-top: 0;
  padding-top: 0;
}

.profile-detail-label {
  color: rgba(31, 36, 53, 0.64);
  font-size: 0.95rem;
}

.profile-detail-value {
  color: #1f2435;
  font-size: 1rem;
  font-weight: 700;
  text-align: right;
  word-break: break-word;
}

.profile-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.profile-signin-card .profile-actions {
  justify-content: center;
}

.app-hero-section {
  padding: 54px 0 84px;
}

.app-section {
  padding: 96px 0;
}

.app-section-alt {
  background: #faf9f7;
}

.app-hero-grid,
.app-walkthrough-row {
  display: grid;
  gap: 56px;
}

.app-hero-grid {
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.92fr);
  align-items: center;
}

.app-hero-copy,
.app-walkthrough-copy {
  max-width: 540px;
}

.app-heading {
  margin-bottom: 46px;
}

.app-heading.centered,
.app-final-cta-inner {
  text-align: center;
}

.app-eyebrow {
  margin: 0 0 0px;
  color: rgba(100, 41, 228, 0.9);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.app-display,
.app-section-title,
.app-walkthrough-copy h3,
.app-final-title {
  margin: 0;
  font-family: var(--display-font);
  font-weight: 500;
  letter-spacing: -0.05em;
  line-height: 0.95;
  text-wrap: balance;
}

.app-display {
  font-size: clamp(3.2rem, 6vw, 4.8rem);
}

.app-section-title {
  font-size: clamp(2.45rem, 4vw, 3.35rem);
}

.app-body {
  margin: 0;
  color: rgba(23, 23, 23, 0.72);
  font-size: 1.02rem;
  line-height: 1.68;
}

.app-hero-body {
  margin-top: 22px;
  max-width: 34ch;
}

.app-store-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 30px;
}

.app-store-badge {
  display: inline-flex;
  align-items: center;
}

.app-store-badge img {
  width: 145px;
  height: auto;
  display: block;
}

.app-download-note {
  margin: 16px 0 0;
  color: rgba(23, 23, 23, 0.58);
  font-size: 0.92rem;
  line-height: 1.5;
}

.app-hero-visual,
.app-walkthrough-media {
  display: flex;
  justify-content: center;
}

.app-screen-stage {
  position: relative;
  display: grid;
  place-items: center;
  width: min(100%, 520px);
  padding: 14px 14px 24px;
  transform-origin: center center;
}

.app-screen-stage.is-hero {
  width: min(100%, 560px);
  padding: 18px 18px 42px;
}

.app-screen-stage.is-tilted {
  transform: rotate(6deg);
}

.app-screen-stage.is-hero::after {
  content: "";
  position: absolute;
  left: 22%;
  right: 22%;
  bottom: 10px;
  height: 30px;
  border-radius: 999px;
  background: rgba(31, 36, 53, 0.16);
  filter: blur(18px);
}

.app-screen-device {
  position: relative;
  z-index: 1;
  width: min(100%, 360px);
  padding: 10px;
  border-radius: 44px;
  background: linear-gradient(180deg, #2b2f38 0%, #0f1116 100%);
  box-shadow:
    0 28px 60px rgba(31, 36, 53, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.app-screen-stage.is-hero .app-screen-device {
  width: min(100%, 376px);
}

.app-screen-view {
  position: relative;
  overflow: hidden;
  aspect-ratio: 390 / 844;
  border-radius: 34px;
  background: #ffffff;
}

.app-screen-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #ffffff;
}

.app-phone-stage {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  min-height: 720px;
  padding: 16px 16px 50px;
}

.app-phone-stage::before {
  content: "";
  position: absolute;
  inset: 10% 14% 15%;
  border-radius: 40px;
  background:
    radial-gradient(
      circle at 24% 18%,
      rgba(100, 41, 228, 0.14),
      transparent 48%
    ),
    linear-gradient(
      180deg,
      rgba(250, 249, 247, 0.96) 0%,
      rgba(255, 255, 255, 0.98) 100%
    );
}

.app-phone-stage::after {
  content: "";
  position: absolute;
  left: 18%;
  right: 18%;
  bottom: 20px;
  height: 34px;
  border-radius: 999px;
  background: rgba(31, 36, 53, 0.16);
  filter: blur(20px);
}

.app-phone {
  --phone-rotation: 0deg;
  position: relative;
  z-index: 1;
  width: min(100%, 364px);
  padding: 10px;
  border-radius: 44px;
  background: linear-gradient(180deg, #2b2f38 0%, #0f1116 100%);
  box-shadow:
    0 28px 60px rgba(31, 36, 53, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.16);
  transform: rotate(var(--phone-rotation));
}

.app-phone.is-tilted {
  --phone-rotation: 7deg;
}

.app-phone-frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 390 / 844;
  border-radius: 36px;
  background: linear-gradient(180deg, #f9f6ff 0%, #ffffff 48%, #f7f4fb 100%);
}

.app-phone-frame::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  z-index: 2;
  width: 38%;
  height: 32px;
  transform: translateX(-50%);
  border-radius: 0 0 18px 18px;
  background: #101217;
}

.app-phone-screen {
  position: absolute;
  inset: 0;
  padding: 54px 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background:
    radial-gradient(
      circle at top right,
      rgba(151, 124, 236, 0.12),
      transparent 30%
    ),
    linear-gradient(180deg, #fcfaff 0%, #ffffff 45%, #f8f5fb 100%);
}

.app-phone-screen-daily {
  gap: 11px;
}

.app-phone-screen-progress,
.app-phone-screen-ingredient {
  gap: 13px;
}

.app-ui-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: rgba(31, 36, 53, 0.44);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.app-ui-header {
  display: grid;
  gap: 6px;
}

.app-ui-header h4 {
  margin: 0;
  color: #171717;
  font-size: 1.42rem;
  font-weight: 800;
  letter-spacing: -0.06em;
}

.app-ui-header p,
.app-ui-summary-card p,
.app-ui-detail-card p,
.app-ui-note-card p,
.app-ui-mini-card p,
.app-ui-sensitivity-note p {
  margin: 0;
  color: rgba(31, 36, 53, 0.62);
  font-size: 0.84rem;
  line-height: 1.55;
}

.app-ui-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.app-ui-chip,
.app-ui-timeline-pill {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  background: #f2edff;
  color: #6d38ec;
  font-size: 0.72rem;
  font-weight: 700;
}

.app-ui-chip.is-active {
  background: #eadfff;
}

.app-ui-summary-card,
.app-ui-panel,
.app-ui-detail-card,
.app-ui-note-card,
.app-ui-mini-card {
  border: 1px solid rgba(116, 96, 167, 0.14);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 32px rgba(31, 36, 53, 0.06);
}

.app-ui-summary-card,
.app-ui-note-card,
.app-ui-mini-card {
  padding: 16px;
}

.app-ui-summary-card strong,
.app-ui-panel-header strong,
.app-ui-panel strong,
.app-ui-detail-card strong,
.app-ui-note-card strong,
.app-ui-mini-card strong {
  color: #171717;
  font-size: 0.98rem;
}

.app-ui-panel,
.app-ui-detail-card {
  padding: 14px;
  display: grid;
  gap: 12px;
}

.app-ui-panel-header,
.app-ui-timeline-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.app-ui-panel-header span,
.app-ui-timeline-row span:last-child {
  color: rgba(31, 36, 53, 0.5);
  font-size: 0.73rem;
  line-height: 1.4;
}

.app-ui-step {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.app-ui-check {
  position: relative;
  width: 22px;
  height: 22px;
  margin-top: 2px;
  border: 1.5px solid #cfbef8;
  border-radius: 999px;
  background: #ffffff;
  flex-shrink: 0;
}

.app-ui-step.is-done .app-ui-check {
  border-color: #6d38ec;
  background: #6d38ec;
}

.app-ui-step.is-done .app-ui-check::after {
  content: "";
  position: absolute;
  left: 7px;
  top: 3px;
  width: 5px;
  height: 10px;
  border: solid #ffffff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.app-ui-step-copy strong {
  display: block;
  margin-bottom: 3px;
  color: #171717;
  font-size: 0.92rem;
}

.app-ui-step-copy small {
  display: block;
  color: rgba(31, 36, 53, 0.58);
  font-size: 0.79rem;
  line-height: 1.45;
}

.app-ui-photo-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.app-ui-photo-card {
  display: grid;
  gap: 8px;
}

.app-ui-photo-card span {
  color: rgba(31, 36, 53, 0.48);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.app-ui-photo {
  position: relative;
  overflow: hidden;
  aspect-ratio: 0.82;
  border-radius: 16px;
  background: linear-gradient(180deg, #ebdfd1 0%, #d1ae8d 100%);
}

.app-ui-photo::before {
  content: "";
  position: absolute;
  inset: 10% 22% 0;
  border-radius: 52% 52% 42% 42% / 42% 42% 58% 58%;
  background: linear-gradient(
    180deg,
    rgba(247, 228, 210, 0.98) 0%,
    rgba(214, 176, 145, 0.98) 100%
  );
  box-shadow: inset 0 -10px 18px rgba(0, 0, 0, 0.05);
}

.app-ui-photo::after {
  content: "";
  position: absolute;
  left: 30%;
  right: 30%;
  top: 47%;
  height: 14%;
  border-radius: 999px;
  border-top: 4px solid rgba(141, 106, 89, 0.18);
}

.app-ui-photo.is-end {
  background: linear-gradient(180deg, #efe5de 0%, #d4b398 100%);
}

.app-ui-photo.is-end::after {
  border-top-color: rgba(132, 93, 74, 0.1);
}

.app-ui-sensitivity-note {
  padding: 13px 14px;
  border-radius: 16px;
  background: #faf7f2;
}

.app-feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 40px;
}

.app-feature-card {
  display: grid;
  justify-items: center;
  gap: 14px;
  text-align: center;
}

.app-feature-card h3,
.app-flow-step h3 {
  margin: 0;
  color: #171717;
  font-size: 1.08rem;
  font-weight: 700;
}

.app-feature-card p {
  max-width: 28ch;
}

.app-feature-icon {
  width: 32px;
  height: 32px;
  color: var(--accent);
}

.app-walkthrough-list {
  display: grid;
  gap: 82px;
}

.app-walkthrough-row {
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1fr);
  align-items: center;
}

.app-walkthrough-row.is-reversed .app-walkthrough-media {
  order: 2;
}

.app-walkthrough-row.is-reversed .app-walkthrough-copy {
  order: 1;
}

.app-walkthrough-row.is-text-only {
  grid-template-columns: 1fr;
}

.app-walkthrough-copy h3 {
  font-size: clamp(2.05rem, 3.2vw, 2.65rem);
}

.app-walkthrough-copy .app-body {
  margin-top: 18px;
}

.app-walkthrough-tag {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 14px;
  margin-bottom: 18px;
  border-radius: 999px;
  background: #f2edff;
  color: #6d38ec;
  font-size: 0.82rem;
  font-weight: 700;
}

.app-flow-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
}

.app-flow-step {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 14px;
  text-align: center;
}

.app-flow-step::after {
  content: "";
  position: absolute;
  top: 32px;
  left: calc(50% + 56px);
  width: calc(100% - 112px);
  height: 1px;
  background: #ddd8d1;
}

.app-flow-step:last-child::after {
  display: none;
}

.app-flow-icon-wrap {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border: 1px solid rgba(116, 96, 167, 0.14);
  border-radius: 20px;
  background: #fffdf8;
  color: var(--accent);
}

.app-flow-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 42px;
}

.app-pill-button,
.app-outline-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 28px;
  border-radius: 999px;
  font-weight: 700;
}

.app-pill-button {
  background: var(--accent);
  color: #ffffff;
  box-shadow: 0 10px 22px rgba(100, 41, 228, 0.18);
}

.app-outline-button {
  border: 1px solid rgba(100, 41, 228, 0.34);
  background: transparent;
  color: var(--accent);
}

.app-reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.app-review-card {
  display: grid;
  gap: 16px;
  padding: 24px;
  border: 1px solid #e8e5e0;
  border-radius: 8px;
  background: #ffffff;
}

.app-stars {
  display: flex;
  gap: 4px;
  color: var(--accent);
  font-size: 0.9rem;
}

.app-review-quote,
.app-review-attribution {
  margin: 0;
}

.app-review-quote {
  color: rgba(23, 23, 23, 0.82);
  font-size: 1rem;
  line-height: 1.72;
  font-style: italic;
}

.app-review-attribution {
  color: rgba(23, 23, 23, 0.72);
  font-weight: 600;
}

.app-final-cta {
  padding-top: 112px;
  padding-bottom: 118px;
}

.app-final-cta-inner {
  max-width: 720px;
  margin: 0 auto;
}

.app-final-title {
  font-size: clamp(3rem, 4.8vw, 4rem);
}

.app-final-cta .app-body {
  margin-top: 18px;
}

.app-final-cta .app-store-badges {
  justify-content: center;
}

.app-inline-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  color: var(--accent);
  font-weight: 700;
}

.app-feature-icon svg,
.app-flow-icon-wrap svg {
  width: 100%;
  height: 100%;
  display: block;
}

.app-phone-reveal {
  transition:
    opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.newsletter-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 28px;
  padding-top: 24px;
  padding-bottom: 24px;
}

.newsletter-copy {
  display: flex;
  align-items: center;
  gap: 16px;
}

.newsletter-copy strong {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
}

.newsletter-copy p {
  margin: 4px 0 0;
  color: rgba(255, 255, 255, 0.82);
}

.newsletter-icon {
  display: inline-grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.18);
  color: white;
}

.newsletter-icon svg {
  width: 26px;
  height: 26px;
}

.newsletter-form {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.newsletter-input-group {
  display: grid;
  gap: 10px;
}

.newsletter-form input {
  width: 340px;
  min-height: 56px;
  padding: 0 18px;
  border-radius: 12px;
  background: white;
  color: #5b6276;
  border: 0;
  font: inherit;
}

.newsletter-feedback {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.4;
}

.newsletter-feedback.is-success {
  color: rgba(236, 255, 246, 0.96);
}

.newsletter-feedback.is-error {
  color: #ffe0e0;
}

.newsletter-button {
  min-height: 56px;
  padding: 0 24px;
  border-radius: 12px;
  background: white;
  color: var(--accent);
  font-weight: 700;
}

.newsletter-button:disabled {
  opacity: 0.72;
  cursor: wait;
}

.site-footer {
  background: white;
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px;
  gap: 48px;
  padding-top: 42px;
  padding-bottom: 42px;
}

.footer-wordmark {
  margin-bottom: 26px;
}

.footer-branding p {
  max-width: 420px;
  margin: 0;
  color: #61687b;
  font-size: 1rem;
  line-height: 1.5;
}

.footer-socials {
  display: flex;
  gap: 14px;
  margin-top: 28px;
}

.footer-socials a {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 1px solid #dcd8e3;
  overflow: hidden;
  background: white;
}

.footer-socials button {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  padding: 0;
  border-radius: 999px;
  border: 1px solid #dcd8e3;
  overflow: hidden;
  background: white;
  cursor: default;
}

.footer-socials img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.footer-links {
  display: grid;
  align-content: start;
  gap: 18px;
}

.footer-links a,
.footer-legal a {
  color: #222938;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 28px;
  padding-bottom: 34px;
  border-top: 1px solid #ece8f1;
}

.footer-bottom p {
  margin: 0;
  color: #8a91a4;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
}

.is-rtl .faq-question,
.is-rtl .option-card,
.is-rtl .newsletter-form input,
.is-rtl .contact-field input,
.is-rtl .contact-field textarea {
  text-align: right;
}

.quiz-page,
.results-page {
  padding: 42px 0 72px;
}

.quiz-shell {
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1fr);
  align-items: start;
}

.quiz-sidebar {
  position: sticky;
  top: 100px;
}

.ghost-link {
  margin-top: 20px;
  background: transparent;
  color: var(--accent);
  font-weight: 700;
}

.progress-track {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  margin-top: 20px;
}

.progress-track span {
  height: 7px;
  background: #ece6ef;
  border-radius: 999px;
}

.progress-track span.is-active {
  background: var(--accent);
}

.quiz-card {
  padding-top: 22px;
  padding-bottom: 22px;
}

.quiz-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.meta-chip,
.question-icon,
.results-badge,
.mini-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 700;
}

.meta-chip {
  min-height: 32px;
  padding: 0 12px;
  background: #f6f0ff;
  color: #5e5770;
  font-size: 0.84rem;
}

.question-icon {
  width: 46px;
  height: 46px;
  background: #f6f0ff;
  color: var(--accent);
}

.option-list {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.option-card {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 16px;
  text-align: left;
  border: 1px solid #ddd7cf;
  border-radius: 16px;
  background: white;
}

.option-card strong {
  display: block;
  font-size: 1rem;
}

.option-card small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  line-height: 1.5;
}

.option-card.is-selected {
  border-color: var(--accent);
}

.option-check {
  width: 26px;
  height: 26px;
  border-radius: 999px;
  background: var(--accent);
  color: white;
  display: inline-grid;
  place-items: center;
}

.quiz-actions {
  justify-content: space-between;
  margin-top: 18px;
}

.dialog-overlay {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(20, 24, 32, 0.25);
}

.dialog {
  width: min(410px, 100%);
  padding: 26px;
  border-radius: 20px;
  background: white;
  text-align: center;
}

.dialog-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: #f6f0ff;
  color: var(--accent);
  font-size: 1.75rem;
}

.dialog h3 {
  margin: 14px 0 10px;
  font-size: 1.7rem;
}

.contact-dialog {
  width: min(560px, 100%);
  text-align: left;
}

.auth-dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 27rem);
  background: #ffffff;
  border: 1px solid #d8e0d4;
  border-radius: 1rem;
  box-shadow: 0 24px 60px rgba(14, 28, 21, 0.22);
  padding: 1.6rem 1.5rem 1.3rem;
  text-align: center;
}

.auth-close {
  position: absolute;
  top: 0.82rem;
  right: 0.82rem;
  width: 1.85rem;
  height: 1.85rem;
  border-radius: 999px;
  background: #101820;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  line-height: 0;
}

.auth-close-icon {
  width: 0.98rem;
  height: 0.98rem;
  stroke: currentColor;
  stroke-width: 3;
  stroke-linecap: round;
}

.auth-title {
  margin: 0;
  font-size: 1.5rem;
  line-height: 1.16;
}

.auth-subtitle {
  margin: 0.45rem 0 1.1rem;
  color: #637388;
  font-weight: 600;
  font-size: 0.93rem;
}

.auth-tabs {
  margin: 0 auto 1rem;
  width: fit-content;
  display: inline-flex;
  gap: 0.24rem;
  padding: 0.22rem;
  border-radius: 999px;
  background: #e8ecef;
}

.auth-tab {
  min-width: 6.5rem;
  padding: 0.5rem 0.9rem;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  color: #47566a;
  font-size: 0.9rem;
  font-weight: 700;
}

.auth-tab.is-active {
  background: #0f1114;
  color: #ffffff;
}

.auth-provider-list {
  display: grid;
  gap: 0.58rem;
}

.auth-provider-button {
  width: 100%;
  min-height: 2.75rem;
  border: 1px solid #d2dae5;
  border-radius: 0.72rem;
  background: #f5f8fb;
  color: #1f2c3a;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.54rem;
  padding: 0.72rem 1rem;
  font-size: 0.92rem;
  font-weight: 700;
}

.auth-provider-button:hover,
.auth-provider-button:focus-visible {
  background: #edf2f7;
}

.auth-provider-button:disabled {
  opacity: 0.62;
  cursor: not-allowed;
}

.auth-provider-icon {
  width: 1.3rem;
  height: 1.3rem;
  flex: 0 0 1.3rem;
  border: 1px solid #c7d0dc;
  border-radius: 999px;
  background: #ffffff;
  color: #0f1114;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.auth-provider-icon svg {
  width: 0.92rem;
  height: 0.92rem;
  display: block;
}

.auth-provider-icon-apple svg {
  width: 0.82rem;
  height: 0.82rem;
  transform: translateX(0.05rem) translateY(-0.04rem);
}

.auth-email-button {
  background: #ffffff;
}

.auth-divider {
  margin: 0.66rem 0 0.72rem;
  display: flex;
  align-items: center;
  gap: 0.66rem;
  color: #7c8899;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.auth-divider::before,
.auth-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: #d8e0e8;
}

.auth-form {
  display: grid;
  gap: 0.72rem;
  text-align: left;
}

.auth-signup-fields {
  display: grid;
  gap: 0.72rem;
}

.auth-form input {
  width: 100%;
  border: 1px solid #d4dce7;
  border-radius: 0.72rem;
  padding: 0.76rem 0.86rem;
  color: #192534;
  background: #ffffff;
  font-size: 0.94rem;
}

.auth-form input::placeholder {
  color: #8490a2;
}

.auth-form input:focus-visible {
  outline: none;
  border-color: #19b969;
  box-shadow: 0 0 0 3px rgba(31, 203, 119, 0.18);
}

.auth-link-button {
  justify-self: center;
  margin: -0.18rem 0 0.04rem;
  padding: 0;
  border: none;
  background: transparent;
  color: #617083;
  font-size: 0.88rem;
  font-weight: 600;
}

.auth-link-button:hover,
.auth-link-button:focus-visible {
  color: #1f2a38;
}

.auth-submit {
  border: 1px solid transparent;
  border-radius: 0.72rem;
  padding: 0.8rem 1rem;
  color: #0f1f17;
  font-size: 1rem;
  font-weight: 800;
}

.auth-submit-signin {
  background: #8db1e6;
}

.auth-submit-signup {
  background: #83dca8;
}

.auth-submit:disabled,
.auth-link-button:disabled {
  opacity: 0.62;
  cursor: not-allowed;
}

.auth-status {
  min-height: 1.25rem;
  margin: 0.64rem 0 0;
  color: #4f5f73;
  font-size: 0.84rem;
  font-weight: 600;
}

.auth-status.is-error {
  color: #a91e2b;
}

.auth-terms {
  margin: 0.88rem auto 0;
  max-width: 22rem;
  color: #69778a;
  font-size: 0.76rem;
  line-height: 1.45;
}

.auth-terms a {
  color: inherit;
  text-decoration: underline;
}

.contact-dialog h3 {
  margin-top: 0;
}

.contact-dialog-copy {
  margin: 0 0 22px;
  color: #646c7f;
}

.contact-form {
  display: grid;
  gap: 16px;
}

.contact-field {
  display: grid;
  gap: 8px;
}

.contact-field span {
  font-size: 0.95rem;
  font-weight: 700;
  color: #222938;
}

.contact-field input,
.contact-field textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #ddd7cf;
  border-radius: 14px;
  background: #fcfbff;
  color: #222938;
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease;
}

.contact-field textarea {
  min-height: 150px;
  resize: vertical;
}

.contact-field input:focus,
.contact-field textarea:focus {
  outline: none;
  border-color: rgba(100, 41, 228, 0.45);
  box-shadow: 0 0 0 4px rgba(100, 41, 228, 0.12);
}

.contact-feedback {
  margin: 0;
  padding: 12px 14px;
  border-radius: 12px;
  font-size: 0.95rem;
  line-height: 1.45;
}

.contact-feedback.is-success {
  background: #ebf9f1;
  color: #1d6c4b;
}

.contact-feedback.is-error {
  background: #fff1f1;
  color: #ad3131;
}

.contact-actions {
  justify-content: flex-end;
  margin-top: 4px;
}

.contact-actions .primary-button:disabled {
  opacity: 0.7;
  cursor: wait;
}

.auth-modal {
  background: transparent;
}

.auth-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(12, 18, 25, 0.56);
  backdrop-filter: blur(1px);
}

.star-row {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
}

.star-button {
  background: transparent;
  color: #d5ccd8;
  font-size: 2rem;
}

.star-button.is-selected {
  color: #f4b73e;
}

.results-shell {
  display: grid;
  gap: 26px;
}

.results-hero {
  grid-template-columns: minmax(0, 1fr) 320px;
  align-items: center;
  padding: 28px;
  background: var(--soft);
  border-radius: 18px;
}

.results-badge {
  min-height: 34px;
  padding: 0 12px;
  background: white;
  color: #4b4f60;
}

.results-panel {
  padding-top: 16px;
  padding-bottom: 16px;
}

.week-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.week-tab {
  min-height: 48px;
  border-radius: 12px;
  background: white;
  border: 1px solid #ddd7cf;
  font-weight: 700;
}

.week-tab.is-active {
  background: var(--accent);
  color: white;
}

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

.routine-card {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 16px;
  padding-top: 14px;
  padding-bottom: 14px;
}

.routine-card img {
  width: 140px;
  height: 140px;
  object-fit: cover;
  border-radius: 12px;
}

.mini-badge {
  min-height: 28px;
  padding: 0 10px;
  margin-top: 8px;
  color: #34394a;
}

@media (max-width: 1024px) {
  .hero-grid,
  .feature-grid,
  .pricing-grid,
  .faq-grid,
  .quiz-shell,
  .results-hero,
  .testimonial-grid,
  .steps-grid,
  .article-grid,
  .routine-grid,
  .plans-grid {
    grid-template-columns: 1fr;
  }

  .nav-links {
    display: none;
  }

  .hero-card-visual video.hero-main-image {
    position: absolute;
    inset: 0;
    object-fit: cover;
    object-position: center center;
    transform: scale(1.48);
    transform-origin: center center;
  }

  .floating-note {
    position: static;
    width: auto;
    margin-top: 16px;
  }

  .device-card {
    position: static;
    width: 100%;
    margin-bottom: 12px;
  }

  .device-stack {
    min-height: 0;
  }

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

  #articles .headline-row {
    align-items: flex-start;
  }

  #articles .headline-row h2 {
    max-width: 100%;
  }

  .archive-hero-grid,
  .archive-feature-layout {
    grid-template-columns: 1fr;
  }

  .archive-feature-copy {
    grid-column: auto;
  }

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

  .archive-article-portrait {
    grid-column: 1 / span 3;
  }

  .archive-article-wide {
    grid-column: 4 / -1;
    margin-top: 56px;
  }

  .archive-article-offset {
    grid-column: 1 / span 3;
    margin-top: 0;
  }

  .archive-article-full {
    grid-column: 1 / -1;
  }

  .article-detail-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .article-detail-side {
    position: static;
  }

  .treatments-hero-grid,
  .treatments-type-row {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .app-hero-grid,
  .app-walkthrough-row,
  .plans-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .treatments-hero-copy,
  .treatments-type-copy {
    max-width: none;
  }

  .app-hero-copy,
  .app-walkthrough-copy {
    max-width: none;
  }

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

  .treatments-type-row.is-reversed .treatments-type-media,
  .treatments-type-row.is-reversed .treatments-type-copy {
    order: initial;
  }

  .app-walkthrough-row.is-reversed .app-walkthrough-media,
  .app-walkthrough-row.is-reversed .app-walkthrough-copy {
    order: initial;
  }

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

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

  .app-phone-stage {
    min-height: 640px;
  }

  .app-screen-stage.is-hero {
    width: min(100%, 500px);
  }
}

@media (max-width: 720px) {
  .header-inner,
  .header-actions,
  .hero-actions,
  .rating-proof,
  .dialog-actions,
  .quiz-actions,
  .headline-row,
  .newsletter-form,
  .footer-bottom {
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }

  .newsletter-inner,
  .footer-main {
    grid-template-columns: 1fr;
  }

  .account-menu,
  .account-trigger,
  .account-dropdown {
    width: 100%;
  }

  .account-dropdown {
    right: auto;
    left: 0;
  }

  .language-picker {
    align-self: flex-start;
  }

  .brand-icon {
    width: 34px;
    height: 34px;
    border-radius: 10px;
  }

  .newsletter-form input {
    width: 100%;
  }

  .newsletter-input-group {
    width: 100%;
  }

  .footer-links,
  .footer-legal {
    gap: 14px;
  }

  .profile-card,
  .plans-account-summary {
    padding: 22px;
  }

  .profile-card-header {
    flex-direction: column;
  }

  .profile-detail-row {
    grid-template-columns: 1fr;
  }

  .profile-detail-value {
    text-align: left;
  }

  .hero-copy h1 {
    font-size: 3rem;
  }

  .price-number {
    font-size: 3.2rem;
  }

  .articles-archive-hero {
    padding-top: 42px;
  }

  .archive-title {
    font-size: clamp(4.4rem, 18vw, 5.6rem);
  }

  .archive-intro {
    max-width: none;
    padding-bottom: 0;
  }

  .archive-filter-nav {
    gap: 18px;
  }

  .archive-feature-media {
    width: min(calc(100vw - 32px), 100%);
    aspect-ratio: 1.08 / 1;
  }

  .archive-feature-copy h2 {
    font-size: clamp(2.9rem, 12vw, 4.2rem);
  }

  .archive-editorial-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .archive-article-portrait,
  .archive-article-wide,
  .archive-article-offset,
  .archive-article-full {
    grid-column: 1 / -1;
    margin-top: 0;
  }

  .container-wide {
    width: min(100%, calc(100% - 32px));
  }

  .article-detail-heading {
    padding-top: 28px;
  }

  .article-detail-taxonomy {
    gap: 8px;
    margin-bottom: 20px;
  }

  .article-detail-title {
    font-size: clamp(2.7rem, 12vw, 3.9rem);
    max-width: none;
  }

  .article-detail-cover img {
    min-height: 280px;
  }

  .about-page {
    padding-top: 18px;
  }

  .about-detail-cover img {
    min-height: 300px;
    object-position: center 26%;
  }

  .about-detail-hero-copy {
    padding: 24px;
  }

  .about-detail-hero-title {
    font-size: clamp(2.8rem, 11vw, 4rem);
  }

  .article-detail-body {
    padding-top: 34px;
  }

  .about-detail-body {
    padding-top: 36px;
  }

  .article-detail-grid {
    width: min(100%, calc(100% - 32px));
  }

  .about-detail-intro p,
  .about-detail-content .article-section p,
  .about-detail-content .article-section li {
    font-size: 1.14rem;
    line-height: 1.6;
  }

  .about-detail-intro p:first-child {
    font-size: 1.3rem;
  }

  .about-detail-content .article-section h2 {
    font-size: 2.1rem;
  }

  .article-section h2 {
    font-size: 1.9rem;
  }

  .article-detail-intro p,
  .article-section p,
  .article-section li,
  .article-strategy p,
  .article-strategy li {
    font-size: 1.02rem;
  }

  .article-share-button {
    right: 18px;
    bottom: 18px;
  }

  .article-share-toast {
    right: 82px;
    bottom: 24px;
    max-width: calc(100vw - 110px);
  }

  .compact-proof {
    flex-direction: column;
  }

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

  .routine-card img {
    width: 100%;
    height: 220px;
  }

  #articles {
    padding-top: 64px;
    padding-bottom: 56px;
  }

  #articles .section-heading {
    margin-bottom: 28px;
  }

  #articles .headline-row {
    align-items: flex-start;
  }

  #articles .headline-row h2 {
    font-size: 2.2rem;
    line-height: 1.04;
  }

  .article-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .article-carousel {
    gap: 26px;
  }

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

  .treatments-hero-section {
    padding: 34px 0 64px;
  }

  .app-hero-section {
    padding: 34px 0 64px;
  }

  .treatments-section {
    padding: 74px 0;
  }

  .app-section {
    padding: 74px 0;
  }

  .treatments-heading {
    margin-bottom: 34px;
  }

  .app-heading {
    margin-bottom: 34px;
  }

  .treatments-display {
    font-size: clamp(2.75rem, 13vw, 4rem);
  }

  .app-display {
    font-size: clamp(2.75rem, 13vw, 4rem);
  }

  .treatments-section-title {
    font-size: clamp(2.15rem, 11vw, 3rem);
  }

  .app-section-title {
    font-size: clamp(2.15rem, 11vw, 3rem);
  }

  .treatments-placeholder {
    padding: 22px;
  }

  .treatments-concern-grid {
    display: flex;
    gap: 18px;
    overflow-x: auto;
    padding: 0 16px 8px;
    margin: 0 -16px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .treatments-concern-grid::-webkit-scrollbar {
    display: none;
  }

  .treatments-concern-card {
    flex: 0 0 min(82vw, 320px);
    scroll-snap-align: start;
  }

  .treatments-steps-grid,
  .treatments-results-grid {
    grid-template-columns: 1fr;
  }

  .app-feature-grid,
  .app-reviews-grid,
  .app-flow-grid {
    grid-template-columns: 1fr;
  }

  .app-store-badges {
    flex-direction: column;
    align-items: flex-start;
  }

  .app-final-cta .app-store-badges {
    align-items: center;
  }

  .app-walkthrough-list {
    gap: 54px;
  }

  .app-flow-step::after {
    top: calc(100% + 14px);
    left: 50%;
    width: 1px;
    height: 28px;
    transform: translateX(-50%);
  }

  .app-flow-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .app-pill-button,
  .app-outline-button {
    width: 100%;
  }

  .app-phone-stage {
    min-height: 0;
    padding: 8px 0 32px;
  }

  .app-phone-stage::before {
    inset: 12% 12% 18%;
  }

  .app-phone {
    width: min(100%, 322px);
  }

  .app-phone.is-tilted {
    --phone-rotation: 4deg;
  }

  .app-screen-stage {
    width: min(100%, 350px);
    padding: 10px 10px 22px;
  }

  .app-screen-stage.is-hero {
    width: min(100%, 380px);
  }

  .app-screen-stage.is-tilted {
    transform: rotate(4deg);
  }

  .app-screen-device {
    width: min(100%, 322px);
    padding: 8px;
    border-radius: 38px;
  }

  .app-screen-view {
    border-radius: 30px;
  }

  .treatments-type-list {
    gap: 54px;
  }

  .treatments-final-cta {
    padding-top: 92px;
    padding-bottom: 96px;
  }

  .app-final-cta {
    padding-top: 92px;
    padding-bottom: 96px;
  }
}

.launch-title {
  max-width: 760px;
  font-size: 3.2rem;
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.05em;
}
