:root {
  color-scheme: light;
  --brand-700: #1f31a7;
  --brand-600: #263cc8;
  --brand-500: #3d54d9;
  --brand-100: #e9edff;
  --brand-50: #f3f5ff;
  --mint-600: #178f78;
  --mint-500: #38c7a5;
  --mint-100: #dff8f1;
  --coral-500: #f06f5d;
  --amber-500: #d99b2b;
  --ink-950: #10152f;
  --ink-800: #272d48;
  --ink-600: #5c6278;
  --ink-500: #74798d;
  --surface: #ffffff;
  --surface-2: #f7f7f3;
  --surface-3: #efefe9;
  --canvas: #f4f3ee;
  --line: #e3e3dd;
  --danger: #c84949;
  --shadow-sm: 0 8px 24px rgba(25, 31, 71, 0.07);
  --shadow-md: 0 22px 60px rgba(25, 31, 71, 0.11);
  --shadow-brand: 0 18px 44px rgba(38, 60, 200, 0.22);
  --radius-sm: 14px;
  --radius-md: 20px;
  --radius-lg: 28px;
  --radius-xl: 38px;
  --ease: cubic-bezier(0.2, 0.72, 0.2, 1);
  --nav-width: 238px;
}

[data-theme="dark"] {
  color-scheme: dark;
  --brand-700: #91a0ff;
  --brand-600: #7e8fff;
  --brand-500: #a3afff;
  --brand-100: #2a335e;
  --brand-50: #202641;
  --mint-600: #74dfc7;
  --mint-500: #4bd3b3;
  --mint-100: #173f39;
  --ink-950: #f5f5f2;
  --ink-800: #e0e1e8;
  --ink-600: #b5b8c7;
  --ink-500: #989cad;
  --surface: #191d2b;
  --surface-2: #141824;
  --surface-3: #252a3a;
  --canvas: #0f1320;
  --line: #303647;
  --danger: #ff9292;
  --shadow-sm: 0 8px 24px rgba(0, 0, 0, 0.18);
  --shadow-md: 0 22px 60px rgba(0, 0, 0, 0.28);
  --shadow-brand: 0 18px 44px rgba(12, 19, 73, 0.45);
}

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

html {
  background: var(--canvas);
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  min-width: 0;
  min-height: 100vh;
  min-height: 100dvh;
  overflow-x: clip;
  color: var(--ink-950);
  background: var(--canvas);
  font-family: "Noto Sans Arabic", Tahoma, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

button,
input,
textarea {
  color: inherit;
  font: inherit;
}

button,
a,
input,
textarea {
  -webkit-tap-highlight-color: transparent;
}

button,
a {
  touch-action: manipulation;
}

button {
  cursor: pointer;
}

button:disabled {
  cursor: not-allowed;
}

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

svg {
  display: block;
  width: 1.3em;
  height: 1.3em;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

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

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

h1,
h2,
h3,
p,
small,
strong,
span,
button,
label {
  overflow-wrap: break-word;
  word-break: normal;
}

:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--mint-500) 78%, white);
  outline-offset: 3px;
}

main#main-content:focus {
  outline: none;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  inset: 12px 12px auto auto;
  padding: 10px 16px;
  border-radius: 12px;
  color: #fff;
  background: #10152f;
  transform: translateY(-150%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

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

.noscript-card {
  width: min(620px, calc(100% - 32px));
  margin: 80px auto;
  padding: 32px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-md);
  text-align: center;
}

.static-app-intro {
  width: min(720px, calc(100% - 32px));
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 12px;
  margin-inline: auto;
  padding: 48px 0;
  text-align: center;
}

.static-app-intro img {
  width: 120px;
  height: 120px;
  border-radius: 28px;
}

.static-app-intro > span {
  color: var(--mint-600);
  font-weight: 800;
}

.static-app-intro h1 {
  margin: 0;
  font-size: clamp(3rem, 10vw, 5.5rem);
  line-height: 1.15;
}

.static-app-intro p {
  max-width: 660px;
  margin: 0;
  color: var(--ink-600);
}

.static-app-intro a {
  margin-top: 8px;
  color: var(--brand-600);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* Privacy policy and legal pages */

.legal-body {
  background:
    radial-gradient(circle at 90% 0%, color-mix(in srgb, var(--mint-500) 18%, transparent), transparent 30rem),
    radial-gradient(circle at 8% 12%, color-mix(in srgb, var(--brand-600) 11%, transparent), transparent 34rem),
    var(--canvas);
}

.legal-topbar,
.legal-footer {
  width: min(1180px, calc(100% - 32px));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-inline: auto;
}

.legal-topbar {
  min-height: 86px;
  padding-block: 16px;
}

.legal-back {
  min-height: 46px;
  padding-block: 8px;
}

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

.legal-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(34px, 6vw, 72px);
  border-radius: var(--radius-xl);
  color: #fff;
  background: linear-gradient(135deg, #17257f 0%, var(--brand-600) 62%, #3159d6 100%);
  box-shadow: var(--shadow-md);
}

.legal-hero::after {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  inset: auto -70px -90px auto;
  border: 42px solid rgba(89, 222, 191, 0.22);
  border-radius: 48px;
  transform: rotate(24deg);
}

.legal-hero > * {
  position: relative;
  z-index: 1;
}

.legal-hero .eyebrow {
  color: #a8f2df;
}

.legal-hero h1 {
  margin: 10px 0 16px;
  font-size: clamp(2.5rem, 7vw, 5.4rem);
  line-height: 1.12;
}

.legal-hero > p {
  max-width: 780px;
  margin-bottom: 26px;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1rem, 2vw, 1.2rem);
}

.legal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.legal-meta span {
  padding: 7px 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.86);
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.82rem;
}

.legal-grid {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  align-items: start;
  gap: 28px;
  margin-top: 30px;
}

.legal-toc {
  position: sticky;
  top: 18px;
  display: grid;
  gap: 5px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: color-mix(in srgb, var(--surface) 94%, transparent);
  box-shadow: var(--shadow-sm);
}

.legal-toc strong {
  margin-bottom: 8px;
}

.legal-toc a {
  padding: 7px 10px;
  border-radius: 10px;
  color: var(--ink-600);
  font-size: 0.84rem;
}

.legal-toc a:hover,
.legal-toc a:focus-visible {
  color: var(--brand-600);
  background: var(--brand-50);
}

.legal-document {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.legal-section {
  position: relative;
  padding: clamp(28px, 5vw, 54px);
  scroll-margin-top: 24px;
}

.legal-section + .legal-section {
  border-top: 1px solid var(--line);
}

.legal-section h2 {
  margin-bottom: 18px;
  padding-inline-start: 54px;
  color: var(--ink-950);
  font-size: clamp(1.35rem, 3vw, 2rem);
  line-height: 1.35;
}

.legal-section h3 {
  margin: 28px 0 9px;
  color: var(--ink-800);
  font-size: 1.05rem;
}

.legal-section p,
.legal-section li {
  color: var(--ink-600);
}

.legal-section ul {
  display: grid;
  gap: 9px;
  padding-inline-start: 24px;
}

.legal-section a,
.payment-note a {
  color: var(--brand-600);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.legal-number {
  position: absolute;
  inset: clamp(28px, 5vw, 54px) clamp(28px, 5vw, 54px) auto auto;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: var(--brand-600);
  background: var(--brand-50);
  font-weight: 800;
}

.legal-highlight {
  background: linear-gradient(180deg, color-mix(in srgb, var(--mint-100) 62%, var(--surface)), var(--surface));
}

.legal-callout {
  margin: 28px 0 0;
  padding: 18px 20px;
  border-inline-start: 4px solid var(--mint-500);
  border-radius: 12px;
  background: color-mix(in srgb, var(--mint-100) 62%, var(--surface));
}

.legal-contact {
  background: var(--surface-2);
}

.privacy-form {
  display: grid;
  gap: 18px;
  margin-top: 28px;
  padding: clamp(20px, 4vw, 32px);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
}

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

.form-field {
  display: grid;
  gap: 7px;
  color: var(--ink-800);
  font-weight: 700;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  min-height: 50px;
  padding: 11px 13px;
  border: 1px solid var(--line);
  border-radius: 13px;
  color: var(--ink-950);
  background: var(--surface);
  font: inherit;
  font-weight: 500;
}

.form-field textarea {
  min-height: 132px;
  resize: vertical;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--brand-500);
  outline: 3px solid color-mix(in srgb, var(--brand-500) 18%, transparent);
}

.privacy-note {
  margin: -5px 0 0;
  color: var(--ink-500) !important;
  font-size: 0.8rem;
}

.legal-footer {
  padding-block: 30px 42px;
  border-top: 1px solid var(--line);
}

.legal-footer p {
  margin: 0;
  color: var(--ink-600);
  font-size: 0.85rem;
}

.onboarding-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
  color: var(--ink-500);
  font-size: 0.78rem;
}

.onboarding-legal a,
.sidebar-legal,
.settings-link {
  color: var(--brand-600);
  font-weight: 700;
}

.onboarding-legal a,
.sidebar-legal {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.sidebar-legal {
  margin-top: 16px;
  font-size: 0.78rem;
  text-align: center;
}

.settings-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  border-radius: 12px;
  background: var(--brand-50);
  white-space: nowrap;
}

.success-page {
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: 30px;
}

.success-card {
  width: min(100%, 680px);
  padding: clamp(34px, 7vw, 60px);
  border: 1px solid var(--line);
  border-radius: 34px;
  background: var(--surface);
  box-shadow: var(--shadow-md);
  text-align: center;
}

.success-icon {
  width: 70px;
  height: 70px;
  display: grid;
  place-items: center;
  margin: 0 auto 25px;
  border-radius: 22px;
  color: #fff;
  background: var(--mint-500);
  font-size: 2rem;
  font-weight: 800;
}

.success-card h1 {
  margin: 14px 0 16px;
  font-size: clamp(2rem, 7vw, 3.4rem);
  line-height: 1.25;
}

.success-card > p {
  max-width: 520px;
  margin: 0 auto 28px;
  color: var(--ink-600);
}

.success-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

/* Shared controls */

.button {
  min-width: 0;
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 22px;
  border: 0;
  border-radius: 16px;
  font-weight: 750;
  transition: background-color 180ms ease, color 180ms ease, box-shadow 180ms ease, opacity 180ms ease;
}

.button:active {
  opacity: 0.82;
}

.button-primary {
  color: #fff;
  background: var(--brand-600);
  box-shadow: var(--shadow-brand);
}

.button-primary:hover {
  background: var(--brand-700);
}

.button-mint {
  color: #073d33;
  background: var(--mint-500);
  box-shadow: 0 16px 34px rgba(56, 199, 165, 0.2);
}

.button-secondary {
  color: var(--brand-600);
  background: var(--brand-50);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--brand-600) 12%, transparent);
}

.button-ghost {
  color: var(--ink-800);
  background: transparent;
  box-shadow: inset 0 0 0 1px var(--line);
}

.button-danger-soft {
  color: var(--danger);
  background: color-mix(in srgb, var(--danger) 10%, var(--surface));
}

.button:disabled {
  opacity: 0.42;
  box-shadow: none;
}

.button-block {
  width: 100%;
}

.icon-button {
  width: 46px;
  height: 46px;
  min-width: 46px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 15px;
  color: var(--ink-800);
  background: var(--surface);
  transition: background-color 180ms ease, border-color 180ms ease, opacity 180ms ease;
}

.icon-button:hover {
  border-color: color-mix(in srgb, var(--brand-600) 28%, var(--line));
  background: var(--brand-50);
}

.text-button {
  min-height: 44px;
  padding: 8px 4px;
  border: 0;
  color: var(--brand-600);
  background: transparent;
  font-weight: 700;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  color: var(--brand-600);
  font-size: 0.77rem;
  font-weight: 800;
  letter-spacing: 0.03em;
}

.eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--mint-500);
  box-shadow: 0 0 0 5px color-mix(in srgb, var(--mint-500) 14%, transparent);
}

.pill {
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 11px;
  border-radius: 999px;
  color: var(--ink-600);
  background: var(--surface-3);
  font-size: 0.75rem;
  font-weight: 700;
}

.pill-brand {
  color: var(--brand-600);
  background: var(--brand-100);
}

.pill-mint {
  color: var(--mint-600);
  background: var(--mint-100);
}

.surface-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.section-heading {
  margin-bottom: 22px;
}

.section-heading h1,
.section-heading h2 {
  margin-bottom: 7px;
  font-size: clamp(1.7rem, 4vw, 2.25rem);
  line-height: 1.45;
  letter-spacing: -0.035em;
}

.section-heading p {
  margin-bottom: 0;
  color: var(--ink-600);
}

.stack {
  display: grid;
  gap: 16px;
}

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

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

/* Brand */

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.brand-symbol {
  position: relative;
  width: 38px;
  height: 38px;
  direction: ltr;
  border: 3px solid var(--brand-600);
  border-top-right-radius: 10px;
  border-bottom-left-radius: 10px;
  border-radius: 11px;
}

.brand-symbol::after {
  content: "";
  position: absolute;
  width: 14px;
  height: 7px;
  top: 6px;
  right: -7px;
  border-radius: 6px 6px 2px 6px;
  background: var(--mint-500);
  box-shadow: -8px 8px 0 var(--mint-500), -16px 16px 0 var(--brand-600);
}

/* Onboarding */

.onboarding-shell {
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  grid-template-columns: minmax(300px, 0.86fr) minmax(440px, 1.14fr);
  background: var(--surface);
}

.onboarding-visual {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  padding: clamp(32px, 5vw, 72px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #fff;
  background:
    radial-gradient(circle at 78% 12%, rgba(56, 199, 165, 0.28), transparent 24%),
    linear-gradient(145deg, #111b64 0%, #263cc8 68%, #3247bd 100%);
}

.onboarding-visual::before,
.onboarding-visual::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 50%;
}

.onboarding-visual::before {
  width: 540px;
  height: 540px;
  top: 18%;
  right: -270px;
}

.onboarding-visual::after {
  width: 390px;
  height: 390px;
  top: 26%;
  right: -192px;
  border-style: dashed;
}

.onboarding-visual .brand-lockup {
  position: relative;
  z-index: 1;
  color: #fff;
}

.onboarding-visual .brand-symbol {
  border-color: #fff;
}

.visual-story {
  position: relative;
  z-index: 1;
  max-width: 500px;
  padding-block: 30px;
}

.visual-story-video {
  width: min(100%, 400px);
  aspect-ratio: 1;
  margin: 0 auto 24px;
  border-radius: 36px;
  object-fit: cover;
  mix-blend-mode: screen;
  box-shadow: 0 28px 90px rgba(1, 8, 48, 0.3);
}

.visual-story h2 {
  max-width: 520px;
  margin-bottom: 12px;
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1.38;
  letter-spacing: -0.055em;
}

.visual-story p {
  max-width: 480px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 1rem;
}

.trust-note {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  max-width: 480px;
  padding: 15px 17px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 17px;
  color: rgba(255, 255, 255, 0.78);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  font-size: 0.82rem;
}

.trust-note svg {
  flex: 0 0 auto;
  margin-top: 3px;
  color: var(--mint-500);
}

.onboarding-panel {
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  align-items: center;
  padding: clamp(26px, 6vw, 90px);
  background: var(--surface);
}

.onboarding-card {
  width: min(100%, 590px);
  margin-inline: auto;
}

.onboarding-topline {
  min-height: 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 34px;
}

.step-counter {
  color: var(--ink-500);
  font-size: 0.78rem;
  font-weight: 700;
}

.onboarding-progress {
  width: min(210px, 45vw);
  height: 5px;
  overflow: hidden;
  border-radius: 20px;
  background: var(--surface-3);
}

.onboarding-progress span {
  display: block;
  width: var(--progress);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--mint-500), var(--brand-600));
  transition: width 280ms var(--ease);
}

.question-heading {
  margin-bottom: 26px;
}

.question-heading h1 {
  margin-bottom: 10px;
  font-size: clamp(2rem, 5vw, 3.15rem);
  line-height: 1.42;
  letter-spacing: -0.052em;
}

.question-heading p {
  max-width: 530px;
  margin-bottom: 0;
  color: var(--ink-600);
}

.choice-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 26px 0;
}

.choice-card {
  min-height: 92px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  color: var(--ink-800);
  background: var(--surface);
  text-align: right;
  transition: border-color 180ms ease, background-color 180ms ease, box-shadow 180ms ease;
}

.choice-card:hover {
  border-color: color-mix(in srgb, var(--brand-600) 30%, var(--line));
  background: var(--brand-50);
}

.choice-card[aria-pressed="true"] {
  border-color: var(--brand-600);
  background: var(--brand-50);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand-600) 10%, transparent);
}

.choice-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 14px;
  color: var(--brand-600);
  background: var(--brand-100);
}

.choice-card[aria-pressed="true"] .choice-icon {
  color: #fff;
  background: var(--brand-600);
}

.choice-copy {
  display: grid;
  gap: 1px;
}

.choice-copy strong {
  font-size: 0.91rem;
}

.choice-copy small {
  color: var(--ink-500);
  font-size: 0.75rem;
}

.field-label {
  display: grid;
  gap: 8px;
  margin: 26px 0;
  color: var(--ink-800);
  font-size: 0.82rem;
  font-weight: 700;
}

.text-field,
.textarea-field {
  width: 100%;
  min-height: 54px;
  padding: 12px 15px;
  border: 1px solid var(--line);
  border-radius: 16px;
  color: var(--ink-950);
  background: var(--surface-2);
  outline: 0;
  transition: border-color 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

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

.text-field:focus,
.textarea-field:focus {
  border-color: var(--brand-600);
  background: var(--surface);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand-600) 12%, transparent);
}

.onboarding-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
}

.onboarding-actions .button-primary {
  flex: 1;
}

.reassurance {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  color: var(--ink-500);
  font-size: 0.75rem;
}

.reassurance svg {
  color: var(--mint-600);
}

.analyzing-card {
  text-align: center;
}

.analysis-visual {
  position: relative;
  width: 160px;
  height: 160px;
  display: grid;
  place-items: center;
  margin: 0 auto 28px;
}

.analysis-visual::before,
.analysis-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid var(--brand-100);
  border-radius: 50%;
}

.analysis-visual::after {
  inset: 18px;
  border-color: var(--mint-100);
}

.analysis-stairs {
  direction: ltr;
  display: flex;
  align-items: flex-end;
  gap: 7px;
}

.analysis-stairs span {
  width: 30px;
  height: 28px;
  border-radius: 9px 9px 3px 3px;
  background: var(--brand-600);
  animation: stairBuild 1.2s var(--ease) infinite alternate;
}

.analysis-stairs span:nth-child(2) {
  height: 52px;
  animation-delay: 150ms;
}

.analysis-stairs span:nth-child(3) {
  height: 76px;
  background: var(--mint-500);
  animation-delay: 300ms;
}

.analysis-lines {
  display: grid;
  gap: 10px;
  max-width: 380px;
  margin: 24px auto 0;
}

.analysis-lines span {
  height: 10px;
  overflow: hidden;
  border-radius: 99px;
  background: var(--surface-3);
}

.analysis-lines span::after {
  content: "";
  display: block;
  width: 48%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, transparent, var(--brand-100), transparent);
  animation: shimmer 1.4s ease-in-out infinite;
}

/* App shell */

.app-shell {
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  grid-template-columns: var(--nav-width) minmax(0, 1fr);
  background: var(--canvas);
}

.sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100dvh;
  display: flex;
  flex-direction: column;
  padding: 26px 18px;
  border-left: 1px solid var(--line);
  background: color-mix(in srgb, var(--surface) 96%, transparent);
}

.sidebar .brand-lockup {
  min-height: 52px;
  padding-inline: 10px;
}

.side-nav {
  display: grid;
  gap: 7px;
  margin-top: 36px;
}

.nav-item {
  min-height: 50px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 13px;
  border: 0;
  border-radius: 15px;
  color: var(--ink-600);
  background: transparent;
  font-weight: 700;
  text-align: right;
  transition: color 180ms ease, background-color 180ms ease;
}

.nav-item:hover {
  color: var(--ink-950);
  background: var(--surface-2);
}

.nav-item.active {
  color: var(--brand-600);
  background: var(--brand-50);
}

.nav-item svg {
  width: 21px;
  height: 21px;
}

.side-trial {
  margin-top: auto;
  padding: 16px;
  border: 1px solid color-mix(in srgb, var(--brand-600) 14%, var(--line));
  border-radius: 19px;
  background: linear-gradient(145deg, var(--brand-50), var(--surface));
}

.side-trial small,
.side-trial span {
  display: block;
  color: var(--ink-500);
  font-size: 0.75rem;
}

.side-trial strong {
  display: block;
  margin: 3px 0 10px;
  font-size: 0.88rem;
}

.mini-progress {
  height: 5px;
  overflow: hidden;
  border-radius: 10px;
  background: var(--surface-3);
}

.mini-progress span {
  height: 100%;
  display: block;
  border-radius: inherit;
  background: var(--mint-500);
}

.app-column {
  min-width: 0;
}

.topbar {
  position: sticky;
  z-index: 20;
  top: 0;
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 12px clamp(24px, 4vw, 54px);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 78%, transparent);
  background: color-mix(in srgb, var(--canvas) 88%, transparent);
  backdrop-filter: blur(18px);
}

.topbar-title {
  display: grid;
}

.topbar-title small {
  color: var(--ink-500);
  font-size: 0.75rem;
}

.topbar-title strong {
  font-size: 0.98rem;
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 9px;
}

.topbar-trial {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border-radius: 13px;
  color: var(--brand-600);
  background: var(--brand-100);
  font-size: 0.75rem;
  font-weight: 800;
}

.main-content {
  width: min(100%, 930px);
  margin-inline: auto;
  padding: 38px clamp(20px, 4vw, 46px) 80px;
}

.page-enter {
  animation: pageEnter 340ms var(--ease) both;
}

.mobile-nav {
  display: none;
}

/* Home */

.welcome-row {
  margin-bottom: 27px;
}

.welcome-row h1 {
  margin-bottom: 4px;
  font-size: clamp(1.7rem, 4vw, 2.25rem);
  line-height: 1.45;
  letter-spacing: -0.04em;
}

.welcome-row p {
  margin-bottom: 0;
  color: var(--ink-600);
}

.journey-map {
  position: relative;
  overflow-x: auto;
  display: grid;
  grid-template-columns: repeat(6, minmax(94px, 1fr));
  gap: 8px;
  margin-bottom: 20px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
  scrollbar-width: none;
}

.journey-map::-webkit-scrollbar {
  display: none;
}

.journey-step {
  min-width: 94px;
  display: grid;
  justify-items: center;
  gap: 6px;
  padding: 8px;
  color: var(--ink-500);
  font-size: 0.75rem;
  text-align: center;
}

.journey-dot {
  width: 13px;
  height: 13px;
  border: 3px solid var(--surface);
  border-radius: 50%;
  background: var(--surface-3);
  box-shadow: 0 0 0 1px var(--line);
}

.journey-step.done {
  color: var(--mint-600);
}

.journey-step.done .journey-dot {
  background: var(--mint-500);
  box-shadow: 0 0 0 1px var(--mint-500);
}

.journey-step.active {
  color: var(--brand-600);
  font-weight: 800;
}

.journey-step.active .journey-dot {
  background: var(--brand-600);
  box-shadow: 0 0 0 6px var(--brand-100);
}

.today-card {
  position: relative;
  overflow: hidden;
  padding: clamp(24px, 5vw, 42px);
  border: 0;
  border-radius: var(--radius-xl);
  color: #fff;
  background:
    radial-gradient(circle at 8% 18%, rgba(56, 199, 165, 0.22), transparent 28%),
    linear-gradient(140deg, #18287f, var(--brand-600));
  box-shadow: var(--shadow-brand);
}

.today-card::after {
  content: "";
  position: absolute;
  width: 250px;
  height: 250px;
  left: -90px;
  bottom: -130px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 50%;
}

.today-card-top,
.today-card-body {
  position: relative;
  z-index: 1;
}

.today-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 34px;
}

.day-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 11px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.88);
  background: rgba(255, 255, 255, 0.09);
  font-size: 0.75rem;
  font-weight: 750;
}

.today-card h2 {
  max-width: 620px;
  margin-bottom: 10px;
  font-size: clamp(1.75rem, 5vw, 2.8rem);
  line-height: 1.45;
  letter-spacing: -0.045em;
}

.today-card p {
  max-width: 650px;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.73);
}

.today-card .button-mint {
  min-width: 210px;
}

.today-card .button-ghost {
  color: #fff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.28);
}

.today-card.completed {
  background:
    radial-gradient(circle at 8% 18%, rgba(255, 255, 255, 0.12), transparent 28%),
    linear-gradient(140deg, #15725f, #219e83);
}

.home-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 16px;
  margin-top: 16px;
}

.insight-panel,
.evidence-panel,
.tomorrow-panel,
.recovery-panel {
  padding: 22px;
}

.panel-icon {
  width: 45px;
  height: 45px;
  display: grid;
  place-items: center;
  margin-bottom: 23px;
  border-radius: 14px;
  color: var(--brand-600);
  background: var(--brand-100);
}

.insight-panel h3,
.evidence-panel h3,
.tomorrow-panel h3,
.recovery-panel h3 {
  margin-bottom: 7px;
  font-size: 1.02rem;
}

.insight-panel p,
.tomorrow-panel p,
.recovery-panel p {
  margin-bottom: 0;
  color: var(--ink-600);
  font-size: 0.84rem;
}

.evidence-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 9px;
  margin-top: 17px;
}

.evidence-item {
  min-width: 0;
  padding: 12px 9px;
  border-radius: 14px;
  background: var(--surface-2);
  text-align: center;
}

.evidence-item strong,
.evidence-item span {
  display: block;
}

.evidence-item strong {
  color: var(--brand-600);
  font-size: 1.2rem;
}

.evidence-item span {
  color: var(--ink-500);
  font-size: 0.75rem;
  white-space: normal;
}

.recovery-panel {
  position: relative;
  overflow: hidden;
  color: var(--ink-950);
  background: linear-gradient(145deg, var(--mint-100), var(--surface));
}

.recovery-panel .text-button {
  margin-top: 10px;
  color: var(--mint-600);
}

/* Report */

.report-shell {
  min-height: 100vh;
  min-height: 100dvh;
  padding: 24px;
  background:
    radial-gradient(circle at 80% 0%, color-mix(in srgb, var(--mint-500) 13%, transparent), transparent 27%),
    var(--canvas);
}

.report-header,
.report-content {
  width: min(100%, 960px);
  min-width: 0;
  margin-inline: auto;
}

.report-header {
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.report-content {
  padding: 46px 0 70px;
}

.report-hero {
  display: grid;
  grid-template-columns: 1fr 0.72fr;
  gap: 40px;
  align-items: center;
  margin-bottom: 20px;
  padding: clamp(28px, 5vw, 48px);
  border-radius: var(--radius-xl);
  color: #fff;
  background: linear-gradient(145deg, #152579, var(--brand-600));
  box-shadow: var(--shadow-brand);
}

.report-hero h1 {
  margin-bottom: 13px;
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 1.42;
  letter-spacing: -0.055em;
}

.report-hero p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.74);
}

.pattern-visual {
  position: relative;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
}

.pattern-orbit {
  position: absolute;
  inset: 10%;
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 50%;
}

.pattern-orbit:nth-child(2) {
  inset: 22%;
  border-style: dashed;
}

.pattern-core {
  position: relative;
  width: 42%;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 30% 50% 38% 54%;
  color: #083e33;
  background: var(--mint-500);
  box-shadow: 0 0 0 14px rgba(56, 199, 165, 0.12);
}

.pattern-core svg {
  width: 42%;
  height: 42%;
}

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

.report-card {
  min-width: 0;
  min-height: 220px;
  padding: 25px;
}

.report-card.wide {
  grid-column: 1 / -1;
}

.report-card-number {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  margin-bottom: 24px;
  border-radius: 13px;
  color: var(--brand-600);
  background: var(--brand-100);
  font-size: 0.82rem;
  font-weight: 850;
}

.report-card.mint .report-card-number {
  color: var(--mint-600);
  background: var(--mint-100);
}

.report-card h2 {
  margin-bottom: 8px;
  font-size: 1.08rem;
}

.report-card p {
  margin-bottom: 0;
  color: var(--ink-600);
  font-size: 0.88rem;
}

.strategy-flow {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 22px;
}

.strategy-step {
  position: relative;
  padding: 16px;
  border-radius: 16px;
  background: var(--surface-2);
}

.strategy-step strong,
.strategy-step span {
  display: block;
}

.strategy-step strong {
  margin-bottom: 5px;
  color: var(--brand-600);
  font-size: 0.79rem;
}

.strategy-step span {
  color: var(--ink-600);
  font-size: 0.75rem;
}

.seven-day-preview {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 7px;
  margin-top: 22px;
}

.preview-day {
  min-height: 118px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 12px 9px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface-2);
}

.preview-day:first-child {
  border-color: var(--brand-600);
  background: var(--brand-50);
}

.preview-day strong {
  color: var(--brand-600);
  font-size: 0.75rem;
}

.preview-day span {
  color: var(--ink-600);
  font-size: 0.75rem;
  line-height: 1.55;
}

.first-goal-card {
  position: relative;
  min-width: 0;
  overflow: hidden;
  grid-column: 1 / -1;
  padding: 30px;
  color: #fff;
  background: linear-gradient(140deg, #146b59, #249e84);
}

.first-goal-card h2 {
  margin-bottom: 8px;
  font-size: 1.35rem;
}

.first-goal-card p {
  max-width: 680px;
  margin-bottom: 24px;
  color: rgba(255, 255, 255, 0.76);
}

/* Plan */

.plan-summary {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  align-items: center;
  margin-bottom: 20px;
  padding: 24px;
}

.plan-summary h2 {
  margin-bottom: 5px;
  font-size: 1.1rem;
}

.plan-summary p {
  margin-bottom: 0;
  color: var(--ink-600);
  font-size: 0.82rem;
}

.plan-ring {
  --value: 14;
  width: 82px;
  height: 82px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: conic-gradient(var(--mint-500) calc(var(--value) * 1%), var(--surface-3) 0);
}

.plan-ring::before {
  content: attr(data-label);
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--ink-800);
  background: var(--surface);
  font-size: 0.75rem;
  font-weight: 800;
}

.plan-list {
  position: relative;
  display: grid;
  gap: 12px;
}

.plan-day {
  position: relative;
  min-height: 116px;
  display: grid;
  grid-template-columns: 52px 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  color: var(--ink-800);
  background: var(--surface);
  text-align: right;
  box-shadow: var(--shadow-sm);
  transition: border-color 180ms ease, background-color 180ms ease, opacity 180ms ease;
}

.plan-day:hover:not(:disabled) {
  border-color: color-mix(in srgb, var(--brand-600) 28%, var(--line));
  background: var(--brand-50);
}

.plan-day.current {
  border-color: var(--brand-600);
  background: linear-gradient(145deg, var(--brand-50), var(--surface));
}

.plan-day.done {
  border-color: color-mix(in srgb, var(--mint-500) 34%, var(--line));
}

.plan-day.locked {
  opacity: 0.62;
}

.day-number {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  color: var(--brand-600);
  background: var(--brand-100);
  font-size: 1rem;
  font-weight: 850;
}

.plan-day.done .day-number {
  color: var(--mint-600);
  background: var(--mint-100);
}

.plan-day-copy strong,
.plan-day-copy small {
  display: block;
}

.plan-day-copy strong {
  margin-bottom: 3px;
  font-size: 0.93rem;
}

.plan-day-copy small {
  color: var(--ink-500);
  font-size: 0.75rem;
}

.day-status {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  color: var(--ink-500);
  background: var(--surface-2);
}

.plan-day.current .day-status {
  color: #fff;
  background: var(--brand-600);
}

.plan-day.done .day-status {
  color: var(--mint-600);
  background: var(--mint-100);
}

.day-detail {
  padding: clamp(22px, 5vw, 36px);
}

.day-detail-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
}

.day-detail-header h2 {
  margin: 8px 0 5px;
  font-size: clamp(1.6rem, 4vw, 2.25rem);
  line-height: 1.45;
}

.day-detail-header p {
  margin-bottom: 0;
  color: var(--ink-600);
}

.mission-box {
  padding: 22px;
  border-radius: 20px;
  background: var(--brand-50);
}

.mission-box small {
  display: block;
  margin-bottom: 6px;
  color: var(--brand-600);
  font-weight: 800;
}

.mission-box strong {
  display: block;
  margin-bottom: 5px;
  font-size: 1.05rem;
}

.mission-box p {
  margin-bottom: 0;
  color: var(--ink-600);
  font-size: 0.82rem;
}

.micro-steps {
  display: grid;
  gap: 10px;
  margin: 20px 0;
}

.micro-step {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px;
  border-radius: 15px;
  background: var(--surface-2);
}

.micro-step span:first-child {
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 9px;
  color: var(--brand-600);
  background: var(--brand-100);
  font-size: 0.75rem;
  font-weight: 850;
}

.micro-step span:last-child {
  color: var(--ink-800);
  font-size: 0.82rem;
}

/* Progress */

.progress-hero {
  padding: clamp(24px, 5vw, 38px);
  color: #fff;
  background: linear-gradient(145deg, #17267f, var(--brand-600));
}

.progress-hero-top {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
}

.progress-hero h2 {
  margin-bottom: 6px;
  font-size: clamp(1.5rem, 4vw, 2.15rem);
}

.progress-hero p {
  max-width: 590px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.72);
}

.evidence-score {
  width: 106px;
  height: 106px;
  display: grid;
  place-items: center;
  border: 8px solid rgba(255, 255, 255, 0.12);
  border-top-color: var(--mint-500);
  border-left-color: var(--mint-500);
  border-radius: 50%;
  text-align: center;
}

.evidence-score strong,
.evidence-score small {
  display: block;
}

.evidence-score strong {
  font-size: 1.35rem;
}

.evidence-score small {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.75rem;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin: 16px 0;
}

.metric-card {
  padding: 18px;
}

.metric-card .panel-icon {
  width: 39px;
  height: 39px;
  margin-bottom: 18px;
}

.metric-card strong,
.metric-card span {
  display: block;
}

.metric-card strong {
  margin-bottom: 2px;
  font-size: 1.45rem;
}

.metric-card span {
  color: var(--ink-500);
  font-size: 0.75rem;
}

.weekly-chart-card {
  padding: 24px;
}

.weekly-chart {
  height: 220px;
  display: flex;
  direction: rtl;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px;
  margin-top: 24px;
  padding: 18px 8px 0;
  border-bottom: 1px solid var(--line);
}

.chart-day {
  height: 100%;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 9px;
}

.chart-bar-wrap {
  width: min(70%, 46px);
  height: calc(100% - 26px);
  display: flex;
  align-items: flex-end;
  border-radius: 12px 12px 4px 4px;
  background: var(--surface-2);
}

.chart-bar {
  width: 100%;
  min-height: 6px;
  height: var(--height);
  border-radius: 12px 12px 4px 4px;
  background: color-mix(in srgb, var(--brand-600) 28%, var(--surface-3));
  transition: height 500ms var(--ease);
}

.chart-day.done .chart-bar {
  background: linear-gradient(var(--mint-500), #269e84);
}

.chart-day.current .chart-bar {
  background: linear-gradient(var(--brand-500), var(--brand-600));
}

.chart-day span {
  color: var(--ink-500);
  font-size: 0.75rem;
}

.insights-list {
  display: grid;
  gap: 10px;
}

.insight-row {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  padding: 16px;
  border-radius: 17px;
  background: var(--surface-2);
}

.insight-row .choice-icon {
  width: 40px;
  height: 40px;
}

.insight-row strong,
.insight-row span {
  display: block;
}

.insight-row strong {
  margin-bottom: 3px;
  font-size: 0.85rem;
}

.insight-row span {
  color: var(--ink-500);
  font-size: 0.75rem;
}

.empty-state {
  padding: 44px 22px;
  border: 1px dashed var(--line);
  border-radius: var(--radius-md);
  text-align: center;
}

.empty-illustration {
  width: 96px;
  height: 96px;
  display: grid;
  place-items: center;
  margin: 0 auto 18px;
  border-radius: 30% 55% 38% 47%;
  color: var(--brand-600);
  background: var(--brand-50);
}

.empty-illustration svg {
  width: 42px;
  height: 42px;
}

.empty-state h3 {
  margin-bottom: 6px;
}

.empty-state p {
  max-width: 470px;
  margin: 0 auto;
  color: var(--ink-500);
  font-size: 0.82rem;
}

/* Reset / recovery */

.recovery-page {
  width: min(100%, 720px);
  margin-inline: auto;
}

.recovery-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(28px, 6vw, 48px);
  color: #fff;
  background:
    radial-gradient(circle at 10% 15%, rgba(56, 199, 165, 0.23), transparent 28%),
    linear-gradient(145deg, #17267f, #263cc8);
}

.recovery-symbol {
  width: 76px;
  height: 76px;
  display: grid;
  place-items: center;
  margin-bottom: 32px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 24px;
  color: var(--mint-500);
  background: rgba(255, 255, 255, 0.09);
}

.recovery-symbol svg {
  width: 34px;
  height: 34px;
}

.recovery-hero h1 {
  margin-bottom: 11px;
  font-size: clamp(2rem, 6vw, 3.15rem);
  line-height: 1.42;
}

.recovery-hero p {
  max-width: 600px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.74);
}

.recovery-form-card {
  margin-top: 16px;
  padding: clamp(22px, 5vw, 34px);
}

.option-list {
  display: grid;
  gap: 10px;
  margin: 20px 0;
}

.option-row {
  min-height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
  text-align: right;
}

.option-row[aria-pressed="true"] {
  border-color: var(--brand-600);
  background: var(--brand-50);
}

.radio-mark {
  width: 21px;
  height: 21px;
  flex: 0 0 auto;
  border: 2px solid var(--line);
  border-radius: 50%;
  background: var(--surface);
}

.option-row[aria-pressed="true"] .radio-mark {
  border: 6px solid var(--brand-600);
}

.recovery-success {
  padding: 40px;
  text-align: center;
}

.return-ring {
  width: 118px;
  height: 118px;
  display: grid;
  place-items: center;
  margin: 0 auto 26px;
  border: 1px solid var(--mint-100);
  border-radius: 50%;
  color: var(--mint-600);
  background: var(--mint-100);
  box-shadow: 0 0 0 16px color-mix(in srgb, var(--mint-500) 8%, transparent);
}

.return-ring svg {
  width: 48px;
  height: 48px;
}

.recovery-success h2 {
  margin-bottom: 8px;
  font-size: 1.65rem;
}

.recovery-success p {
  max-width: 510px;
  margin: 0 auto 26px;
  color: var(--ink-600);
}

/* Completion */

.completion-overlay {
  position: fixed;
  z-index: 50;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(7, 10, 29, 0.64);
  backdrop-filter: blur(12px);
}

.completion-card {
  position: relative;
  overflow: hidden;
  width: min(100%, 540px);
  padding: clamp(30px, 6vw, 48px);
  border-radius: 34px;
  background: var(--surface);
  box-shadow: 0 35px 100px rgba(0, 0, 0, 0.28);
  text-align: center;
  animation: modalEnter 360ms var(--ease) both;
}

.completion-close {
  position: absolute;
  top: 16px;
  left: 16px;
}

.completion-mark {
  position: relative;
  width: 112px;
  height: 112px;
  display: grid;
  place-items: center;
  margin: 0 auto 26px;
  border-radius: 34px;
  color: #073d33;
  background: var(--mint-500);
  box-shadow: 0 0 0 14px var(--mint-100);
}

.completion-mark svg {
  width: 48px;
  height: 48px;
  stroke-width: 2.5;
  animation: checkDraw 500ms var(--ease) both 200ms;
}

.completion-card h2 {
  margin-bottom: 8px;
  font-size: 1.75rem;
}

.completion-card p {
  margin-bottom: 24px;
  color: var(--ink-600);
}

.completion-proof {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 9px;
  margin-bottom: 22px;
}

.completion-proof div {
  padding: 13px;
  border-radius: 14px;
  background: var(--surface-2);
}

.completion-proof strong,
.completion-proof span {
  display: block;
}

.completion-proof strong {
  color: var(--brand-600);
  font-size: 1.15rem;
}

.completion-proof span {
  color: var(--ink-500);
  font-size: 0.75rem;
}

/* Paywall */

.paywall-page {
  min-height: 100vh;
  min-height: 100dvh;
  padding: 22px;
  background:
    radial-gradient(circle at 10% 0%, rgba(56, 199, 165, 0.18), transparent 24%),
    linear-gradient(145deg, #10194f, #1d2c89 58%, #263cc8);
}

.paywall-top,
.paywall-content {
  width: min(100%, 1020px);
  margin-inline: auto;
}

.paywall-top {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #fff;
}

.paywall-top .brand-symbol {
  border-color: #fff;
}

.paywall-content {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 26px;
  align-items: center;
  padding: 34px 0 54px;
}

.paywall-story {
  color: #fff;
}

.paywall-story h1 {
  max-width: 640px;
  margin-bottom: 13px;
  font-size: clamp(2.35rem, 6vw, 4.5rem);
  line-height: 1.35;
  letter-spacing: -0.065em;
}

.paywall-story > p {
  max-width: 610px;
  color: rgba(255, 255, 255, 0.72);
}

.week-proof {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 28px;
}

.week-proof-card {
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
}

.week-proof-card strong,
.week-proof-card span {
  display: block;
}

.week-proof-card strong {
  margin-bottom: 3px;
  color: var(--mint-500);
  font-size: 1.45rem;
}

.week-proof-card span {
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.75rem;
}

.next-stage {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  margin-top: 16px;
  padding: 17px;
  border: 1px solid rgba(56, 199, 165, 0.24);
  border-radius: 18px;
  color: rgba(255, 255, 255, 0.82);
  background: rgba(56, 199, 165, 0.1);
  font-size: 0.8rem;
}

.next-stage svg {
  flex: 0 0 auto;
  margin-top: 3px;
  color: var(--mint-500);
}

.pricing-card {
  padding: clamp(24px, 5vw, 36px);
  border-radius: 32px;
  color: var(--ink-950);
  background: var(--surface);
  box-shadow: 0 32px 90px rgba(3, 7, 36, 0.32);
}

.pricing-card h2 {
  margin-bottom: 6px;
  font-size: 1.45rem;
}

.pricing-card > p {
  margin-bottom: 22px;
  color: var(--ink-600);
  font-size: 0.82rem;
}

.plan-selector {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
  margin-bottom: 18px;
}

.price-option {
  position: relative;
  min-height: 108px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: var(--surface);
  text-align: right;
}

.price-option[aria-pressed="true"] {
  border-color: var(--brand-600);
  background: var(--brand-50);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand-600) 10%, transparent);
}

.price-option strong,
.price-option span,
.price-option small {
  display: block;
}

.price-option strong {
  margin-bottom: 10px;
  font-size: 0.79rem;
}

.price-option span {
  color: var(--brand-600);
  font-size: 1.2rem;
  font-weight: 850;
}

.price-option small {
  color: var(--ink-500);
  font-size: 0.75rem;
}

.save-badge {
  position: absolute;
  top: -9px;
  left: 10px;
  padding: 3px 8px;
  border-radius: 99px;
  color: #073d33;
  background: var(--mint-500);
  font-size: 0.75rem;
  font-weight: 850;
}

.paywall-list {
  display: grid;
  gap: 10px;
  margin: 19px 0;
  padding: 0;
  list-style: none;
}

.paywall-list li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  color: var(--ink-600);
  font-size: 0.78rem;
}

.paywall-list svg {
  flex: 0 0 auto;
  margin-top: 3px;
  color: var(--mint-600);
}

.payment-note {
  margin: 11px 0 0;
  color: var(--ink-500);
  font-size: 0.75rem;
  text-align: center;
}

/* Settings */

.settings-list {
  overflow: hidden;
}

.settings-row {
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
}

.settings-row:last-child {
  border-bottom: 0;
}

.settings-copy {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 13px;
}

.settings-copy .choice-icon {
  width: 42px;
  height: 42px;
}

.settings-copy > div,
.choice-copy,
.plan-day-copy,
.topbar-title {
  min-width: 0;
}

.settings-copy strong,
.settings-copy small {
  display: block;
}

.settings-copy strong {
  margin-bottom: 2px;
  font-size: 0.84rem;
}

.settings-copy small {
  color: var(--ink-500);
  font-size: 0.75rem;
}

.toggle {
  position: relative;
  width: 50px;
  height: 29px;
  flex: 0 0 auto;
  border: 0;
  border-radius: 99px;
  background: var(--surface-3);
  transition: background-color 180ms ease;
}

.toggle::after {
  content: "";
  position: absolute;
  width: 21px;
  height: 21px;
  top: 4px;
  right: 4px;
  border-radius: 50%;
  background: var(--surface);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
  transition: transform 200ms var(--ease);
}

.toggle[aria-pressed="true"] {
  background: var(--brand-600);
}

.toggle[aria-pressed="true"]::after {
  transform: translateX(-21px);
}

/* Toast */

.toast-region {
  position: fixed;
  z-index: 100;
  inset: 20px auto auto 20px;
  width: min(360px, calc(100% - 40px));
  pointer-events: none;
}

.toast {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
  box-shadow: var(--shadow-md);
  animation: toastEnter 260ms var(--ease) both;
}

.toast svg {
  flex: 0 0 auto;
  margin-top: 3px;
  color: var(--mint-600);
}

.toast strong,
.toast span {
  display: block;
}

.toast strong {
  font-size: 0.82rem;
}

.toast span {
  color: var(--ink-500);
  font-size: 0.75rem;
}

/* Motion */

@keyframes pageEnter {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes modalEnter {
  from { opacity: 0; transform: translateY(18px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes toastEnter {
  from { opacity: 0; transform: translateY(-12px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes stairBuild {
  from { transform: scaleY(0.72); opacity: 0.55; }
  to { transform: scaleY(1); opacity: 1; }
}

@keyframes shimmer {
  from { transform: translateX(140%); }
  to { transform: translateX(-240%); }
}

@keyframes checkDraw {
  from { opacity: 0; transform: scale(0.65); }
  to { opacity: 1; transform: scale(1); }
}

/* Responsive */

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

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

  .legal-toc strong {
    grid-column: 1 / -1;
  }

  .onboarding-shell {
    grid-template-columns: 0.8fr 1.2fr;
  }

  .onboarding-visual {
    padding: 34px;
  }

  .visual-story-video {
    width: min(100%, 330px);
  }

  .sidebar {
    display: none;
  }

  .app-shell {
    display: block;
  }

  .main-content {
    padding-bottom: 114px;
  }

  .mobile-nav {
    position: fixed;
    z-index: 30;
    right: 14px;
    bottom: max(12px, env(safe-area-inset-bottom));
    left: 14px;
    min-height: 68px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    padding: 7px;
    border: 1px solid var(--line);
    border-radius: 23px;
    background: color-mix(in srgb, var(--surface) 94%, transparent);
    box-shadow: 0 18px 50px rgba(18, 23, 59, 0.16);
    backdrop-filter: blur(18px);
  }

  .mobile-nav .nav-item {
    min-height: 54px;
    display: grid;
    justify-items: center;
    align-content: center;
    gap: 2px;
    padding: 4px;
    font-size: 0.75rem;
  }

  .mobile-nav .nav-item svg {
    width: 20px;
    height: 20px;
  }

  .report-content {
    padding-top: 26px;
  }
}

@media (max-width: 760px) {
  .legal-topbar,
  .legal-footer {
    width: min(calc(100% - 24px), 1180px);
  }

  .legal-shell {
    width: min(calc(100% - 24px), 1180px);
    margin-top: 6px;
  }

  .legal-topbar .brand-lockup {
    font-size: 1.05rem;
  }

  .legal-back {
    min-height: 42px;
    padding: 7px 12px;
    font-size: 0.78rem;
  }

  .legal-hero {
    border-radius: 26px;
  }

  .legal-grid {
    gap: 18px;
    margin-top: 18px;
  }

  .legal-toc {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 15px;
  }

  .legal-toc a {
    padding-inline: 7px;
  }

  .legal-document {
    border-radius: 24px;
  }

  .legal-section h2 {
    padding-inline-start: 48px;
  }

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

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

  .onboarding-shell {
    display: block;
  }

  .onboarding-visual {
    min-height: 300px;
    padding: 24px 20px 30px;
  }

  .onboarding-visual .brand-lockup {
    margin-bottom: 34px;
  }

  .visual-story {
    padding: 0;
  }

  .visual-story-video {
    display: none;
  }

  .visual-story h2 {
    margin-bottom: 8px;
    font-size: 2rem;
  }

  .visual-story p {
    font-size: 0.86rem;
  }

  .trust-note {
    margin-top: 26px;
    padding: 12px 13px;
  }

  .onboarding-panel {
    min-height: auto;
    padding: 26px 20px max(34px, env(safe-area-inset-bottom));
  }

  .onboarding-topline {
    margin-bottom: 24px;
  }

  .question-heading h1 {
    font-size: 2rem;
  }

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

  .choice-card {
    min-height: 76px;
  }

  .topbar {
    min-height: 68px;
    padding: 10px 18px;
  }

  .topbar-trial {
    display: none;
  }

  .main-content {
    padding: 26px 16px 112px;
  }

  .home-grid,
  .report-hero,
  .report-grid,
  .paywall-content {
    grid-template-columns: minmax(0, 1fr);
  }

  .report-card.wide,
  .first-goal-card {
    grid-column: auto;
  }

  .today-card {
    border-radius: 29px;
  }

  .today-card-top {
    margin-bottom: 26px;
  }

  .today-card .button-mint {
    width: 100%;
  }

  .journey-map {
    grid-template-columns: repeat(6, 104px);
  }

  .report-shell,
  .paywall-page {
    padding: 16px;
  }

  .report-content {
    padding-bottom: 40px;
  }

  .pattern-visual {
    width: min(80%, 300px);
    margin-inline: auto;
  }

  .strategy-flow {
    grid-template-columns: 1fr;
  }

  .seven-day-preview {
    overflow-x: auto;
    grid-template-columns: repeat(7, 108px);
    padding-bottom: 7px;
    scrollbar-width: thin;
  }

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

  .progress-hero-top {
    grid-template-columns: 1fr;
  }

  .evidence-score {
    width: 92px;
    height: 92px;
  }

  .weekly-chart {
    height: 190px;
    gap: 5px;
  }

  .paywall-content {
    padding-top: 18px;
  }

  .paywall-story h1 {
    font-size: 2.55rem;
  }
}

@media (max-width: 430px) {
  .onboarding-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .onboarding-actions .text-button {
    order: 2;
  }

  .topbar-title strong {
    max-width: min(52vw, 220px);
    line-height: 1.45;
    white-space: normal;
  }

  .evidence-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .evidence-item span {
    white-space: normal;
  }

  .plan-day {
    grid-template-columns: 46px 1fr 36px;
    gap: 11px;
    padding: 14px;
  }

  .day-number {
    width: 44px;
    height: 44px;
  }

  .day-status {
    width: 36px;
    height: 36px;
  }

  .day-detail-header {
    display: block;
  }

  .day-detail-header .pill {
    margin-top: 12px;
  }

  .completion-card {
    padding: 30px 20px;
  }

  .week-proof,
  .plan-selector {
    grid-template-columns: 1fr;
  }

  .paywall-story h1 {
    font-size: 2.15rem;
  }

  .settings-row {
    padding-inline: 13px;
  }
}

@media (orientation: landscape) and (max-height: 560px) {
  .onboarding-shell {
    display: grid;
    grid-template-columns: 0.7fr 1.3fr;
  }

  .onboarding-visual {
    min-height: 100vh;
  }

  .visual-story-video,
  .trust-note {
    display: none;
  }

  .onboarding-panel {
    min-height: 100vh;
    padding-block: 18px;
  }

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

  .choice-card {
    min-height: 66px;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

/* Marketing landing page */

.marketing-page {
  --marketing-navy: #121a52;
  --marketing-indigo: #263cc8;
  --marketing-indigo-dark: #17257f;
  --marketing-mint: #56dfbf;
  --marketing-mint-soft: #ddf9f1;
  --marketing-cream: #f5f1e8;
  --marketing-cream-dark: #ece4d4;
  --marketing-ink: #13162b;
  --marketing-muted: #62667a;
  --marketing-white: #fffdf9;
  --marketing-line: rgba(19, 22, 43, 0.12);
  --marketing-shadow: 0 28px 80px rgba(27, 33, 84, 0.13);
  color: var(--marketing-ink);
  background: var(--marketing-cream);
  font-size: 16px;
}

.marketing-page::selection {
  color: #fff;
  background: var(--marketing-indigo);
}

.marketing-page .skip-link {
  color: #fff;
  background: var(--marketing-navy);
}

.marketing-container {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.marketing-header {
  position: fixed;
  z-index: 100;
  inset: 0 0 auto;
  border-bottom: 1px solid transparent;
  transition:
    background-color 220ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease;
}

.marketing-header.is-scrolled {
  border-color: rgba(18, 26, 82, 0.09);
  background: color-mix(in srgb, var(--marketing-cream) 90%, transparent);
  box-shadow: 0 8px 28px rgba(18, 26, 82, 0.06);
  backdrop-filter: blur(18px);
}

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

.marketing-brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--marketing-navy);
  font-size: 1.25rem;
  font-weight: 900;
}

.marketing-brand img {
  width: 42px;
  height: 42px;
  border-radius: 13px;
  box-shadow: 0 8px 18px rgba(38, 60, 200, 0.16);
}

.marketing-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
}

.marketing-nav a {
  position: relative;
  color: #40445d;
  font-size: 0.9rem;
  font-weight: 700;
}

.marketing-nav a::after {
  content: "";
  position: absolute;
  inset: auto 0 -8px;
  height: 2px;
  border-radius: 999px;
  background: var(--marketing-indigo);
  transform: scaleX(0);
  transition: transform 180ms ease;
}

.marketing-nav a:hover::after,
.marketing-nav a:focus-visible::after {
  transform: scaleX(1);
}

.marketing-menu-button {
  display: none;
  width: 46px;
  height: 46px;
  align-content: center;
  justify-items: center;
  gap: 5px;
  padding: 0;
  border: 1px solid var(--marketing-line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.55);
}

.marketing-menu-button span {
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: var(--marketing-navy);
}

.marketing-button {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 13px 24px;
  border: 1px solid transparent;
  border-radius: 16px;
  font-weight: 900;
  line-height: 1.3;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background-color 180ms ease;
}

.marketing-button:hover {
  transform: translateY(-2px);
}

.marketing-button-small {
  min-height: 46px;
  padding: 10px 19px;
  border-color: rgba(38, 60, 200, 0.2);
  color: var(--marketing-indigo);
  background: rgba(255, 255, 255, 0.58);
  font-size: 0.86rem;
}

.marketing-button-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--marketing-indigo-dark), var(--marketing-indigo));
  box-shadow: 0 16px 35px rgba(38, 60, 200, 0.26);
}

.marketing-button-primary:hover {
  box-shadow: 0 20px 44px rgba(38, 60, 200, 0.33);
}

.marketing-button-dark {
  color: #fff;
  background: var(--marketing-navy);
  box-shadow: 0 14px 30px rgba(18, 26, 82, 0.2);
}

.marketing-button-mint {
  color: #0b3f35;
  background: var(--marketing-mint);
  box-shadow: 0 18px 38px rgba(86, 223, 191, 0.22);
}

.marketing-button-block {
  width: 100%;
}

.marketing-text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--marketing-indigo-dark);
  font-weight: 900;
}

.marketing-text-link span {
  font-size: 1.15em;
}

.marketing-hero {
  position: relative;
  min-height: 780px;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: 132px 0 88px;
  background:
    linear-gradient(rgba(24, 35, 118, 0.032) 1px, transparent 1px),
    linear-gradient(90deg, rgba(24, 35, 118, 0.032) 1px, transparent 1px),
    var(--marketing-cream);
  background-size: 46px 46px;
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(2px);
}

.hero-glow-one {
  width: 540px;
  height: 540px;
  inset: -160px auto auto -170px;
  background: radial-gradient(circle, rgba(86, 223, 191, 0.24), transparent 68%);
}

.hero-glow-two {
  width: 640px;
  height: 640px;
  inset: auto -260px -220px auto;
  background: radial-gradient(circle, rgba(38, 60, 200, 0.16), transparent 66%);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(400px, 0.95fr);
  align-items: center;
  gap: clamp(46px, 8vw, 100px);
}

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

.marketing-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--marketing-indigo);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.02em;
}

.marketing-eyebrow i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--marketing-mint);
  box-shadow: 0 0 0 5px rgba(86, 223, 191, 0.18);
}

.hero-copy h1 {
  max-width: 650px;
  margin: 20px 0 24px;
  color: var(--marketing-navy);
  font-size: clamp(3.3rem, 6vw, 5.7rem);
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: -0.045em;
}

.hero-copy h1 em {
  position: relative;
  display: inline-block;
  color: var(--marketing-indigo);
  font-style: normal;
}

.hero-copy h1 em::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: auto -4px 3px;
  height: 18px;
  border-radius: 50%;
  background: rgba(86, 223, 191, 0.42);
  transform: rotate(-1.5deg);
}

.hero-lead {
  max-width: 650px;
  margin-bottom: 30px;
  color: #50556c;
  font-size: clamp(1.04rem, 1.7vw, 1.23rem);
  line-height: 1.95;
}

.hero-lead strong {
  color: var(--marketing-navy);
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 24px;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 22px;
  margin: 25px 0 0;
  padding: 0;
  color: #5b6074;
  font-size: 0.78rem;
  font-weight: 700;
  list-style: none;
}

.hero-trust li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.hero-trust li span {
  width: 21px;
  height: 21px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  color: #12634f;
  background: var(--marketing-mint-soft);
  font-size: 0.75rem;
}

.hero-product {
  position: relative;
  min-height: 620px;
  display: grid;
  place-items: center;
}

.phone-shell {
  position: relative;
  z-index: 3;
  width: min(340px, 88vw);
  padding: 10px;
  border: 2px solid rgba(255, 255, 255, 0.72);
  border-radius: 48px;
  background: #11162a;
  box-shadow:
    0 44px 90px rgba(18, 26, 82, 0.28),
    inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  transform: rotate(-2.3deg);
}

.phone-top {
  position: absolute;
  z-index: 5;
  inset: 18px 50% auto auto;
  width: 92px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: #11162a;
  transform: translateX(50%);
}

.phone-top span {
  width: 28px;
  height: 5px;
  border-radius: 999px;
  background: #2c3248;
}

.phone-screen {
  min-height: 596px;
  overflow: hidden;
  padding: 52px 22px 24px;
  border-radius: 39px;
  background:
    radial-gradient(circle at 82% 5%, rgba(86, 223, 191, 0.2), transparent 170px),
    #f9f8f4;
}

.phone-brand-row,
.dashboard-top,
.diagnosis-progress > div:first-child,
.phone-task,
.pricing-reassurance,
.week-cta,
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.mini-brand {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--marketing-navy);
  font-size: 0.75rem;
  font-weight: 900;
}

.mini-brand i {
  width: 14px;
  height: 14px;
  border: 4px solid var(--marketing-indigo);
  border-block-start: 0;
  border-inline-start-color: var(--marketing-mint);
  border-radius: 3px;
  transform: rotate(-8deg);
}

.day-chip {
  padding: 5px 9px;
  border-radius: 999px;
  color: var(--marketing-indigo-dark);
  background: #e8ebff;
  font-size: 0.75rem;
  font-weight: 800;
}

.phone-progress {
  height: 5px;
  margin-top: 17px;
  overflow: hidden;
  border-radius: 999px;
  background: #e4e4df;
}

.phone-progress span {
  height: 100%;
  display: block;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--marketing-indigo), var(--marketing-mint));
}

.phone-welcome {
  padding: 29px 0 19px;
}

.phone-welcome small,
.phone-task small,
.mini-report-card small,
.dashboard-top small {
  color: var(--marketing-indigo);
  font-size: 0.75rem;
  font-weight: 900;
}

.phone-welcome h2 {
  margin: 6px 0 8px;
  color: var(--marketing-navy);
  font-size: 1.6rem;
  line-height: 1.35;
}

.phone-welcome p,
.phone-note {
  margin: 0;
  color: #676b7c;
  font-size: 0.75rem;
  line-height: 1.8;
}

.phone-task {
  justify-content: flex-start;
  padding: 13px;
  border: 1px solid rgba(38, 60, 200, 0.11);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 10px 25px rgba(22, 28, 73, 0.07);
}

.task-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  color: #fff;
  background: var(--marketing-indigo);
  font-size: 0.75rem;
  font-weight: 900;
}

.phone-task div {
  display: grid;
}

.phone-task strong {
  color: var(--marketing-navy);
  font-size: 0.76rem;
}

.trigger-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 18px 0;
}

.trigger-row span {
  padding: 7px 10px;
  border: 1px solid #dddedb;
  border-radius: 999px;
  color: #747787;
  background: #fff;
  font-size: 0.75rem;
  font-weight: 800;
}

.trigger-row .active {
  border-color: rgba(38, 60, 200, 0.3);
  color: var(--marketing-indigo-dark);
  background: #eceeff;
}

.phone-screen > button {
  width: 100%;
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  margin-bottom: 14px;
  border: 0;
  border-radius: 15px;
  color: #0b4638;
  background: var(--marketing-mint);
  font-size: 0.75rem;
  font-weight: 900;
}

.floating-proof {
  position: absolute;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 15px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 17px;
  background: rgba(255, 253, 249, 0.9);
  box-shadow: 0 16px 40px rgba(18, 26, 82, 0.13);
  backdrop-filter: blur(12px);
}

.floating-proof strong,
.floating-proof span {
  display: block;
}

.floating-proof strong {
  color: var(--marketing-navy);
  font-size: 0.75rem;
}

.floating-proof span {
  color: #747789;
  font-size: 0.75rem;
}

.proof-top {
  inset: 105px auto auto 0;
}

.proof-bottom {
  inset: auto 0 94px auto;
}

.proof-check {
  width: 32px;
  height: 32px;
  display: grid !important;
  place-items: center;
  border-radius: 10px;
  color: #0e4a3c !important;
  background: var(--marketing-mint);
  font-size: 0.8rem !important;
  font-weight: 900;
}

.hero-stair {
  position: absolute;
  z-index: 1;
  border: 28px solid rgba(38, 60, 200, 0.1);
  border-block-start: 0;
  border-inline-end: 0;
  border-radius: 0 0 0 24px;
}

.stair-one {
  width: 260px;
  height: 220px;
  inset: 48px 8px auto auto;
  transform: rotate(-8deg);
}

.stair-two {
  width: 300px;
  height: 260px;
  inset: auto auto 20px 2px;
  border-color: rgba(86, 223, 191, 0.18);
  transform: rotate(172deg);
}

.promise-strip {
  border-block: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.62);
  background: var(--marketing-navy);
}

.promise-strip-inner {
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 3vw, 40px);
  font-size: clamp(0.82rem, 1.4vw, 1rem);
  font-weight: 700;
}

.promise-strip-inner i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--marketing-mint);
}

.promise-strip-inner strong {
  color: #fff;
  font-size: 1.1em;
}

.marketing-section {
  padding-block: clamp(90px, 11vw, 150px);
}

.narrow-heading {
  max-width: 780px;
  margin-bottom: 58px;
  text-align: center;
}

.narrow-heading h2,
.diagnosis-heading h2,
.evidence-copy h2,
.pricing-copy h2,
.faq-heading h2 {
  margin: 14px 0 17px;
  color: var(--marketing-navy);
  font-size: clamp(2.25rem, 5vw, 4.1rem);
  font-weight: 900;
  line-height: 1.23;
  letter-spacing: -0.035em;
}

.narrow-heading p,
.diagnosis-heading p,
.evidence-copy > p,
.pricing-copy > p,
.faq-heading > p {
  margin: 0;
  color: var(--marketing-muted);
  font-size: clamp(1rem, 1.7vw, 1.14rem);
  line-height: 1.9;
}

.promise-section {
  background: var(--marketing-white);
}

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

.marketing-feature {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  padding: 30px;
  border: 1px solid rgba(18, 26, 82, 0.1);
  border-radius: 30px;
  background: #f8f6f0;
  box-shadow: 0 18px 50px rgba(18, 26, 82, 0.06);
}

.marketing-feature::after {
  content: "";
  position: absolute;
  width: 170px;
  height: 170px;
  inset: auto -70px -70px auto;
  border: 24px solid rgba(38, 60, 200, 0.06);
  border-radius: 38px;
  transform: rotate(24deg);
}

.feature-indigo {
  color: #fff;
  border-color: transparent;
  background:
    radial-gradient(circle at 12% 8%, rgba(86, 223, 191, 0.21), transparent 180px),
    var(--marketing-indigo-dark);
}

.feature-number {
  position: absolute;
  inset: 24px auto auto 25px;
  color: rgba(18, 26, 82, 0.15);
  font-size: 2.8rem;
  font-weight: 900;
  line-height: 1;
}

.feature-indigo .feature-number {
  color: rgba(255, 255, 255, 0.17);
}

.feature-icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  margin-bottom: 25px;
  border-radius: 17px;
  color: var(--marketing-indigo);
  background: #e8ebff;
  font-size: 1.55rem;
  font-weight: 900;
}

.feature-indigo .feature-icon {
  color: #0d4b3c;
  background: var(--marketing-mint);
}

.marketing-feature h3 {
  margin-bottom: 12px;
  color: var(--marketing-navy);
  font-size: 1.45rem;
  line-height: 1.45;
}

.feature-indigo h3 {
  color: #fff;
}

.marketing-feature > p {
  margin-bottom: 25px;
  color: #62667a;
  font-size: 0.9rem;
  line-height: 1.85;
}

.feature-indigo > p {
  color: rgba(255, 255, 255, 0.7);
}

.mini-report-card {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 7px;
  margin-top: 30px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.09);
}

.mini-report-card small {
  color: #89ead2;
}

.mini-report-card strong {
  color: #fff;
  font-size: 0.88rem;
  line-height: 1.65;
}

.mini-report-card span {
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.75rem;
}

.mini-step-list {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 10px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
}

.mini-step-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border: 1px solid rgba(18, 26, 82, 0.08);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.7);
}

.mini-step-list li > span {
  width: 34px;
  height: 34px;
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 10px;
  color: #777b8d;
  background: #e9e8e3;
  font-size: 0.75rem;
  font-weight: 900;
}

.mini-step-list .done > span {
  color: #0b4b3a;
  background: var(--marketing-mint);
}

.mini-step-list .current {
  border-color: rgba(38, 60, 200, 0.25);
  background: #fff;
  box-shadow: 0 9px 24px rgba(38, 60, 200, 0.08);
}

.mini-step-list .current > span {
  color: #fff;
  background: var(--marketing-indigo);
}

.mini-step-list div {
  display: grid;
}

.mini-step-list strong {
  color: var(--marketing-navy);
  font-size: 0.77rem;
}

.mini-step-list small {
  color: #888b98;
  font-size: 0.75rem;
}

.return-card {
  position: relative;
  z-index: 2;
  display: grid;
  margin-top: 32px;
  padding: 20px;
  border: 1px solid rgba(18, 26, 82, 0.08);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.75);
}

.return-card > span {
  color: var(--marketing-indigo);
  font-size: 0.75rem;
  font-weight: 900;
}

.return-card > strong {
  margin-top: 4px;
  color: var(--marketing-navy);
  font-size: 0.92rem;
}

.return-card div {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: end;
  gap: 7px;
  height: 82px;
  margin-top: 18px;
}

.return-card i {
  height: 54%;
  border-radius: 8px 8px 3px 3px;
  background: #cbd1ff;
}

.return-card i:nth-child(2) {
  height: 76%;
}

.return-card .missed {
  height: 28%;
  background: #dddcd6;
}

.return-card .return {
  height: 68%;
  background: var(--marketing-mint);
}

.return-card i:nth-child(5) {
  height: 92%;
  background: var(--marketing-indigo);
}

.diagnosis-section {
  background:
    radial-gradient(circle at 100% 0%, rgba(86, 223, 191, 0.13), transparent 360px),
    var(--marketing-cream);
}

.diagnosis-shell {
  padding: clamp(28px, 5vw, 64px);
  border: 1px solid rgba(18, 26, 82, 0.11);
  border-radius: 36px;
  background: rgba(255, 253, 249, 0.72);
  box-shadow: var(--marketing-shadow);
}

.diagnosis-heading {
  max-width: 700px;
  margin-bottom: 35px;
}

.diagnosis-heading h2 {
  font-size: clamp(2.2rem, 4.5vw, 3.7rem);
}

.diagnosis-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.diagnosis-options button {
  min-height: 78px;
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 16px 18px;
  border: 1px solid rgba(18, 26, 82, 0.11);
  border-radius: 17px;
  color: #34384f;
  background: rgba(255, 255, 255, 0.74);
  text-align: start;
  font-size: 0.9rem;
  font-weight: 750;
  transition:
    border-color 160ms ease,
    background-color 160ms ease,
    transform 160ms ease;
}

.diagnosis-options button:last-child {
  grid-column: 1 / -1;
}

.diagnosis-options button:hover {
  border-color: rgba(38, 60, 200, 0.34);
  transform: translateY(-1px);
}

.diagnosis-options button[aria-pressed="true"] {
  border-color: var(--marketing-indigo);
  color: var(--marketing-navy);
  background: #eff1ff;
}

.diagnosis-check {
  width: 25px;
  height: 25px;
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  border: 2px solid #b7bac7;
  border-radius: 7px;
  background: #fff;
}

.diagnosis-options button[aria-pressed="true"] .diagnosis-check {
  border-color: var(--marketing-indigo);
  background: var(--marketing-indigo);
}

.diagnosis-options button[aria-pressed="true"] .diagnosis-check::after {
  content: "✓";
  color: #fff;
  font-size: 0.75rem;
  font-weight: 900;
}

.diagnosis-progress {
  margin-top: 25px;
}

.diagnosis-progress > div:first-child {
  margin-bottom: 9px;
  color: #777b8d;
  font-size: 0.75rem;
}

.diagnosis-progress strong {
  color: var(--marketing-navy);
}

.diagnosis-bar {
  height: 7px;
  overflow: hidden;
  border-radius: 999px;
  background: #deddd7;
}

.diagnosis-bar span {
  width: 0;
  height: 100%;
  display: block;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--marketing-indigo), var(--marketing-mint));
  transition: width 240ms ease;
}

.diagnosis-result {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 15px;
  margin-top: 20px;
  padding: 18px;
  border: 1px dashed rgba(38, 60, 200, 0.25);
  border-radius: 17px;
  background: rgba(255, 255, 255, 0.46);
}

.diagnosis-result.has-selection {
  border-style: solid;
  border-color: rgba(38, 60, 200, 0.18);
  background: var(--marketing-mint-soft);
}

.diagnosis-result-icon {
  width: 37px;
  height: 37px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  color: #fff;
  background: var(--marketing-indigo);
  font-weight: 900;
}

.diagnosis-result p {
  margin: 0;
  color: #575b70;
  font-size: 0.8rem;
}

.diagnosis-result a {
  color: var(--marketing-indigo-dark);
  font-size: 0.78rem;
  font-weight: 900;
}

.evidence-section {
  color: #fff;
  background:
    radial-gradient(circle at 8% 100%, rgba(86, 223, 191, 0.15), transparent 380px),
    var(--marketing-navy);
}

.evidence-grid {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  align-items: center;
  gap: clamp(46px, 8vw, 100px);
}

.evidence-copy .marketing-eyebrow {
  color: #78e4ca;
}

.evidence-copy h2 {
  color: #fff;
}

.evidence-copy > p {
  color: rgba(255, 255, 255, 0.68);
}

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

.evidence-list li {
  display: flex;
  align-items: center;
  gap: 11px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.86rem;
  font-weight: 700;
}

.evidence-list li span {
  width: 27px;
  height: 27px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  color: #0a4838;
  background: var(--marketing-mint);
  font-size: 0.75rem;
  font-weight: 900;
}

.evidence-dashboard {
  padding: clamp(24px, 4vw, 40px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(16px);
}

.dashboard-top {
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.11);
}

.dashboard-top div {
  display: grid;
}

.dashboard-top small {
  color: #80e5cc;
}

.dashboard-top strong {
  color: #fff;
  font-size: 1.03rem;
}

.dashboard-top > span {
  padding: 6px 10px;
  border-radius: 999px;
  color: #9ff0dc;
  background: rgba(86, 223, 191, 0.12);
  font-size: 0.75rem;
  font-weight: 900;
}

.dashboard-score {
  display: grid;
  grid-template-columns: 180px 1fr;
  align-items: center;
  gap: 30px;
  padding: 34px 0;
}

.score-ring {
  width: 170px;
  height: 170px;
  display: grid;
  align-content: center;
  justify-items: center;
  border-radius: 50%;
  background:
    radial-gradient(circle, var(--marketing-navy) 58%, transparent 60%),
    conic-gradient(var(--marketing-mint) 0 71%, rgba(255, 255, 255, 0.13) 71% 100%);
  box-shadow: inset 0 0 32px rgba(86, 223, 191, 0.08);
}

.score-ring strong {
  color: #fff;
  font-size: 2rem;
  line-height: 1;
}

.score-ring span {
  margin-top: 7px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.75rem;
}

.dashboard-score p {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  line-height: 1.9;
}

.dashboard-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 9px;
}

.dashboard-metrics div {
  display: grid;
  gap: 3px;
  padding: 15px 11px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.05);
}

.dashboard-metrics strong {
  color: #fff;
  font-size: 1.25rem;
}

.dashboard-metrics span {
  color: rgba(255, 255, 255, 0.56);
  font-size: 0.75rem;
  line-height: 1.5;
}

.week-section {
  background: var(--marketing-white);
}

.week-track {
  display: grid;
  grid-template-columns: repeat(7, minmax(220px, 1fr));
  gap: 12px;
  overflow-x: auto;
  padding: 10px 2px 24px;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: rgba(38, 60, 200, 0.32) transparent;
}

.week-day {
  position: relative;
  min-height: 230px;
  display: grid;
  align-content: start;
  scroll-snap-align: start;
  padding: 23px;
  border: 1px solid rgba(18, 26, 82, 0.1);
  border-radius: 24px;
  background: #f6f3ec;
}

.week-day::after {
  content: "";
  position: absolute;
  width: 54px;
  height: 54px;
  inset: auto auto 17px 17px;
  border: 9px solid rgba(38, 60, 200, 0.07);
  border-block-start: 0;
  border-inline-end: 0;
  border-radius: 0 0 0 10px;
}

.week-day > span {
  width: fit-content;
  padding: 5px 9px;
  border-radius: 999px;
  color: var(--marketing-indigo);
  background: #e9ebff;
  font-size: 0.75rem;
  font-weight: 900;
}

.week-day strong {
  margin: 22px 0 10px;
  color: var(--marketing-navy);
  font-size: 1.02rem;
  line-height: 1.55;
}

.week-day p {
  margin: 0;
  color: #696d7f;
  font-size: 0.77rem;
  line-height: 1.75;
}

.week-day.active {
  color: #fff;
  border-color: transparent;
  background: var(--marketing-indigo);
  box-shadow: 0 20px 45px rgba(38, 60, 200, 0.2);
}

.week-day.active > span {
  color: #0b4a3a;
  background: var(--marketing-mint);
}

.week-day.active strong {
  color: #fff;
}

.week-day.active p {
  color: rgba(255, 255, 255, 0.68);
}

.week-day.active::after {
  border-color: rgba(255, 255, 255, 0.16);
}

.week-cta {
  margin-top: 28px;
  padding: 24px 28px;
  border-radius: 24px;
  background: var(--marketing-mint-soft);
}

.week-cta > div {
  display: grid;
}

.week-cta strong {
  color: var(--marketing-navy);
  font-size: 1rem;
}

.week-cta span {
  color: #5f6f6a;
  font-size: 0.76rem;
}

.pricing-section {
  background:
    linear-gradient(rgba(24, 35, 118, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(24, 35, 118, 0.03) 1px, transparent 1px),
    var(--marketing-cream);
  background-size: 44px 44px;
}

.pricing-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: clamp(50px, 9vw, 120px);
}

.pricing-copy {
  max-width: 520px;
}

.pricing-reassurance {
  justify-content: flex-start;
  margin-top: 28px;
  padding: 17px;
  border: 1px solid rgba(18, 26, 82, 0.1);
  border-radius: 17px;
  background: rgba(255, 255, 255, 0.55);
}

.pricing-reassurance > span {
  width: 38px;
  height: 38px;
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 12px;
  color: #0b4a3b;
  background: var(--marketing-mint);
  font-weight: 900;
}

.pricing-reassurance div {
  display: grid;
}

.pricing-reassurance strong {
  color: var(--marketing-navy);
  font-size: 0.86rem;
}

.pricing-reassurance small {
  color: #717587;
  font-size: 0.75rem;
}

.pricing-card-marketing {
  position: relative;
  padding: clamp(28px, 5vw, 48px);
  border: 1px solid rgba(38, 60, 200, 0.15);
  border-radius: 34px;
  background: var(--marketing-white);
  box-shadow: var(--marketing-shadow);
}

.pricing-card-marketing::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: 88%;
  height: 88%;
  inset: 10% auto auto -5%;
  border-radius: 36px;
  background: var(--marketing-indigo);
  transform: rotate(-3deg);
}

.pricing-badge {
  display: inline-block;
  padding: 6px 11px;
  border-radius: 999px;
  color: #0b4b3b;
  background: var(--marketing-mint);
  font-size: 0.75rem;
  font-weight: 900;
}

.price-line {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 17px 0 12px;
}

.price-line strong {
  color: var(--marketing-navy);
  font-size: clamp(4rem, 8vw, 6.2rem);
  line-height: 1;
  letter-spacing: -0.07em;
}

.price-line > span {
  color: #606477;
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.5;
}

.pricing-card-marketing > p {
  color: #626678;
  font-size: 0.9rem;
}

.pricing-card-marketing > ul {
  display: grid;
  gap: 11px;
  margin: 24px 0;
  padding: 23px 0;
  border-block: 1px solid rgba(18, 26, 82, 0.09);
  list-style: none;
}

.pricing-card-marketing > ul li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #40445b;
  font-size: 0.82rem;
  font-weight: 700;
}

.pricing-card-marketing > ul span {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: #0b4c3b;
  background: var(--marketing-mint-soft);
  font-size: 0.75rem;
  font-weight: 900;
}

.pricing-note {
  display: block;
  margin-top: 10px;
  color: #7a7e8e;
  text-align: center;
  font-size: 0.75rem;
}

.after-trial {
  display: grid;
  gap: 9px;
  margin-top: 23px;
  padding: 16px;
  border-radius: 16px;
  background: #f0efe9;
}

.after-trial > span {
  color: #747889;
  font-size: 0.75rem;
  font-weight: 800;
}

.after-trial div {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
}

.after-trial strong {
  color: var(--marketing-navy);
  font-size: 0.82rem;
}

.after-trial small {
  color: #7c7f8d;
  text-align: end;
  font-size: 0.75rem;
}

.faq-section {
  background: var(--marketing-white);
}

.faq-layout {
  display: grid;
  grid-template-columns: 0.74fr 1.26fr;
  align-items: start;
  gap: clamp(50px, 9vw, 120px);
}

.faq-heading {
  position: sticky;
  top: 130px;
}

.faq-heading h2 {
  font-size: clamp(2.2rem, 4.5vw, 3.7rem);
}

.faq-heading .marketing-text-link {
  margin-top: 24px;
  font-size: 0.82rem;
}

.faq-list {
  border-top: 1px solid rgba(18, 26, 82, 0.13);
}

.faq-list details {
  border-bottom: 1px solid rgba(18, 26, 82, 0.13);
}

.faq-list summary {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  cursor: pointer;
  color: var(--marketing-navy);
  font-size: 1rem;
  font-weight: 850;
  list-style: none;
}

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

.faq-list summary span {
  width: 34px;
  height: 34px;
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(38, 60, 200, 0.16);
  border-radius: 11px;
  color: var(--marketing-indigo);
  background: #f0f1ff;
  transition: transform 180ms ease;
}

.faq-list details[open] summary span {
  transform: rotate(45deg);
}

.faq-list details p {
  max-width: 720px;
  margin: -3px 0 25px;
  color: #686c7e;
  font-size: 0.86rem;
  line-height: 1.9;
}

.final-cta {
  position: relative;
  overflow: hidden;
  padding-block: clamp(90px, 11vw, 140px);
  color: #fff;
  background:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    var(--marketing-navy);
  background-size: 44px 44px;
}

.final-cta-orb {
  position: absolute;
  width: 680px;
  height: 680px;
  inset: -310px 50% auto auto;
  border: 85px solid rgba(86, 223, 191, 0.08);
  border-radius: 50%;
  transform: translateX(50%);
}

.final-cta-inner {
  position: relative;
  z-index: 1;
  max-width: 830px;
  display: grid;
  justify-items: center;
  text-align: center;
}

.final-cta-inner img {
  width: 76px;
  height: 76px;
  margin-bottom: 22px;
  border-radius: 22px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.24);
}

.final-cta-inner > span {
  color: #80e7cd;
  font-size: 0.8rem;
  font-weight: 900;
}

.final-cta-inner h2 {
  margin: 12px 0 16px;
  color: #fff;
  font-size: clamp(3rem, 7vw, 6rem);
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: -0.05em;
}

.final-cta-inner p {
  margin-bottom: 26px;
  color: rgba(255, 255, 255, 0.67);
  font-size: 1.05rem;
}

.final-cta-inner small {
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.75rem;
}

.marketing-footer {
  color: rgba(255, 255, 255, 0.67);
  background: #0b1035;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 0.7fr 0.7fr 1fr;
  gap: clamp(34px, 6vw, 80px);
  padding-block: 70px 50px;
}

.marketing-footer .marketing-brand {
  color: #fff;
}

.footer-brand p,
.footer-note p {
  margin: 15px 0 0;
  color: rgba(255, 255, 255, 0.52);
  font-size: 0.76rem;
  line-height: 1.9;
}

.footer-grid nav {
  display: grid;
  align-content: start;
  gap: 11px;
}

.footer-grid nav strong,
.footer-note strong {
  margin-bottom: 6px;
  color: #fff;
  font-size: 0.82rem;
}

.footer-grid nav a {
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.75rem;
}

.footer-grid nav a:hover {
  color: var(--marketing-mint);
}

.footer-note {
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 17px;
  background: rgba(255, 255, 255, 0.04);
}

.footer-note p {
  margin-top: 7px;
}

.footer-bottom {
  min-height: 74px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.42);
  font-size: 0.75rem;
}

.footer-bottom a {
  color: #8eead4;
  font-weight: 900;
}

.mobile-marketing-cta {
  display: none;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 650ms cubic-bezier(0.2, 0.72, 0.2, 1),
    transform 650ms cubic-bezier(0.2, 0.72, 0.2, 1);
}

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

@media (max-width: 1040px) {
  .hero-grid,
  .evidence-grid,
  .pricing-layout {
    grid-template-columns: 1fr 1fr;
    gap: 44px;
  }

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

  .marketing-feature:last-child {
    grid-column: 1 / -1;
    min-height: 440px;
  }

  .footer-grid {
    grid-template-columns: 1.3fr 0.7fr 0.7fr;
  }

  .footer-note {
    grid-column: 1 / -1;
  }

  .floating-proof {
    display: none;
  }
}

@media (max-width: 820px) {
  .marketing-container {
    width: min(calc(100% - 28px), 680px);
  }

  .header-inner {
    min-height: 72px;
    grid-template-columns: auto 1fr auto;
    gap: 12px;
  }

  .marketing-menu-button {
    display: grid;
    justify-self: end;
  }

  .marketing-header .marketing-button-small {
    display: none;
  }

  .marketing-nav {
    position: absolute;
    inset: 72px 14px auto;
    display: grid;
    gap: 0;
    overflow: hidden;
    padding: 8px;
    border: 1px solid rgba(18, 26, 82, 0.12);
    border-radius: 20px;
    background: rgba(255, 253, 249, 0.98);
    box-shadow: var(--marketing-shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition:
      opacity 180ms ease,
      transform 180ms ease;
  }

  .marketing-nav[data-open="true"] {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .marketing-nav a {
    min-height: 48px;
    display: flex;
    align-items: center;
    padding: 0 13px;
    border-radius: 12px;
  }

  .marketing-nav a:hover {
    background: #f0f1ff;
  }

  .marketing-nav a::after {
    display: none;
  }

  .marketing-hero {
    min-height: auto;
    padding: 118px 0 70px;
  }

  .hero-grid,
  .evidence-grid,
  .pricing-layout,
  .faq-layout {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    max-width: 680px;
    text-align: center;
  }

  .hero-copy h1 {
    margin-inline: auto;
  }

  .hero-actions,
  .hero-trust {
    justify-content: center;
  }

  .hero-product {
    min-height: 640px;
  }

  .phone-shell {
    transform: none;
  }

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

  .marketing-feature,
  .marketing-feature:last-child {
    grid-column: auto;
    min-height: 480px;
  }

  .diagnosis-options {
    grid-template-columns: 1fr;
  }

  .diagnosis-options button:last-child {
    grid-column: auto;
  }

  .evidence-copy {
    text-align: center;
  }

  .evidence-list {
    width: fit-content;
    margin-inline: auto;
    text-align: start;
  }

  .pricing-copy {
    max-width: none;
    text-align: center;
  }

  .pricing-reassurance {
    width: fit-content;
    margin-inline: auto;
    text-align: start;
  }

  .pricing-card-marketing {
    width: min(100%, 590px);
    margin-inline: auto;
  }

  .faq-heading {
    position: static;
    text-align: center;
  }

  .footer-grid {
    grid-template-columns: 1.2fr 0.8fr 0.8fr;
  }

  .footer-note {
    grid-column: 1 / -1;
  }
}

@media (max-width: 580px) {
  .marketing-page {
    padding-bottom: 76px;
  }

  .marketing-container {
    width: min(calc(100% - 22px), 520px);
  }

  .marketing-brand img {
    width: 38px;
    height: 38px;
  }

  .hero-copy h1 {
    font-size: clamp(2.8rem, 14vw, 4rem);
  }

  .hero-lead {
    font-size: 0.98rem;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
    gap: 16px;
  }

  .hero-actions .marketing-button {
    width: 100%;
  }

  .hero-trust {
    gap: 10px 14px;
    font-size: 0.75rem;
  }

  .hero-product {
    min-height: 600px;
    margin-inline: -5px;
  }

  .phone-shell {
    width: min(330px, 94vw);
  }

  .promise-strip-inner {
    min-height: 64px;
    gap: 10px;
    font-size: 0.75rem;
  }

  .marketing-section {
    padding-block: 78px;
  }

  .narrow-heading {
    margin-bottom: 38px;
  }

  .narrow-heading h2,
  .diagnosis-heading h2,
  .evidence-copy h2,
  .pricing-copy h2,
  .faq-heading h2 {
    font-size: 2.35rem;
  }

  .marketing-feature {
    min-height: 0;
    padding: 24px;
  }

  .diagnosis-shell {
    padding: 25px 16px;
    border-radius: 26px;
  }

  .diagnosis-options button {
    min-height: 72px;
    padding: 14px;
    font-size: 0.82rem;
  }

  .diagnosis-result {
    grid-template-columns: auto 1fr;
  }

  .diagnosis-result a {
    grid-column: 1 / -1;
    padding-inline-start: 52px;
  }

  .dashboard-score {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

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

  .week-cta {
    align-items: stretch;
    flex-direction: column;
  }

  .week-cta .marketing-button {
    width: 100%;
  }

  .pricing-card-marketing::after {
    inset-inline-start: -2%;
    width: 96%;
  }

  .after-trial div {
    align-items: start;
    flex-direction: column;
  }

  .after-trial small {
    text-align: start;
  }

  .faq-list summary {
    min-height: 76px;
    font-size: 0.9rem;
  }

  .final-cta-inner h2 {
    font-size: 3.25rem;
  }

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

  .footer-brand,
  .footer-note {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
  }

  .mobile-marketing-cta {
    position: fixed;
    z-index: 90;
    inset: auto 0 0;
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 11px max(12px, env(safe-area-inset-right)) calc(11px + env(safe-area-inset-bottom)) max(12px, env(safe-area-inset-left));
    border-top: 1px solid rgba(18, 26, 82, 0.1);
    background: rgba(255, 253, 249, 0.94);
    box-shadow: 0 -14px 34px rgba(18, 26, 82, 0.1);
    backdrop-filter: blur(16px);
  }

  .mobile-marketing-cta div {
    display: grid;
  }

  .mobile-marketing-cta strong {
    color: var(--marketing-navy);
    font-size: 0.76rem;
  }

  .mobile-marketing-cta span {
    color: #737789;
    font-size: 0.75rem;
  }

  .mobile-marketing-cta a {
    min-width: 98px;
    min-height: 46px;
    display: grid;
    place-items: center;
    padding: 9px 15px;
    border-radius: 14px;
    color: #fff;
    background: var(--marketing-indigo);
    font-size: 0.76rem;
    font-weight: 900;
  }
}

@media (prefers-reduced-motion: reduce) {
  .marketing-page [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

/* Tadaruj premium marketing direction — UI/UX Pro Max */

.marketing-page h1,
.marketing-page h2,
.marketing-page h3,
.marketing-page .price-line strong,
.marketing-page .product-facts strong {
  font-family: "Noto Naskh Arabic", "Noto Sans Arabic", Tahoma, serif;
}

.marketing-header:not(.is-scrolled) .marketing-brand,
.marketing-header:not(.is-scrolled) .marketing-nav a {
  color: #fff;
}

.marketing-header:not(.is-scrolled) .marketing-button-small {
  border-color: rgba(255, 255, 255, 0.24);
  color: #fff;
  background: rgba(255, 255, 255, 0.09);
}

.marketing-header:not(.is-scrolled) .marketing-menu-button {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
}

.marketing-header:not(.is-scrolled) .marketing-menu-button span {
  background: #fff;
}

.marketing-hero {
  color: #fff;
  background:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    radial-gradient(circle at 14% 18%, rgba(44, 80, 225, 0.52), transparent 34rem),
    radial-gradient(circle at 86% 82%, rgba(86, 223, 191, 0.18), transparent 30rem),
    #0b1035;
  background-size: 48px 48px, 48px 48px, auto, auto, auto;
}

.marketing-hero::before {
  content: "";
  position: absolute;
  width: min(56vw, 720px);
  aspect-ratio: 1;
  inset: 50% -22vw auto auto;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  box-shadow:
    0 0 0 74px rgba(255, 255, 255, 0.02),
    0 0 0 148px rgba(255, 255, 255, 0.018);
  transform: translateY(-50%);
}

.marketing-hero .marketing-eyebrow {
  color: #8cebd4;
}

.hero-copy h1 {
  color: #fff;
  font-size: clamp(3.7rem, 6.5vw, 6.5rem);
  letter-spacing: -0.025em;
}

.hero-copy h1 em {
  color: #f3c86a;
}

.hero-copy h1 em::after {
  z-index: 0;
  height: 5px;
  inset: auto 0 -2px;
  background: var(--marketing-mint);
  transform: none;
}

.hero-lead {
  color: rgba(255, 255, 255, 0.72);
}

.hero-lead strong {
  color: #fff;
}

.marketing-hero .marketing-text-link {
  color: #91ead5;
}

.marketing-hero .hero-trust {
  color: rgba(255, 255, 255, 0.67);
}

.marketing-hero .hero-trust li span {
  color: #0a4738;
  background: var(--marketing-mint);
}

.hero-glow-one {
  background: radial-gradient(circle, rgba(55, 88, 232, 0.5), transparent 68%);
}

.hero-glow-two {
  background: radial-gradient(circle, rgba(86, 223, 191, 0.25), transparent 66%);
}

.hero-stair {
  border-color: rgba(255, 255, 255, 0.1);
}

.stair-two {
  border-color: rgba(86, 223, 191, 0.23);
}

.phone-shell {
  border-color: rgba(255, 255, 255, 0.34);
  box-shadow:
    0 48px 110px rgba(0, 0, 0, 0.46),
    0 0 0 11px rgba(255, 255, 255, 0.035),
    inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.floating-proof {
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.96);
}

.promise-strip {
  border-color: rgba(255, 255, 255, 0.1);
  background: #12194b;
}

.feature-icon svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.experience-showcase {
  position: relative;
  overflow: hidden;
  padding-block: clamp(90px, 11vw, 150px);
  background:
    radial-gradient(circle at 8% 10%, rgba(86, 223, 191, 0.17), transparent 25rem),
    radial-gradient(circle at 94% 80%, rgba(38, 60, 200, 0.12), transparent 28rem),
    #eef0f8;
}

.experience-showcase::before {
  content: "تدرّج";
  position: absolute;
  inset: 15% auto auto -2%;
  color: rgba(18, 26, 82, 0.035);
  font-family: "Noto Naskh Arabic", serif;
  font-size: clamp(9rem, 20vw, 19rem);
  font-weight: 700;
  line-height: 1;
  pointer-events: none;
  transform: rotate(-7deg);
}

.showcase-heading {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.6fr);
  align-items: end;
  gap: clamp(28px, 7vw, 100px);
  margin-bottom: clamp(48px, 7vw, 82px);
}

.showcase-heading h2 {
  max-width: 790px;
  margin: 12px 0 0;
  color: var(--marketing-navy);
  font-size: clamp(2.9rem, 5.8vw, 5.4rem);
  font-weight: 700;
  line-height: 1.16;
  letter-spacing: -0.035em;
}

.showcase-heading > p {
  margin: 0 0 12px;
  color: #585d74;
  font-size: 0.98rem;
  line-height: 1.9;
}

.product-gallery {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: center;
  gap: 18px;
}

.gallery-screen {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  padding: 28px;
  border: 1px solid rgba(18, 26, 82, 0.12);
  border-radius: 34px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 28px 70px rgba(18, 26, 82, 0.14);
}

.gallery-screen::after {
  content: "";
  position: absolute;
  width: 150px;
  height: 150px;
  inset: auto -65px -70px auto;
  border: 24px solid rgba(38, 60, 200, 0.06);
  border-radius: 30px;
  transform: rotate(25deg);
}

.gallery-plan {
  z-index: 2;
  min-height: 600px;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.15);
  background:
    radial-gradient(circle at 20% 10%, rgba(86, 223, 191, 0.23), transparent 14rem),
    #17257f;
  box-shadow: 0 38px 90px rgba(23, 37, 127, 0.28);
  transform: translateY(-18px);
}

.gallery-plan::after {
  border-color: rgba(255, 255, 255, 0.08);
}

.gallery-report {
  transform: rotate(1.5deg);
}

.gallery-progress {
  transform: rotate(-1.5deg);
}

.gallery-chrome {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 10px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(18, 26, 82, 0.1);
}

.gallery-plan .gallery-chrome {
  border-color: rgba(255, 255, 255, 0.12);
}

.gallery-chrome > span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--marketing-mint);
  box-shadow: 0 0 0 5px rgba(86, 223, 191, 0.13);
}

.gallery-chrome strong {
  color: var(--marketing-navy);
  font-size: 0.75rem;
}

.gallery-plan .gallery-chrome strong {
  color: #fff;
}

.gallery-chrome small {
  color: #8b8fa1;
  font-size: 0.75rem;
  font-weight: 800;
}

.gallery-plan .gallery-chrome small {
  color: rgba(255, 255, 255, 0.5);
}

.report-orbit {
  position: relative;
  width: 150px;
  height: 150px;
  margin: 32px auto 25px;
  border: 1px solid rgba(38, 60, 200, 0.16);
  border-radius: 50%;
  box-shadow:
    0 0 0 22px rgba(38, 60, 200, 0.045),
    0 0 0 44px rgba(38, 60, 200, 0.025);
}

.report-orbit::after {
  content: "";
  position: absolute;
  width: 62px;
  height: 62px;
  inset: 50% 50% auto auto;
  border-radius: 20px;
  background: linear-gradient(145deg, var(--marketing-indigo), #6075f1);
  box-shadow: 0 18px 32px rgba(38, 60, 200, 0.25);
  transform: translate(50%, -50%) rotate(45deg);
}

.report-orbit i {
  position: absolute;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--marketing-mint);
}

.report-orbit i:nth-child(1) {
  inset: 11px 24px auto auto;
}

.report-orbit i:nth-child(2) {
  inset: auto auto 22px 11px;
  background: #f3c86a;
}

.report-orbit i:nth-child(3) {
  inset: 61px auto auto -6px;
  background: #7b8ef0;
}

.gallery-label {
  color: var(--marketing-indigo);
  font-size: 0.75rem;
  font-weight: 900;
}

.gallery-screen h3 {
  position: relative;
  z-index: 2;
  margin: 8px 0 11px;
  color: var(--marketing-navy);
  font-size: 1.8rem;
  line-height: 1.35;
}

.gallery-screen > p {
  position: relative;
  z-index: 2;
  color: #62677c;
  font-size: 0.8rem;
  line-height: 1.85;
}

.insight-chip {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
  padding: 12px;
  border-radius: 14px;
  color: #43504c;
  background: var(--marketing-mint-soft);
  font-size: 0.75rem;
  font-weight: 700;
}

.insight-chip span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #14866d;
}

.day-spotlight {
  position: relative;
  z-index: 2;
  display: grid;
  justify-items: center;
  padding: 42px 0 18px;
  text-align: center;
}

.day-spotlight > span {
  padding: 6px 10px;
  border-radius: 999px;
  color: #082f27;
  background: var(--marketing-mint);
  font-size: 0.75rem;
  font-weight: 900;
}

.day-spotlight strong {
  margin: 17px 0 5px;
  color: #fff;
  font-family: "Noto Naskh Arabic", serif;
  font-size: 2rem;
  line-height: 1.35;
}

.day-spotlight p {
  margin: 0;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.8rem;
}

.timer-visual {
  position: relative;
  z-index: 2;
  width: 210px;
  height: 210px;
  display: grid;
  align-content: center;
  justify-items: center;
  margin: 10px auto 27px;
  border-radius: 50%;
  background:
    radial-gradient(circle, #17257f 59%, transparent 60%),
    conic-gradient(var(--marketing-mint) 0 68%, rgba(255, 255, 255, 0.12) 68% 100%);
  box-shadow:
    inset 0 0 38px rgba(86, 223, 191, 0.09),
    0 22px 48px rgba(3, 9, 52, 0.25);
}

.timer-visual strong {
  color: #fff;
  font-family: "Noto Sans Arabic", sans-serif;
  font-size: 2.5rem;
  line-height: 1;
  letter-spacing: -0.03em;
}

.timer-visual span {
  margin-top: 7px;
  color: #8de9d4;
  font-size: 0.75rem;
}

.micro-steps {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.67);
  font-size: 0.75rem;
  font-weight: 700;
}

.micro-steps i {
  width: 18px;
  height: 1px;
  background: rgba(255, 255, 255, 0.25);
}

.gallery-progress h3 {
  margin-top: 8px;
  font-size: 2rem;
}

.gallery-progress .gallery-label {
  display: block;
  margin-top: 36px;
}

.progress-proof-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 25px;
}

.progress-proof-grid div {
  min-height: 105px;
  display: grid;
  align-content: center;
  padding: 16px;
  border: 1px solid rgba(18, 26, 82, 0.09);
  border-radius: 18px;
  background: #f3f4f8;
}

.progress-proof-grid .mint {
  border-color: transparent;
  background: var(--marketing-mint);
}

.progress-proof-grid strong {
  color: var(--marketing-navy);
  font-size: 1.8rem;
  line-height: 1;
}

.progress-proof-grid span {
  margin-top: 5px;
  color: #6a6f82;
  font-size: 0.75rem;
}

.progress-proof-grid .mint span {
  color: #245f52;
}

.gallery-screen .progress-message {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 15px;
  padding: 13px;
  border-radius: 14px;
  color: #4d5368;
  background: #eef0ff;
  font-size: 0.75rem;
  font-weight: 700;
}

.progress-message span {
  width: 24px;
  height: 24px;
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 8px;
  color: #fff;
  background: var(--marketing-indigo);
}

.product-facts {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 22px;
  overflow: hidden;
  border: 1px solid rgba(18, 26, 82, 0.1);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 18px 50px rgba(18, 26, 82, 0.07);
}

.product-facts div {
  display: grid;
  align-content: center;
  justify-items: center;
  min-height: 120px;
  padding: 20px;
  border-inline-start: 1px solid rgba(18, 26, 82, 0.09);
  text-align: center;
}

.product-facts div:first-child {
  border-inline-start: 0;
}

.product-facts strong {
  color: var(--marketing-navy);
  font-size: 2.4rem;
  line-height: 1;
}

.product-facts span {
  margin-top: 8px;
  color: #64697d;
  font-size: 0.75rem;
  font-weight: 700;
}

[data-reveal] {
  opacity: 1;
  transform: none;
}

html.reveal-ready [data-reveal] {
  opacity: 0;
  transform: translateY(22px);
}

html.reveal-ready [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1040px) {
  .showcase-heading {
    grid-template-columns: 1fr;
  }

  .showcase-heading > p {
    max-width: 720px;
  }

  .product-gallery {
    grid-template-columns: 1fr 1fr;
  }

  .gallery-plan {
    grid-row: span 2;
  }

  .gallery-report,
  .gallery-progress,
  .gallery-plan {
    transform: none;
  }

  .product-facts {
    grid-template-columns: 1fr 1fr;
  }

  .product-facts div:nth-child(3) {
    border-inline-start: 0;
  }

  .product-facts div:nth-child(n + 3) {
    border-top: 1px solid rgba(18, 26, 82, 0.09);
  }
}

@media (max-width: 820px) {
  .marketing-header:not(.is-scrolled) .marketing-nav a {
    color: var(--marketing-navy);
  }

  .showcase-heading {
    text-align: center;
  }

  .showcase-heading > p {
    margin-inline: auto;
  }

  .product-gallery {
    grid-template-columns: 1fr;
  }

  .gallery-screen {
    width: min(100%, 560px);
    min-height: 0;
    margin-inline: auto;
  }

  .gallery-plan {
    grid-row: auto;
    min-height: 570px;
  }
}

@media (max-width: 580px) {
  .hero-copy h1 {
    font-size: clamp(3.1rem, 15vw, 4.6rem);
  }

  .experience-showcase {
    padding-block: 82px;
  }

  .showcase-heading h2 {
    font-size: 2.7rem;
  }

  .gallery-screen {
    padding: 22px;
    border-radius: 26px;
  }

  .gallery-plan {
    min-height: 540px;
  }

  .timer-visual {
    width: 180px;
    height: 180px;
  }

  .micro-steps {
    flex-wrap: wrap;
  }

  .product-facts {
    grid-template-columns: 1fr 1fr;
  }

  .product-facts div {
    min-height: 108px;
    padding: 14px;
  }

  .product-facts strong {
    font-size: 2rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html.reveal-ready [data-reveal],
  html.reveal-ready [data-reveal].is-visible {
    opacity: 1;
    transform: none;
  }
}

/* Marketing download site and habit detail pages — v12 */

.brain-product {
  min-height: 620px;
}

.brain-orbit {
  position: relative;
  width: min(500px, 92vw);
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
  box-shadow:
    0 0 0 48px rgba(255, 255, 255, 0.025),
    0 0 0 96px rgba(255, 255, 255, 0.018);
}

.brain-orbit::before,
.brain-orbit::after {
  content: "";
  position: absolute;
  inset: 50%;
  border: 1px dashed rgba(86, 223, 191, 0.32);
  border-radius: 50%;
  transform: translate(50%, -50%);
}

.brain-orbit::before {
  width: 67%;
  height: 67%;
}

.brain-orbit::after {
  width: 43%;
  height: 43%;
  border-style: solid;
  border-color: rgba(243, 200, 106, 0.2);
}

.brain-core {
  position: absolute;
  z-index: 3;
  inset: 50%;
  width: 150px;
  height: 150px;
  display: grid;
  align-content: center;
  justify-items: center;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 42% 58% 54% 46% / 48% 42% 58% 52%;
  color: rgba(255, 255, 255, 0.68);
  background:
    radial-gradient(circle at 30% 25%, rgba(86, 223, 191, 0.35), transparent 55%),
    linear-gradient(145deg, #263cc8, #17257f);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.3);
  font-size: 0.84rem;
  font-style: normal;
  line-height: 1.45;
  text-align: center;
  transform: translate(50%, -50%) rotate(-3deg);
}

.brain-core b {
  color: #fff;
  font-family: "Noto Naskh Arabic", serif;
  font-size: 1.85rem;
}

.orbit-node {
  position: absolute;
  z-index: 4;
  width: 156px;
  min-height: 104px;
  display: grid;
  align-content: center;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 21px;
  color: #fff;
  background: rgba(255, 255, 255, 0.09);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(15px);
  font-style: normal;
}

.orbit-node small {
  color: #8cebd4;
  font-weight: 900;
}

.orbit-node strong {
  margin: 3px 0;
  font-family: "Noto Naskh Arabic", serif;
  font-size: 1.34rem;
}

.orbit-node em {
  color: rgba(255, 255, 255, 0.56);
  font-size: 0.75rem;
  font-style: normal;
}

.node-trigger {
  inset: 3% 8% auto auto;
}

.node-response {
  inset: auto auto 18% -3%;
}

.node-reward {
  inset: auto 5% 2% auto;
}

.brain-break-card {
  position: absolute;
  z-index: 6;
  inset: auto 50% 2px auto;
  width: min(340px, 80vw);
  display: grid;
  gap: 4px;
  padding: 16px 20px;
  border-radius: 20px;
  color: #103f35;
  background: var(--marketing-mint);
  box-shadow: 0 24px 55px rgba(0, 0, 0, 0.25);
  transform: translateX(50%);
}

.brain-break-card span {
  font-size: 0.75rem;
  font-weight: 900;
}

.brain-break-card strong {
  font-family: "Noto Naskh Arabic", serif;
  font-size: 1.15rem;
  line-height: 1.45;
}

.method-section {
  background: var(--marketing-white);
}

.method-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
  align-items: center;
  gap: clamp(48px, 8vw, 110px);
}

.method-copy h2,
.proof-copy-new h2,
.download-copy h2,
.habit-section-heading h2 {
  margin: 15px 0 20px;
  color: var(--marketing-navy);
  font-family: "Noto Naskh Arabic", serif;
  font-size: clamp(2.7rem, 5vw, 4.7rem);
  font-weight: 700;
  line-height: 1.17;
  letter-spacing: -0.035em;
}

.method-copy > p,
.proof-copy-new > p,
.habit-section-heading > p {
  color: var(--marketing-muted);
  font-size: 1.04rem;
  line-height: 2;
}

.method-note {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 13px;
  margin-top: 28px;
  padding: 17px;
  border: 1px solid rgba(38, 60, 200, 0.12);
  border-radius: 18px;
  background: #eef0ff;
}

.method-note > span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  color: #fff;
  background: var(--marketing-indigo);
  font-size: 0.75rem;
  font-weight: 900;
}

.method-note p {
  margin: 0;
  color: #555b73;
  font-size: 0.78rem;
  line-height: 1.8;
}

.loop-sequence {
  position: relative;
  display: grid;
  gap: 12px;
}

.loop-sequence::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 44px 29px 44px auto;
  width: 2px;
  background: linear-gradient(var(--marketing-indigo), var(--marketing-mint));
}

.loop-sequence article {
  position: relative;
  z-index: 1;
  min-height: 108px;
  display: grid;
  grid-template-columns: 58px 1fr;
  align-items: center;
  gap: 18px;
  padding: 18px;
  border: 1px solid rgba(18, 26, 82, 0.09);
  border-radius: 22px;
  background: #f6f5f0;
  box-shadow: 0 14px 38px rgba(18, 26, 82, 0.05);
}

.loop-sequence article:nth-child(3) {
  border-color: rgba(86, 223, 191, 0.6);
  background: var(--marketing-mint-soft);
  transform: translateX(-20px);
}

.loop-sequence article > span {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  color: #fff;
  background: var(--marketing-navy);
  font-weight: 900;
}

.loop-sequence article:nth-child(3) > span {
  color: #0b4136;
  background: var(--marketing-mint);
}

.loop-sequence strong {
  color: var(--marketing-navy);
  font-size: 1rem;
}

.loop-sequence p {
  margin: 4px 0 0;
  color: #6a6e7f;
  font-size: 0.78rem;
  line-height: 1.7;
}

.habits-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 8% 16%, rgba(86, 223, 191, 0.16), transparent 28rem),
    radial-gradient(circle at 92% 86%, rgba(38, 60, 200, 0.12), transparent 30rem),
    #eef0f8;
}

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

.habit-card {
  position: relative;
  min-height: 390px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  padding: 30px;
  border: 1px solid rgba(18, 26, 82, 0.1);
  border-radius: 30px;
  color: var(--marketing-ink);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 24px 65px rgba(18, 26, 82, 0.09);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

a.habit-card:hover {
  box-shadow: 0 32px 78px rgba(18, 26, 82, 0.16);
  transform: translateY(-7px);
}

.habit-card::after {
  content: "";
  position: absolute;
  width: 185px;
  height: 185px;
  inset: -80px auto auto -70px;
  border: 26px solid var(--habit-accent, rgba(38, 60, 200, 0.08));
  border-radius: 50%;
  opacity: 0.15;
}

.habit-card-number {
  position: absolute;
  inset: 26px 28px auto auto;
  color: #9ca0b0;
  font-size: 0.75rem;
  font-weight: 900;
}

.habit-symbol {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border-radius: 20px;
  color: var(--marketing-navy);
  background: var(--habit-accent, #e8ebff);
  font-size: 2rem;
  font-weight: 900;
}

.habit-card small {
  color: var(--marketing-indigo);
  font-size: 0.75rem;
  font-weight: 900;
}

.habit-card h3 {
  margin: 6px 0 10px;
  color: var(--marketing-navy);
  font-size: 2.3rem;
  line-height: 1.2;
}

.habit-card p {
  margin: 0;
  color: #686d80;
  font-size: 0.86rem;
  line-height: 1.85;
}

.habit-card > strong {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  border-top: 1px solid rgba(18, 26, 82, 0.09);
  color: var(--marketing-indigo-dark);
  font-size: 0.8rem;
}

.habit-card > strong span {
  font-size: 1.2rem;
}

.habit-phone-card { --habit-accent: #dce3ff; }
.habit-smoking-card { --habit-accent: #d9f6ee; }
.habit-sweets-card { --habit-accent: #ffefd2; }
.habit-procrastination-card { --habit-accent: #e8e2ff; }
.habit-sleep-card { --habit-accent: #dceafc; }
.habit-custom-card { --habit-accent: #ece8df; background: #131a50; }
.habit-custom-card h3,
.habit-custom-card > strong { color: #fff; }
.habit-custom-card p { color: rgba(255, 255, 255, 0.64); }
.habit-custom-card small { color: #8cebd4; }
.habit-custom-card .habit-symbol { color: #0b4136; background: var(--marketing-mint); }
.habit-custom-card > strong { border-color: rgba(255, 255, 255, 0.12); }

.week-section-new {
  background: var(--marketing-white);
}

.week-steps {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 8px;
  direction: rtl;
}

.week-steps article {
  position: relative;
  min-height: 250px;
  display: flex;
  flex-direction: column;
  padding: 20px 16px;
  border: 1px solid rgba(18, 26, 82, 0.09);
  border-radius: 22px;
  background: #f6f4ee;
}

.week-steps article:nth-child(4),
.week-steps article:last-child {
  color: #fff;
  border-color: transparent;
  background: var(--marketing-indigo-dark);
  transform: translateY(-14px);
}

.week-steps article:last-child {
  background: #0f5c4c;
}

.week-steps span {
  color: var(--marketing-indigo);
  font-size: 0.75rem;
  font-weight: 900;
}

.week-steps article:nth-child(4) span,
.week-steps article:last-child span {
  color: #91ead5;
}

.week-steps strong {
  margin: auto 0 10px;
  color: var(--marketing-navy);
  font-family: "Noto Naskh Arabic", serif;
  font-size: 1.8rem;
}

.week-steps article:nth-child(4) strong,
.week-steps article:last-child strong {
  color: #fff;
}

.week-steps p {
  margin: 0;
  color: #6b6f80;
  font-size: 0.75rem;
  line-height: 1.75;
}

.week-steps article:nth-child(4) p,
.week-steps article:last-child p {
  color: rgba(255, 255, 255, 0.62);
}

.proof-section-new {
  color: #fff;
  background:
    radial-gradient(circle at 10% 20%, rgba(38, 60, 200, 0.55), transparent 35rem),
    radial-gradient(circle at 90% 80%, rgba(86, 223, 191, 0.14), transparent 28rem),
    #0b1035;
}

.proof-layout-new {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(440px, 1.14fr);
  align-items: center;
  gap: clamp(48px, 8vw, 100px);
}

.proof-copy-new .marketing-eyebrow {
  color: #8cebd4;
}

.proof-copy-new h2 {
  color: #fff;
}

.proof-copy-new > p {
  color: rgba(255, 255, 255, 0.67);
}

.proof-copy-new ul {
  display: grid;
  gap: 13px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.proof-copy-new li {
  display: flex;
  align-items: center;
  gap: 11px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.84rem;
}

.proof-copy-new li span {
  width: 26px;
  height: 26px;
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 9px;
  color: #0b4136;
  background: var(--marketing-mint);
  font-weight: 900;
}

.evidence-board {
  padding: 34px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 34px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(16px);
}

.evidence-board-head {
  display: grid;
  gap: 8px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.evidence-board-head span {
  color: #8cebd4;
  font-size: 0.75rem;
  font-weight: 900;
}

.evidence-board-head strong {
  color: #fff;
  font-family: "Noto Naskh Arabic", serif;
  font-size: clamp(2rem, 4vw, 3.1rem);
  line-height: 1.35;
}

.evidence-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 20px;
}

.evidence-stats div {
  min-height: 128px;
  display: grid;
  align-content: center;
  padding: 19px;
  border-radius: 19px;
  background: rgba(255, 255, 255, 0.07);
}

.evidence-stats strong {
  color: #fff;
  font-size: 2.4rem;
  line-height: 1;
}

.evidence-stats span {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.75rem;
}

.evidence-stats .evidence-mint {
  background: var(--marketing-mint);
}

.evidence-stats .evidence-mint strong { color: #0b4136; }
.evidence-stats .evidence-mint span { color: #245f52; }

.evidence-board > p {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.75rem;
}

.evidence-board > p span {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  color: #0b4136;
  background: var(--marketing-mint);
}

.download-section {
  padding-block: clamp(90px, 11vw, 150px);
  background: var(--marketing-cream);
}

.download-shell {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(380px, 0.75fr);
  align-items: center;
  gap: clamp(42px, 8vw, 100px);
  overflow: hidden;
  padding: clamp(34px, 7vw, 78px);
  border-radius: 40px;
  color: #fff;
  background:
    radial-gradient(circle at 12% 15%, rgba(86, 223, 191, 0.2), transparent 24rem),
    linear-gradient(135deg, #121a52, #17257f);
  box-shadow: 0 36px 90px rgba(18, 26, 82, 0.2);
}

.download-shell::after {
  content: "";
  position: absolute;
  width: 300px;
  height: 300px;
  inset: auto -110px -170px auto;
  border: 48px solid rgba(255, 255, 255, 0.05);
  border-radius: 70px;
  transform: rotate(26deg);
}

.download-copy,
.download-form {
  position: relative;
  z-index: 2;
}

.download-kicker {
  display: inline-flex;
  padding: 7px 11px;
  border-radius: 999px;
  color: #0b4136;
  background: var(--marketing-mint);
  font-size: 0.75rem;
  font-weight: 900;
}

.download-copy h2 {
  color: #fff;
}

.download-copy > p {
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.9;
}

.download-copy ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 25px 0 0;
  padding: 0;
  list-style: none;
}

.download-copy li {
  padding: 8px 11px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.06);
  font-size: 0.75rem;
  font-weight: 800;
}

.download-form {
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 27px;
  background: rgba(255, 255, 255, 0.09);
  backdrop-filter: blur(16px);
}

.download-form label {
  display: block;
  margin-bottom: 13px;
  color: #fff;
  font-weight: 900;
}

.download-input-row {
  display: grid;
  gap: 10px;
}

.download-form input {
  width: 100%;
  min-height: 56px;
  padding: 12px 15px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 15px;
  color: #fff;
  background: rgba(8, 13, 52, 0.45);
  font: inherit;
  direction: ltr;
  text-align: left;
}

.download-form input::placeholder {
  color: rgba(255, 255, 255, 0.42);
}

.download-form button {
  min-height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 18px;
  border: 0;
  border-radius: 15px;
  color: #0b4136;
  background: var(--marketing-mint);
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.download-form small {
  display: block;
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.53);
  font-size: 0.75rem;
  line-height: 1.7;
}

/* Habit marketing pages */

.habit-hero {
  position: relative;
  min-height: 770px;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: 142px 0 92px;
  color: #fff;
  background:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    radial-gradient(circle at 14% 20%, var(--habit-glow, rgba(38, 60, 200, 0.55)), transparent 34rem),
    #0b1035;
  background-size: 48px 48px, 48px 48px, auto, auto;
}

.habit-hero::after {
  content: attr(data-watermark);
  position: absolute;
  inset: auto auto -4% -3%;
  color: rgba(255, 255, 255, 0.035);
  font-family: "Noto Naskh Arabic", serif;
  font-size: clamp(9rem, 22vw, 22rem);
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}

.habit-hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(370px, 0.72fr);
  align-items: center;
  gap: clamp(48px, 8vw, 110px);
}

.habit-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 23px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.75rem;
  font-weight: 700;
}

.habit-breadcrumb a {
  color: #91ead5;
}

.habit-hero-copy h1 {
  max-width: 760px;
  margin: 12px 0 22px;
  color: #fff;
  font-family: "Noto Naskh Arabic", serif;
  font-size: clamp(3.7rem, 7vw, 6.5rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.habit-hero-copy h1 em {
  display: block;
  color: var(--habit-highlight, #f3c86a);
  font-style: normal;
}

.habit-hero-copy > p {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.06rem;
  line-height: 1.95;
}

.habit-hero-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 28px;
}

.habit-hero-actions .marketing-text-link {
  color: #91ead5;
}

.habit-loop-card {
  position: relative;
  z-index: 2;
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 34px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 36px 90px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(17px);
}

.habit-loop-card > span {
  color: #91ead5;
  font-size: 0.75rem;
  font-weight: 900;
}

.habit-loop-card h2 {
  margin: 7px 0 24px;
  color: #fff;
  font-family: "Noto Naskh Arabic", serif;
  font-size: 2rem;
  line-height: 1.4;
}

.habit-loop-chain {
  display: grid;
  gap: 10px;
}

.habit-loop-chain div {
  display: grid;
  grid-template-columns: 42px 1fr;
  align-items: center;
  gap: 12px;
  padding: 13px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.07);
}

.habit-loop-chain div:last-child {
  color: #0b4136;
  background: var(--marketing-mint);
}

.habit-loop-chain i {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 13px;
  font-style: normal;
  font-weight: 900;
}

.habit-loop-chain div:last-child i {
  border-color: rgba(11, 65, 54, 0.18);
}

.habit-loop-chain strong,
.habit-loop-chain small {
  display: block;
}

.habit-loop-chain strong {
  color: #fff;
  font-size: 0.8rem;
}

.habit-loop-chain small {
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.52);
  font-size: 0.75rem;
  line-height: 1.6;
}

.habit-loop-chain div:last-child strong,
.habit-loop-chain div:last-child small {
  color: #0b4136;
}

.habit-intro-strip {
  border-bottom: 1px solid rgba(18, 26, 82, 0.1);
  background: var(--marketing-white);
}

.habit-intro-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.habit-intro-grid div {
  min-height: 128px;
  display: grid;
  align-content: center;
  padding: 24px;
  border-inline-start: 1px solid rgba(18, 26, 82, 0.1);
}

.habit-intro-grid div:first-child {
  border-inline-start: 0;
}

.habit-intro-grid strong {
  color: var(--marketing-navy);
  font-family: "Noto Naskh Arabic", serif;
  font-size: 1.35rem;
}

.habit-intro-grid span {
  margin-top: 5px;
  color: #6e7282;
  font-size: 0.75rem;
  line-height: 1.65;
}

.habit-detail-section {
  padding-block: clamp(88px, 11vw, 145px);
}

.habit-detail-section.alt {
  background: #eef0f8;
}

.habit-section-heading {
  max-width: 820px;
  margin-bottom: 48px;
}

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

.benefit-card {
  min-height: 310px;
  padding: 28px;
  border: 1px solid rgba(18, 26, 82, 0.1);
  border-radius: 28px;
  background: var(--marketing-white);
  box-shadow: 0 20px 55px rgba(18, 26, 82, 0.07);
}

.benefit-card > span {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  margin-bottom: 25px;
  border-radius: 15px;
  color: var(--marketing-navy);
  background: var(--habit-soft, #e8ebff);
  font-weight: 900;
}

.benefit-card h3 {
  margin: 0 0 11px;
  color: var(--marketing-navy);
  font-size: 1.45rem;
  line-height: 1.4;
}

.benefit-card p {
  margin: 0;
  color: #666b7d;
  font-size: 0.82rem;
  line-height: 1.85;
}

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

.scenario-card {
  min-height: 240px;
  padding: 28px;
  border: 1px solid rgba(18, 26, 82, 0.1);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.88);
}

.scenario-card > span {
  color: var(--marketing-indigo);
  font-size: 0.75rem;
  font-weight: 900;
}

.scenario-card h3 {
  margin: 8px 0 12px;
  color: var(--marketing-navy);
  font-size: 1.5rem;
}

.scenario-flow {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.scenario-flow i {
  padding: 8px 10px;
  border-radius: 999px;
  color: #5d6275;
  background: #f1f1ed;
  font-size: 0.75rem;
  font-style: normal;
  font-weight: 800;
}

.scenario-flow i:last-child {
  color: #0b4136;
  background: var(--marketing-mint);
}

.habit-program {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 8px;
}

.habit-program article {
  min-height: 230px;
  display: flex;
  flex-direction: column;
  padding: 18px 15px;
  border-radius: 20px;
  color: var(--marketing-navy);
  background: #f3f1eb;
}

.habit-program article:nth-child(4),
.habit-program article:last-child {
  color: #fff;
  background: var(--marketing-indigo-dark);
}

.habit-program span {
  color: var(--marketing-indigo);
  font-size: 0.75rem;
  font-weight: 900;
}

.habit-program article:nth-child(4) span,
.habit-program article:last-child span {
  color: #91ead5;
}

.habit-program strong {
  margin: auto 0 9px;
  color: inherit;
  font-family: "Noto Naskh Arabic", serif;
  font-size: 1.38rem;
  line-height: 1.4;
}

.habit-program p {
  margin: 0;
  color: #6d7181;
  font-size: 0.75rem;
  line-height: 1.7;
}

.habit-program article:nth-child(4) p,
.habit-program article:last-child p {
  color: rgba(255, 255, 255, 0.6);
}

.habit-safety-note {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  max-width: 930px;
  margin-top: 42px;
  padding: 24px;
  border: 1px solid rgba(38, 60, 200, 0.12);
  border-radius: 23px;
  background: #eef0ff;
}

.habit-safety-note > span {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  color: #fff;
  background: var(--marketing-indigo);
  font-weight: 900;
}

.habit-safety-note strong {
  display: block;
  margin-bottom: 4px;
  color: var(--marketing-navy);
}

.habit-safety-note p {
  margin: 0;
  color: #62677a;
  font-size: 0.78rem;
  line-height: 1.8;
}

.habit-other-nav {
  padding-block: 70px;
  background: var(--marketing-white);
}

.habit-other-nav h2 {
  margin: 0 0 24px;
  color: var(--marketing-navy);
  font-family: "Noto Naskh Arabic", serif;
  font-size: 2.3rem;
}

.habit-other-links {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.habit-other-links a {
  padding: 10px 14px;
  border: 1px solid rgba(18, 26, 82, 0.12);
  border-radius: 999px;
  color: var(--marketing-navy);
  background: #f7f5ef;
  font-size: 0.75rem;
  font-weight: 800;
}

.habit-other-links a[aria-current="page"] {
  color: #fff;
  border-color: var(--marketing-indigo);
  background: var(--marketing-indigo);
}

.habit-page.habit-phone { --habit-highlight: #8fa8ff; --habit-glow: rgba(54, 85, 225, 0.65); --habit-soft: #dce3ff; }
.habit-page.habit-smoking { --habit-highlight: #8cebd4; --habit-glow: rgba(33, 152, 126, 0.48); --habit-soft: #d9f6ee; }
.habit-page.habit-sweets { --habit-highlight: #f3c86a; --habit-glow: rgba(194, 128, 39, 0.43); --habit-soft: #ffefd2; }
.habit-page.habit-procrastination { --habit-highlight: #c8b6ff; --habit-glow: rgba(115, 78, 215, 0.48); --habit-soft: #e8e2ff; }
.habit-page.habit-sleep { --habit-highlight: #a9d2ff; --habit-glow: rgba(40, 110, 182, 0.5); --habit-soft: #dceafc; }

@media (max-width: 1040px) {
  .method-layout,
  .proof-layout-new,
  .download-shell,
  .habit-hero-grid {
    grid-template-columns: 1fr 1fr;
    gap: 42px;
  }

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

  .week-steps,
  .habit-program {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .week-steps article:nth-child(4),
  .week-steps article:last-child {
    transform: none;
  }
}

@media (max-width: 820px) {
  .brain-product {
    min-height: 580px;
  }

  .method-layout,
  .proof-layout-new,
  .download-shell,
  .habit-hero-grid {
    grid-template-columns: 1fr;
  }

  .method-copy,
  .proof-copy-new,
  .download-copy,
  .habit-hero-copy {
    text-align: center;
  }

  .method-note,
  .proof-copy-new ul {
    text-align: start;
  }

  .habit-hero {
    padding-top: 118px;
  }

  .habit-hero-actions,
  .habit-breadcrumb {
    justify-content: center;
  }

  .habit-loop-card {
    width: min(100%, 560px);
    margin-inline: auto;
  }

  .habit-intro-grid {
    grid-template-columns: 1fr;
  }

  .habit-intro-grid div {
    min-height: 105px;
    border-inline-start: 0;
    border-top: 1px solid rgba(18, 26, 82, 0.1);
    text-align: center;
  }

  .habit-intro-grid div:first-child {
    border-top: 0;
  }
}

@media (max-width: 580px) {
  .brain-product {
    min-height: 500px;
    margin-inline: -10px;
  }

  .brain-orbit {
    width: min(355px, 94vw);
  }

  .brain-core {
    width: 110px;
    height: 110px;
  }

  .brain-core b {
    font-size: 1.45rem;
  }

  .orbit-node {
    width: 126px;
    min-height: 88px;
    padding: 12px;
  }

  .orbit-node strong {
    font-size: 1.08rem;
  }

  .orbit-node em {
    display: none;
  }

  .node-response {
    inset-inline-start: 0;
  }

  .brain-break-card {
    width: min(300px, 88vw);
    text-align: center;
  }

  .method-copy h2,
  .proof-copy-new h2,
  .download-copy h2,
  .habit-section-heading h2 {
    font-size: 2.65rem;
  }

  .loop-sequence article:nth-child(3) {
    transform: none;
  }

  .habits-grid,
  .benefit-grid,
  .scenario-grid {
    grid-template-columns: 1fr;
  }

  .habit-card {
    min-height: 340px;
  }

  .week-steps,
  .habit-program {
    grid-template-columns: 1fr 1fr;
  }

  .week-steps article,
  .habit-program article {
    min-height: 205px;
  }

  .week-steps article:last-child,
  .habit-program article:last-child {
    grid-column: 1 / -1;
  }

  .evidence-board,
  .download-form {
    padding: 21px;
  }

  .download-shell {
    padding: 29px 20px;
    border-radius: 28px;
  }

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

  .habit-hero-copy > p {
    font-size: 0.96rem;
  }

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

  .habit-hero-actions .marketing-button {
    width: 100%;
  }

  .habit-loop-card,
  .benefit-card,
  .scenario-card {
    padding: 22px;
  }

  .habit-safety-note {
    grid-template-columns: 1fr;
  }
}
