:root {
  color-scheme: light;
  --bg: #fff7ee;
  --ink: #221727;
  --paper: #fffdf8;
  --muted: rgba(34, 23, 39, 0.72);
  --line: rgba(34, 23, 39, 0.14);
  --peach: #ffb38a;
  --lychee: #ffe1d6;
  --kiwi: #a8d957;
  --cyan: #64ddeb;
  --gold: #e6b85c;
  --green: #7acb66;
  --lavender: #c9a7ff;
  --coral: #ff9466;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 12% 4%, rgba(255, 179, 138, 0.2), transparent 24rem),
    radial-gradient(circle at 88% 8%, rgba(168, 217, 87, 0.22), transparent 24rem),
    radial-gradient(circle at 58% 92%, rgba(100, 221, 235, 0.18), transparent 28rem),
    linear-gradient(130deg, #fffaf3, #fff0e8 46%, #f2f9e8 100%);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.topbar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 10;
  height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(18px, 4vw, 48px) 0 86px;
  background: rgba(255, 253, 248, 0.82);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  width: auto;
  min-width: 0;
  height: auto;
  position: relative;
  display: flex;
  align-items: center;
  overflow: visible;
  border-radius: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 0;
  text-decoration: none;
}
.brand-text {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 2px;
  color: #6f501e;
  text-shadow: 0 8px 30px rgba(230, 184, 92, 0.2);
}
.brand-text strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.55rem, 2.2vw, 2.45rem);
  line-height: 0.9;
  letter-spacing: 0;
  font-weight: 950;
  font-style: italic;
}
.brand-text small {
  color: #785f30;
  font-size: 0.68rem;
  line-height: 1;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 850;
}
.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  min-width: 0;
}
.client-link,
.create-link {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border: 1px solid rgba(34, 23, 39, 0.12);
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(255, 225, 214, 0.96), rgba(168, 217, 87, 0.72), rgba(100, 221, 235, 0.62));
  color: #213a30;
  text-decoration: none;
  font-size: 0.86rem;
  font-weight: 950;
  white-space: nowrap;
  box-shadow: 0 14px 38px rgba(72, 94, 56, 0.11);
}
.user-menu {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.user-name-link {
  padding-right: 11px;
}
.user-menu-toggle {
  width: 34px;
  min-width: 34px;
  min-height: 34px;
  padding: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  color: #213a30;
  box-shadow: none;
}
.user-menu-popover {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 40;
  min-width: 110px;
}
.user-menu-popover .logout-link {
  width: 100%;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 18px 46px rgba(72, 94, 56, 0.14);
}
.logout-link {
  min-height: 36px;
  padding: 9px 12px;
  border: 1px solid rgba(34, 23, 39, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: #5d4630;
  font-size: 0.8rem;
  box-shadow: none;
}
.language { display: flex; gap: 6px; }
.language button {
  height: 34px;
  min-width: 42px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.76);
  font-weight: 900;
  touch-action: manipulation;
}

.menu-toggle { position: fixed; opacity: 0; pointer-events: none; }
.menu-button {
  position: fixed;
  z-index: 30;
  top: 18px;
  left: 22px;
  width: 42px;
  height: 38px;
  display: grid;
  place-content: center;
  gap: 5px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
  cursor: pointer;
}
.menu-button span { display: block; width: 20px; height: 2px; background: var(--ink); }
.drawer {
  position: fixed;
  z-index: 25;
  inset: 0 auto 0 0;
  width: min(340px, 86vw);
  padding: 92px 26px 26px;
  display: grid;
  align-content: start;
  gap: 12px;
  transform: translateX(-102%);
  transition: transform 220ms ease;
  background: #fffdf8;
  border-right: 1px solid var(--line);
  box-shadow: 40px 0 100px rgba(0, 0, 0, 0.45);
  overflow-y: auto;
  overscroll-behavior: contain;
}
.drawer a { color: var(--ink); text-decoration: none; font-weight: 900; padding: 14px 12px; border-radius: 8px; min-height: 44px; display: flex; align-items: center; }
.drawer a:hover, .drawer a.active, body[data-page="aboutme"] .drawer a[data-page="aboutme"], body[data-page="consultation"] .drawer a[data-page="consultation"], body[data-page="booking"] .drawer a[data-page="booking"], body[data-page="payment"] .drawer a[data-page="payment"], body[data-page="session"] .drawer a[data-page="session"], body[data-page="account"] .drawer a[data-page="account"], body[data-page="client-space"] .drawer a[data-page="client-space"], body[data-page="bookings"] .drawer a[data-page="bookings"], body[data-page="reviews"] .drawer a[data-page="reviews"], body[data-page="coach-schedule"] .drawer a[data-page="coach-schedule"], body[data-page="contact"] .drawer a[data-page="contact"] {
  background: linear-gradient(135deg, rgba(255, 179, 138, 0.22), rgba(168, 217, 87, 0.18));
  box-shadow: inset 3px 0 0 var(--kiwi);
}
.menu-toggle:checked ~ .drawer { transform: translateX(0); }

main { padding-top: 92px; }
.hero {
  min-height: auto;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 0.74fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
  padding: clamp(46px, 6vw, 86px) clamp(18px, 5vw, 72px) 34px;
}
.hero-copy { display: grid; gap: 18px; }
.eyebrow { margin: 0; color: var(--gold); font-size: 0.78rem; font-weight: 950; text-transform: uppercase; }
h1, h2 { margin: 0; line-height: 0.96; letter-spacing: 0; }
h1 { font-size: clamp(2.35rem, 5vw, 5.9rem); max-width: 860px; }
h2 { font-size: clamp(1.65rem, 2.8vw, 3.1rem); max-width: 760px; }
p { color: var(--muted); line-height: 1.7; font-size: 1.02rem; }
.hero-lead {
  max-width: 760px;
  color: rgba(34, 23, 39, 0.78);
  font-size: clamp(1.08rem, 1.55vw, 1.34rem);
}
.actions { display: flex; gap: 12px; flex-wrap: wrap; }
.actions a, .checkout button {
  color: #08060c;
  background: var(--paper);
  text-decoration: none;
  font-weight: 950;
  border: 0;
  border-radius: 999px;
  padding: 14px 18px;
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.actions a {
  border: 1px solid rgba(34, 23, 39, 0.14);
  background: rgba(255, 255, 255, 0.74);
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}
.actions a:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 40px rgba(133, 86, 38, 0.12);
}
.actions .primary-cta { background: linear-gradient(135deg, rgba(255, 225, 214, 0.96), rgba(168, 217, 87, 0.8)); color: #213a30; }
.actions a:not(.primary-cta) { background: rgba(255, 255, 255, 0.72); }
.actions a:focus-visible, .drawer a:focus-visible, .route-grid a:focus-visible, .client-link:focus-visible, button:focus-visible {
  outline: 3px solid rgba(100, 221, 235, 0.78);
  outline-offset: 3px;
}
.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.trust-row span {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  padding: 8px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.54);
  color: rgba(34, 23, 39, 0.78);
  font-size: 0.84rem;
  font-weight: 850;
}
.hero-card {
  display: grid;
  gap: 18px;
  padding: clamp(20px, 3vw, 28px);
  border: 1px solid rgba(34, 23, 39, 0.14);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(247, 255, 239, 0.72)),
    radial-gradient(circle at 85% 8%, rgba(168, 217, 87, 0.22), transparent 13rem);
  box-shadow: 0 28px 90px rgba(72, 94, 56, 0.16);
}
.hero-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.hero-card-header span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}
.hero-card-header strong {
  color: #365a28;
}
.journey-list {
  list-style: none;
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
}
.journey-list li {
  display: grid;
  grid-template-columns: 36px 1fr;
  column-gap: 12px;
  row-gap: 3px;
  align-items: start;
  padding: 13px;
  border: 1px solid rgba(34, 23, 39, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.66);
}
.journey-list li span {
  grid-row: span 2;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(168, 217, 87, 0.3);
  color: #365a28;
  font-weight: 950;
}
.journey-list strong {
  color: var(--ink);
}
.journey-list small {
  color: var(--muted);
  line-height: 1.45;
}
.tree-note {
  padding: 13px;
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(100, 221, 235, 0.18), rgba(168, 217, 87, 0.18));
  color: #213a30;
  font-weight: 900;
  line-height: 1.45;
}
.hero-book-now {
  width: fit-content;
  justify-self: center;
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(255, 225, 214, 0.96), rgba(168, 217, 87, 0.78), rgba(100, 221, 235, 0.58));
  color: #213a30;
  text-decoration: none;
  font-weight: 950;
}
.portrait-panel {
  min-height: 430px;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 250, 244, 0.12), transparent),
    radial-gradient(circle at 45% 30%, rgba(230, 184, 92, 0.54), transparent 8rem),
    radial-gradient(circle at 62% 42%, rgba(100, 221, 235, 0.56), transparent 9rem),
    radial-gradient(circle at 46% 64%, rgba(255, 179, 138, 0.58), transparent 10rem),
    radial-gradient(circle at 72% 72%, rgba(168, 217, 87, 0.52), transparent 10rem),
    #fffdf8;
}
.portrait-panel::before {
  content: "";
  position: absolute;
  inset: 12%;
  border: 1px solid rgba(255, 211, 106, 0.45);
  border-radius: 50%;
  box-shadow: 0 0 0 44px rgba(255, 255, 255, 0.025);
}
.orbital { position: absolute; border: 1px solid rgba(34, 23, 39, 0.16); border-radius: 50%; }
.orbital.one { width: 78%; aspect-ratio: 1; left: 11%; top: 8%; }
.orbital.two { width: 48%; aspect-ratio: 1; left: 26%; top: 24%; }
.orbital.three {
  width: 30%;
  aspect-ratio: 1;
  left: 55%;
  top: 42%;
  border-color: rgba(133, 238, 162, 0.42);
}
.signal, .metric, .insight-card {
  position: absolute;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.72);
  backdrop-filter: blur(14px);
}
.signal { top: 28px; left: 28px; padding: 12px 14px; font-weight: 950; }
.metric { right: 28px; bottom: 28px; padding: 16px; display: grid; gap: 4px; }
.insight-card {
  left: 28px;
  bottom: 102px;
  padding: 14px;
  display: grid;
  gap: 4px;
}
.insight-card strong { color: var(--green); font-size: 1.28rem; }
.metric strong { font-size: 1.55rem; }
.metric span { color: var(--muted); }
.clarity-band {
  margin: 0 clamp(18px, 5vw, 72px) 28px;
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.74), rgba(247, 255, 239, 0.62)),
    radial-gradient(circle at 92% 0%, rgba(100, 221, 235, 0.22), transparent 18rem);
  box-shadow: 0 28px 90px rgba(72, 94, 56, 0.1);
}
.band-copy {
  max-width: 760px;
  margin-bottom: 24px;
}
.need-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.need-grid article {
  min-height: 220px;
  display: grid;
  align-content: space-between;
  gap: 20px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.66);
}
.need-grid article span {
  color: #5d7e36;
  font-weight: 950;
}
.need-grid strong {
  font-size: clamp(1.35rem, 2vw, 2rem);
  line-height: 1.05;
}
.need-grid p {
  margin: 0;
  color: var(--muted);
}
.start-path {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(320px, 1.14fr);
  gap: 18px;
  padding: 0 clamp(18px, 5vw, 72px) 34px;
}
.path-card, .path-steps article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.68);
  box-shadow: 0 20px 60px rgba(72, 94, 56, 0.08);
}
.path-card {
  display: grid;
  align-content: space-between;
  gap: 18px;
  padding: clamp(22px, 4vw, 38px);
  min-height: 340px;
}
.path-card a {
  width: fit-content;
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 18px;
  border-radius: 999px;
  color: #fffdf8;
  background: linear-gradient(135deg, #213a30, #6fae45);
  text-decoration: none;
  font-weight: 950;
}
.path-steps {
  display: grid;
  gap: 12px;
}
.path-steps article {
  min-height: 104px;
  display: grid;
  gap: 8px;
  padding: 18px;
}
.path-steps span {
  color: var(--muted);
  line-height: 1.5;
}
.section {
  padding: clamp(60px, 7vw, 104px) clamp(18px, 5vw, 72px);
  border-top: 1px solid var(--line);
}
.route-section {
  padding: clamp(48px, 7vw, 82px) clamp(18px, 5vw, 72px);
  background: rgba(255, 255, 255, 0.36);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.route-head {
  display: grid;
  gap: 10px;
  max-width: 720px;
  margin-bottom: 24px;
}
.route-head p:not(.eyebrow) {
  margin: 0;
}
.route-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 12px;
}
.route-grid a {
  min-height: 210px;
  display: grid;
  align-content: space-between;
  gap: 18px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.76);
  color: var(--ink);
  text-decoration: none;
  box-shadow: 0 18px 50px rgba(72, 94, 56, 0.07);
  transition: transform 180ms ease, box-shadow 180ms ease;
}
.route-grid a:hover {
  transform: translateY(-2px);
  box-shadow: 0 24px 64px rgba(72, 94, 56, 0.12);
}
.route-grid span {
  color: #5d7e36;
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
}
.route-grid strong {
  font-size: 1.15rem;
  line-height: 1.15;
}
.route-grid small {
  color: var(--muted);
  line-height: 1.45;
}
.closing-cta {
  margin: clamp(42px, 6vw, 76px) clamp(18px, 5vw, 72px);
  padding: clamp(28px, 5vw, 54px);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(33, 58, 48, 0.94), rgba(89, 130, 48, 0.86)),
    radial-gradient(circle at 90% 0%, rgba(100, 221, 235, 0.3), transparent 18rem);
  color: #fffdf8;
}
.closing-cta .eyebrow,
.closing-cta h2 {
  color: #fffdf8;
}
.closing-cta h2 {
  max-width: 840px;
}
.closing-cta .actions a:not(.primary-cta) {
  color: #fffdf8;
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.22);
}
.split { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(280px, 1.1fr); gap: 28px; align-items: center; }
.credential-grid, .dashboard, .review-grid, .booking-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.credential-grid article, .dashboard article, .review-grid article, .calendar-card, .session-card, .voice-card, .checkout, .mock-form {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
  padding: 20px;
}
article, .calendar-card, .session-card, .checkout { display: grid; gap: 10px; }
article span, .calendar-card span, .session-card p { color: var(--muted); }
.optional-consultation {
  display: grid;
  gap: 8px;
  margin-top: 10px;
  padding: 14px;
  border: 1px solid rgba(34, 23, 39, 0.1);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(255, 225, 214, 0.5), rgba(100, 221, 235, 0.18));
}
.optional-consultation small {
  color: #5d7e36;
  font-weight: 950;
  text-transform: uppercase;
}
.optional-consultation p {
  margin: 0;
  font-size: 0.92rem;
}
.optional-consultation a {
  color: #1d6570;
  font-weight: 950;
}
.timeline { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-top: 30px; }
.timeline span {
  padding: 18px;
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(255, 179, 138, 0.24), rgba(100, 221, 235, 0.14), rgba(168, 217, 87, 0.16));
  border: 1px solid var(--line);
  font-weight: 900;
}
.booking-grid { grid-template-columns: 1.4fr 0.6fr; }
.mock-form { display: grid; gap: 14px; }
label { display: grid; gap: 7px; color: var(--muted); font-weight: 800; }
input, select, textarea { width: 100%; border: 1px solid var(--line); border-radius: 8px; background: rgba(255,255,255,0.82); color: var(--ink); padding: 12px; font: inherit; }
button {
  min-height: 46px;
  border: 0;
  border-radius: 999px;
  padding: 12px 18px;
  background: linear-gradient(135deg, rgba(255, 225, 214, 0.96), rgba(168, 217, 87, 0.78), rgba(100, 221, 235, 0.58));
  color: #213a30;
  font: inherit;
  font-weight: 950;
  cursor: pointer;
}
textarea { min-height: 96px; resize: vertical; }
.payment { display: grid; grid-template-columns: 1fr 360px; gap: 24px; align-items: center; }
.checkout strong { font-size: 2.5rem; }
code { overflow-wrap: anywhere; color: var(--cyan); }
.contact a { color: var(--ink); font-size: 1.4rem; font-weight: 950; }
.voice-card { min-height: 180px; display: grid; place-items: center; font-size: clamp(1.5rem, 4vw, 3rem); font-weight: 950; color: var(--gold); text-align: center; }
.subpage {
  min-height: 100vh;
}
.sub-header {
  min-height: 96px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px clamp(18px, 5vw, 72px) 14px 86px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 253, 248, 0.86);
  backdrop-filter: blur(16px);
}
.sub-header .brand {
  width: clamp(240px, 26vw, 360px);
  height: 68px;
}
.sub-main {
  width: min(1180px, calc(100vw - 32px));
  margin: 0 auto;
  padding: 24px 0 70px;
}
.client-space-main {
  padding-top: 10px;
}
.sub-main .section {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.6);
  box-shadow: 0 28px 90px rgba(133, 86, 38, 0.09);
}
.sub-main h1 {
  font-size: clamp(2rem, 4vw, 4rem);
}
.about-main {
  width: min(1240px, calc(100vw - 32px));
}
.about-story {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
  align-items: end;
}
.about-hero-copy {
  display: grid;
  gap: 16px;
}
.story-card h2 {
  color: #5d7e36;
}
.about-content {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}
.story-card {
  display: grid;
  gap: 12px;
  align-content: start;
  padding: clamp(20px, 3vw, 30px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.66);
  box-shadow: 0 20px 64px rgba(133, 86, 38, 0.08);
}
.large-story {
  grid-row: span 2;
}
.story-card h2 {
  font-size: clamp(1.55rem, 2.3vw, 2.35rem);
  line-height: 1.05;
}
.story-card p {
  margin: 0;
}
.quote-card blockquote {
  margin: 8px 0 0;
  padding: 18px;
  border-left: 4px solid var(--kiwi);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(255, 225, 214, 0.54), rgba(100, 221, 235, 0.16));
  color: #213a30;
  font-size: clamp(1.1rem, 1.6vw, 1.35rem);
  font-weight: 900;
  line-height: 1.45;
}
.personal-note {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.72), rgba(247, 255, 239, 0.7)),
    radial-gradient(circle at 100% 0%, rgba(168, 217, 87, 0.2), transparent 12rem);
}
.back-link {
  display: inline-flex;
  margin: 0 0 18px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 950;
}
.auth-layout {
  display: grid;
  grid-template-columns: minmax(240px, 0.72fr) minmax(320px, 0.9fr);
  gap: 22px;
  align-items: start;
}
.client-space-auth {
  grid-template-columns: minmax(280px, 560px);
  justify-content: center;
}
.auth-intro {
  display: grid;
  gap: 14px;
}
.auth-panels {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 14px;
}
.auth-card {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(255, 250, 243, 0.74)),
    radial-gradient(circle at 90% 0%, rgba(100, 221, 235, 0.18), transparent 14rem),
    radial-gradient(circle at 0% 100%, rgba(255, 225, 214, 0.26), transparent 13rem);
  box-shadow: 0 20px 64px rgba(133, 86, 38, 0.09);
}
.auth-card h2 {
  font-size: clamp(1.35rem, 2vw, 2rem);
}
.auth-card a,
.client-summary a,
.booking-list a {
  color: #1d6570;
  font-weight: 950;
}
.login-only {
  grid-template-columns: minmax(260px, 520px);
}
.account-choice {
  align-content: center;
  gap: 14px;
}
.client-account-panel {
  display: grid;
  gap: 18px;
}
.account-section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}
.account-section-title span {
  color: #5d7e36;
  font-size: 0.8rem;
  font-weight: 950;
  text-transform: uppercase;
}
.section-action {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 15px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(168, 217, 87, 0.36), rgba(100, 221, 235, 0.3));
  border: 1px solid rgba(54, 90, 40, 0.13);
  color: #213a30 !important;
  font-size: 0.9rem;
  font-weight: 950;
  text-decoration: none;
}
.section-action:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(54, 90, 40, 0.12);
}
.account-choice span {
  color: #5d7e36;
  font-size: 0.8rem;
  font-weight: 950;
  text-transform: uppercase;
}
.soft-cta {
  width: fit-content;
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(255, 225, 214, 0.96), rgba(100, 221, 235, 0.58));
  color: #213a30 !important;
  text-decoration: none;
}
.create-account-card {
  max-width: 720px;
  justify-self: stretch;
}
.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.client-summary {
  display: grid;
  gap: 8px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.66);
}
.client-summary strong {
  font-size: 1.2rem;
}
.client-summary span {
  color: var(--muted);
  overflow-wrap: anywhere;
}
.auth-status {
  margin: 0;
  padding: 12px 14px;
  border-radius: 8px;
  border: 1px solid rgba(54, 90, 40, 0.16);
  background: rgba(168, 217, 87, 0.16);
  color: #213a30;
  font-weight: 850;
}
.auth-status[data-type="error"] {
  border-color: rgba(180, 69, 43, 0.24);
  background: rgba(255, 148, 102, 0.16);
  color: #7c2f1c;
}
.auth-status[data-type="success"] {
  border-color: rgba(54, 90, 40, 0.22);
  background: rgba(168, 217, 87, 0.2);
}
.booking-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
  margin-top: 22px;
}
.compact-bookings {
  margin-top: 0;
}
.booking-list article {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.72);
}
.booking-list small {
  width: fit-content;
  padding: 6px 9px;
  border-radius: 999px;
  background: rgba(168, 217, 87, 0.2);
  color: #365a28;
  font-weight: 950;
}
.booking-list .past-booking small {
  background: rgba(100, 221, 235, 0.18);
  color: #1d6570;
}

@media (max-width: 860px) {
  .hero, .split, .payment, .booking-grid { grid-template-columns: 1fr; }
  .credential-grid, .dashboard, .review-grid, .timeline, .auth-layout, .auth-panels, .form-row { grid-template-columns: 1fr; }
  main { padding-top: 78px; }
  .topbar {
    height: 78px;
    padding: 8px 12px 8px 72px;
    gap: 8px;
  }
  .menu-button {
    top: 20px;
    left: 16px;
    width: 40px;
    height: 38px;
  }
  .drawer {
    width: min(310px, 88vw);
    padding: 84px 18px 22px;
    gap: 8px;
  }
  .brand {
    width: auto;
    height: auto;
    padding: 0;
  }
  .brand-text strong {
    font-size: clamp(1.25rem, 6vw, 1.7rem);
    letter-spacing: 0;
  }
  .brand-text small {
    font-size: 0.52rem;
    letter-spacing: 0.11em;
  }
  .language {
    gap: 4px;
    flex-shrink: 0;
  }
  .header-actions {
    gap: 6px;
  }
  .client-link,
  .create-link {
    min-height: 34px;
    padding: 8px 10px;
    font-size: 0.72rem;
  }
  .logout-link {
    min-height: 34px;
    padding: 8px 9px;
    font-size: 0.72rem;
  }
  .language button {
    min-width: 34px;
    height: 32px;
    padding: 0 7px;
    font-size: 0.72rem;
  }
  .hero {
    gap: 24px;
    padding: 28px 16px 26px;
  }
  .hero-copy {
    gap: 14px;
  }
  h1 {
    font-size: clamp(2rem, 10vw, 3.25rem);
    line-height: 1.02;
  }
  h2 {
    font-size: clamp(1.6rem, 7vw, 2.45rem);
    line-height: 1.05;
  }
  p {
    font-size: 0.98rem;
    line-height: 1.62;
  }
  .eyebrow {
    font-size: 0.7rem;
  }
  .actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 9px;
  }
  .actions a {
    width: 100%;
  }
  .hero-card {
    padding: 16px;
  }
  .hero-card-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }
  .journey-list li {
    grid-template-columns: 32px 1fr;
    padding: 11px;
  }
  .journey-list li span {
    width: 30px;
    height: 30px;
  }
  .clarity-band {
    margin: 0 16px 20px;
    padding: 16px;
  }
  .need-grid,
  .start-path {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .need-grid article {
    min-height: 168px;
    padding: 16px;
  }
  .start-path {
    padding: 0 16px 28px;
  }
  .path-card {
    min-height: auto;
    padding: 20px;
  }
  .signal {
    top: 16px;
    left: 16px;
    padding: 10px 12px;
    font-size: 0.84rem;
  }
  .insight-card {
    left: 16px;
    bottom: 82px;
    padding: 11px;
  }
  .metric {
    right: 16px;
    bottom: 16px;
    padding: 12px;
  }
  .metric strong {
    font-size: 1.2rem;
  }
  .route-section {
    padding: 34px 16px;
  }
  .route-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .route-grid a {
    min-height: 132px;
    padding: 16px;
  }
  .closing-cta {
    margin: 34px 16px;
    padding: 24px 18px;
  }
  .section {
    padding: 34px 16px;
  }
  .payment {
    gap: 16px;
  }
  .checkout strong {
    font-size: 2rem;
  }
  .voice-card {
    min-height: 140px;
    font-size: clamp(1.25rem, 8vw, 2rem);
  }
  input, select, textarea {
    min-height: 46px;
    background: rgba(255,255,255,0.82);
    color: var(--ink);
  }
  .sub-header {
    min-height: auto;
    height: 78px;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 8px 12px 8px 72px;
    gap: 10px;
  }
  .sub-header .brand {
    width: auto;
    height: auto;
    flex-shrink: 1;
  }
  .sub-main {
    width: min(100vw - 24px, 1180px);
    padding: 16px 0 46px;
  }
  .sub-main .section {
    border-radius: 8px;
  }
  .sub-main h1 {
    font-size: clamp(1.9rem, 9vw, 3rem);
  }
  .about-story,
  .about-content {
    grid-template-columns: 1fr;
  }
  .large-story {
    grid-row: auto;
  }
}

@media (max-width: 420px) {
  .topbar {
    padding-left: 64px;
  }
  .sub-header {
    padding-left: 64px;
  }
  .sub-header .brand-text small {
    display: none;
  }
  .brand {
    width: auto;
  }
  .brand-text small {
    display: none;
  }
  .language button {
    min-width: 31px;
    padding: 0 6px;
  }
  .client-link,
  .create-link {
    max-width: 96px;
    line-height: 1.05;
    text-align: center;
    white-space: normal;
  }
  .logout-link {
    max-width: 70px;
  }
  .hero {
    padding-left: 12px;
    padding-right: 12px;
  }
  .portrait-panel {
    min-height: 270px;
  }
  .clarity-band,
  .closing-cta {
    margin-left: 12px;
    margin-right: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
