/* Poppins, self-hosted (SIL OFL 1.1, fonts/OFL.txt), as on femdel.com. Brand colours from the app's globals.css. */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/poppins-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/fonts/poppins-600.woff2') format('woff2');
}

:root {
  --navy: #02497c;
  --deep-navy: #081e44;
  --primary: #0257aa;
  --text: #1a1f29;
  --muted: #4a5363;
  --line: #d5dbe5;
  --band: #f2f5f9;
  --error: #b42318;
  --success: #146c2e;
  --radius: 8px;
  font-family: 'Poppins', ui-sans-serif, system-ui, sans-serif;
  color: var(--text);
  line-height: 1.6;
}

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

body {
  margin: 0;
  background: var(--band);
}

h1,
h2,
h3 {
  font-weight: 600;
  line-height: 1.25;
  margin: 0 0 0.75rem;
}
h1 {
  font-size: clamp(2rem, 5vw, 3rem);
}
h2 {
  font-size: 1.75rem;
}
h3 {
  font-size: 1.125rem;
}
p {
  margin: 0 0 1rem;
}
a {
  color: var(--primary);
}
:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 2px;
}

.wrap {
  max-width: 72rem;
  margin: 0 auto;
  padding: 0 1rem;
}
.section {
  padding-top: 3.5rem;
  padding-bottom: 3.5rem;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -3rem;
  background: #fff;
  color: var(--deep-navy);
  padding: 0.5rem 1rem;
  border-radius: var(--radius);
  z-index: 1;
}
.skip:focus {
  top: 1rem;
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.masthead {
  background: linear-gradient(160deg, var(--deep-navy), var(--navy));
  color: #fff;
}
.masthead a:not(.button),
.footer a {
  color: #fff;
}
.masthead :focus-visible,
.footer :focus-visible {
  outline-color: #fff;
}
.bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1rem;
  padding-bottom: 1rem;
}
.logo img {
  display: block;
}
nav ul {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.hero {
  padding-top: 2.5rem;
  padding-bottom: 2rem;
  max-width: 72rem;
}
.hero h1 {
  max-width: 20ch;
  font-size: clamp(2.25rem, 5.6vw, 4rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
}
.lead {
  font-size: 1.1875rem;
  max-width: 42rem;
  color: #d4e0f2;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.button {
  display: inline-block;
  font: inherit;
  font-weight: 600;
  text-decoration: none;
  padding: 0.625rem 1.25rem;
  border-radius: var(--radius);
  border: 2px solid var(--primary);
  background: var(--primary);
  color: #fff;
  cursor: pointer;
}
.button:hover {
  background: var(--navy);
  border-color: var(--navy);
}
.button-light {
  background: #fff;
  border-color: #fff;
  color: var(--deep-navy);
}
.button-light:hover {
  background: var(--band);
  border-color: var(--band);
}
.button-outline {
  background: transparent;
  border-color: #fff;
  color: #fff;
}
.button-outline:hover {
  background: rgb(255 255 255 / 0.12);
  border-color: #fff;
}

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: 1rem;
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
}
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1.5rem;
}
.card p {
  color: var(--muted);
  margin: 0;
}

.band {
  background: #fff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.split {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr));
  align-items: start;
}

.form {
  display: grid;
  gap: 1rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
}
.field {
  display: grid;
  gap: 0.25rem;
}
label {
  font-weight: 600;
  font-size: 0.9375rem;
}
input,
textarea {
  font: inherit;
  color: inherit;
  width: 100%;
  padding: 0.5rem 0.75rem;
  border: 1px solid #8a94a6;
  border-radius: 6px;
}
input[aria-invalid='true'],
textarea[aria-invalid='true'] {
  border-color: var(--error);
}
.form .button {
  justify-self: start;
}
.hint {
  margin: 0;
  color: var(--muted);
  font-size: 0.9375rem;
}
.status {
  margin: 0;
  min-height: 1.6em;
}
.status[data-kind='error'] {
  color: var(--error);
}
.status[data-kind='ok'] {
  color: var(--success);
}
.trap {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.phone {
  font-weight: 600;
}

/* ---- sales demo links (Story 16.3) ---- */
.who {
  margin: 0;
  color: #fff;
}
select {
  font: inherit;
  color: inherit;
  padding: 0.5rem 0.75rem;
  border: 1px solid #8a94a6;
  border-radius: 6px;
  background: #fff;
}

/* ---- demo walkthrough (Story 16.2) ---- */
.lead-dark {
  font-size: 1.125rem;
  color: var(--muted);
  max-width: 48rem;
}
.crumbs {
  margin: 0 0 0.5rem;
}
.demo-card a {
  text-decoration: none;
  color: inherit;
}
.demo-card h2 {
  font-size: 1.125rem;
  margin: 0.75rem 0 0.5rem;
  color: var(--primary);
}
.thumb {
  display: block;
  width: 100%;
  height: 10rem;
  object-fit: cover;
  object-position: top;
  border: 1px solid var(--line);
  border-radius: 6px;
}
.stepper {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 1.5rem 0;
}
.stepper[hidden] {
  display: none;
}
.stepper p {
  margin: 0;
  font-weight: 600;
}
.button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
.button-quiet {
  background: #fff;
  color: var(--primary);
}
.button-quiet:hover {
  background: var(--band);
  border-color: var(--primary);
}
.step {
  margin: 0 0 3rem;
}
.step h2:focus {
  outline: none;
}
.step h2:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 3px;
}
.count {
  display: block;
  font-size: 0.875rem;
  color: var(--muted);
  font-weight: 600;
}
/* With script the stepper shows the position instead. */
.one-at-a-time .count {
  display: none;
}
.shot {
  position: relative;
  margin: 1rem 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 6px 24px rgb(8 30 68 / 12%);
}
.shot-phone {
  max-width: 24rem;
}
.shot img {
  display: block;
  width: 100%;
  height: auto;
}
.callout-box {
  position: absolute;
  border: 3px solid #e0661b;
  border-radius: 6px;
}
.marker {
  position: absolute;
  top: -0.9rem;
  left: -0.9rem;
  display: grid;
  place-items: center;
  width: 1.8rem;
  height: 1.8rem;
  border-radius: 50%;
  background: #b4470f;
  color: #fff;
  font-weight: 600;
  font-size: 0.9375rem;
}
.callouts {
  max-width: 48rem;
}
.callouts li {
  margin: 0 0 0.375rem;
}
.after {
  margin-top: 2rem;
}

.footer {
  background: var(--deep-navy);
  color: #fff;
}
.footer p {
  margin: 0;
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

/* ---- home page (design pass, 2026-10-24) ---- */
.eyebrow {
  margin: 0 0 0.75rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
}
.eyebrow-dark {
  color: #9cc4ee;
}
.byline {
  margin: 1.25rem 0 0;
  font-size: 0.875rem;
  color: #a9bdd9;
}
.narrow {
  max-width: 24ch;
}
.section h2,
.dark h2,
.panel h2 {
  font-size: clamp(1.75rem, 3.6vw, 2.5rem);
  line-height: 1.15;
  letter-spacing: -0.015em;
  margin-bottom: 1rem;
}
.dark {
  background: var(--deep-navy);
  color: #fff;
}
.dark .lead-dark,
.panel .lead-dark {
  color: #c4d3ea;
}
.dark .ticks li,
.panel .ticks li {
  color: #d4e0f2;
}
.dark .ticks b,
.panel .ticks b {
  color: #fff;
}
.dark .ticks li::before,
.panel .ticks li::before {
  border-color: #9cc4ee;
}

/* A product screenshot in a browser frame. */
.frame {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  box-shadow:
    0 30px 60px -28px rgb(8 30 68 / 45%),
    0 6px 18px -8px rgb(8 30 68 / 18%);
}
.frame-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0.6rem 0.9rem;
  background: #eef1f7;
  border-bottom: 1px solid var(--line);
}
.frame-bar i {
  display: block;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #c3ccdc;
}
.frame-bar span {
  margin-left: 0.6rem;
  padding: 2px 12px;
  font-size: 0.75rem;
  color: var(--muted);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
}
.frame img {
  display: block;
  width: 100%;
  height: auto;
}
.crop {
  max-height: 22rem;
  overflow: hidden;
}

.showcase {
  padding-bottom: 1rem;
}
.stage {
  position: relative;
  max-width: 68rem;
  margin: 0 auto;
}
.float-phone {
  position: absolute;
  right: -0.5rem;
  bottom: -3.5rem;
  width: 13rem;
  border: 8px solid #0b1220;
  border-radius: 30px;
  background: #0b1220;
  overflow: hidden;
  box-shadow: 0 24px 50px -16px rgb(0 0 0 / 60%);
}
.float-phone img,
.float-shot img {
  display: block;
  width: 100%;
  height: auto;
}
.sample {
  margin: 4.5rem 0 0;
  text-align: center;
  font-size: 0.8125rem;
  color: #a9bdd9;
}

.stat-list,
.grid {
  display: grid;
  gap: 1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.stat-list {
  grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
  margin-top: -1rem;
  padding-top: 1.5rem;
}
.stat {
  display: grid;
  gap: 0.5rem;
  color: var(--muted);
}
.stat-n {
  font-size: 2rem;
  font-weight: 600;
  line-height: 1;
  color: var(--primary);
}
.grid {
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  margin-top: 1.75rem;
}
.grid-4 {
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
}
.steps {
  counter-reset: step;
}
.steps li {
  counter-increment: step;
}
.steps li::before {
  content: counter(step);
  display: block;
  margin-bottom: 0.5rem;
  font-size: 2rem;
  font-weight: 600;
  line-height: 1;
  color: var(--primary);
}

/* Copy beside a screenshot; `reverse` puts the screenshot first. */
.feature {
  display: grid;
  gap: 3rem;
  grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr));
  align-items: center;
}
.feature.reverse .shot-col {
  order: -1;
}
.ticks {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
}
.ticks li {
  position: relative;
  padding: 0.4rem 0 0.4rem 1.75rem;
  color: #26324a;
}
.ticks li::before {
  content: '';
  position: absolute;
  left: 0.125rem;
  top: 0.8rem;
  width: 0.75rem;
  height: 0.4rem;
  border-left: 3px solid var(--primary);
  border-bottom: 3px solid var(--primary);
  transform: rotate(-45deg);
}
.ticks b {
  color: #0b1220;
}
.phones {
  display: flex;
  gap: 1rem;
  justify-content: center;
}
.float-shot {
  flex: 0 1 11rem;
  border: 7px solid #0b1220;
  border-radius: 26px;
  background: #0b1220;
  overflow: hidden;
  box-shadow: 0 24px 50px -16px rgb(0 0 0 / 60%);
  outline: 1px solid #2a3a5c;
}
.narrow-col {
  max-width: 48rem;
}
.pair {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr));
  align-items: start;
  margin-top: 2rem;
}
.two-col {
  display: grid;
  gap: 0 2.5rem;
  grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr));
  margin-top: 1.5rem;
}
.panel {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr));
  padding: clamp(1.75rem, 5vw, 3.5rem);
  background: var(--deep-navy);
  color: #fff;
  border-radius: 20px;
}
.panel .ticks {
  margin: 0;
}
.faq {
  max-width: 54rem;
}
.faq details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0 1.25rem;
  margin-top: 0.75rem;
}
.faq summary {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: '+';
  font-size: 1.5rem;
  line-height: 1;
  color: var(--primary);
}
.faq details[open] summary::after {
  content: '\2212';
}
.faq details p {
  margin: 0 0 1.25rem;
  color: var(--muted);
  max-width: 62ch;
}

@media (max-width: 900px) {
  .float-phone,
  .hide-sm {
    display: none;
  }
  .sample {
    margin-top: 1.5rem;
  }
}
