/* clinaude.com landing. Colours and scale follow the app's tokens (src/styles/tokens.css). */
:root {
  --bg: #ffffff;
  --surface: #f7f5f2;
  --border: #e3ddd6;
  --text: #1b1714;
  --muted: #5b524b;
  --accent: #c2410c;
  --accent-hover: #9c3409;
  --accent-soft: #fdf0e8;
  --on-accent: #ffffff;
  --success: #17703f;
  --success-soft: #e6f4ec;
  --danger: #a8193d;
  --ink: #241a14;
  --radius-md: 0.625rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
  --shadow-pop: 0 12px 32px rgba(27, 23, 20, .18);
  --max: 70rem;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 1rem/1.625 'IBM Plex Sans', 'IBM Plex Sans Arabic', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}
[dir="rtl"] body { font-family: 'IBM Plex Sans Arabic', 'IBM Plex Sans', system-ui, sans-serif; }
h1, h2, h3 { margin: 0; }
p { margin: 0; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.order-number { font-variant-numeric: tabular-nums; unicode-bidi: isolate; direction: ltr; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: 1rem; }
@media (min-width: 48rem) { .wrap { padding-inline: 1.5rem; } }

.skip { position: absolute; inset-inline-start: 1rem; top: -4rem; background: var(--accent); color: var(--on-accent); padding: .5rem 1rem; border-radius: var(--radius-md); z-index: 10; }
.skip:focus { top: 1rem; }

.icon { width: 1.25rem; height: 1.25rem; flex: none; }

/* Header */
.top { border-bottom: 1px solid var(--border); background: var(--bg); position: sticky; top: 0; z-index: 5; }
.top-in { display: flex; align-items: center; gap: 1rem; min-height: 3.5rem; }
.brand { display: inline-flex; align-items: center; gap: .5rem; font-weight: 700; text-decoration: none; font-size: 1.125rem; }
.brand-mark { display: block; width: 2rem; height: 2rem; }
.brand-by { font-weight: 400; font-size: .875rem; color: var(--muted); }
.nav { display: none; gap: 1.5rem; margin-inline-start: 1rem; }
.nav a { text-decoration: none; color: var(--muted); font-size: .9375rem; }
.nav a:hover { color: var(--text); }
.top-actions { margin-inline-start: auto; display: flex; align-items: center; gap: .75rem; }
.top .langs { display: none; }
@media (min-width: 56rem) { .nav, .top .langs { display: flex; } }
.langs { display: flex; gap: .75rem; font-size: .875rem; }
.langs a { color: var(--muted); text-decoration: none; }
.langs a[aria-current] { color: var(--text); font-weight: 600; }
.langs a:hover { text-decoration: underline; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 3rem; padding: 0 1.25rem; border-radius: var(--radius-md); font-weight: 600; text-decoration: none; transition: background-color 120ms; }
.btn-primary { background: var(--accent); color: var(--on-accent); }
.btn-primary:hover { background: var(--accent-hover); }
.btn-secondary { border: 1px solid var(--border); background: var(--bg); }
.btn-secondary:hover { background: var(--surface); }
.btn-ghost { min-height: 2.5rem; padding: 0 .75rem; }
.btn-ghost:hover { background: var(--surface); }
.btn-light { background: var(--bg); color: var(--ink); }
.btn-light:hover { background: var(--accent-soft); }

/* Hero */
.hero { background: linear-gradient(180deg, var(--accent-soft), var(--bg) 85%); }
.hero-in { display: grid; gap: 3rem; padding-block: 3rem 4rem; align-items: center; }
@media (min-width: 56rem) { .hero-in { grid-template-columns: 1.15fr .85fr; padding-block: 5rem 6rem; } }
.eyebrow { display: inline-block; font-size: .875rem; font-weight: 600; color: var(--accent); background: var(--bg); border: 1px solid var(--border); padding: .25rem .75rem; border-radius: 9999px; margin-bottom: 1.25rem; }
h1 { font-size: clamp(2rem, 5vw, 3.25rem); line-height: 1.15; font-weight: 700; letter-spacing: -0.01em; }
[dir="rtl"] h1 { letter-spacing: 0; line-height: 1.35; }
.lead { margin-top: 1.25rem; font-size: 1.1875rem; line-height: 1.6; color: var(--muted); max-width: 36rem; }
.ctas { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.note { margin-top: 1rem; font-size: .875rem; color: var(--muted); }

/* Phone mockup: a lock screen with the ready alert and the pass */
.phone { justify-self: center; width: min(19rem, 100%); aspect-ratio: 9 / 18.5; border-radius: 2.75rem; background: var(--ink); padding: .75rem; box-shadow: var(--shadow-pop); }
.phone-screen { height: 100%; border-radius: 2.1rem; background: linear-gradient(160deg, #d4561f, #6e2507 75%); color: #fff; padding: 2.75rem 1rem 1rem; display: flex; flex-direction: column; align-items: center; overflow: hidden; }
.lock-time { font-size: 3.5rem; font-weight: 600; line-height: 1; font-variant-numeric: tabular-nums; direction: ltr; }
.lock-date { margin-top: .5rem; font-size: .875rem; opacity: .85; }
.notif { margin-top: 1.75rem; width: 100%; display: flex; gap: .625rem; background: rgba(255, 255, 255, .92); color: var(--text); border-radius: 1.125rem; padding: .75rem; text-align: start; animation: drop 600ms cubic-bezier(.2, .8, .2, 1) both 400ms; }
.notif-icon { display: grid; place-items: center; width: 2.25rem; height: 2.25rem; border-radius: .5rem; background: var(--ink); color: #fff; flex: none; }
.notif-text { display: flex; flex-direction: column; font-size: .8125rem; line-height: 1.35; min-width: 0; }
.notif-head { display: flex; justify-content: space-between; color: var(--muted); font-size: .6875rem; letter-spacing: .02em; margin-bottom: .125rem; }
.notif-text strong { font-size: .875rem; }
.pass { margin-top: auto; width: 100%; background: #fff; color: var(--text); border-radius: 1rem; padding: 1rem; }
.pass-org { font-weight: 600; font-size: .875rem; }
.pass-label { margin-top: .75rem; font-size: .6875rem; color: var(--muted); letter-spacing: .06em; }
.pass-num { font-size: 3rem; font-weight: 700; line-height: 1.05; }
.pass-status { margin-top: .5rem; display: inline-flex; align-items: center; gap: .375rem; background: var(--success-soft); color: var(--success); font-weight: 600; font-size: .875rem; padding: .25rem .625rem; border-radius: 9999px; }
.pass-status .icon { width: 1rem; height: 1rem; }
@keyframes drop { from { opacity: 0; transform: translateY(-.75rem); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .notif { animation: none; } }

/* Sections */
.section { padding-block: 4rem; }
.band { background: var(--surface); padding-block: 4rem; }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.125rem); line-height: 1.25; font-weight: 700; margin-bottom: 2rem; }
h3 { font-size: 1.0625rem; line-height: 1.4; font-weight: 600; }
li p, details p { color: var(--muted); margin-top: .375rem; }

.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; counter-reset: step; }
@media (min-width: 48rem) { .steps { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; } }
.step { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.5rem; counter-increment: step; position: relative; }
.step::after { content: counter(step); position: absolute; top: 1.25rem; inset-inline-end: 1.5rem; font-size: 2rem; font-weight: 700; color: var(--border); line-height: 1; }
.step-icon { display: inline-grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: var(--radius-md); background: var(--accent-soft); color: var(--accent); margin-bottom: 1rem; }

.why, .feats { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.5rem 2rem; }
.why li, .feats li { display: flex; gap: .875rem; align-items: flex-start; }
.why li .icon, .feats li .icon { margin-top: .1875rem; }
@media (min-width: 48rem) { .why { grid-template-columns: repeat(3, 1fr); } .feats { grid-template-columns: repeat(2, 1fr); } }
.icon-x { color: var(--danger); }
.icon-check { color: var(--success); }

.faq { max-width: 48rem; }
details { border-bottom: 1px solid var(--border); padding-block: 1rem; }
details:first-of-type { border-top: 1px solid var(--border); }
summary { cursor: pointer; font-weight: 600; font-size: 1.0625rem; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--accent); font-size: 1.375rem; line-height: 1; }
details[open] summary::after { content: "−"; }
details p { margin-top: .75rem; max-width: 42rem; }

.final { background: var(--ink); color: #fff; }
.final-in { padding-block: 4rem; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 1rem; }
.final h2 { margin: 0; }
.final p { color: rgba(255, 255, 255, .8); max-width: 34rem; margin-bottom: .75rem; }

.foot { border-top: 1px solid var(--border); font-size: .875rem; color: var(--muted); }
.foot-in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; padding-block: 1.5rem; }

/* Pricing */
.price-card { max-width: 30rem; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.75rem; display: flex; flex-direction: column; gap: 1.25rem; align-items: flex-start; }
.price { margin: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: .5rem; }
.price-amount { font-size: 2.5rem; font-weight: 700; line-height: 1; }
.price-per { color: var(--muted); }
.price-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .625rem; }
.price-list li { display: flex; gap: .625rem; align-items: flex-start; }
.price-list .icon { margin-top: .1875rem; }

/* Footer links */
.foot-links { display: flex; flex-wrap: wrap; gap: 1rem; }
.foot-links a { color: var(--muted); }

/* Legal pages */
.legal { max-width: 46rem; padding-block: 3rem 4rem; }
.legal h1 { font-size: clamp(1.75rem, 4vw, 2.25rem); }
.legal .note { margin-top: .5rem; color: var(--muted); }
.legal h2 { font-size: 1.25rem; margin: 2.25rem 0 .75rem; }
.legal p, .legal li { color: var(--text); }
.legal p + p, .legal ul + p, .legal p + ul { margin-top: .75rem; }
.legal ul { padding-inline-start: 1.25rem; margin: 0; display: grid; gap: .375rem; }
