/* HiOla Business App barbershop booking landing page. */
:root {
  color-scheme: light;
  --ink: #0b1424;
  --ink-soft: #1c2b42;
  --muted: #5d6d83;
  --line: #dbe6f2;
  --surface: #f5f9fe;
  --panel: #ffffff;
  --brand: #0878ff;
  --brand-dark: #075ac7;
  --brand-deep: #063f8c;
  --brand-soft: #e5f1ff;
  --green: #087a56;
  --green-soft: #e2f5ed;
  /* The client-facing booking page uses the consumer HiOla green. The phone
     mock keeps that palette so the demo matches what a client actually sees. */
  --book: #166534;
  --book-dark: #0f4526;
  --book-soft: #e7f2ec;
  --book-line: #d8e2db;
  --book-ink: #14231c;
  --book-muted: #5c6b63;
  --shadow-lg: 0 36px 90px rgba(10, 30, 62, 0.18);
  --shadow-md: 0 18px 48px rgba(24, 55, 92, 0.10);
  --radius-lg: 32px;
  --radius-md: 22px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100dvh;
  overflow-x: hidden;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(900px 520px at 92% 2%, rgba(8, 120, 255, 0.12), transparent 64%),
    radial-gradient(720px 460px at -8% 11%, rgba(64, 161, 255, 0.10), transparent 62%),
    var(--surface);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
}

:focus-visible {
  outline: 3px solid rgba(8, 120, 255, 0.4);
  outline-offset: 4px;
  border-radius: 8px;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: -9999px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--ink);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}

.skip-link:focus {
  left: 10px;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: saturate(140%) blur(14px);
  background: rgba(245, 249, 254, 0.86);
  border-bottom: 1px solid rgba(219, 230, 242, 0.9);
}

.nav-shell {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 14px 0;
  display: flex;
  align-items: center;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
  font-weight: 800;
}

.brand img {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  box-shadow: 0 10px 24px rgba(8, 120, 255, 0.22);
}

.brand span {
  font-size: 16px;
  letter-spacing: -0.01em;
}

.header-nav {
  margin-left: auto;
  display: flex;
  gap: 22px;
}

.header-nav a {
  color: var(--ink-soft);
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
}

.header-nav a:hover {
  color: var(--brand-dark);
}

.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 18px;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  box-shadow: 0 14px 30px rgba(8, 120, 255, 0.28);
}

.header-cta:hover {
  background: var(--brand-dark);
}

/* Hero */

.hero {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(40px, 6vw, 76px) 0 clamp(32px, 5vw, 64px);
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}

.hero-copy {
  min-width: 0;
}

.eyebrow {
  margin: 0 0 14px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-dark);
}

.eyebrow-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 5px rgba(8, 120, 255, 0.16);
}

p {
  color: var(--ink-soft);
}

h1 {
  margin: 0;
  font-size: clamp(38px, 5.2vw, 62px);
  line-height: 1.04;
  letter-spacing: -0.035em;
  font-weight: 850;
}

.lead {
  margin: 18px 0 0;
  max-width: 33rem;
  font-size: clamp(17px, 1.6vw, 20px);
  color: var(--muted);
}

.hero-actions {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 15px 24px;
  border-radius: 999px;
  font-weight: 750;
  font-size: 16px;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform 0.16s ease, background 0.16s ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 20px 40px rgba(8, 120, 255, 0.3);
}

.button-primary:hover {
  background: var(--brand-dark);
}

.button-secondary {
  background: var(--panel);
  color: var(--ink);
  border-color: var(--line);
  box-shadow: var(--shadow-md);
}

.price-card {
  margin-top: 26px;
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 16px 22px;
  border-radius: var(--radius-md);
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
}

.price-card strong {
  font-size: 30px;
  font-weight: 850;
  letter-spacing: -0.03em;
  color: var(--brand-deep);
}

.price-divider {
  width: 1px;
  align-self: stretch;
  background: var(--line);
}

.price-card p {
  margin: 0;
  display: grid;
  gap: 3px;
  font-size: 14px;
}

.price-card p b {
  font-size: 15px;
}

.price-card p small {
  color: var(--muted);
}

.hero-proof {
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 9px;
}

.hero-proof li {
  position: relative;
  padding-left: 26px;
  font-size: 15px;
  color: var(--ink-soft);
  font-weight: 550;
}

.hero-proof li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--green);
  font-weight: 900;
}

.store-row {
  margin-top: 26px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.store-badge {
  display: inline-flex;
  transition: transform 0.16s ease;
}

.store-badge:hover {
  transform: translateY(-2px);
}

.store-badge img {
  height: 48px;
  width: auto;
  display: block;
}

.store-badge--google img {
  height: 68px;
  margin: -10px 0 -10px -10px;
}

/* Booking demo */

.booking-figure {
  position: relative;
  margin: 0;
  display: grid;
  justify-items: center;
  gap: 18px;
}

.booking-glow {
  position: absolute;
  inset: 6% 10% 18%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(8, 120, 255, 0.28), transparent 72%);
  filter: blur(18px);
  z-index: 0;
}

.phone-shell {
  position: relative;
  z-index: 1;
  width: min(302px, 100%);
  padding: 11px;
  border-radius: 46px;
  background: linear-gradient(160deg, #10203a, #060d1a);
  box-shadow: var(--shadow-lg);
}

.phone-camera {
  position: absolute;
  top: 22px;
  left: 50%;
  transform: translateX(-50%);
  width: 78px;
  height: 20px;
  border-radius: 999px;
  background: #05090f;
  z-index: 3;
}

.phone-screen {
  position: relative;
  display: flex;
  flex-direction: column;
  aspect-ratio: 9 / 19.5;
  border-radius: 36px;
  background: #f4f8f5;
  overflow: hidden;
  color: var(--book-ink);
  font-size: 13px;
}

.booking-chrome {
  padding: 30px 14px 10px;
  background: #fff;
  border-bottom: 1px solid var(--book-line);
  display: flex;
  justify-content: center;
}

.booking-url {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 999px;
  background: #eef2f0;
  color: var(--book-muted);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.booking-url::before {
  content: "🔒";
  font-size: 9px;
}

.booking-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  background: #fff;
  border-bottom: 1px solid var(--book-line);
}

.shop-mark {
  width: 36px;
  height: 36px;
  flex: none;
  display: block;
  border-radius: 11px;
  overflow: hidden;
}

.shop-mark svg {
  display: block;
  width: 100%;
  height: 100%;
}

.booking-head b {
  display: block;
  font-size: 14px;
  letter-spacing: -0.01em;
}

.booking-head small {
  display: block;
  color: var(--book-muted);
  font-size: 11px;
}

.booking-stage {
  position: relative;
  flex: 1;
  min-height: 0;
}

.phone-home {
  flex: none;
  width: 106px;
  height: 5px;
  margin: 0 auto 9px;
  border-radius: 999px;
  background: rgba(20, 35, 28, 0.28);
}

.booking-step {
  position: absolute;
  inset: 0;
  padding: 16px 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.42s ease, transform 0.42s ease;
  pointer-events: none;
}

.booking-step[data-active="true"] {
  opacity: 1;
  transform: none;
}

.step-label {
  margin: 0;
  display: flex;
  align-items: baseline;
  gap: 7px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--book-muted);
}

.step-label b {
  color: var(--book);
}

.step-title {
  margin: 0;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.015em;
  color: var(--book-ink);
}

.pick-list {
  margin: 2px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.pick {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid var(--book-line);
  border-radius: 13px;
  background: #fff;
}

.pick-mark {
  width: 18px;
  height: 18px;
  flex: none;
  border-radius: 50%;
  border: 2px solid var(--book-line);
}

.pick-copy {
  min-width: 0;
  display: grid;
  gap: 1px;
}

.pick-copy b {
  font-size: 13px;
  font-weight: 700;
}

.pick-copy small {
  color: var(--book-muted);
  font-size: 11px;
}

.pick-price {
  margin-left: auto;
  font-size: 13px;
  font-weight: 750;
  color: var(--book-ink);
}

.pick[data-picked="true"] {
  border-color: var(--book);
  background: var(--book-soft);
  box-shadow: 0 8px 18px rgba(22, 101, 52, 0.12);
}

.pick[data-picked="true"] .pick-mark {
  border-color: var(--book);
  background: var(--book);
  position: relative;
}

.pick[data-picked="true"] .pick-mark::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 1px;
  width: 5px;
  height: 9px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.barber-avatar {
  width: 32px;
  height: 32px;
  flex: none;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 50%;
  background: var(--book-soft);
  color: var(--book-dark);
  font-size: 11px;
  font-weight: 800;
}

.barber-avatar svg {
  display: block;
  width: 100%;
  height: 100%;
}

.pick[data-picked="true"] .barber-avatar {
  background: var(--book);
  color: #fff;
}

.day-strip {
  display: flex;
  gap: 6px;
  overflow: hidden;
}

.day-chip {
  flex: 1;
  display: grid;
  gap: 1px;
  justify-items: center;
  padding: 7px 4px;
  border: 1px solid var(--book-line);
  border-radius: 11px;
  background: #fff;
  font-size: 10px;
  color: var(--book-muted);
  font-weight: 700;
}

.day-chip b {
  font-size: 13px;
  color: var(--book-ink);
}

.day-chip[data-picked="true"] {
  border-color: var(--book);
  background: var(--book);
  color: rgba(255, 255, 255, 0.82);
}

.day-chip[data-picked="true"] b {
  color: #fff;
}

.slot-grid {
  margin: 2px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
}

.slot-grid li {
  padding: 9px 4px;
  border: 1px solid var(--book-line);
  border-radius: 11px;
  background: #fff;
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  color: var(--book-ink);
}

.slot-grid li[data-picked="true"] {
  border-color: var(--book);
  background: var(--book);
  color: #fff;
  box-shadow: 0 10px 20px rgba(22, 101, 52, 0.22);
}

.slot-grid li[data-full="true"] {
  color: #a9b5ad;
  background: #f4f8f5;
  text-decoration: line-through;
}

.slot-note {
  margin: 0;
  font-size: 11px;
  color: var(--book-muted);
}

.tap-cursor {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 5;
  width: 28px;
  height: 28px;
  margin: -14px 0 0 -14px;
  border-radius: 50%;
  background: rgba(20, 35, 28, 0.18);
  box-shadow: 0 6px 16px rgba(20, 35, 28, 0.34);
  opacity: 0;
  pointer-events: none;
  /* The script owns this transform: var() inside transform does not resolve
     reliably across engines, so the position is written directly. */
  transform: translate(0, 0);
  transition: transform 0.52s cubic-bezier(0.22, 0.7, 0.3, 1), opacity 0.24s ease;
}

.tap-cursor[data-visible="true"] {
  opacity: 1;
}

.tap-cursor::after {
  content: "";
  position: absolute;
  inset: -7px;
  border-radius: 50%;
  border: 2px solid var(--book);
  opacity: 0;
  transform: scale(0.55);
}

.tap-cursor[data-press="true"]::after {
  animation: tap-ripple 0.46s ease-out;
}

@keyframes tap-ripple {
  0% {
    opacity: 0.9;
    transform: scale(0.55);
  }

  100% {
    opacity: 0;
    transform: scale(1.75);
  }
}

.step-action {
  margin-top: auto;
  display: block;
  padding: 12px;
  border-radius: 13px;
  background: var(--book);
  color: #fff;
  text-align: center;
  font-size: 14px;
  font-weight: 750;
  box-shadow: 0 12px 24px rgba(22, 101, 52, 0.22);
}

.step-action[data-pressed="true"] {
  background: var(--book-dark);
  box-shadow: 0 6px 14px rgba(22, 101, 52, 0.26);
}

.step-action[data-quiet="true"] {
  background: #fff;
  color: var(--book-muted);
  border: 1px solid var(--book-line);
  font-weight: 650;
  box-shadow: none;
}

.confirm-panel {
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 12px;
}

.confirm-badge {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--book);
  color: #fff;
  font-size: 26px;
  font-weight: 900;
  box-shadow: 0 16px 34px rgba(22, 101, 52, 0.3);
}

.confirm-panel h4 {
  margin: 0;
  font-size: 19px;
  font-weight: 850;
  letter-spacing: -0.02em;
}

.confirm-card {
  width: 100%;
  display: grid;
  gap: 7px;
  padding: 13px;
  border: 1px solid var(--book-line);
  border-radius: 15px;
  background: #fff;
  text-align: left;
}

.confirm-card div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 12px;
}

.confirm-card span {
  color: var(--book-muted);
}

.confirm-card b {
  font-weight: 750;
  text-align: right;
}

.confirm-foot {
  margin: 0;
  font-size: 11px;
  color: var(--book-muted);
}

/* Demo controls */

.demo-controls {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}

.demo-dots {
  display: flex;
  gap: 6px;
  padding: 6px;
  border-radius: 999px;
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
}

.demo-dot {
  width: 30px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: #d3e0ef;
  cursor: pointer;
  transition: background 0.2s ease;
}

.demo-dot[aria-pressed="true"] {
  background: var(--brand);
}

.demo-replay {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--panel);
  color: var(--ink-soft);
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: var(--shadow-md);
}

.demo-replay:hover {
  color: var(--brand-dark);
  border-color: var(--brand);
}

.booking-figure figcaption {
  position: relative;
  z-index: 1;
  max-width: 24rem;
  text-align: center;
  font-size: 14px;
  color: var(--muted);
}

/* Sections */

.feature-section,
.type-section {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(48px, 6vw, 84px) 0;
}

.section-heading {
  max-width: 44rem;
  margin-bottom: clamp(28px, 4vw, 44px);
}

.section-heading h2,
.workflow-heading h2,
.walkin-copy h2,
.type-copy h2,
.faq-heading h2,
.closing-section h2 {
  margin: 8px 0 12px;
  font-size: clamp(28px, 3.4vw, 42px);
  line-height: 1.1;
  letter-spacing: -0.03em;
  font-weight: 850;
}

.section-heading p,
.workflow-heading > p,
.type-copy p {
  margin: 0;
  font-size: 17px;
  color: var(--muted);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.feature-card {
  padding: 26px 22px 28px;
  border-radius: var(--radius-md);
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  display: grid;
  align-content: start;
  gap: 10px;
}

.feature-card--blue {
  background: linear-gradient(170deg, #f2f8ff, #e6f1ff);
  border-color: #cfe4ff;
}

.feature-card--navy {
  background: linear-gradient(170deg, #113463, #0b1f3f);
  border-color: #0b1f3f;
  color: #fff;
}

.feature-card--green {
  background: linear-gradient(170deg, #edfaf4, #dff3ea);
  border-color: #bfe6d5;
}

.feature-number {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: var(--brand-soft);
  color: var(--brand-deep);
  font-size: 13px;
  font-weight: 850;
}

.feature-card--navy .feature-number {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
}

.feature-card h3 {
  margin: 4px 0 0;
  font-size: 19px;
  line-height: 1.2;
  letter-spacing: -0.02em;
  font-weight: 800;
}

.feature-card p {
  margin: 0;
  font-size: 15px;
  color: var(--muted);
}

.feature-card--navy p {
  color: rgba(255, 255, 255, 0.78);
}

/* Workflow */

.workflow-section {
  background: linear-gradient(165deg, #0a1c37, #071228);
  color: #fff;
  padding: clamp(52px, 7vw, 92px) 0;
}

.workflow-inner {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.eyebrow--light {
  color: #7fb8ff;
}

.workflow-heading {
  max-width: 44rem;
  margin-bottom: clamp(28px, 4vw, 44px);
}

.workflow-heading > p {
  color: rgba(255, 255, 255, 0.72);
}

.workflow-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  counter-reset: step;
}

.workflow-list li {
  display: grid;
  gap: 12px;
  padding: 26px 22px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.workflow-list li > span {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--brand);
  color: #fff;
  font-weight: 850;
  font-size: 15px;
}

.workflow-list h3 {
  margin: 0 0 6px;
  font-size: 19px;
  letter-spacing: -0.02em;
  font-weight: 800;
}

.workflow-list p {
  margin: 0;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.74);
}

/* Walk-in section */

.walkin-section {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(48px, 6vw, 84px) 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
  gap: clamp(28px, 5vw, 60px);
  align-items: center;
}

.walkin-copy p {
  margin: 0 0 12px;
  font-size: 17px;
  color: var(--muted);
}

.walkin-note {
  margin: 18px 0 0;
  padding: 14px 16px;
  border-left: 3px solid var(--brand);
  border-radius: 0 12px 12px 0;
  background: var(--brand-soft);
  font-size: 15px;
  color: var(--ink-soft);
}

.queue-card {
  padding: 22px;
  border-radius: var(--radius-lg);
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
}

.queue-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.queue-head h3 {
  margin: 0;
  font-size: 17px;
  letter-spacing: -0.02em;
}

.queue-live {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 11px;
  border-radius: 999px;
  background: var(--green-soft);
  color: var(--green);
  font-size: 12px;
  font-weight: 800;
}

.queue-live i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
}

.queue-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
  padding-top: 14px;
}

.queue-list li {
  display: flex;
  align-items: center;
  gap: 12px;
}

.queue-pos {
  width: 30px;
  height: 30px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: var(--brand-soft);
  color: var(--brand-deep);
  font-size: 13px;
  font-weight: 850;
}

.queue-name {
  min-width: 0;
  display: grid;
  gap: 1px;
}

.queue-name b {
  font-size: 15px;
  font-weight: 750;
}

.queue-name small {
  font-size: 12px;
  color: var(--muted);
}

.queue-since {
  margin-left: auto;
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
  white-space: nowrap;
}

.queue-foot {
  margin: 14px 0 0;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--muted);
}

/* Shop types */

.type-copy {
  max-width: 44rem;
  margin-bottom: clamp(24px, 4vw, 40px);
}

.type-grid {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.type-grid li {
  position: relative;
  padding: 16px 18px 16px 44px;
  border-radius: 16px;
  background: var(--panel);
  border: 1px solid var(--line);
  font-size: 15px;
  font-weight: 600;
  color: var(--ink-soft);
  box-shadow: 0 8px 22px rgba(24, 55, 92, 0.06);
}

.type-grid li::before {
  content: "✓";
  position: absolute;
  left: 18px;
  top: 16px;
  color: var(--green);
  font-weight: 900;
}

/* FAQ */

.faq-section {
  width: min(880px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(40px, 5vw, 72px) 0;
}

.faq-heading {
  text-align: center;
  margin-bottom: clamp(22px, 3vw, 34px);
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--panel);
  padding: 4px 20px;
  margin-bottom: 10px;
  box-shadow: 0 8px 22px rgba(24, 55, 92, 0.05);
}

.faq-item summary {
  padding: 16px 0;
  font-size: 16px;
  font-weight: 750;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  flex: none;
  color: var(--brand);
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
}

.faq-item[open] summary::after {
  content: "–";
}

.faq-item p {
  margin: 0 0 18px;
  font-size: 15px;
  color: var(--muted);
}

/* Closing */

.closing-section {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto clamp(48px, 6vw, 80px);
  padding: clamp(36px, 5vw, 60px);
  border-radius: var(--radius-lg);
  background: linear-gradient(140deg, var(--brand), var(--brand-deep));
  color: #fff;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  box-shadow: var(--shadow-lg);
}

.closing-section > div {
  max-width: 34rem;
}

.closing-section p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 17px;
}

.button-white {
  background: #fff;
  color: var(--brand-deep);
  box-shadow: 0 20px 40px rgba(4, 24, 56, 0.28);
}

/* Footer */

.legal-footer {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 24px 0 44px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  font-size: 14px;
  color: var(--muted);
}

.legal-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.legal-footer a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
}

.legal-footer a:hover {
  color: var(--brand-dark);
}

/* Responsive */

@media (max-width: 1100px) {
  .hero {
    grid-template-columns: minmax(0, 1fr);
  }

  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .walkin-section {
    grid-template-columns: minmax(0, 1fr);
  }

  .type-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .workflow-list {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 700px) {
  .header-nav {
    display: none;
  }

  .brand span {
    font-size: 15px;
    white-space: nowrap;
  }

  /* A device frame at full width reads as a phone inside a phone. Keep the
     mock small enough to stay an illustration on a real handset, and tighten
     its type so each row still fits on one line inside the smaller screen. */
  .phone-shell {
    width: min(268px, 100%);
  }

  .booking-figure {
    gap: 14px;
  }

  .booking-step {
    padding: 13px 11px;
    gap: 8px;
  }

  .pick {
    gap: 8px;
    padding: 8px 10px;
    border-radius: 11px;
  }

  .pick-list {
    gap: 7px;
  }

  .pick-copy b,
  .pick-price {
    font-size: 12px;
  }

  .pick-copy small {
    font-size: 10px;
  }

  .barber-avatar {
    width: 28px;
    height: 28px;
  }

  .step-title {
    font-size: 15px;
  }

  .step-action {
    padding: 10px;
    font-size: 13px;
  }

  .nav-shell {
    justify-content: space-between;
  }

  .header-cta {
    margin-left: auto;
  }

  .feature-grid,
  .type-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .price-card {
    width: 100%;
  }

  .closing-section {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 420px) {
  .phone-shell {
    width: min(248px, 100%);
    padding: 9px;
    border-radius: 40px;
  }

  .phone-screen {
    border-radius: 32px;
  }

  .store-badge img {
    height: 42px;
  }

  .store-badge--google img {
    height: 60px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .booking-step {
    transition: none;
  }

  /* No travelling cursor without motion; the selected row is simply shown. */
  .tap-cursor {
    display: none;
  }

  .button:hover,
  .store-badge:hover {
    transform: none;
  }
}
