/* ------------------------------------------------------------------ landing page

   The public page. Built on the app's own tokens from style.css, so the page
   people read about the product looks like the product they will use: the
   same pastel wash, the same violet, the same rounded pills. */

body.landing {
  padding: 0;
  font-size: 17px;
  line-height: 1.55;
}

.landing a { color: inherit; }

.landing h1, .landing h2, .landing h3 { margin: 0; letter-spacing: -0.02em; }

/* ------------------------------------------------------------------ buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  border-radius: 999px;
  padding: 10px 20px;
  min-height: 44px;
  white-space: nowrap;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}
.btn.big { font-size: 17px; padding: 14px 26px; min-height: 54px; }
.btn.primary {
  background: var(--accent);
  color: var(--accent-ink);
  box-shadow: var(--accent-glow);
}
.btn.ghost {
  background: var(--control);
  color: var(--ink);
  border: 1px solid var(--control-line);
  box-shadow: var(--control-shadow);
}
.btn.text { background: none; color: var(--accent-text); padding-left: 10px; padding-right: 10px; box-shadow: none; }
.btn.text span { transition: transform 0.12s ease; }
.btn.text:hover { transform: none; }
.btn.text:hover span { transform: translateX(3px); }
.navcta .btn.primary { box-shadow: none; }
.btn:hover { transform: translateY(-1px); }
.btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* ------------------------------------------------------------------ top bar */

.topnav {
  position: sticky;
  top: 0;
  z-index: 20;
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  backdrop-filter: blur(16px) saturate(1.2);
  background: color-mix(in srgb, var(--base) 72%, transparent);
  border-bottom: 1px solid var(--surface-line);
}
.topnav-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  gap: 28px;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 24px;
  font-weight: 900;
  letter-spacing: -0.02em;
  text-decoration: none;
}
.logo.small { font-size: 19px; }
/* A page from a day book: a violet square with its top corner folded into sky. */
.logo-mark {
  width: 26px;
  height: 26px;
  border-radius: 8px 3px 8px 8px;
  background: linear-gradient(135deg, #6c4df6 0%, #8f7bff 55%, #7cc6fe 100%);
  position: relative;
}
.logo-mark::after {
  content: '';
  position: absolute;
  left: 6px; right: 6px; top: 9px;
  height: 2px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.85);
  box-shadow: 0 5px 0 rgba(255, 255, 255, 0.6);
}
.logo.small .logo-mark { width: 22px; height: 22px; }
.navlinks { display: flex; gap: 26px; flex: 1; justify-content: center; }
.navlinks a {
  text-decoration: none;
  font-weight: 700;
  font-size: 16px;
  color: var(--ink-soft);
}
.navlinks a:hover { color: var(--accent-text); }
.navcta { display: flex; align-items: center; gap: 10px; }

/* ------------------------------------------------------------------ hero */

.hero {
  max-width: 1180px;
  margin: 0 auto;
  padding: 72px 24px 56px;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr);
  gap: 48px;
  align-items: center;
}
.hero-kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  font-size: 14px;
  font-weight: 700;
  color: var(--accent-text);
}
.hero-kicker::before { content: ''; width: 24px; height: 2px; border-radius: 2px; background: var(--accent); }
.hero h1 {
  /* Sized so each of the three short lines stays on one line beside the
     screens; below the breakpoint the column is full width and there is room. */
  font-size: clamp(38px, 3.9vw, 54px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.035em;
}
.hero h1 .hl { color: var(--accent-text); }
.lede {
  font-size: 18px;
  color: var(--ink-soft);
  margin: 22px 0 30px;
  max-width: 30em;
  text-wrap: pretty;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-points {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink-soft);
}
.hero-points li { display: flex; align-items: center; gap: 8px; }
.hero-points li::before {
  content: '';
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--s-done-bg) no-repeat center / 10px
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'><path d='M1.5 5.2l2.2 2.2L8.5 2.6' fill='none' stroke='%232e9c6a' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/></svg>");
}

/* ------------------------------------------------------------------ the two screens

   One loop, eight seconds: Michael is in the room and Emily is waiting; then
   Emily is called in, Michael is done, and the doctor's screen follows. */

.hero-visual { position: relative; min-height: 470px; }

.mock {
  position: absolute;
  background: var(--surface);
  border: 1px solid var(--surface-line);
  box-shadow: var(--surface-shadow), 0 30px 60px -40px rgba(60, 40, 140, 0.25);
  -webkit-backdrop-filter: var(--blur);
  backdrop-filter: var(--blur);
}
.mock-desk {
  top: 0;
  left: 0;
  width: 88%;
  border-radius: 22px;
  overflow: hidden;
}
.mock-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--rule-hour);
}
.mock-bar span { display: none; }
.mock-bar em { font-style: normal; font-weight: 700; font-size: 13px; color: var(--ink-faint); }
.mrow {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 18px;
  border-top: 1px dashed var(--rule);
  font-size: 15px;
}
.mrow:first-child { border-top: 0; }
.mrow b { width: 44px; color: var(--time); font-variant-numeric: tabular-nums; }
.mname { flex: 1; font-weight: 700; }
.mrow.spent .mname { text-decoration: line-through; opacity: 0.45; }
.mrow.spent b { opacity: 0.45; }
.mrow.free .mname { color: var(--ink-ghost); font-weight: 700; }
/* Michael turns Done halfway through the loop, so his row is crossed out and
   faded on the same beat, like Sarah's above it. */
.mrow.finishes .mname, .mrow.finishes b { animation: spend 8s infinite; }

.mock-ipad {
  right: 0;
  bottom: 0;
  width: 58%;
  border-radius: 22px;
  padding: 18px 18px 20px;
}
/* Names the second screen the way the first is named, so a visitor reads the
   pair as reception's view and the doctor's view of the same day. */
.ipad-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: -4px -2px 12px;
  padding: 0 8px 10px;
  border-bottom: 1px solid var(--rule-hour);
}
.ipad-bar em { font-style: normal; font-weight: 700; font-size: 13px; color: var(--ink-faint); }
.ipad-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 3px var(--s-done-bg); }
.ipad-date { font-weight: 800; font-size: 18px; margin: 0 6px 12px; }
.ipad-now {
  display: flex;
  flex-direction: column;
  padding: 16px 18px;
  border-radius: 16px;
  background: var(--door);
  border: 1px solid var(--door-line);
  box-shadow: var(--door-shadow);
  color: var(--door-ink);
}
.ipad-label { font-size: 13px; font-weight: 800; opacity: 0.88; }
.ipad-now strong { font-size: 30px; font-weight: 900; line-height: 1.1; letter-spacing: -0.02em; }
.ipad-meta { font-size: 14px; font-weight: 700; opacity: 0.88; margin-top: 4px; }
.ipad-row {
  display: flex;
  gap: 14px;
  padding: 10px 6px 0;
  font-weight: 700;
  font-size: 15px;
}
.ipad-row b { color: var(--time); width: 42px; font-variant-numeric: tabular-nums; }
.ipad-toast {
  position: absolute;
  top: -14px;
  right: 18px;
  font-size: 12px;
  font-weight: 800;
  padding: 5px 11px;
  border-radius: 999px;
  background: var(--now);
  color: var(--now-ink);
  opacity: 0;
  animation: toast 8s infinite;
}

/* Two states stacked in the same spot; the loop crossfades between them. */
.swap { display: inline-grid; }
.swap > * { grid-area: 1 / 1; }
.swap .s1 { animation: first 8s infinite; }
.swap .s2 { animation: second 8s infinite; opacity: 0; }
.swap.names { display: grid; }
.mrow .swap { justify-items: end; }

@keyframes first {
  0%, 42%   { opacity: 1; }
  48%, 92%  { opacity: 0; }
  98%, 100% { opacity: 1; }
}
@keyframes second {
  0%, 42%   { opacity: 0; }
  48%, 92%  { opacity: 1; }
  98%, 100% { opacity: 0; }
}
@keyframes spend {
  0%, 42%   { opacity: 1; text-decoration: none; }
  48%, 92%  { opacity: 0.45; text-decoration: line-through; }
  98%, 100% { opacity: 1; text-decoration: none; }
}
@keyframes toast {
  0%, 44%   { opacity: 0; transform: translateY(4px); }
  50%, 80%  { opacity: 1; transform: none; }
  88%, 100% { opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .swap .s1, .swap .s2, .ipad-toast, .mrow.finishes .mname, .mrow.finishes b { animation: none; }
}

/* ------------------------------------------------------------------ strip */

.strip {
  max-width: 1132px;
  width: calc(100% - 48px);
  margin: 8px auto 0;
  padding: 22px 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px 0;
  border-top: 1px solid var(--rule-hour);
  border-bottom: 1px solid var(--rule-hour);
}
.strip div {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 0 24px;
  border-left: 1px solid var(--rule-hour);
}
.strip div:first-child { padding-left: 0; border-left: 0; }
.strip strong { font-size: 16px; font-weight: 800; }
.strip span { font-size: 14px; font-weight: 600; color: var(--ink-soft); }

/* ------------------------------------------------------------------ sections */

.section {
  max-width: 1180px;
  margin: 0 auto;
  padding: 112px 24px 0;
  scroll-margin-top: 60px;
}
.section-head { max-width: 780px; margin-bottom: 36px; }
.section-head h2 { text-wrap: balance; }
.section-head h2 { font-size: clamp(30px, 3.4vw, 40px); font-weight: 800; line-height: 1.1; }
.section-head p { font-size: 18px; color: var(--ink-soft); margin: 12px 0 0; text-wrap: pretty; }
.section-head p a { color: var(--accent-text); font-weight: 700; }

/* ------------------------------------------------------------------ features */

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.feature {
  padding: 26px 26px 28px;
  border-radius: 22px;
  background: var(--surface);
  border: 1px solid var(--surface-line);
  box-shadow: var(--surface-shadow);
}
.feature.wide { grid-column: span 2; display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 10px 32px; align-items: center; }
.feature.wide h3, .feature.wide p { grid-column: 1; }
/* Heading and paragraph sit together in the middle of the card, beside the demo. */
.feature.wide h3 { align-self: end; margin-bottom: 0; }
.feature.wide p { align-self: start; }
/* Privacy gets the full width at the end: it is the question every practice
   asks, and it closes the grid without leaving a lone card on its own row. */
.feature.full {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
  gap: 8px 40px;
  align-items: center;
  background: var(--accent-soft);
  border-color: transparent;
  box-shadow: none;
}
.feature.full h3 { margin: 0; font-size: 22px; display: flex; align-items: center; gap: 10px; }
.feature.full p { color: var(--ink-soft); }
.shield { flex: none; width: 24px; height: 24px; fill: none; stroke: var(--accent-text); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.feature h3 { font-size: 20px; font-weight: 800; margin-bottom: 10px; text-wrap: balance; }
.feature p { margin: 0; color: var(--ink-soft); font-size: 16px; max-width: 36em; text-wrap: pretty; }

/* Light and dark, side by side: the same row in both moods. */
.theme-demo { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 18px; }
.td {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  padding: 10px 12px;
  border-radius: 14px;
  font-size: 14px;
  font-weight: 700;
}
.td b { font-variant-numeric: tabular-nums; }
.td span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.td.light { background: #ffffff; border: 1px solid rgba(108, 77, 246, 0.14); color: #29263f; }
.td.light b { color: #5b3fe0; }
.td.dark { background: #0b1023; border: 1px solid #0b1023; color: #e9ecf8; }
.td.dark b { color: #c4b8ff; }

.feature-demo {
  grid-column: 2;
  grid-row: 1 / 3;
  border-radius: 14px;
  background: var(--inset);
  padding: 8px 0;
}
.demo-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  font-weight: 700;
}
.demo-row + .demo-row { border-top: 1px dashed var(--rule-hour); }
.demo-row b { color: var(--time); font-variant-numeric: tabular-nums; }
.demo-typing {
  flex: 1;
  background: var(--control);
  border: 1px solid var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
  border-radius: 12px;
  padding: 6px 12px;
}
.demo-add {
  background: var(--accent);
  color: var(--accent-ink);
  border-radius: 999px;
  padding: 6px 16px;
  font-size: 14px;
}
.demo-row.taken span {
  flex: 1;
  font-size: 14px;
  color: var(--s-noshow-fg);
  background: var(--s-noshow-bg);
  border-radius: 12px;
  padding: 8px 12px;
}

.flow { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }

/* The booking link card: a phone's-eye view of the patient's page, the day
   chips and time pills drawn with the booking page's own shapes. */
.booking-demo { padding: 16px; display: grid; gap: 12px; }
.bd-days { display: flex; gap: 6px; }
.bd-day {
  display: grid;
  place-items: center;
  min-width: 52px;
  padding: 7px 4px;
  border-radius: 14px;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.1;
  background: var(--control);
  border: 1.5px solid var(--rule-hour);
}
.bd-day b { font-size: 12px; font-weight: 700; color: var(--ink-soft); }
.bd-day.on { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.bd-day.on b { color: var(--accent-ink); opacity: 0.85; }
.bd-times { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.bd-times span {
  text-align: center;
  padding: 7px 0;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  background: var(--s-booked-bg);
  color: var(--s-booked-fg);
}
.bd-times span.on { background: var(--accent); color: var(--accent-ink); }

/* The reports card: the busiest-days chart, in miniature. */
.report-demo {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 64px;
  margin-top: 18px;
  padding-bottom: 1px;
  border-bottom: 1px solid var(--rule-hour);
}
.report-demo span { flex: 1; max-width: 26px; border-radius: 4px 4px 0 0; background: var(--accent); }

/* ------------------------------------------------------------------ how

   A real sequence, so the steps are numbered. */

.steps {
  list-style: none;
  counter-reset: step;
  padding: 0;
  margin: 16px 0 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px;
  border-top: 1px solid var(--rule-hour);
}
.steps li {
  counter-increment: step;
  position: relative;
  padding-top: 34px;
}
.steps li::before {
  content: counter(step);
  position: absolute;
  top: -16px;
  left: 0;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-weight: 800;
  font-size: 15px;
  background: var(--accent-soft);
  color: var(--accent-text);
}
.steps h3 { font-size: 20px; font-weight: 800; margin-bottom: 8px; }
.steps p { margin: 0; color: var(--ink-soft); font-size: 16px; max-width: 32em; text-wrap: pretty; }

/* ------------------------------------------------------------------ pricing

   One plan, one card, split by job: what it costs and what it asks of you on
   the left, what is in it on the right. The price is the one bold thing. */

/* The card, and beside it the one thing the plan does not cover yet. */
.pricing-row {
  display: grid;
  grid-template-columns: minmax(0, 3.2fr) minmax(0, 1fr);
  gap: 24px 40px;
  align-items: center;
}
.plan {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  border-radius: 22px;
  background: var(--surface);
  border: 1px solid var(--surface-line);
  box-shadow: var(--surface-shadow);
}
.plan-cost {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 34px 36px 32px;
  border-right: 1px solid var(--rule-hour);
}
.price {
  display: flex;
  align-items: flex-start;
  margin: 0;
  font-size: 64px;
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1;
}
.price .cur { font-size: 28px; margin: 6px 3px 0 0; }
.price .per { align-self: flex-end; font-size: 17px; font-weight: 600; color: var(--ink-faint); letter-spacing: 0; margin: 0 0 8px 6px; }
.plan-for { margin: 10px 0 24px; color: var(--ink-soft); font-size: 16px; font-weight: 600; }
.plan-terms { margin: 12px 0 0; color: var(--ink-soft); font-size: 14px; font-weight: 600; }

.plan-has {
  list-style: none;
  margin: 0;
  padding: 30px 36px;
  align-self: center;
}
.plan-has li {
  display: flex;
  gap: 12px;
  align-items: baseline;
  padding: 9px 0;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.45;
}
.plan-has li + li { border-top: 1px dashed var(--rule); }
.plan-has li::before {
  content: '';
  flex: none;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  transform: translateY(-2px);
}
.plans-note { margin: 0; color: var(--ink-soft); font-size: 15.5px; font-weight: 600; line-height: 1.55; text-wrap: pretty; }
.plans-note strong { display: block; margin-bottom: 4px; font-size: 16px; font-weight: 800; color: var(--ink); }
.plans-note a { color: var(--accent-text); font-weight: 700; }

/* ------------------------------------------------------------------ questions */

#questions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  gap: 24px 56px;
  align-items: start;
}
#questions .section-head { margin-bottom: 0; }
.faq { display: grid; border-top: 1px solid var(--rule-hour); }
.faq details { border-bottom: 1px solid var(--rule-hour); }
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 40px 18px 0;
  font-size: 17px;
  font-weight: 700;
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '';
  position: absolute;
  right: 6px;
  top: 50%;
  width: 9px;
  height: 9px;
  margin-top: -7px;
  border-right: 2px solid var(--ink-faint);
  border-bottom: 2px solid var(--ink-faint);
  transform: rotate(45deg);
  transition: transform 0.15s ease;
}
.faq details[open] summary::after { border-color: var(--accent-text); }
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 8px; }
.faq details p { margin: 0; padding: 0 40px 20px 0; color: var(--ink-soft); font-size: 16px; max-width: 68ch; }

/* ------------------------------------------------------------------ contact */

.contact { padding-top: 112px; padding-bottom: 96px; }
.contact-card {
  padding: 48px;
  border-radius: 22px;
  background: var(--accent-soft);
  border: 1px solid color-mix(in srgb, var(--accent) 22%, transparent);
  color: var(--ink);
  text-align: center;
}
.contact-card h2 { font-size: clamp(30px, 3.4vw, 40px); font-weight: 800; line-height: 1.1; }
.contact-card p { font-size: 18px; color: var(--ink-soft); margin: 12px auto 28px; max-width: 34em; }
.contact-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ------------------------------------------------------------------ footer */

/* Two tiers: what the product is and the links, grouped by what they are for;
   then the small print under one solid rule, the day book's hour line. */
.sitefoot { border-top: 1px solid var(--rule-hour); }
.sitefoot-inner, .sitefoot-base {
  width: min(1132px, 100% - 48px);
  margin: 0 auto;
}
.sitefoot-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  gap: 36px 56px;
  padding: 52px 0 44px;
}
.sitefoot-brand p {
  margin: 14px 0 0;
  max-width: 22em;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--ink-soft);
}
.sitefoot-links {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr) minmax(0, 1fr);
  gap: 28px 32px;
}
.sitefoot-links div { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.sitefoot-links h2 {
  margin: 4px 0 4px;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0;
  color: var(--ink);
}
.landing .sitefoot-links a {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--ink-soft);
  text-decoration: none;
}
.landing .sitefoot-links a:hover { color: var(--accent-text); }
.sitefoot-base {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  padding: 18px 0 32px;
  border-top: 1px solid var(--rule-hour);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-soft);
}
.sitefoot-base p { margin: 0; }
.landing .sitefoot-base a { color: var(--ink-soft); text-decoration: none; }
.landing .sitefoot-base a:hover { color: var(--accent-text); text-decoration: underline; }
.sitefoot a:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

/* ------------------------------------------------------------------ narrower */

@media (max-width: 1000px) {
  .navlinks { display: none; }
  .topnav-inner { justify-content: space-between; }
  .hero { grid-template-columns: 1fr; padding-top: 32px; gap: 32px; }
  .hero-visual { min-height: 400px; max-width: 560px; }
  .strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .strip div:nth-child(odd) { padding-left: 0; border-left: 0; }
  .features { grid-template-columns: repeat(2, 1fr); }
  .feature.wide { grid-column: span 2; }
  .feature.reports {
    grid-column: span 2;
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 10px 32px;
    align-items: center;
  }
  .feature.reports h3 { grid-column: 1; align-self: end; margin-bottom: 0; }
  .feature.reports p { grid-column: 1; align-self: start; }
  .feature.reports .report-demo { grid-column: 2; grid-row: 1 / 3; margin-top: 0; }
  .feature.full { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: 24px; border-top: 0; margin-top: 0; }
  .steps li { padding-top: 0; display: grid; grid-template-columns: 32px minmax(0, 1fr); column-gap: 16px; }
  .steps li::before { position: static; grid-row: 1 / 3; }
  .steps h3, .steps p { grid-column: 2; }
  .steps h3 { margin-top: 3px; }
  #questions { grid-template-columns: 1fr; }
  .pricing-row { grid-template-columns: 1fr; }
  .plans-note { max-width: 36em; }
  .sitefoot-inner { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 640px) {
  body.landing { font-size: 16px; }
  .topnav-inner { padding: 10px 16px; gap: 10px; }
  .logo { font-size: 20px; }
  /* Sign in stays, as a quiet text link, so Try it free is still the one
     button that stands out on a narrow screen. */
  .navcta .btn.ghost {
    padding: 0 10px;
    background: none;
    border: 0;
    box-shadow: none;
    color: var(--ink-soft);
  }
  .navcta .btn.ghost:hover { color: var(--accent-text); transform: none; }
  .navcta { gap: 4px; }
}
/* The smallest phones: just enough tightening for the logo, Sign in and
   Try it free to share one line. */
@media (max-width: 360px) {
  .topnav-inner { gap: 6px; }
  .logo { font-size: 18px; }
  .navcta .btn.ghost { padding: 0 8px; }
  .navcta .btn.primary { padding: 10px 14px; }
}
@media (max-width: 640px) {
  .sitefoot-inner, .sitefoot-base { width: calc(100% - 32px); }
  .sitefoot-inner { padding: 40px 0 32px; }
  .sitefoot-links { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 20px; }
  .hero { padding: 36px 16px 40px; gap: 36px; }
  .lede { font-size: 17px; }
  .hero-visual { min-height: 400px; }
  .mock-desk { width: 100%; }
  .mrow { padding: 10px 14px; gap: 10px; font-size: 14px; }
  .mrow .pill { font-size: 12px; }
  .ipad-now strong { font-size: 24px; }
  .strip { width: calc(100% - 32px); }
  .strip div { padding: 0 16px; }
  .section { padding: 72px 16px 0; }
  .contact { padding-top: 72px; }
  .features { grid-template-columns: 1fr; }
  .feature.wide, .feature.full, .feature.reports { grid-column: auto; display: block; }
  .feature.reports .report-demo { margin-top: 18px; }
  .feature.full h3 { margin-bottom: 10px; }
  .mock-ipad { width: 70%; }
  .feature-demo { margin-top: 18px; }
  .plan { grid-template-columns: 1fr; }
  .plan-cost { padding: 28px 22px 26px; border-right: 0; border-bottom: 1px solid var(--rule-hour); }
  .plan-cost .btn { width: 100%; }
  .plan-has { padding: 16px 22px 20px; }
  .price { font-size: 56px; }
  .contact-card { padding: 40px 22px; }
  .contact-actions .btn { width: 100%; white-space: normal; }
}
