/* ============================================================
   SCHEDMATE — PUBLIC DESIGN SYSTEM  v120

   One stylesheet for / and /start. No framework, no CDN, no webfont
   request — the type stack is the system stack, which is the fastest
   thing a landing page can do and looks deliberate rather than cheap.

   Direction: an off-white paper foundation, deep ink typography, and a
   single disciplined indigo accent. Depth comes from restrained shadow
   and one soft aurora behind the hero, never from stacked gradients on
   every card.

   Constraints this file holds:
     - no rule can push the page wider than the viewport; every
       responsive grid caps its track with min(100%, …);
     - every animation is opt-out in one reduced-motion block at the end;
     - images sit in fixed aspect-ratio frames so nothing reflows as they
       load;
     - light presentation only. These pages do not follow the dashboard
       theme toggle, so there is exactly one set of colours to verify.
============================================================ */

:root {
  /* These pages are a fixed light presentation and do not follow the
     dashboard theme toggle, so form controls must not be rendered dark
     by a visitor's OS preference. */
  color-scheme: light;

  --x-paper: #fbfbfd;
  --x-paper-2: #f4f5fa;
  --x-card: #ffffff;
  --x-ink: #0d1424;
  --x-ink-2: #35405a;
  --x-muted: #5b6478;
  --x-line: rgba(13, 20, 36, 0.10);
  --x-line-2: rgba(13, 20, 36, 0.16);

  --x-accent: #4f46e5;
  --x-accent-press: #4038cc;
  /* Accent as TEXT on paper. #4f46e5 on #fbfbfd measures 7.4:1; the
     lighter brand indigo used for fills does not, so text never uses it. */
  --x-accent-text: #4338ca;
  --x-accent-wash: rgba(79, 70, 229, 0.08);

  --x-radius: 16px;
  --x-radius-lg: 22px;
  --x-shadow: 0 1px 2px rgba(13, 20, 36, .04), 0 12px 32px rgba(13, 20, 36, .06);
  --x-shadow-lg: 0 2px 4px rgba(13, 20, 36, .04), 0 28px 70px rgba(13, 20, 36, .10);

  --x-shell: 1140px;
  --x-motion: 420ms;
  --x-ease: cubic-bezier(.22, .8, .28, 1);

  --x-font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
}

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

html { -webkit-text-size-adjust: 100%; }

body.smx-home {
  margin: 0;
  /* 320px is the narrowest viewport these pages are designed for (an
     original iPhone SE). Below that the layout stops shrinking rather
     than collapsing into unreadable columns. */
  min-width: 320px;
  font-family: var(--x-font);
  color: var(--x-ink);
  background: var(--x-paper);
  line-height: 1.6;
  /* The page itself never scrolls sideways. `clip` rather than `hidden`
     on purpose: `hidden` turns the body into a scroll container, which
     breaks the sticky navigation in several browsers. Anything wider
     than the viewport scrolls inside its own container instead. */
  overflow-x: clip;
}

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

.smx-shell {
  width: 100%;
  max-width: var(--x-shell);
  margin: 0 auto;
  padding: 0 24px;
}

.smx-skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--x-ink);
  color: #fff;
  padding: 12px 18px;
  border-radius: 0 0 10px 0;
  z-index: 100;
}
.smx-skip:focus { left: 0; }

:where(a, button, input, select, summary):focus-visible {
  outline: 2px solid var(--x-accent);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ---------------- Typography ---------------- */
.smx-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 650;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--x-accent-text);
  background: var(--x-accent-wash);
  border-radius: 999px;
  padding: 7px 14px;
  margin: 0 0 20px;
}

h1, h2, h3 { letter-spacing: -0.025em; line-height: 1.12; margin: 0; }

/* Sized against the column it lives in, not the viewport: the hero is a
   two-column layout on desktop, so 6vw overshoots badly at 1440 and
   wraps the headline into five short lines. */
.smx-display {
  font-size: clamp(34px, 4.4vw, 54px);
  font-weight: 700;
}
/* Only cap the measure once the hero is actually two columns. On a phone
   the headline should use the full width it has. */
@media (min-width: 1000px) {
  .smx-display { max-width: 17ch; }
}
.smx-display em {
  font-style: normal;
  color: var(--x-accent-text);
}

.smx-h2 { font-size: clamp(27px, 4.2vw, 40px); font-weight: 690; }
.smx-h3 { font-size: clamp(18px, 2.2vw, 21px); font-weight: 660; line-height: 1.28; }

.smx-lede {
  font-size: clamp(16.5px, 1.7vw, 19px);
  line-height: 1.62;
  color: var(--x-muted);
  max-width: 58ch;
  margin: 18px 0 0;
}

/* v120.0.5 — the plain purpose statement under the hero lede.
   Deliberately quieter than the lede and deliberately still readable:
   its job is to say what this application is, to a person skimming and
   to a verification reviewer reading the page source. It is never
   display:none, never clip-path'd and never an image. */
.smx-purpose {
  font-size: clamp(14.5px, 1.35vw, 16px);
  line-height: 1.6;
  color: var(--x-muted);
  max-width: 62ch;
  margin: 16px 0 0;
}

/* Names the pricing card as a plan rather than a second product. */
.smx-price-plan {
  margin: 6px 0 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--x-muted);
}

.smx-section-head { max-width: 62ch; margin: 0 0 44px; }
.smx-section-head .smx-lede { margin-top: 14px; }
.smx-center { margin-inline: auto; text-align: center; }
.smx-center .smx-lede { margin-inline: auto; }

/* ---------------- Buttons ---------------- */
.smx-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border-radius: 12px;
  border: 1px solid transparent;
  font: inherit;
  font-size: 15px;
  font-weight: 620;
  padding: 13px 22px;
  text-decoration: none;
  cursor: pointer;
  transition: transform var(--x-motion) var(--x-ease),
              background-color var(--x-motion) var(--x-ease),
              border-color var(--x-motion) var(--x-ease),
              box-shadow var(--x-motion) var(--x-ease);
}
.smx-btn:hover { transform: translateY(-1px); }

.smx-btn-primary {
  background: var(--x-accent);
  color: #fff;
  box-shadow: 0 8px 22px rgba(79, 70, 229, .22);
}
.smx-btn-primary:hover { background: var(--x-accent-press); }

.smx-btn-secondary {
  background: var(--x-card);
  color: var(--x-ink);
  border-color: var(--x-line-2);
  box-shadow: var(--x-shadow);
}
.smx-btn-secondary:hover { border-color: var(--x-accent); }

.smx-btn-lg { font-size: 16px; padding: 15px 26px; }
.smx-btn-small { font-size: 14px; padding: 10px 17px; }
.smx-btn-block { width: 100%; }

.smx-text-link {
  color: var(--x-accent-text);
  font-weight: 620;
  text-decoration: none;
  display: inline-flex;
  gap: 7px;
  align-items: center;
}
.smx-text-link:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ---------------- Navigation ---------------- */
.smx-nav {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(251, 251, 253, .84);
  backdrop-filter: saturate(150%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--x-motion) var(--x-ease);
}
.smx-nav.is-stuck { border-bottom-color: var(--x-line); }

.smx-nav-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: 68px;
}

.smx-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 17px;
  color: var(--x-ink);
  text-decoration: none;
  letter-spacing: -0.02em;
}
.smx-mark {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: linear-gradient(140deg, var(--x-accent), #7c74f0);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 15px;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(79, 70, 229, .28);
}

.smx-nav-links {
  display: flex;
  gap: 4px;
  margin-inline-start: auto;
  align-items: center;
}
.smx-nav-links a {
  color: var(--x-ink-2);
  text-decoration: none;
  font-size: 14.5px;
  font-weight: 560;
  padding: 9px 12px;
  border-radius: 9px;
}
.smx-nav-links a:hover { color: var(--x-ink); background: var(--x-paper-2); }
.smx-nav-actions { display: flex; gap: 8px; align-items: center; }
.smx-link-login {
  font-weight: 600;
  font-size: 14.5px;
  color: var(--x-ink-2);
  text-decoration: none;
  padding: 9px 12px;
  border-radius: 9px;
}
.smx-link-login:hover { color: var(--x-ink); background: var(--x-paper-2); }

/* Menu button: present only on narrow viewports. */
.smx-menu-btn {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid var(--x-line-2);
  background: var(--x-card);
  cursor: pointer;
  padding: 0;
  place-items: center;
  gap: 4px;
  grid-auto-flow: row;
}
.smx-menu-btn span {
  display: block;
  width: 16px;
  height: 1.6px;
  border-radius: 2px;
  background: var(--x-ink);
}

@media (max-width: 880px) {
  .smx-menu-btn { display: grid; order: 3; }
  .smx-nav-actions { margin-inline-start: auto; order: 2; }
  .smx-link-login { display: none; }

  /* The section anchors move into a panel below the bar. It is a plain
     dropdown, not a full-screen overlay: nothing is trapped, and the
     page behind it stays where it was. */
  .smx-nav-links {
    order: 4;
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    margin: 0 0 12px;
    padding-top: 6px;
    border-top: 1px solid var(--x-line);
  }
  .smx-nav-links.is-open { display: flex; }
  .smx-nav-links a { padding: 11px 10px; font-size: 15px; }
  .smx-nav-inner { flex-wrap: wrap; }
}

/* ---------------- Hero ---------------- */
.smx-hero {
  position: relative;
  padding: clamp(56px, 9vw, 104px) 0 clamp(40px, 6vw, 72px);
  overflow: clip;
}
/* One soft aurora, behind everything, doing the job that a pile of
   gradients usually does badly. */
.smx-hero::before {
  content: "";
  position: absolute;
  inset: -30% -10% auto -10%;
  height: 620px;
  background:
    radial-gradient(46% 52% at 22% 20%, rgba(79, 70, 229, .13), transparent 68%),
    radial-gradient(40% 46% at 82% 8%, rgba(56, 189, 248, .10), transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.smx-hero > * { position: relative; z-index: 1; }

.smx-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(38px, 5vw, 56px);
  align-items: center;
}
@media (min-width: 1000px) {
  .smx-hero-grid { grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr); }
}

.smx-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 32px 0 0;
}

.smx-hero-assurance {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
  font-size: 14px;
  color: var(--x-muted);
}
.smx-hero-assurance li { display: inline-flex; align-items: center; gap: 8px; }
.smx-tick {
  width: 17px; height: 17px; flex: 0 0 auto;
  border-radius: 50%;
  background: var(--x-accent-wash);
  color: var(--x-accent-text);
  display: grid; place-items: center;
  font-size: 10px; font-weight: 800;
}

/* ---------------- Product frames ---------------- */
.smx-frame {
  border-radius: var(--x-radius-lg);
  background: var(--x-card);
  border: 1px solid var(--x-line);
  box-shadow: var(--x-shadow-lg);
  overflow: hidden;
}
.smx-frame-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 11px 14px;
  border-bottom: 1px solid var(--x-line);
  background: var(--x-paper-2);
}
.smx-frame-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--x-line-2); }
.smx-frame-label {
  margin-inline-start: 8px;
  font-size: 12px;
  color: var(--x-muted);
  font-weight: 560;
}

/* The hero frame carries the largest image on the site, so it gets its
   own reserved ratio too. */
.smx-hero-frame picture { display: block; aspect-ratio: 1290 / 1100; background: var(--x-paper-2); }
.smx-hero-frame img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }

/* ---------------- Signal strip ---------------- */
/* Four factual statements about the product. Deliberately not metrics:
   SchedMate has no customer counts or revenue figures it can honestly
   publish, so it publishes none. */
.smx-signals {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr));
  gap: 1px;
  margin-top: clamp(40px, 6vw, 66px);
  background: var(--x-line);
  border: 1px solid var(--x-line);
  border-radius: var(--x-radius);
  overflow: hidden;
}
.smx-signals > div { background: var(--x-card); padding: 20px 22px; min-width: 0; }
.smx-signals strong { display: block; font-size: 15.5px; font-weight: 660; margin-bottom: 3px; }
.smx-signals span { font-size: 13.5px; color: var(--x-muted); }

/* ---------------- Product tabs ---------------- */
.smx-product-tabs {
  display: flex;
  gap: 6px;
  margin: 0 0 26px;
  padding: 5px;
  background: var(--x-paper-2);
  border: 1px solid var(--x-line);
  border-radius: 13px;
  /* On a narrow phone the three labels do not fit. They scroll inside
     this strip rather than widening the page. */
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}
.smx-product-tabs button {
  flex: 1 0 auto;
  white-space: nowrap;
  border: 0;
  background: transparent;
  font: inherit;
  font-size: 14.5px;
  font-weight: 610;
  color: var(--x-muted);
  padding: 10px 18px;
  border-radius: 9px;
  cursor: pointer;
  transition: background-color var(--x-motion) var(--x-ease),
              color var(--x-motion) var(--x-ease),
              box-shadow var(--x-motion) var(--x-ease);
}
.smx-product-tabs button:hover { color: var(--x-ink); }
.smx-product-tabs button[aria-selected="true"] {
  background: var(--x-card);
  color: var(--x-ink);
  box-shadow: 0 1px 2px rgba(13, 20, 36, .06), 0 6px 16px rgba(13, 20, 36, .07);
}

.smx-product-stage {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(28px, 4vw, 46px);
  align-items: center;
}
@media (min-width: 980px) {
  .smx-product-stage { grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); }
}
.smx-product-copy h3 { font-size: clamp(21px, 2.8vw, 27px); margin: 10px 0 0; }
.smx-product-copy > p { color: var(--x-muted); margin: 14px 0 0; font-size: 15.5px; }
.smx-product-copy ul {
  margin: 20px 0 22px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
  font-size: 14.5px;
}
.smx-product-copy li { display: flex; gap: 10px; align-items: flex-start; }
.smx-product-label {
  font-size: 12.5px;
  font-weight: 680;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--x-accent-text);
}

/* Fixed ratio: the image can load late without moving anything. */
.smx-product-screen picture {
  display: block;
  aspect-ratio: 1.36 / 1;
  background: var(--x-paper-2);
}
.smx-product-screen img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }

.smx-start-preview picture {
  display: block;
  aspect-ratio: 1.55 / 1;
  background: var(--x-paper-2);
}
.smx-start-preview img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }

/* ---------------- Sections ---------------- */
.smx-section { padding: clamp(56px, 8vw, 96px) 0; }
.smx-section--tint { background: var(--x-paper-2); }
.smx-section--line { border-top: 1px solid var(--x-line); }

.smx-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 16px;
}
.smx-grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }

.smx-card {
  background: var(--x-card);
  border: 1px solid var(--x-line);
  border-radius: var(--x-radius);
  padding: 24px;
  min-width: 0;
  transition: transform var(--x-motion) var(--x-ease),
              border-color var(--x-motion) var(--x-ease),
              box-shadow var(--x-motion) var(--x-ease);
}
.smx-card:hover {
  transform: translateY(-2px);
  border-color: var(--x-line-2);
  box-shadow: var(--x-shadow);
}
.smx-card h3 { margin: 0 0 8px; font-size: 17px; font-weight: 650; }
.smx-card p { margin: 0; color: var(--x-muted); font-size: 14.5px; line-height: 1.6; }
.smx-card a { margin-top: 14px; display: inline-flex; font-size: 14px; }

.smx-feature-icon {
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  border-radius: 11px;
  background: var(--x-accent-wash);
  color: var(--x-accent-text);
  font-size: 17px;
  margin-bottom: 14px;
}

/* ---------------- Outcomes ---------------- */
.smx-outcome {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  min-width: 0;
}
.smx-outcome-num {
  flex: 0 0 auto;
  width: 30px; height: 30px;
  border-radius: 9px;
  background: var(--x-ink);
  color: #fff;
  display: grid; place-items: center;
  font-size: 13px; font-weight: 700;
}
.smx-outcome h3 { margin: 3px 0 6px; font-size: 16px; }
.smx-outcome p { margin: 0; color: var(--x-muted); font-size: 14.5px; }

/* ---------------- Workflow ---------------- */
.smx-flow {
  counter-reset: flow;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.smx-flow li {
  position: relative;
  background: var(--x-card);
  border: 1px solid var(--x-line);
  border-radius: var(--x-radius);
  padding: 22px;
  min-width: 0;
}
.smx-flow li::before {
  counter-increment: flow;
  content: counter(flow);
  display: grid;
  place-items: center;
  width: 27px; height: 27px;
  border-radius: 50%;
  background: var(--x-accent-wash);
  color: var(--x-accent-text);
  font-size: 12.5px;
  font-weight: 750;
  margin-bottom: 13px;
}
.smx-flow h3 { font-size: 16px; margin: 0 0 6px; }
.smx-flow p { margin: 0; color: var(--x-muted); font-size: 14.5px; }

/* ---------------- Split (Team, Booking) ---------------- */
.smx-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(30px, 5vw, 54px);
  align-items: center;
}
@media (min-width: 940px) {
  .smx-split { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); }
  .smx-split--flip > *:first-child { order: 2; }
}

.smx-checklist { margin: 22px 0 0; padding: 0; list-style: none; display: grid; gap: 11px; }
.smx-checklist li { display: flex; gap: 11px; align-items: flex-start; font-size: 15px; }
.smx-checklist strong { font-weight: 640; }
.smx-checklist span.smx-tick { margin-top: 3px; }

/* Role cards on the Team section. */
.smx-roles { display: grid; gap: 10px; }
.smx-role {
  display: flex;
  gap: 12px;
  align-items: baseline;
  background: var(--x-card);
  border: 1px solid var(--x-line);
  border-radius: 13px;
  padding: 15px 17px;
  min-width: 0;
}
.smx-role b { font-size: 14.5px; font-weight: 660; flex: 0 0 auto; }
.smx-role span { font-size: 14px; color: var(--x-muted); }

/* ---------------- Pricing ---------------- */
.smx-price-card {
  max-width: 520px;
  margin-inline: auto;
  background: var(--x-card);
  border: 1px solid var(--x-line-2);
  border-radius: var(--x-radius-lg);
  padding: clamp(26px, 4vw, 38px);
  box-shadow: var(--x-shadow-lg);
  text-align: center;
}
.smx-price-tag {
  font-size: clamp(42px, 7vw, 56px);
  font-weight: 720;
  letter-spacing: -0.03em;
  margin: 14px 0 4px;
  line-height: 1;
}
.smx-price-tag small { font-size: 17px; font-weight: 560; color: var(--x-muted); letter-spacing: 0; }
.smx-price-note { color: var(--x-muted); font-size: 14.5px; margin: 0 0 22px; }
.smx-price-list {
  margin: 0 0 26px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 9px;
  text-align: start;
  font-size: 14.5px;
}
.smx-price-list li { display: flex; gap: 10px; align-items: flex-start; }

/* ---------------- Final CTA ---------------- */
.smx-final {
  padding: clamp(56px, 8vw, 92px) 0;
  background:
    radial-gradient(52% 130% at 15% 0%, rgba(79, 70, 229, .16), transparent 70%),
    var(--x-ink);
  color: #fff;
}
.smx-final h2 { color: #fff; }
.smx-final .smx-lede { color: rgba(255, 255, 255, .76); }
.smx-final-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.smx-final .smx-btn-secondary {
  background: rgba(255, 255, 255, .1);
  color: #fff;
  border-color: rgba(255, 255, 255, .26);
  box-shadow: none;
}
.smx-final .smx-btn-secondary:hover { background: rgba(255, 255, 255, .17); border-color: rgba(255,255,255,.4); }
.smx-final .smx-tick { background: rgba(255, 255, 255, .16); color: #fff; }
.smx-final .smx-hero-assurance { color: rgba(255, 255, 255, .72); }

/* ---------------- Footer ---------------- */
.smx-footer {
  padding: 52px 0 40px;
  border-top: 1px solid var(--x-line);
  background: var(--x-paper);
  font-size: 14px;
}
.smx-footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr));
  gap: 28px;
  margin-bottom: 32px;
}
.smx-footer h4 {
  margin: 0 0 12px;
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--x-muted);
  font-weight: 680;
}
.smx-footer ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 9px; }
.smx-footer a { color: var(--x-ink-2); text-decoration: none; }
.smx-footer a:hover { color: var(--x-accent-text); text-decoration: underline; text-underline-offset: 3px; }
.smx-footer-base {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid var(--x-line);
  color: var(--x-muted);
}
.smx-footer-note { max-width: 46ch; margin: 12px 0 0; color: var(--x-muted); line-height: 1.6; }

/* ---------------- /start ---------------- */
.smx-start-main { padding: clamp(40px, 7vw, 76px) 0 clamp(48px, 7vw, 84px); }
.smx-start-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(34px, 5vw, 56px);
  align-items: start;
}
@media (min-width: 940px) {
  .smx-start-grid { grid-template-columns: minmax(0, 1fr) minmax(0, .92fr); }
}
.smx-start-panel {
  background: var(--x-card);
  border: 1px solid var(--x-line);
  border-radius: var(--x-radius-lg);
  padding: clamp(22px, 4vw, 32px);
  box-shadow: var(--x-shadow);
}
.smx-steps { counter-reset: step; margin: 0; padding: 0; list-style: none; display: grid; gap: 18px; }
.smx-steps li { display: flex; gap: 14px; align-items: flex-start; }
.smx-steps li::before {
  counter-increment: step;
  content: counter(step);
  flex: 0 0 auto;
  display: grid; place-items: center;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--x-accent-wash);
  color: var(--x-accent-text);
  font-size: 13px; font-weight: 730;
}
.smx-steps h3 { font-size: 15.5px; margin: 2px 0 4px; }
.smx-steps p { margin: 0; font-size: 14.5px; color: var(--x-muted); }
.smx-start-terms { font-size: 13px; color: var(--x-muted); margin: 20px 0 0; line-height: 1.6; }
.smx-start-terms a { color: var(--x-accent-text); }

/* ---------------- Reveal ---------------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 620ms var(--x-ease), transform 620ms var(--x-ease);
}
[data-reveal].is-revealed { opacity: 1; transform: none; }

/* ---------------- Small phones ---------------- */
@media (max-width: 650px) {
  .smx-shell { padding: 0 18px; }
  .smx-hero-actions .smx-btn { flex: 1 1 100%; }
  .smx-footer-base { justify-content: flex-start; }
}

@media (max-width: 430px) {
  .smx-shell { padding: 0 16px; }
  .smx-card { padding: 20px; }
  .smx-nav-inner { gap: 12px; }
  .smx-product-tabs button { padding: 10px 14px; }
  .smx-final-actions .smx-btn { flex: 1 1 100%; }
}

@media (max-width: 360px) {
  .smx-shell { padding: 0 14px; }
  /* The brand word is the first thing to go; the mark still identifies
     the page and the two actions stay reachable. */
  .smx-brand-name { display: none; }
}

/* ---------------- Reduced motion ----------------
   One block, covering everything. An animation added to this file later
   is opted out by default rather than needing to remember. Elements that
   animate in from opacity:0 are forced visible, or disabling the
   animation would hide them permanently. */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 1ms !important;
    animation-delay: 0ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 1ms !important;
    transition-delay: 0ms !important;
    scroll-behavior: auto !important;
  }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
  .smx-btn:hover, .smx-card:hover { transform: none !important; }
}
