/* biome-ignore-all lint/style/noDescendingSpecificity: rules keep the design file's cascade order; the flagged pairs style different elements. */
/*
 * Rawaj landing page, ported from brand/Rawaj Landing.html (Mahmoud's design file).
 * Order follows the design: tokens, base, components, landing, "landing v2" overrides, then the classes
 * that replace the design's inline styles. Fonts (Tajawal, Reem Kufi) come from Google Fonts.
 */

/* ---------- Tokens ---------- */
:root {
  /* Primary: purple (#8950fa = 500) */
  --primary-50: #f5f0ff;
  --primary-100: #ebe1fe;
  --primary-200: #d7c3fd;
  --primary-300: #bb99fc;
  --primary-400: #a174fb;
  --primary-500: #8950fa;
  --primary-600: #7639ee;
  --primary-700: #6329d3;
  --primary-800: #4e20a8;
  --primary-900: #38177a;
  /* Accent: green (#32c7a2 = 500). Never white text on 400-500. */
  --accent-50: #e9faf5;
  --accent-100: #caf3e7;
  --accent-200: #9ae7d2;
  --accent-300: #64d9ba;
  --accent-400: #45d0ad;
  --accent-500: #32c7a2;
  --accent-600: #22a586;
  --accent-700: #17806a;
  --accent-800: #126150;
  --accent-900: #0c4438;
  /* Neutrals: lavender grey */
  --neutral-0: #ffffff;
  --neutral-25: #fbfafd;
  --neutral-50: #f6f5fa;
  --neutral-100: #eeecf4;
  --neutral-200: #e3e0eb;
  --neutral-300: #cdc9da;
  --neutral-400: #a7a2b7;
  --neutral-500: #7b768f;
  --neutral-600: #5b566e;
  --neutral-700: #423e53;
  --neutral-800: #2a2737;
  --neutral-900: #17151f;
  /* Status */
  --warning-50: #fff6e5;
  --warning-100: #ffe8bf;
  --warning-500: #f0a116;
  --warning-700: #9a5c06;
  --error-50: #fdeeee;
  --error-500: #e5484d;
  --error-700: #a8232a;
  --info-50: #ebf3ff;
  --info-700: #1c5bc4;
  /* Semantic aliases */
  --bg-page: var(--neutral-50);
  --surface-card: var(--neutral-0);
  --text-strong: var(--neutral-900);
  --text-body: var(--neutral-800);
  --text-muted: var(--neutral-600);
  --text-subtle: var(--neutral-500);
  --text-disabled: var(--neutral-400);
  --border-subtle: var(--neutral-100);
  --border-default: var(--neutral-200);
  --border-strong: var(--neutral-300);
  --border-focus: var(--primary-500);
  --action-primary: var(--primary-500);
  --action-primary-hover: var(--primary-600);
  --action-primary-pressed: var(--primary-700);
  --link: var(--primary-600);
  --link-hover: var(--primary-700);
  --success-bg: var(--accent-50);
  --success-fg: var(--accent-700);
  --warning-bg: var(--warning-50);
  --warning-fg: var(--warning-700);
  --error-fg: var(--error-700);
  --info-bg: var(--info-50);
  --info-fg: var(--info-700);

  --font-sans: "Tajawal", system-ui, -apple-system, "Segoe UI", Tahoma, sans-serif;
  --weight-regular: 400;
  --weight-medium: 500;
  --weight-bold: 700;
  --weight-black: 800;
  --text-lg: 17px;
  --text-md: 15px;
  --leading-md: 25px;
  --text-sm: 14px;
  --leading-sm: 22px;
  --text-xs: 12px;

  --radius-md: 12px;
  --radius-pill: 999px;
  --radius-xl: 20px;
  --control-sm: 34px;
  --control-md: 42px;
  --control-lg: 50px;

  --shadow-xs: 0 1px 2px rgba(42, 28, 90, 0.05);
  --shadow-sm: 0 1px 2px rgba(42, 28, 90, 0.04), 0 4px 12px rgba(42, 28, 90, 0.05);
  --shadow-md: 0 2px 4px rgba(42, 28, 90, 0.04), 0 12px 32px rgba(42, 28, 90, 0.07);
  --shadow-lg: 0 8px 16px rgba(42, 28, 90, 0.06), 0 24px 56px rgba(42, 28, 90, 0.12);
  --shadow-focus: 0 0 0 3px rgba(137, 80, 250, 0.22);
  --ease-out: cubic-bezier(0.22, 0.8, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --dur-fast: 120ms;
  --dur-base: 200ms;
  --dur-slow: 320ms;
}

[data-theme="dark"] {
  color-scheme: dark;
  --neutral-0: #16141e;
  --neutral-25: #18161f;
  --neutral-50: #1d1a26;
  --neutral-100: #25222f;
  --neutral-200: #2f2b3c;
  --neutral-300: #3e3951;
  --neutral-400: #615b77;
  --neutral-500: #8c86a1;
  --neutral-600: #aca7bf;
  --neutral-700: #cac6d8;
  --neutral-800: #e3e0ec;
  --neutral-900: #f6f5fa;
  --bg-page: #0e0c14;
  --surface-card: #16141e;
  --primary-50: #211936;
  --primary-100: #2b2050;
  --primary-200: #443180;
  --primary-700: #c2a6ff;
  --primary-800: #dccbff;
  --accent-50: #0f2822;
  --accent-100: #133a31;
  --accent-200: #1b5e4e;
  --accent-600: #45d0ad;
  --accent-700: #6bdcbe;
  --warning-50: #2b210c;
  --warning-100: #4a3812;
  --warning-700: #f5c262;
  --error-50: #2d1416;
  --error-700: #f39195;
  --info-50: #0f1c31;
  --info-700: #86b4ff;
  --link: #b896ff;
  --link-hover: #d7c3fd;
  --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.4);
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3), 0 6px 16px rgba(0, 0, 0, 0.28);
  --shadow-md: 0 2px 4px rgba(0, 0, 0, 0.3), 0 16px 40px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 10px 20px rgba(0, 0, 0, 0.4), 0 30px 70px rgba(0, 0, 0, 0.5);
}

/* ---------- Base ---------- */
html[dir="rtl"],
[dir="rtl"] {
  text-align: right;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--text-body);
  background: var(--bg-page);
  font-size: var(--text-md);
  line-height: var(--leading-md);
  -webkit-font-smoothing: antialiased;
  transition:
    background var(--dur-slow),
    color var(--dur-slow);
}
a {
  color: var(--link);
  text-decoration: none;
}
a:hover {
  color: var(--link-hover);
  text-decoration: underline;
}
.ltr {
  direction: ltr;
  unicode-bidi: isolate;
  display: inline-block;
}
.num {
  font-variant-numeric: tabular-nums;
}

/* ---------- Components ---------- */
.rw-icon {
  display: inline-block;
  flex: none;
  width: 20px;
  height: 20px;
  background-color: currentColor;
  -webkit-mask: var(--icon) center / contain no-repeat;
  mask: var(--icon) center / contain no-repeat;
}
[dir="rtl"] .rw-icon.is-dir {
  transform: scaleX(-1);
}

.rw-btn {
  font: inherit;
  font-weight: var(--weight-bold);
  font-size: var(--text-md);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: var(--control-md);
  padding: 0 20px;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition:
    background var(--dur-fast) var(--ease-out),
    border-color var(--dur-fast),
    box-shadow var(--dur-fast),
    transform var(--dur-fast);
  text-decoration: none;
}
.rw-btn:hover {
  text-decoration: none;
}
.rw-btn:active {
  transform: scale(0.97);
}
.rw-btn:focus-visible {
  outline: none;
  box-shadow: var(--shadow-focus);
}
.rw-btn--sm {
  height: var(--control-sm);
  padding: 0 14px;
  font-size: var(--text-sm);
  gap: 6px;
}
.rw-btn--block {
  width: 100%;
}
.rw-btn--primary {
  background: var(--action-primary);
  color: #fff;
}
.rw-btn--primary:hover {
  background: var(--action-primary-hover);
  color: #fff;
}
.rw-btn--primary:active {
  background: var(--action-primary-pressed);
}
.rw-btn--secondary {
  background: var(--surface-card);
  color: var(--primary-600);
  border-color: var(--primary-200);
}
.rw-btn--secondary:hover {
  background: var(--primary-50);
  border-color: var(--primary-300);
  color: var(--primary-700);
}
.rw-btn[disabled] {
  cursor: progress;
  opacity: 0.7;
  transform: none;
}
.rw-btn .rw-icon {
  width: 18px;
  height: 18px;
}
.rw-btn--sm .rw-icon {
  width: 16px;
  height: 16px;
}

.rw-iconbtn {
  font: inherit;
  width: var(--s, 42px);
  height: var(--s, 42px);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  flex: none;
  transition:
    background var(--dur-fast),
    color var(--dur-fast);
}
.rw-iconbtn:hover {
  background: var(--neutral-100);
  color: var(--text-strong);
}
.rw-iconbtn:focus-visible {
  outline: none;
  box-shadow: var(--shadow-focus);
}
.rw-iconbtn--outline {
  border-color: var(--border-default);
  background: var(--surface-card);
}

.rw-control {
  display: flex;
  align-items: center;
  gap: 8px;
  height: var(--control-lg);
  padding: 0 14px;
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  background: var(--surface-card);
  color: var(--text-subtle);
  transition:
    border-color var(--dur-fast),
    box-shadow var(--dur-fast);
}
.rw-control:hover {
  border-color: var(--border-strong);
}

.rw-chip {
  font: inherit;
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 36px;
  padding: 0 14px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-default);
  background: var(--surface-card);
  color: var(--text-body);
  cursor: pointer;
  white-space: nowrap;
  transition: all var(--dur-fast);
}
.rw-chip:hover {
  border-color: var(--primary-300);
  color: var(--primary-700);
}
.rw-chip--suggestion {
  background: var(--surface-card);
  border-color: var(--border-default);
  color: var(--text-body);
}
.rw-chip--suggestion .rw-icon {
  color: var(--primary-500);
  width: 16px;
  height: 16px;
}
.rw-chip--suggestion:hover {
  background: var(--primary-50);
}

.rw-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: var(--text-xs);
  font-weight: var(--weight-bold);
  white-space: nowrap;
  background: var(--neutral-100);
  color: var(--text-muted);
}
.rw-pill .d {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}
.rw-pill--success {
  background: var(--success-bg);
  color: var(--success-fg);
}
.rw-pill--warning {
  background: var(--warning-bg);
  color: var(--warning-fg);
}
.rw-pill--primary {
  background: var(--primary-50);
  color: var(--primary-700);
}
.rw-pill.is-live .d {
  animation: rw-pulse 1.6s var(--ease-in-out) infinite;
}
@keyframes rw-pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.3;
  }
}

.rw-icosq {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  background: var(--primary-50);
  color: var(--primary-600);
}
.rw-icosq--sm {
  width: 36px;
  height: 36px;
  border-radius: 10px;
}
.rw-icosq--sm .rw-icon {
  width: 18px;
  height: 18px;
}
.rw-icosq--accent {
  background: var(--accent-50);
  color: var(--accent-700);
}
.rw-icosq--warning {
  background: var(--warning-50);
  color: var(--warning-700);
}
.rw-icosq--info {
  background: var(--info-50);
  color: var(--info-700);
}

.rw-progress {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.rw-progress .meta {
  display: flex;
  justify-content: space-between;
  font-size: var(--text-sm);
  color: var(--text-muted);
}
.rw-progress .meta b {
  color: var(--text-strong);
  font-variant-numeric: tabular-nums;
}
.rw-progress .track {
  height: 8px;
  border-radius: 999px;
  background: var(--neutral-100);
  overflow: hidden;
}
.rw-progress .bar {
  height: 100%;
  border-radius: 999px;
  background: var(--accent-500);
  transition: width var(--dur-slow) var(--ease-out);
}
.rw-progress--sm .track {
  height: 5px;
}

.rw-avatar {
  width: var(--s, 40px);
  height: var(--s, 40px);
  border-radius: 50%;
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-100);
  color: var(--primary-700);
  font-weight: var(--weight-bold);
  font-size: calc(var(--s, 40px) * 0.4);
  overflow: hidden;
  position: relative;
}
.rw-avatar--agent {
  background: var(--primary-500);
  color: #fff;
}
.rw-avatar--accent {
  background: var(--accent-100);
  color: var(--accent-800);
}
.rw-avatar--neutral {
  background: var(--neutral-100);
  color: var(--text-muted);
}

.rw-msg {
  display: flex;
  gap: 10px;
  align-items: flex-end;
  max-width: 100%;
}
.rw-bubble {
  padding: 12px 16px;
  border-radius: 20px;
  font-size: var(--text-md);
  line-height: var(--leading-md);
  max-width: 560px;
  text-wrap: pretty;
  white-space: pre-line;
}
.rw-msg--agent {
  align-self: flex-start;
}
.rw-msg--agent .rw-bubble {
  background: var(--surface-card);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-xs);
  color: var(--text-body);
  border-end-start-radius: 6px;
}
.rw-msg--owner {
  align-self: flex-end;
  margin-inline-start: auto;
  margin-inline-end: 0;
  flex-direction: row-reverse;
}
.rw-msg--owner .rw-bubble {
  background: var(--primary-500);
  color: #fff;
  border-end-end-radius: 6px;
}
.rw-typing {
  display: inline-flex;
  gap: 4px;
  padding: 16px 18px;
}
.rw-typing i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--primary-300);
  animation: rw-dot 1.2s infinite var(--ease-in-out);
}
.rw-typing i:nth-child(2) {
  animation-delay: 0.15s;
}
.rw-typing i:nth-child(3) {
  animation-delay: 0.3s;
}
@keyframes rw-dot {
  0%,
  80%,
  100% {
    transform: translateY(0);
    opacity: 0.5;
  }
  40% {
    transform: translateY(-4px);
    opacity: 1;
  }
}
.rw-chatcard {
  background: var(--surface-card);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  max-width: 620px;
  width: 100%;
}
.rw-chatcard .hd {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px 0;
}
.rw-chatcard .hd .t {
  font-weight: var(--weight-bold);
  color: var(--text-strong);
  font-size: var(--text-md);
  line-height: 22px;
}
.rw-chatcard .hd .s {
  font-size: var(--text-xs);
  color: var(--text-subtle);
  line-height: 18px;
}
.rw-chatcard .bd {
  padding: 14px 18px;
  font-size: var(--text-sm);
  line-height: var(--leading-sm);
  color: var(--text-body);
}
.rw-chatcard .ft {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  border-top: 1px solid var(--border-subtle);
  background: var(--neutral-25);
}
.rw-chatcard--approval {
  border-color: var(--primary-200);
  box-shadow:
    0 0 0 4px var(--primary-50),
    var(--shadow-sm);
}
@keyframes rw-rise {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* ---------- Landing ---------- */
.wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 32px;
  box-sizing: border-box;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 32px;
  padding: 0 14px 0 6px;
  border-radius: 999px;
  background: var(--surface-card);
  border: 1px solid var(--border-default);
  font-size: 13px;
  font-weight: 700;
  color: var(--text-muted);
  box-shadow: var(--shadow-xs);
}
.eyebrow .tag {
  background: var(--primary-500);
  color: #fff;
  border-radius: 999px;
  padding: 2px 10px;
  font-size: 12px;
}
.h1 {
  font-size: clamp(40px, 5.4vw, 64px);
  line-height: 1.25;
  font-weight: 800;
  color: var(--text-strong);
  margin: 0;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
.h1 em {
  font-style: normal;
  color: var(--primary-600);
}
.lede {
  font-size: 20px;
  line-height: 34px;
  color: var(--text-muted);
  margin: 0;
  text-wrap: pretty;
}
.h2 {
  font-size: 42px;
  line-height: 58px;
  font-weight: 800;
  color: var(--text-strong);
  margin: 0;
  text-wrap: balance;
}
.sec {
  padding: 120px 0;
}
.sec-head {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 720px;
  margin-bottom: 56px;
}
.sec-head.center {
  margin-inline: auto;
  text-align: center;
  align-items: center;
}
.kicker {
  font-size: 14px;
  font-weight: 800;
  color: var(--primary-600);
  letter-spacing: 0.02em;
}
.waitlist {
  display: flex;
  gap: 8px;
  background: var(--surface-card);
  border: 1px solid var(--border-default);
  border-radius: 999px;
  padding: 6px;
  box-shadow: var(--shadow-md);
  max-width: 520px;
  width: 100%;
  box-sizing: border-box;
  transition:
    box-shadow var(--dur-base),
    border-color var(--dur-base);
}
.waitlist:focus-within {
  border-color: var(--primary-300);
  box-shadow: var(--shadow-md), var(--shadow-focus);
}
.waitlist input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  font: inherit;
  font-size: 16px;
  padding: 0 18px;
  direction: ltr;
  text-align: left;
  color: var(--text-strong);
}
.waitlist input::placeholder {
  color: var(--text-disabled);
}
.waitlist.is-done {
  justify-content: center;
  align-items: center;
  gap: 10px;
  height: 62px;
  font-weight: 700;
  color: var(--accent-700);
  background: var(--accent-50);
  border-color: var(--accent-200);
}
.fine {
  font-size: 13px;
  color: var(--text-subtle);
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.fine span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.fine .rw-icon {
  width: 15px;
  height: 15px;
  color: var(--accent-600);
}
/* demo window */
.demo {
  background: var(--surface-card);
  border-radius: 28px;
  box-shadow:
    0 2px 4px rgba(42, 28, 90, 0.04),
    0 40px 80px -20px rgba(42, 28, 90, 0.22);
  border: 1px solid var(--border-subtle);
  overflow: hidden;
}
.demo-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border-subtle);
}
.demo-bar .t {
  font-weight: 800;
  font-size: 15px;
  color: var(--text-strong);
  flex: 1;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.demo-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  height: 440px;
  overflow: hidden;
  background: var(--neutral-25);
  position: relative;
}
.demo-body::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  top: 0;
  height: 40px;
  background: linear-gradient(var(--neutral-25), transparent);
  pointer-events: none;
}
.demo-body > * {
  animation: rw-rise var(--dur-slow) var(--ease-out) both;
}
.demo-in {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: auto;
}
/* steps */
.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.step {
  background: var(--surface-card);
  border-radius: 24px;
  padding: 28px;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.step .n {
  font-size: 14px;
  font-weight: 800;
  color: var(--primary-500);
  font-variant-numeric: tabular-nums;
}
.step h3 {
  margin: 0;
  font-size: 22px;
  line-height: 32px;
  color: var(--text-strong);
}
.step p {
  margin: 0;
  color: var(--text-muted);
  line-height: 27px;
}
.step .vis {
  margin-top: auto;
  background: var(--neutral-50);
  border-radius: 16px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 120px;
  justify-content: center;
}
/* before/after */
.ba {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.ba-col {
  border-radius: 28px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.ba-col h3 {
  margin: 0 0 14px;
  font-size: 22px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.ba-row {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 12px 0;
  border-top: 1px solid;
}
.ba-row .tm {
  font-size: 13px;
  font-weight: 700;
  width: 58px;
  flex: none;
  font-variant-numeric: tabular-nums;
  padding-top: 2px;
}
.ba-before {
  background: var(--surface-card);
  border: 1px solid var(--border-default);
}
.ba-before h3 {
  color: var(--text-muted);
}
.ba-before .ba-row {
  border-color: var(--border-subtle);
  color: var(--text-muted);
}
.ba-before .tm {
  color: var(--text-subtle);
}
.ba-after {
  background: var(--primary-600);
  color: #fff;
}
.ba-after h3 {
  color: #fff;
}
.ba-after .ba-row {
  border-color: rgba(255, 255, 255, 0.16);
  color: #fff;
}
.ba-after .tm {
  color: var(--primary-200);
}
/* stats */
.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}
.stat {
  padding: 28px;
  border-radius: 24px;
  background: var(--surface-card);
  border: 1px solid var(--border-subtle);
}
.stat .v {
  font-size: 56px;
  line-height: 64px;
  font-weight: 800;
  color: var(--text-strong);
  font-variant-numeric: tabular-nums;
}
.stat .l {
  color: var(--text-muted);
  margin-top: 4px;
}
/* pricing */
.prices {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
}
.price {
  background: var(--surface-card);
  border-radius: 28px;
  padding: 32px;
  border: 1px solid var(--border-default);
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
}
.price.hot {
  border: 2px solid var(--primary-500);
  box-shadow:
    0 0 0 6px var(--primary-50),
    var(--shadow-md);
}
.price .nm {
  font-weight: 800;
  font-size: 18px;
  color: var(--text-strong);
}
.price .amt {
  font-size: 48px;
  line-height: 56px;
  font-weight: 800;
  color: var(--text-strong);
  font-variant-numeric: tabular-nums;
}
.price .amt small {
  font-size: 16px;
  font-weight: 500;
  color: var(--text-subtle);
}
.price ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 15px;
}
.price li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.price li .rw-icon {
  width: 18px;
  height: 18px;
  color: var(--accent-600);
  margin-top: 3px;
}
.price .rw-btn {
  margin-top: auto;
}
/* faq */
.faq {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.faq details {
  background: var(--surface-card);
  border: 1px solid var(--border-default);
  border-radius: 20px;
  padding: 0 24px;
  transition: box-shadow var(--dur-base);
}
.faq details[open] {
  box-shadow: var(--shadow-sm);
}
.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 0;
  font-weight: 700;
  font-size: 17px;
  color: var(--text-strong);
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary .rw-icon {
  transition: transform var(--dur-base) var(--ease-out);
  color: var(--text-subtle);
}
.faq details[open] summary .rw-icon {
  transform: rotate(180deg);
}
.faq details p {
  margin: 0 0 22px;
  color: var(--text-muted);
  line-height: 28px;
}
/* final */
.final {
  border-radius: 36px;
  padding: 72px 56px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.foot {
  padding: 40px 0 56px;
  color: var(--text-subtle);
  font-size: 14px;
}
.foot .wrap {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
/* Hidden only when JS runs (landing.js adds .js), so the page stays readable without it. */
.js .reveal {
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 600ms var(--ease-out),
    transform 600ms var(--ease-out);
}
.js .reveal.in {
  opacity: 1;
  transform: none;
}
@media (max-width: 900px) {
  .h1 {
    font-size: 42px;
    line-height: 56px;
  }
  .h2 {
    font-size: 32px;
    line-height: 44px;
  }
  .lede {
    font-size: 17px;
    line-height: 29px;
  }
  .sec {
    padding: 80px 0;
  }
  .wrap {
    padding: 0 20px;
  }
  .steps,
  .prices,
  .ba {
    grid-template-columns: 1fr;
  }
  .stats {
    grid-template-columns: 1fr 1fr;
  }
  .final {
    padding: 48px 24px;
  }
}

/* ---------- Landing v2: glass header, light/dark, numbered chapters ---------- */
/*
 * The wordmark is brand/logo/rawaj-ar-ink.svg used as a mask, so CSS sets its colour per theme. The SVG is a
 * little wider than the design's letter-spaced live text, so heights are a compromise between the two.
 */
.logo {
  display: inline-block;
  flex: none;
  aspect-ratio: 330.4 / 226.01;
  color: var(--primary-600);
  background-color: currentColor;
  -webkit-mask: url("brand/rawaj-ar-ink.svg") center / contain no-repeat;
  mask: url("brand/rawaj-ar-ink.svg") center / contain no-repeat;
}
[data-theme="dark"] .logo {
  color: #fff;
}
/* glass header */
.gnav {
  position: sticky;
  top: 14px;
  z-index: 30;
  padding: 0 20px;
  margin-top: 14px;
}
.gnav-in {
  max-width: 1180px;
  margin: 0 auto;
  height: 64px;
  padding-inline: 22px 10px;
  display: flex;
  align-items: center;
  gap: 28px;
  box-sizing: border-box;
  border-radius: 999px;
  border: 1px solid color-mix(in oklch, var(--border-default) 80%, transparent);
  background: color-mix(in oklch, var(--surface-card) 62%, transparent);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  box-shadow: var(--shadow-sm);
  transition:
    background var(--dur-base),
    box-shadow var(--dur-base);
}
.gnav.scrolled .gnav-in {
  background: color-mix(in oklch, var(--surface-card) 78%, transparent);
  box-shadow: var(--shadow-md);
}
.gnav .links {
  display: flex;
  gap: 26px;
  font-size: 15px;
  font-weight: 500;
}
.gnav .links a {
  color: var(--text-muted);
  text-decoration: none;
}
.gnav .links a:hover {
  color: var(--text-strong);
}
.gnav .end {
  margin-inline-start: auto;
  display: flex;
  gap: 8px;
  align-items: center;
}
.theme-btn {
  --s: 40px;
}
.theme-btn .sun {
  display: none;
}
[data-theme="dark"] .theme-btn .sun {
  display: inline-block;
}
[data-theme="dark"] .theme-btn .moon {
  display: none;
}
/* chapter heads */
.chap {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-muted);
}
.chap b {
  background: var(--neutral-900);
  color: var(--accent-400);
  border-radius: 999px;
  padding: 2px 10px;
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}
[data-theme="dark"] .chap b {
  background: var(--primary-100);
  color: var(--accent-400);
}
.h2 em {
  font-style: normal;
  color: var(--primary-600);
  display: block;
}
[data-theme="dark"] .h2 em,
[data-theme="dark"] .h1 em {
  color: #a98aff;
}
.dots-bg {
  background-image: radial-gradient(var(--neutral-200) 1px, transparent 1px);
  background-size: 22px 22px;
}
/* 02 task vs goal */
.tg {
  background: var(--surface-card);
  border-radius: 32px;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-md);
  padding: 28px 32px;
}
.tg-row {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 32px;
  align-items: center;
  padding: 20px 0;
}
.tg-row + .tg-row {
  border-top: 1px dashed var(--border-default);
}
.tg-kind {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  background: var(--neutral-100);
  color: var(--text-muted);
}
.tg-kind.goal {
  background: var(--neutral-900);
  color: var(--accent-400);
}
[data-theme="dark"] .tg-kind.goal {
  background: var(--primary-100);
}
.tg-title {
  font-weight: 700;
  color: var(--text-strong);
  margin-top: 10px;
  line-height: 26px;
}
.tg-once {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--text-subtle);
  font-size: 14px;
}
.tg-once .ck {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--neutral-900);
  color: var(--accent-400);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 6px var(--neutral-100);
  flex: none;
}
[data-theme="dark"] .tg-once .ck {
  background: var(--primary-200);
}
.tg-once .ln {
  flex: 1;
  border-top: 1.5px dashed var(--border-strong);
}
.tg-big {
  font-size: 56px;
  line-height: 60px;
  font-weight: 800;
  color: var(--text-strong);
  font-variant-numeric: tabular-nums;
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-top: 12px;
}
.tg-big small {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-subtle);
}
.chart {
  width: 100%;
  height: auto;
  display: block;
  overflow: visible;
}
.chart .ln {
  stroke-dasharray: var(--len);
  stroke-dashoffset: var(--len);
  transition: stroke-dashoffset 2.2s var(--ease-out);
}
.chart .ar {
  opacity: 0;
  transition: opacity 1.2s var(--ease-out) 0.8s;
}
.chart.in .ln {
  stroke-dashoffset: 0;
}
.chart.in .ar {
  opacity: 1;
}
/* 03 dashboard */
.browser {
  background: var(--surface-card);
  border-radius: 28px;
  border: 1px solid var(--border-default);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.browser-bar {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 20px;
  border-bottom: 1px solid var(--border-subtle);
  background: var(--neutral-25);
}
.browser-bar .url {
  flex: 1;
  max-width: 380px;
  margin: 0 auto;
  height: 34px;
  border-radius: 10px;
  background: var(--surface-card);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 13px;
  color: var(--text-subtle);
  direction: ltr;
}
.browser-bar .tl {
  display: flex;
  gap: 6px;
}
.browser-bar .tl i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--neutral-200);
}
.dash {
  display: grid;
  grid-template-columns: 270px 1fr;
  min-height: 560px;
}
.dash-side {
  border-inline-end: 1px solid var(--border-subtle);
  padding: 18px 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: var(--neutral-25);
}
.dash-side h5 {
  margin: 0 6px 8px;
  font-size: 12px;
  color: var(--text-subtle);
}
.g-item {
  font: inherit;
  text-align: start;
  border: 1px solid transparent;
  background: transparent;
  border-radius: 16px;
  padding: 12px 14px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: all var(--dur-fast);
}
.g-item:hover {
  background: var(--neutral-100);
}
.g-item.on {
  background: var(--surface-card);
  border-color: var(--border-default);
  box-shadow: var(--shadow-sm);
}
.g-item .top {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 14px;
  color: var(--text-strong);
}
.g-item .top .rw-icon {
  width: 16px;
  height: 16px;
  color: var(--primary-500);
}
.g-item .st {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-500);
  margin-inline-start: auto;
}
.g-item .st.warn {
  background: var(--warning-500);
}
.g-item .bar {
  height: 4px;
  border-radius: 4px;
  background: var(--neutral-100);
  overflow: hidden;
}
.g-item .bar i {
  display: block;
  height: 100%;
  background: var(--primary-500);
  border-radius: 4px;
}
.g-item .sub {
  font-size: 12px;
  color: var(--text-subtle);
}
.dash-main {
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-width: 0;
}
.dash-main h3 {
  margin: 0;
  font-size: 24px;
  line-height: 34px;
  color: var(--text-strong);
}
.d-chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.d-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid var(--border-default);
  font-size: 13px;
  color: var(--text-muted);
}
.d-chip .rw-icon {
  width: 14px;
  height: 14px;
}
.d-prog {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 28px;
  align-items: center;
  background: var(--neutral-50);
  border-radius: 20px;
  padding: 22px 24px;
}
.d-prog .num {
  font-size: 52px;
  line-height: 56px;
  font-weight: 800;
  color: var(--text-strong);
}
.d-prog .of {
  font-size: 14px;
  color: var(--text-subtle);
}
.d-bars {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.d-bar {
  display: grid;
  grid-template-columns: 56px 1fr 44px;
  gap: 12px;
  align-items: center;
  font-size: 13px;
  color: var(--text-subtle);
}
.d-bar .tr {
  height: 8px;
  border-radius: 8px;
  background: var(--surface-card);
  border: 1px solid var(--border-subtle);
  overflow: hidden;
}
.d-bar .tr i {
  display: block;
  height: 100%;
  border-radius: 8px;
  background: var(--primary-500);
  transition: width 0.6s var(--ease-out);
}
.d-bar .tr.time i {
  background: repeating-linear-gradient(-45deg, var(--neutral-300) 0 4px, var(--neutral-200) 4px 8px);
}
.d-bar b {
  color: var(--text-strong);
  font-variant-numeric: tabular-nums;
  text-align: end;
}
.d-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 16px;
}
.d-card {
  border: 1px solid var(--border-default);
  border-radius: 20px;
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.d-card h6 {
  margin: 0;
  font-size: 15px;
  color: var(--text-strong);
  display: flex;
  align-items: center;
  gap: 8px;
}
.d-card h6 small {
  font-weight: 400;
  color: var(--text-subtle);
  font-size: 12px;
  margin-inline-start: auto;
}
.rep-row {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 10px;
  font-size: 14px;
  line-height: 23px;
}
.rep-row span:first-child {
  color: var(--primary-600);
  font-weight: 700;
}
.ms-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.ms-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text-body);
}
.ms-list li i {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1.5px solid var(--border-strong);
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ms-list li.done i {
  background: var(--neutral-900);
  border-color: var(--neutral-900);
  color: var(--accent-400);
}
[data-theme="dark"] .ms-list li.done i {
  background: var(--primary-200);
  border-color: var(--primary-200);
}
.ms-list li small {
  margin-inline-start: auto;
  color: var(--text-subtle);
  font-size: 12px;
}
.fade-swap {
  animation: rw-rise 320ms var(--ease-out);
}
/* 04 morning report (always dark) */
.night {
  background: #0c0a18;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.night::before {
  content: "";
  position: absolute;
  width: 900px;
  height: 600px;
  left: -200px;
  bottom: -320px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(137, 80, 250, 0.55), transparent);
  pointer-events: none;
}
.night::after {
  content: "";
  position: absolute;
  width: 520px;
  height: 420px;
  left: 12%;
  bottom: -260px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(240, 161, 22, 0.35), transparent);
  pointer-events: none;
}
.night-in {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.night .h2 {
  color: #fff;
}
.night .h2 em {
  color: var(--accent-400);
}
.night .lede {
  color: #b9b4cc;
}
.night .chap {
  color: #b9b4cc;
}
.night .chap b {
  background: rgba(255, 255, 255, 0.08);
}
.clock-bg {
  position: absolute;
  font-size: 180px;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.05);
  bottom: -30px;
  left: 50%;
  transform: translateX(-50%);
  direction: ltr;
  font-variant-numeric: tabular-nums;
  pointer-events: none;
}
.phone {
  width: 300px;
  height: 600px;
  border-radius: 46px;
  background: #000;
  padding: 10px;
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.6),
    0 0 0 1px rgba(255, 255, 255, 0.08);
  position: relative;
  margin: 0 auto;
}
.phone .scr {
  width: 100%;
  height: 100%;
  border-radius: 37px;
  overflow: hidden;
  background: #fff;
  display: flex;
  flex-direction: column;
  color: #17151f;
  position: relative;
}
.phone .notch {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 96px;
  height: 26px;
  border-radius: 20px;
  background: #000;
  z-index: 2;
}
.phone .hd {
  padding: 46px 16px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid #eee;
  background: #fff;
}
.phone .hd .av {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--primary-500);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-family: "Reem Kufi", sans-serif;
  font-weight: 700;
}
.phone .hd b {
  font-size: 14px;
  display: block;
}
.phone .hd span {
  font-size: 11px;
  color: #8a85a0;
}
.phone .bd {
  flex: 1;
  padding: 14px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 10px;
}
.phone.tg .bd {
  background: linear-gradient(160deg, #cfe6c4, #a9d2a9);
}
.phone.ml .bd {
  background: #f6f5fa;
  justify-content: flex-start;
}
.msg-card {
  background: #fff;
  border-radius: 16px;
  padding: 12px 14px;
  font-size: 12.5px;
  line-height: 20px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
}
.msg-card b {
  color: #17151f;
}
.msg-card p {
  margin: 6px 0 0;
  color: #423e53;
}
.msg-card .tm {
  font-size: 10px;
  color: #8a85a0;
  text-align: end;
  margin-top: 6px;
  direction: ltr;
}
.day-pill {
  align-self: center;
  background: rgba(0, 0, 0, 0.18);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  border-radius: 999px;
  padding: 2px 10px;
}
.seg-dark {
  display: inline-flex;
  padding: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.seg-dark button {
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  height: 38px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #b9b4cc;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.seg-dark button.on {
  background: #fff;
  color: #17151f;
}
/* 05 bento */
.bento {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.bx {
  background: var(--surface-card);
  border: 1px solid var(--border-default);
  border-radius: 28px;
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 250px;
  box-sizing: border-box;
}
.bx.wide {
  grid-column: span 2;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 24px;
  align-items: center;
}
.bx h4 {
  margin: 0;
  font-size: 20px;
  line-height: 30px;
  color: var(--text-strong);
}
.bx p {
  margin: 0;
  color: var(--text-muted);
  line-height: 26px;
  font-size: 15px;
}
.bx .art {
  margin-bottom: auto;
  min-height: 72px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.bx .txt {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.mini-chat {
  background: var(--neutral-50);
  border-radius: 20px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.mini-chat .o {
  align-self: flex-start;
  background: var(--primary-500);
  color: #fff;
  border-radius: 16px;
  border-end-start-radius: 4px;
  padding: 10px 14px;
  font-size: 14px;
  line-height: 22px;
  max-width: 85%;
}
.mini-chat .a {
  align-self: flex-end;
  background: var(--surface-card);
  border: 1px solid var(--border-default);
  border-radius: 16px;
  border-end-end-radius: 4px;
  padding: 10px 14px;
  font-size: 13px;
  line-height: 21px;
  color: var(--text-muted);
  max-width: 85%;
}
.ver {
  display: inline-flex;
  gap: 4px;
  align-items: center;
  background: var(--neutral-900);
  color: var(--accent-400);
  border-radius: 999px;
  padding: 1px 8px;
  font-size: 11px;
  font-weight: 700;
  direction: ltr;
  margin-inline-end: 6px;
}
[data-theme="dark"] .ver {
  background: var(--primary-100);
}
.ctl {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  border: 1px solid var(--border-default);
  background: var(--neutral-50);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-muted);
  transition: all var(--dur-fast);
}
.ctl:hover {
  color: var(--text-strong);
}
.ctl.on {
  background: var(--neutral-900);
  border-color: var(--neutral-900);
  color: var(--accent-400);
}
[data-theme="dark"] .ctl.on {
  background: var(--primary-500);
  border-color: var(--primary-500);
  color: #fff;
}
.ch-ic {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--surface-card);
  border: 1px solid var(--border-default);
  box-shadow: var(--shadow-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-inline-start: -10px;
}
.ch-ic:first-child {
  margin-inline-start: 0;
}
.ppl {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}
.ppl div {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-strong);
}
.ppl .x {
  color: var(--text-subtle);
  text-decoration: line-through;
  font-weight: 500;
}
/* floating cta */
.fcta {
  position: fixed;
  bottom: 22px;
  left: 22px;
  z-index: 40;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  background: var(--neutral-900);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  box-shadow: var(--shadow-lg);
  transform: translateY(120px);
  transition: transform var(--dur-slow) var(--ease-out);
}
.fcta .rw-icon {
  color: var(--accent-400);
}
.fcta.show {
  transform: none;
}
.fcta:hover {
  color: #fff;
  text-decoration: none;
  background: var(--neutral-800);
}
[data-theme="dark"] .fcta {
  background: var(--primary-500);
}
[data-theme="dark"] .fcta:hover {
  background: var(--primary-600);
}
[data-theme="dark"] .ba-after {
  background: var(--primary-200);
}
[data-theme="dark"] .demo {
  border-color: var(--border-default);
}
@media (max-width: 1000px) {
  .gnav .links {
    display: none;
  }
  .night-in,
  .dash,
  .d-grid,
  .bx.wide {
    grid-template-columns: 1fr;
  }
  .bento {
    grid-template-columns: 1fr;
  }
  .bx.wide {
    grid-column: auto;
  }
  .tg-row {
    grid-template-columns: 1fr;
  }
  .dash-side {
    border-inline-end: 0;
    border-bottom: 1px solid var(--border-subtle);
    flex-direction: row;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
  }
  .dash-side h5 {
    display: none;
  }
  .dash-side::-webkit-scrollbar {
    display: none;
  }
  .g-item {
    min-width: 200px;
    box-sizing: border-box;
    flex: none;
  }
  .d-prog {
    grid-template-columns: 1fr;
  }
  .clock-bg {
    font-size: 110px;
  }
}

/* ---------- Classes that replace the design's inline styles ---------- */
.logo-link {
  display: inline-flex;
}
.logo--nav {
  height: 30px;
}
.logo--final {
  height: 60px;
  color: #fff;
}
.logo--foot,
[data-theme="dark"] .logo--foot {
  height: 24px;
  color: var(--text-muted);
}
.av-28 {
  --s: 28px;
}
.av-30 {
  --s: 30px;
}
.av-34 {
  --s: 34px;
}

.hero {
  position: relative;
  overflow: hidden;
  margin-top: -78px;
  padding: 150px 0 0;
}
.hero-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(60% 50% at 50% 0%, var(--primary-100), transparent 70%);
  pointer-events: none;
}
.hero-in {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 24px;
}
.hero .h1 {
  max-width: 920px;
}
.hero .lede {
  max-width: 640px;
}
.hero .demo {
  width: 100%;
  max-width: 880px;
  margin-top: 40px;
  text-align: start;
}

/* Visually hidden: screen-reader labels (.vh) and the honeypot (.hp), which people never see or tab into. */
.vh,
.hp {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.waitlist-msg {
  margin: -12px 0 0;
  font-size: 14px;
  font-weight: 700;
  color: var(--error-fg);
}
.final .waitlist-msg {
  margin: 0;
  color: #fff;
}

/* demo chat (built by landing.js) */
.demo .rw-bubble {
  font-size: 14px;
  line-height: 23px;
  padding: 10px 14px;
}
.demo .rw-bubble.is-typing {
  padding: 0;
}
.demo-in > * {
  animation: rw-rise 320ms var(--ease-out) both;
}
.demo-card {
  padding-inline-start: 40px;
}
.demo-card .rw-chatcard {
  max-width: none;
}
.demo-card .grow {
  flex: 1;
}
.demo-card .bd--pills {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.demo-card .is-hinted {
  box-shadow: var(--shadow-focus);
}

.step-goal {
  height: 44px;
  border-radius: 999px;
  font-size: 14px;
  color: var(--text-strong);
}
.step-chips {
  display: flex;
  gap: 6px;
}
.step-chips .rw-chip {
  height: 30px;
  font-size: 12px;
}
.rw-progress .step-bar-verified {
  width: 70%;
  background: var(--primary-500);
}
.rw-progress .step-bar-sent {
  width: 60%;
}
.step .vis--row {
  flex-direction: row;
  align-items: center;
  gap: 8px;
}

.sec--tg {
  padding-top: 100px;
}
.sec--flush {
  padding-top: 0;
}
.tg-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 6px;
}
.tg-day {
  font-size: 14px;
  color: var(--text-subtle);
}
.tg-day b {
  font-size: 22px;
  color: var(--text-strong);
}
.tg-once b {
  color: var(--text-strong);
  white-space: nowrap;
}
.tg-once .nw {
  white-space: nowrap;
}
.tg-big .rw-pill {
  align-self: center;
}
.tg-chart {
  position: relative;
  padding-top: 38px;
}
/* chart milestone tags; landing.js sets their horizontal position */
.ms-tag {
  position: absolute;
  top: 0;
  transform: translateX(-50%);
  white-space: nowrap;
  font-size: 12px;
  font-weight: 700;
  height: 26px;
  display: inline-flex;
  align-items: center;
  padding: 0 10px;
  border-radius: 999px;
  background: var(--surface-card);
  border: 1px solid var(--border-default);
  color: var(--text-strong);
}
.ms-tag--hot {
  background: var(--neutral-900);
  border: 0;
  color: var(--accent-400);
}

.sec--progress {
  position: relative;
  overflow: hidden;
}
.sec--progress > .wrap {
  position: relative;
}
.progress-glow {
  position: absolute;
  width: 700px;
  height: 700px;
  right: -260px;
  top: 120px;
  border-radius: 50%;
  background: radial-gradient(closest-side, var(--primary-100), transparent);
  pointer-events: none;
}
.browser-status {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
}
.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-500);
}
.goal-view {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.rw-icosq--xs {
  width: 30px;
  height: 30px;
}

.night-copy {
  display: flex;
  flex-direction: column;
  gap: 22px;
  align-items: flex-start;
}
.night-note {
  font-size: 13px;
  color: #8e89a6;
}
.night-phone {
  position: relative;
}
.msg-sun {
  color: #f0a116;
  vertical-align: -2px;
}

.bx.wide .txt {
  margin: 0;
}
.bx .art--stat {
  align-items: center;
  gap: 14px;
}
.bx-num {
  font-size: 64px;
  line-height: 1;
  font-weight: 800;
  color: var(--text-strong);
}
.rw-pill.pill-22 {
  height: 22px;
}
.bx .ctl-text {
  color: var(--primary-600);
  font-weight: 700;
  font-size: 14px;
}
.ch-mail {
  color: var(--primary-600);
}
.ch-whatsapp {
  color: #25a244;
}
.ch-instagram {
  color: #d6336c;
}
.ch-linkedin {
  color: #0a66c2;
}
.ch-maps {
  color: var(--warning-500);
}

.stat .v--good {
  color: var(--accent-700);
}
.price .desc {
  margin: 0;
  color: var(--text-muted);
}
.price-badge {
  position: absolute;
  top: -14px;
  inset-inline-start: 28px;
  background: var(--primary-500);
  color: #fff;
}

.sec-final {
  padding: 0 0 80px;
}
.final {
  background: var(--primary-600);
  color: #fff;
}
[data-theme="dark"] .final {
  background: var(--primary-200);
}
.final .h2 {
  color: #fff;
}
.final .lede {
  color: var(--primary-100);
  max-width: 520px;
}
.final .waitlist {
  border-color: transparent;
}
.foot-links {
  margin-inline-start: auto;
  display: flex;
  gap: 20px;
}
/* Footer items without a destination yet: same look as the links, but not clickable. */
.foot-link {
  color: var(--link);
  cursor: default;
}

/* ---------- /privacy (not in the design; built from the same parts) ---------- */
.legal {
  padding-top: 72px;
}
.legal .sec-head {
  margin-bottom: 32px;
}
.legal-card {
  max-width: 820px;
  background: var(--surface-card);
  border: 1px solid var(--border-default);
  border-radius: 28px;
  padding: 32px;
  box-shadow: var(--shadow-sm);
}
.legal-card h2 {
  margin: 24px 0 6px;
  font-size: 20px;
  line-height: 30px;
  color: var(--text-strong);
}
.legal-card h2:first-child {
  margin-top: 0;
}
.legal-card p {
  margin: 0;
  color: var(--text-muted);
  line-height: 28px;
}
.legal-card b {
  color: var(--text-strong);
}
.legal-card .legal-date {
  margin-top: 28px;
  font-size: 13px;
  color: var(--text-subtle);
}

/* ---------- Icons (assets/icons, Lucide) ---------- */
.i-arrow-left {
  --icon: url("icons/arrow-left.svg");
}
.i-bot {
  --icon: url("icons/bot.svg");
}
.i-calendar {
  --icon: url("icons/calendar.svg");
}
.i-calendar-check {
  --icon: url("icons/calendar-check.svg");
}
.i-check {
  --icon: url("icons/check.svg");
}
.i-chevron-down {
  --icon: url("icons/chevron-down.svg");
}
.i-circle-check {
  --icon: url("icons/circle-check.svg");
}
.i-clock {
  --icon: url("icons/clock.svg");
}
.i-globe {
  --icon: url("icons/globe.svg");
}
.i-instagram {
  --icon: url("icons/instagram.svg");
}
.i-layout-template {
  --icon: url("icons/layout-template.svg");
}
.i-linkedin {
  --icon: url("icons/linkedin.svg");
}
.i-lock {
  --icon: url("icons/lock.svg");
}
.i-mail {
  --icon: url("icons/mail.svg");
}
.i-map-pin {
  --icon: url("icons/map-pin.svg");
}
.i-message-circle {
  --icon: url("icons/message-circle.svg");
}
.i-moon {
  --icon: url("icons/moon.svg");
}
.i-pause {
  --icon: url("icons/pause.svg");
}
.i-pencil {
  --icon: url("icons/pencil.svg");
}
.i-play {
  --icon: url("icons/play.svg");
}
.i-refresh-cw {
  --icon: url("icons/refresh-cw.svg");
}
.i-rotate-ccw {
  --icon: url("icons/rotate-ccw.svg");
}
.i-route {
  --icon: url("icons/route.svg");
}
.i-search {
  --icon: url("icons/search.svg");
}
.i-send {
  --icon: url("icons/send.svg");
}
.i-sparkles {
  --icon: url("icons/sparkles.svg");
}
.i-square {
  --icon: url("icons/square.svg");
}
.i-sun {
  --icon: url("icons/sun.svg");
}
.i-target {
  --icon: url("icons/target.svg");
}
.i-zap {
  --icon: url("icons/zap.svg");
}

/* Explicit icon sizes (the design's inline width/height): last, so they beat component defaults. */
.rw-icon.ic-11 {
  width: 11px;
  height: 11px;
}
.rw-icon.ic-12 {
  width: 12px;
  height: 12px;
}
.rw-icon.ic-13 {
  width: 13px;
  height: 13px;
}
.rw-icon.ic-14 {
  width: 14px;
  height: 14px;
}
.rw-icon.ic-15 {
  width: 15px;
  height: 15px;
}
.rw-icon.ic-16 {
  width: 16px;
  height: 16px;
}
.rw-icon.ic-18 {
  width: 18px;
  height: 18px;
}
.rw-icon.ic-20 {
  width: 20px;
  height: 20px;
}
