/* RemindReview marketing — tokens mirrored from apps/dashboard/src/styles.css admin UI */
:root {
  color-scheme: light dark;
  --font: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  font-family: var(--font);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  letter-spacing: -0.005em;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;

  /* Brand (match admin light) */
  --brand: #14b8a6;
  --brand-dark: #0d9488;
  --brand-deep: #0f766e;
  --brand-soft: #ccfbf1;
  --brand-softer: #f0fdfa;
  --brand-glow: rgba(20, 184, 166, 0.22);
  --brand-gradient: linear-gradient(135deg, #2dd4bf 0%, #14b8a6 45%, #0d9488 100%);
  --brand-gradient-deep: linear-gradient(135deg, #14b8a6 0%, #0d9488 50%, #0f766e 100%);

  /* Surfaces (match admin light) */
  --bg: #f4f5f7;
  --bg-elevated: #ffffff;
  --card: var(--bg-elevated);
  --surface-2: #eef0f4;
  --ink: #0f1218;
  --muted: #6b7280;
  --border: #e5e7eb;
  --border-subtle: #eceef2;
  --header-bg: color-mix(in srgb, var(--bg-elevated) 72%, transparent);
  --shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 8px 24px rgba(15, 23, 42, 0.05);
  --shadow-brand: 0 8px 22px var(--brand-glow);
  --radius: 14px;
  --radius-lg: 18px;
  --link: #0d9488;
  --link-hover: #0f766e;
  --mono: ui-monospace, SFMono-Regular, Menlo, monospace;
}

@media (prefers-color-scheme: dark) {
  :root {
    --brand: #2dd4bf;
    --brand-dark: #14b8a6;
    --brand-deep: #0d9488;
    --brand-soft: #134e4a;
    --brand-softer: #0c1615;
    --brand-glow: rgba(45, 212, 191, 0.18);
    --brand-gradient: linear-gradient(135deg, #5eead4 0%, #2dd4bf 45%, #14b8a6 100%);
    --brand-gradient-deep: linear-gradient(135deg, #2dd4bf 0%, #14b8a6 55%, #0d9488 100%);

    --bg: #0a0b0e;
    --bg-elevated: #12141a;
    --card: var(--bg-elevated);
    --surface-2: #181b22;
    --ink: #eceef2;
    --muted: #8b929e;
    --border: #1e222b;
    --border-subtle: #181b22;
    --header-bg: color-mix(in srgb, var(--bg-elevated) 78%, transparent);
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.4), 0 12px 32px rgba(0, 0, 0, 0.35);
    --link: #5eead4;
    --link-hover: #99f6e4;
  }
}

* {
  box-sizing: border-box;
}

html {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  min-height: 100vh;
  min-height: 100dvh;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  overscroll-behavior-x: none;
}

::selection {
  background: color-mix(in srgb, var(--brand) 35%, transparent);
  color: var(--ink);
}

:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}

a {
  color: var(--link);
  text-decoration: none;
}
a:hover {
  color: var(--link-hover);
  text-decoration: underline;
}

.wrap {
  max-width: min(1120px, 100%);
  margin: 0 auto;
  padding: 0 1.35rem calc(3.5rem + env(safe-area-inset-bottom, 0px));
  /* overflow-x left visible so sticky header.site can full-bleed; html/body still clip */
  min-width: 0;
}
.wrap.narrow {
  max-width: 42rem;
}

/* —— Site header (admin top-bar language) ——
   Full-bleed sticky bar: break out of .wrap max-width so background/border
   span the viewport edge-to-edge. Prefer header as a direct child of body
   with an inner .wrap (see vertical pages); the calc below also fixes pages
   that still nest header.site inside .wrap. */
header.site {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  min-width: 0;
  width: 100vw;
  max-width: 100vw;
  margin: 0 0 2rem;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: calc(0.85rem + env(safe-area-inset-top, 0px)) max(1rem, calc(50vw - 560px)) 0.85rem;
  background: var(--header-bg);
  backdrop-filter: blur(14px) saturate(1.15);
  -webkit-backdrop-filter: blur(14px) saturate(1.15);
  border-bottom: 1px solid color-mix(in srgb, var(--border) 70%, transparent);
  min-height: 3.5rem;
  box-sizing: border-box;
}
/* When header sits outside .wrap (preferred), drop the break-out math */
body > header.site {
  width: 100%;
  max-width: none;
  margin-left: 0;
  margin-right: 0;
  padding-left: 0;
  padding-right: 0;
}
body > header.site > .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  width: 100%;
  padding-top: 0;
  padding-bottom: 0;
  margin: 0 auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--ink);
  text-decoration: none;
  font-size: 1.05rem;
  min-width: 0;
  flex: 1 1 auto;
}
.brand:hover {
  color: var(--ink);
  text-decoration: none;
  opacity: 0.92;
}
.brand-mark {
  display: block;
  flex-shrink: 0;
  width: 1.9rem;
  height: 1.9rem;
  overflow: visible;
}
.brand-mark path.bubble {
  fill: var(--brand);
}

.nav {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0.3rem 0.45rem;
  font-size: 0.9rem;
  font-weight: 600;
  flex-shrink: 0;
}
.nav a {
  color: var(--muted);
  text-decoration: none;
  padding: 0.45rem 0.65rem;
  border-radius: 10px;
  transition: color 0.12s, background 0.12s;
}
.nav a:hover {
  color: var(--ink);
  background: color-mix(in srgb, var(--brand-soft) 45%, transparent);
  text-decoration: none;
}
.nav .nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.5rem 1.05rem;
  border-radius: 12px;
  background: var(--brand-gradient-deep);
  color: #fff !important;
  font-weight: 700;
  box-shadow: var(--shadow-brand);
  text-decoration: none !important;
  margin-left: 0.25rem;
}
.nav .nav-cta:hover {
  filter: brightness(1.06);
  background: var(--brand-gradient-deep);
  color: #fff !important;
}

/* —— Type —— */
h1 {
  font-size: clamp(1.55rem, 6.5vw, 2.45rem);
  letter-spacing: -0.04em;
  line-height: 1.15;
  font-weight: 800;
  margin: 0 0 0.85rem;
  color: var(--ink);
  overflow-wrap: break-word;
}
h2 {
  font-size: 1.2rem;
  letter-spacing: -0.025em;
  font-weight: 700;
  margin: 2rem 0 0.7rem;
  color: var(--ink);
  line-height: 1.3;
}
h3 {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 1.1rem 0 0.45rem;
  color: var(--ink);
  line-height: 1.3;
}

.lead {
  color: var(--muted);
  font-size: 1.02rem;
  max-width: 100%;
  margin: 0 0 1.5rem;
  line-height: 1.6;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.muted {
  color: var(--muted);
  line-height: 1.55;
}

/* —— Cards / panels —— */
.card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.35rem 1.4rem;
  margin: 1.15rem 0;
  box-shadow: var(--shadow);
}
a.card {
  color: inherit;
  text-decoration: none;
  display: block;
  transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s;
}
a.card:hover {
  border-color: color-mix(in srgb, var(--brand) 40%, var(--border));
  box-shadow: 0 10px 28px color-mix(in srgb, var(--ink) 6%, transparent);
  transform: translateY(-1px);
  text-decoration: none;
  color: inherit;
}
a.card h3 {
  color: var(--ink);
  margin-top: 0;
}

/* —— Buttons —— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.65rem 1.1rem;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.94rem;
  border: 0;
  cursor: pointer;
  text-decoration: none;
  font-family: inherit;
  min-height: 2.75rem;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  transition: transform 0.15s, filter 0.15s, box-shadow 0.15s, border-color 0.15s;
}
.btn:active {
  transform: scale(0.98);
}
.btn-primary {
  background: var(--brand-gradient-deep);
  color: #fff !important;
  box-shadow: var(--shadow-brand);
  text-decoration: none !important;
}
.btn-primary:hover {
  filter: brightness(1.06);
  box-shadow: 0 12px 32px var(--brand-glow);
  text-decoration: none;
  color: #fff !important;
}
.btn-ghost {
  background: var(--bg-elevated);
  color: var(--ink) !important;
  border: 1px solid var(--border);
  text-decoration: none !important;
}
.btn-ghost:hover {
  border-color: color-mix(in srgb, var(--brand) 40%, var(--border));
  background: var(--surface-2);
  text-decoration: none;
  color: var(--ink) !important;
}
.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.25rem 0 1.75rem;
}

ul.checks {
  padding-left: 1.2rem;
  color: var(--muted);
  margin: 0.65rem 0 1.15rem;
  line-height: 1.6;
}
ul.checks li {
  margin: 0.5rem 0;
}

ol.checks {
  padding-left: 1.25rem;
  color: var(--muted);
  line-height: 1.6;
}
ol.checks li {
  margin: 0.5rem 0;
}

.table-scroll {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 1.15rem 0;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

table.matrix {
  width: 100%;
  min-width: 28rem;
  border-collapse: collapse;
  font-size: 0.92rem;
  margin: 0;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: none;
}
table.matrix th,
table.matrix td {
  text-align: left;
  padding: 0.9rem 0.95rem;
  border-bottom: 1px solid var(--border-subtle);
  line-height: 1.45;
  vertical-align: middle;
}
table.matrix tr:last-child td {
  border-bottom: 0;
}
table.matrix th {
  color: var(--muted);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 700;
  background: color-mix(in srgb, var(--surface-2) 70%, var(--bg-elevated));
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.15rem;
  width: 100%;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-dark);
  background: color-mix(in srgb, var(--brand-soft) 55%, transparent);
  border: 1px solid color-mix(in srgb, var(--brand) 18%, transparent);
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}
@media (prefers-color-scheme: dark) {
  .tag {
    color: var(--brand);
  }
}

footer.site {
  margin-top: 3.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.55;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0;
}
footer.site a {
  color: var(--muted);
  margin-right: 1rem;
  font-weight: 600;
  text-decoration: none;
}
footer.site a:hover {
  color: var(--link);
}
footer.site p {
  margin: 0.9rem 0 0;
  flex: 1 0 100%;
}

/* —— Forms —— */
label.field {
  display: block;
  margin: 1rem 0;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.4;
}
label.field input,
label.field select,
label.field textarea {
  display: block;
  width: 100%;
  margin-top: 0.45rem;
  padding: 0.7rem 0.9rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  color: var(--ink);
  font: inherit;
  font-weight: 400;
  line-height: 1.45;
  transition: border-color 0.15s, box-shadow 0.15s;
}
label.field input:focus,
label.field select:focus,
label.field textarea:focus {
  outline: none;
  border-color: color-mix(in srgb, var(--brand) 55%, var(--border));
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 20%, transparent);
}
input[type="range"] {
  width: 100%;
  accent-color: var(--brand);
  margin-top: 0.5rem;
}

.big-num {
  font-size: clamp(1.8rem, 5vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  color: var(--brand-dark);
  margin: 0.45rem 0;
  line-height: 1.1;
}
@media (prefers-color-scheme: dark) {
  .big-num {
    color: var(--brand);
  }
}

.tpl {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.05rem 1.15rem;
  font-family: var(--mono);
  font-size: 0.86rem;
  white-space: pre-wrap;
  margin: 0.65rem 0 1.15rem;
  color: var(--ink);
  line-height: 1.55;
  box-shadow: var(--shadow);
}

/* —— Pricing —— */
.price-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.15rem;
  margin: 1.5rem 0;
  width: 100%;
}
.price-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.45rem 1.35rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  box-shadow: var(--shadow);
  position: relative;
  min-width: 0;
}
.price-card.featured {
  border-color: color-mix(in srgb, var(--brand) 45%, var(--border));
  box-shadow: 0 12px 36px color-mix(in srgb, var(--brand) 14%, transparent);
}
.price-card h3 {
  margin: 0;
}
.price-card .amt {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.1;
}
.price-card .amt span {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--muted);
}
.price-card ul {
  margin: 0.35rem 0 0.95rem;
  padding-left: 1.15rem;
  color: var(--muted);
  font-size: 0.92rem;
  flex: 1;
  line-height: 1.6;
}
.price-card .btn {
  width: 100%;
}

@media (max-width: 960px) {
  .nav a:not(.nav-cta) {
    display: none !important;
  }
  .nav .nav-cta {
    margin-left: 0;
    min-width: 4.75rem;
    padding: 0.45rem 0.85rem;
  }
}

@media (max-width: 860px) {
  .price-grid {
    grid-template-columns: 1fr;
    max-width: 22rem;
  }
  .grid-2 {
    grid-template-columns: 1fr;
  }
  .wrap {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  h1 {
    font-size: 1.5rem;
  }
  .brand {
    font-size: 1rem;
  }
}


/* —— Vertical marketing: hero, steps, phone mock, strips —— */
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 2rem 2.5rem;
  align-items: center;
  margin: 0 0 2.5rem;
  width: 100%;
}
.hero-grid .lead {
  max-width: 36rem;
}
.hero-visual {
  display: flex;
  justify-content: center;
  min-width: 0;
}

.phone-mock {
  width: min(100%, 17.5rem);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 1.65rem;
  box-shadow: var(--shadow), 0 0 0 1px color-mix(in srgb, var(--brand) 8%, transparent);
  padding: 0.85rem 0.85rem 1.1rem;
  position: relative;
}
.phone-mock::before {
  content: "";
  display: block;
  width: 4.5rem;
  height: 0.35rem;
  border-radius: 999px;
  background: var(--border);
  margin: 0.15rem auto 0.85rem;
}
.phone-mock .sms-bubble {
  background: color-mix(in srgb, var(--brand-soft) 55%, var(--bg-elevated));
  border: 1px solid color-mix(in srgb, var(--brand) 16%, var(--border));
  border-radius: 1rem 1rem 1rem 0.35rem;
  padding: 0.85rem 0.95rem;
  font-size: 0.78rem;
  line-height: 1.45;
  color: var(--ink);
  white-space: pre-wrap;
  font-family: var(--mono);
}
.phone-mock .sms-link {
  color: #0b6bcb;
  word-break: break-all;
}
@media (prefers-color-scheme: dark) {
  .phone-mock .sms-link {
    color: #7ec8ff;
  }
}
.phone-mock .sms-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.55rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}
.phone-mock .sms-meta span.dot {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--brand);
  display: inline-block;
  margin-right: 0.35rem;
}
.cal-card {
  width: min(100%, 19rem);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 1rem 1.1rem 1.15rem;
}
.cal-card .cal-row {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 0.7rem 0.75rem;
  border-radius: 12px;
  background: color-mix(in srgb, var(--brand-softer) 80%, var(--bg-elevated));
  border: 1px solid color-mix(in srgb, var(--brand) 14%, var(--border));
  margin-bottom: 0.65rem;
}
.cal-card .cal-time {
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--brand-dark);
  letter-spacing: 0.02em;
  min-width: 3.2rem;
  line-height: 1.3;
}
@media (prefers-color-scheme: dark) {
  .cal-card .cal-time { color: var(--brand); }
}
.cal-card .cal-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 0.15rem;
}
.cal-card .cal-sub {
  font-size: 0.75rem;
  color: var(--muted);
  margin: 0;
}
.cal-card .cal-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--brand-dark);
  background: color-mix(in srgb, var(--brand-soft) 50%, transparent);
  border-radius: 999px;
  padding: 0.2rem 0.55rem;
  margin-top: 0.35rem;
}
@media (prefers-color-scheme: dark) {
  .cal-card .cal-chip { color: var(--brand); }
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin: 1.15rem 0 2rem;
  width: 100%;
  counter-reset: step;
}
.step {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.2rem 1.15rem 1.25rem;
  box-shadow: var(--shadow);
  min-width: 0;
  position: relative;
}
.step::before {
  counter-increment: step;
  content: counter(step);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.7rem;
  height: 1.7rem;
  border-radius: 999px;
  background: var(--brand-gradient-deep);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
  box-shadow: var(--shadow-brand);
}
.step h3 {
  margin: 0 0 0.4rem;
  font-size: 1rem;
}
.step p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

.split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.15rem;
  margin: 1.15rem 0 2rem;
  width: 100%;
}
.split .card {
  margin: 0;
  height: 100%;
}

.pricing-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  background: linear-gradient(135deg, color-mix(in srgb, var(--brand-softer) 90%, var(--bg-elevated)), var(--bg-elevated));
  border: 1px solid color-mix(in srgb, var(--brand) 18%, var(--border));
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.4rem;
  margin: 1.5rem 0 2rem;
  box-shadow: var(--shadow);
}
.pricing-strip .ps-copy h2 {
  margin: 0 0 0.35rem;
  font-size: 1.1rem;
}
.pricing-strip .ps-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}
.pricing-strip .ps-amt {
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.02em;
}

.also-for {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.65rem;
  margin: 0.85rem 0 1.5rem;
}
.also-for a {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 600;
  text-decoration: none;
  transition: border-color 0.12s, color 0.12s, background 0.12s;
}
.also-for a:hover {
  color: var(--ink);
  border-color: color-mix(in srgb, var(--brand) 35%, var(--border));
  background: color-mix(in srgb, var(--brand-soft) 35%, var(--bg-elevated));
  text-decoration: none;
}

.note-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.2rem 1.3rem;
  margin: 1.15rem 0 2rem;
  box-shadow: var(--shadow);
}
.note-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

ul.checks.tight li {
  margin: 0.4rem 0;
}

footer.site .for-hubs {
  flex: 1 0 100%;
  margin: 0.35rem 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 0.85rem;
  font-size: 0.8rem;
}
footer.site .for-hubs a {
  margin-right: 0;
}

@media (max-width: 860px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .hero-visual {
    order: -1;
  }
  .steps {
    grid-template-columns: 1fr;
  }
  .split {
    grid-template-columns: 1fr;
  }
  .pricing-strip {
    flex-direction: column;
    align-items: flex-start;
  }
}
