/* Od Suite — public design system. Tokens and primitives live here.
   Tailwind handles layout utilities; this file is the look. */

:root {
  --bg: #eef3f6;
  --paper: #ffffff;
  --ink: #102033;
  --muted: #5c6d80;
  --faint: #8a9aab;
  --line: rgba(16, 32, 51, 0.1);
  --line-strong: rgba(16, 32, 51, 0.16);
  --accent: #2a7ec4;
  --accent-soft: rgba(42, 126, 196, 0.14);
  --glass: rgba(255, 252, 248, 0.62);
  --glass-strong: rgba(255, 252, 248, 0.82);
  --radius: 28px;
  --radius-sm: 18px;
  --font-sans: "Instrument Sans", ui-sans-serif, system-ui, sans-serif;
  --font-serif: "Instrument Serif", ui-serif, Georgia, serif;
  --ease-out: cubic-bezier(0.25, 0.1, 0.25, 1);
  --shadow-panel: 0 1px 0 rgba(255, 255, 255, 0.7) inset, 0 24px 60px rgba(16, 32, 51, 0.08);
  --shadow-nav: 0 10px 40px rgba(16, 32, 51, 0.08);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background: var(--paper);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

::selection {
  background: var(--accent-soft);
  color: var(--ink);
}

/* —— Sky —— */
.sky {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
  height: min(92vh, 820px);
}

.sky-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 28%;
}

.sky-fade {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.04) 38%,
    rgba(255, 255, 255, 0.55) 72%,
    #ffffff 100%
  );
}

/* —— Type —— */
.kicker {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--faint);
}

.kicker-light {
  color: rgba(255, 255, 255, 0.96);
}

.display {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: clamp(2.7rem, 7.2vw, 5.6rem);
  line-height: 0.92;
  letter-spacing: -0.045em;
  color: var(--ink);
}

.display em,
.page-title em,
.serif-italic {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.03em;
}

.page-title em {
  position: relative;
  z-index: 0;
  padding: 0 0.1em;
}

.page-title em::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: -0.06em;
  right: -0.04em;
  top: 0.22em;
  bottom: 0.02em;
  background: #ffe072;
  border-radius: 2px;
  transform: skewX(-5deg) rotate(-0.7deg);
  opacity: 0.88;
}

.lede {
  font-size: 1.125rem;
  line-height: 1.65;
  color: var(--muted);
  max-width: 38rem;
}

.page-title {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  line-height: 1.12;
  letter-spacing: -0.04em;
}

/* —— Layout chrome —— */
.site-shell {
  position: relative;
  z-index: 1;
  display: flex;
  min-height: 100vh;
  flex-direction: column;
}

.site-main {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
  width: 100%;
  min-width: 0;
}

.site-main > * {
  width: 100%;
  min-width: 0;
}

.impersonation-banner {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.5rem 1rem;
  background: #f0c14a;
  color: #3b2a08;
  font-size: 0.875rem;
  font-weight: 500;
}

/* —— Nav —— */
.site-header {
  position: sticky;
  top: 14px;
  z-index: 40;
  padding: 0 16px;
  pointer-events: none;
}

.impersonation-banner + .site-header {
  top: 62px;
}

.nav-pill {
  pointer-events: auto;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  max-width: 1080px;
  margin: 0 auto;
  padding: 6px 6px 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--glass);
  box-shadow: var(--shadow-nav);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
}

.nav-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 4px 10px 4px 4px;
  border-radius: 999px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.nav-brand img {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: #fff;
  object-fit: contain;
  box-shadow: 0 0 0 1px var(--line);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav-link {
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
  transition: color 160ms ease, background 160ms ease;
}

.nav-link:hover {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.45);
}

.nav-link.is-active {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.7);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}

.nav-toggle:hover {
  background: rgba(255, 255, 255, 0.5);
}

.nav-toggle-bars {
  position: relative;
  display: block;
  width: 16px;
  height: 12px;
}

.nav-toggle-bars span {
  position: absolute;
  left: 0;
  right: 0;
  height: 1.5px;
  border-radius: 1px;
  background: currentColor;
  transition: transform 420ms var(--ease-out), opacity 280ms var(--ease-out);
}

.nav-toggle-bars span:nth-child(1) { top: 0; }
.nav-toggle-bars span:nth-child(2) { top: 5px; }
.nav-toggle-bars span:nth-child(3) { top: 10px; }

.nav-pill.is-open .nav-toggle-bars span:nth-child(1) {
  transform: translateY(5px) rotate(45deg);
}

.nav-pill.is-open .nav-toggle-bars span:nth-child(2) {
  opacity: 0;
}

.nav-pill.is-open .nav-toggle-bars span:nth-child(3) {
  transform: translateY(-5px) rotate(-45deg);
}

.nav-sheet {
  display: none;
}

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

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .nav-actions .btn-ghost {
    display: none;
  }

  .nav-pill {
    background: rgba(255, 252, 248, 0.96);
  }

  .nav-sheet {
    display: grid;
    grid-template-rows: 0fr;
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 8px);
    transition: grid-template-rows 480ms var(--ease-out);
  }

  .nav-sheet-clip {
    overflow: hidden;
    min-height: 0;
  }

  .nav-sheet-inner {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 10px;
    border-radius: 24px;
    border: 1px solid var(--line);
    background: rgba(255, 252, 248, 0.97);
    box-shadow: var(--shadow-nav);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    transform: translateY(-10px);
    opacity: 0;
    transition: transform 480ms var(--ease-out), opacity 360ms var(--ease-out);
  }

  .nav-pill.is-open .nav-sheet {
    grid-template-rows: 1fr;
  }

  .nav-pill.is-open .nav-sheet-inner {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-sheet .nav-link {
    padding: 12px 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .nav-sheet,
  .nav-sheet-inner,
  .nav-toggle-bars span {
    transition: none;
  }
}

/* —— Buttons —— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border-radius: 999px;
  font-family: inherit;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  appearance: none;
  -webkit-appearance: none;
  transition: background 160ms ease, border-color 160ms ease;
  white-space: nowrap;
}

.btn:focus-visible,
.nav-link:focus-visible,
.faq-q:focus-visible,
.legal-chip:focus-visible,
.nav-toggle:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}

.btn-primary,
.btn-primary:visited {
  background: var(--ink);
  color: #f6f3ec;
  border-color: var(--ink);
}

.btn-primary:hover {
  background: #1a3148;
}

.btn:disabled {
  opacity: 0.42;
  cursor: not-allowed;
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.45);
  color: var(--ink);
  border-color: var(--line);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.8);
  border-color: var(--line-strong);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.875rem;
}

.btn-md {
  padding: 12px 22px;
  font-size: 0.95rem;
}

.btn-lg {
  padding: 15px 26px;
  font-size: 1rem;
}

.btn-block {
  width: 100%;
}

/* —— Panels / frames / cards —— */
.panel {
  background: var(--glass-strong);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-panel);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.product-frame {
  padding: 10px;
  border-radius: 36px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.35);
  box-shadow: var(--shadow-panel), 0 -20px 80px rgba(255, 248, 220, 0.35);
  position: relative;
}

.product-frame::before {
  content: "";
  position: absolute;
  left: 14%;
  right: 14%;
  top: -1px;
  height: 1.5px;
  border-radius: 2px;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(255, 250, 230, 0.95), rgba(180, 220, 245, 0.85), transparent);
}

.product-grid {
  display: grid;
  gap: 12px;
}

@media (min-width: 800px) {
  .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.card {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 28px 28px 24px;
  border-radius: 26px;
  border: 1px solid var(--line);
  background: rgba(255, 252, 248, 0.78);
  text-decoration: none;
  color: inherit;
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.card:hover {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.92);
}

.card-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: var(--ink);
  color: #f6f3ec;
}

.card-mark svg {
  width: 22px;
  height: 22px;
}

.card h2,
.card h3 {
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.card p {
  margin-top: 8px;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--muted);
}

.card-go {
  margin-top: auto;
  padding-top: 22px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink);
}

/* —— Marquee —— */
.marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent);
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 48s linear infinite;
}

.marquee-group {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  gap: 4.5rem;
  padding-right: 4.5rem;
}

.marquee-item {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 28px;
  flex-shrink: 0;
  opacity: 0.4;
}

.marquee-item img {
  display: block;
  height: 24px;
  width: auto;
}

.marquee-word {
  font-size: 1.55rem;
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--ink);
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .marquee-track {
    animation: none;
  }
}

/* —— How your day changes —— */
.day-board {
  display: grid;
  gap: 1.35rem;
  margin-top: 1.65rem;
}

@media (min-width: 900px) {
  .day-board {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
  }
}

.scene-when {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 0.8rem;
}

.scene-stage {
  position: relative;
  height: 220px;
  border-radius: 24px;
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(242, 246, 250, 0.9));
  overflow: hidden;
}

.scene h2 {
  margin-top: 1.05rem;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.scene > p {
  margin-top: 0.35rem;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--muted);
}

.viz-intake,
.viz-note,
.viz-pa {
  position: absolute;
  inset: 16px;
}

.viz-msg {
  width: 78%;
  padding: 12px 14px 14px;
  border-radius: 16px 16px 16px 6px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 10px 28px rgba(16, 32, 51, 0.06);
}

.viz-msg-from {
  display: block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--faint);
}

.viz-msg p {
  margin: 6px 0 10px;
  font-size: 12px;
  line-height: 1.45;
  color: var(--ink);
}

.viz-chip {
  display: inline-block;
  padding: 4px 9px;
  border-radius: 999px;
  background: var(--ink);
  color: #f6f3ec;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.viz-sheet {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 62%;
  padding: 12px 14px 14px;
  border-radius: 14px 14px 4px 4px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 16px 32px rgba(16, 32, 51, 0.08);
}

.viz-sheet span {
  display: block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--faint);
}

.viz-sheet b {
  display: block;
  height: 8px;
  margin: 6px 0 10px;
  border-radius: 99px;
  background: rgba(16, 32, 51, 0.08);
}

.viz-sheet b.is-done {
  height: auto;
  padding: 2px 0 0;
  background: none;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink);
}

.viz-note {
  padding: 18px 18px 0;
  border-radius: 8px 8px 0 0;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 12px 32px rgba(16, 32, 51, 0.07);
  bottom: -8px;
  top: 12px;
  left: 18px;
  right: 18px;
}

.viz-note-meta {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 10px;
}

.viz-note p {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 13px;
  line-height: 1.45;
  color: var(--ink);
}

.viz-note p + p {
  margin-top: 0.55rem;
}

.viz-pa {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 10px;
  inset: 14px;
}

.viz-pa-chart,
.viz-pa-form {
  padding: 12px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--line);
}

.viz-pa-label {
  display: block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--faint);
}

.viz-pa-chart strong {
  display: block;
  margin-top: 18px;
  font-size: 1.05rem;
  letter-spacing: -0.03em;
}

.viz-pa-chart em {
  display: block;
  margin-top: 4px;
  font-size: 11px;
  font-style: normal;
  color: var(--muted);
}

.viz-pa-form ul {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
}

.viz-pa-form li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  padding: 6px 0;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.viz-pa-form li::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  flex-shrink: 0;
}

.viz-pa-form li.is-filled {
  color: var(--ink);
  font-weight: 600;
}

.viz-pa-form li.is-filled::before {
  background: var(--ink);
  border-color: var(--ink);
}

/* —— Proof tiles —— */
.proof-grid {
  display: grid;
  gap: 14px;
}

@media (min-width: 640px) {
  .proof-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .proof-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.proof-tile {
  padding: 22px 20px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: rgba(255, 252, 248, 0.55);
}

.proof-tile h3 {
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.proof-tile p {
  margin-top: 6px;
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--muted);
}

/* —— FAQ —— */
.faq {
  border-top: 1px solid var(--line);
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 0;
  background: none;
  border: 0;
  text-align: left;
  font-family: inherit;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
  cursor: pointer;
}

.faq-q-icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  position: relative;
}

.faq-q-icon::before,
.faq-q-icon::after {
  content: "";
  position: absolute;
  background: var(--ink);
  border-radius: 1px;
  transition: transform 400ms var(--ease-out), opacity 400ms var(--ease-out);
}

.faq-q-icon::before {
  width: 14px;
  height: 1.5px;
  top: 10px;
  left: 4px;
}

.faq-q-icon::after {
  width: 1.5px;
  height: 14px;
  top: 4px;
  left: 10px;
}

.faq-item.is-open .faq-q-icon::after {
  transform: scaleY(0);
}

.faq-a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 480ms var(--ease-out);
}

.faq-item.is-open .faq-a {
  grid-template-rows: 1fr;
}

.faq-a-inner {
  overflow: hidden;
}

.faq-a-inner p {
  padding-bottom: 1.35rem;
  max-width: 40rem;
  font-size: 0.98rem;
  line-height: 1.65;
  color: var(--muted);
}

.faq-a-inner p a {
  color: var(--ink);
  font-weight: 600;
  text-underline-offset: 3px;
}

/* —— Forms (auth + shared) —— */
.auth-panel {
  width: 100%;
  max-width: 26rem;
  margin: 0 auto;
  padding: 2rem;
}

.auth-panel h1 {
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.auth-panel .sub {
  margin-top: 0.35rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.field {
  display: block;
}

.field + .field {
  margin-top: 1rem;
}

.field label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: #3d4d5e;
}

.field input,
.field select,
.auth-panel input:not([type="hidden"]) {
  width: 100%;
  border-radius: 14px;
  border: 1px solid var(--line-strong);
  background: #fff;
  padding: 0.7rem 0.95rem;
  font-family: inherit;
  font-size: 0.925rem;
  color: var(--ink);
  outline: none;
  transition: border-color 160ms, box-shadow 160ms;
}

.field input:focus,
.auth-panel input:not([type="hidden"]):focus {
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(16, 32, 51, 0.08);
}

.auth-panel input:disabled {
  background: #f3f1ec;
  color: var(--muted);
}

.flash {
  margin-top: 1rem;
  border-radius: 14px;
  padding: 0.65rem 0.9rem;
  font-size: 0.875rem;
}

.flash-error {
  border: 1px solid #f1c4c8;
  background: #fff5f5;
  color: #8a2b33;
}

.flash-ok {
  border: 1px solid #b7e0c8;
  background: #f1faf4;
  color: #215c3a;
}

/* —— Legal —— */
.legal-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.legal-chip {
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.55);
  color: var(--muted);
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  transition: border-color 160ms, color 160ms, background 160ms;
}

.legal-chip:hover {
  color: var(--ink);
  border-color: var(--line-strong);
}

.legal-chip.is-active {
  background: var(--ink);
  border-color: var(--ink);
  color: #f6f3ec;
}

.legal-prose h2 {
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.legal-prose .prose-body {
  margin-top: 1rem;
}

.legal-prose .prose-body p + p,
.legal-prose .prose-body ul {
  margin-top: 1rem;
}

.legal-prose .prose-body {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--muted);
}

.legal-prose .prose-body a {
  color: var(--ink);
  font-weight: 600;
  text-underline-offset: 3px;
}

.legal-prose .prose-body strong {
  color: var(--ink);
  font-weight: 600;
}

.legal-prose .prose-body ul {
  list-style: disc;
  padding-left: 1.25rem;
}

.legal-prose .prose-body li + li {
  margin-top: 0.5rem;
}

.callout {
  padding: 1.25rem 1.35rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line-strong);
  background: rgba(255, 252, 248, 0.8);
}

.callout .kicker {
  margin-bottom: 0.5rem;
}

/* —— Footer —— */
.site-footer {
  position: relative;
  z-index: 1;
  padding: 4rem 1.5rem 2rem;
}

.footer-grid {
  display: grid;
  gap: 2.5rem;
  max-width: 1080px;
  margin: 0 auto;
}

@media (min-width: 800px) {
  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
  }
}

.footer-blurb {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--muted);
  max-width: 22rem;
}

.footer-blurb strong {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.footer-col p {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 0.85rem;
}

.footer-col a {
  display: block;
  padding: 0.2rem 0;
  color: var(--muted);
  text-decoration: none;
  font-size: 0.95rem;
}

.footer-col a:hover {
  color: var(--ink);
}

.footer-base {
  max-width: 1080px;
  margin: 2.5rem auto 0;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--faint);
}

/* —— Page sections —— */
.wrap {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

.hero {
  min-height: min(78vh, 740px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 5.5rem 24px 3.25rem;
  text-align: center;
}

.hero .lede {
  margin: 1.35rem auto 0;
}

@media (max-width: 640px) {
  .hero {
    min-height: 0;
    padding: 3.25rem 20px 2.25rem;
  }
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 1.75rem;
}

.trust-line {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.55rem 0;
  margin-top: 1.35rem;
  font-size: 0.8rem;
  color: var(--faint);
}

.trust-line span:not(:last-child)::after {
  content: "·";
  margin: 0 0.95em;
  color: var(--faint);
}

.section {
  padding: 3.25rem 0 3.5rem;
}

.day-section {
  padding-top: 5rem;
  padding-bottom: 5.25rem;
}

.section-head {
  margin-bottom: 1.75rem;
}

.close-band {
  text-align: center;
  padding: 5rem 24px 6rem;
}

.close-band .display {
  font-size: clamp(2.2rem, 5.5vw, 4.2rem);
}

/* —— About —— */
.team-grid {
  display: grid;
  gap: 14px;
}

@media (min-width: 800px) {
  .team-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.team-card {
  padding: 1.6rem 1.5rem 1.7rem;
}

.team-card h2 {
  margin-top: 0.85rem;
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.team-card p {
  margin-top: 0.75rem;
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--muted);
}

.mission {
  margin-top: 2.5rem;
  padding: 2.25rem 2rem;
}

.mission h2 {
  margin-top: 0.6rem;
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.mission p {
  margin-top: 1rem;
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--muted);
  max-width: 40rem;
}

/* —— Console / admin / auth —— */
.suite-shell {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 5.75rem 24px 5.5rem;
}

.suite-shell:has(.auth-panel) {
  padding-top: 6.75rem;
  padding-bottom: 6.5rem;
}

.suite-head {
  margin-bottom: 1.5rem;
}

.suite-head .kicker {
  margin-bottom: 0.75rem;
}

.suite-head h1 {
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  font-weight: 500;
  letter-spacing: -0.04em;
}

.suite-head p {
  margin-top: 0.35rem;
  font-size: 0.95rem;
  color: var(--muted);
}

.suite-paper > .suite-head {
  margin: 0;
  padding: 1.4rem 1.6rem 0.15rem;
}

.suite-paper {
  background: rgba(255, 252, 248, 0.94);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-panel);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
}

.suite-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  padding: 0.35rem 0.85rem 0;
  border-bottom: 1px solid var(--line);
}

.suite-tab {
  appearance: none;
  flex: 1 1 6rem;
  margin-bottom: -1px;
  padding: 0.75rem 0.7rem 0.7rem;
  border: 0;
  border-bottom: 2px solid transparent;
  background: none;
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--faint);
  cursor: pointer;
  text-align: center;
  white-space: nowrap;
}

.suite-tab:hover {
  color: var(--ink);
}

.suite-tab.is-on {
  color: var(--ink);
  border-bottom-color: var(--ink);
}

.suite-tab .suite-chip {
  margin-left: 0.4rem;
  vertical-align: middle;
}

.suite-pane {
  padding: 1.5rem 1.6rem 1.8rem;
}

.suite-paper[data-tabs] .suite-pane {
  display: none;
}

.suite-paper[data-tabs] .suite-pane.is-on {
  display: block;
}

.suite-paper .suite-block {
  padding: 0;
  border-top: 0;
}

.suite-divide {
  margin: 1.35rem 0 1.1rem;
  border: 0;
  border-top: 1px solid var(--line);
}

.suite-block {
  padding: 2.35rem 0;
  border-top: 1px solid var(--line);
}

.suite-block h2 {
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.suite-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  padding: 0.95rem 0;
  border-bottom: 1px solid var(--line);
}

.suite-row-body {
  flex: 1;
  min-width: 12rem;
}

.suite-row:last-child {
  border-bottom: 0;
}

.suite-entity {
  padding: 0;
  border-bottom: 1px solid var(--line);
}

.suite-entity:last-child {
  border-bottom: 0;
}

.suite-entity-summary {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 1rem 0;
  cursor: pointer;
  list-style: none;
}

.suite-entity-summary::-webkit-details-marker,
.suite-entity-summary::marker {
  display: none;
  content: "";
}

.suite-entity-summary > div {
  min-width: 0;
  flex: 1;
}

.suite-entity-chevron {
  flex: 0 0 auto;
  width: 0.42rem;
  height: 0.42rem;
  margin-left: auto;
  border-right: 1.5px solid var(--faint);
  border-bottom: 1.5px solid var(--faint);
  transform: rotate(-45deg);
  transition: transform 160ms var(--ease-out);
}

.suite-entity[open] .suite-entity-chevron {
  transform: rotate(45deg);
}

.suite-entity-body {
  padding: 0 0 1.25rem;
}

.suite-inline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
}

.suite-pager {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 1.1rem;
  font-size: 0.75rem;
  color: var(--faint);
}

.suite-chip {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0.15rem 0.5rem;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.suite-chip-ink {
  background: var(--ink);
  color: #f6f3ec;
}

.suite-chip-rose {
  background: #fde8ea;
  color: #9f1239;
}

.suite-chip-ok {
  background: #e8f6ee;
  color: #166534;
}

.suite-chip-warn {
  background: #fef3c7;
  color: #92400e;
}

.suite-chip-mute {
  background: rgba(16, 32, 51, 0.06);
  color: var(--muted);
}

.suite-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: transparent;
  padding: 0.35rem 0.7rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  cursor: pointer;
}

.suite-ghost:hover {
  background: rgba(255, 255, 255, 0.7);
}

.suite-ghost:disabled,
.suite-ghost.is-off {
  opacity: 0.4;
  pointer-events: none;
}

.suite-search {
  width: 100%;
  border-radius: 14px;
  border: 1px solid var(--line-strong);
  background: #fff;
  padding: 0.7rem 0.95rem;
  font-family: inherit;
  font-size: 0.925rem;
  color: var(--ink);
  outline: none;
}

.suite-search:focus {
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(16, 32, 51, 0.08);
}

.suite-field {
  flex: 1;
  min-width: 0;
  border-radius: 14px;
  border: 1px solid var(--line-strong);
  background: #fff;
  padding: 0.65rem 0.9rem;
  font-family: inherit;
  font-size: 0.925rem;
  color: var(--ink);
  outline: none;
}

.suite-field:focus {
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(16, 32, 51, 0.08);
}

.suite-mini {
  width: 4.5rem;
  border-radius: 10px;
  border: 1px solid var(--line-strong);
  background: #fff;
  padding: 0.3rem 0.45rem;
  font-size: 0.75rem;
}

.suite-log {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.75rem;
  color: var(--muted);
}

.suite-log:last-child {
  border-bottom: 0;
}

.suite-modal {
  width: 100%;
  max-width: 26rem;
  padding: 1.6rem;
}

.suite-modal-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.95rem 0;
  border-top: 1px solid var(--line);
}

.suite-modal-row:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.suite-modal-row p {
  margin: 0.2rem 0 0;
  font-size: 0.75rem;
  color: var(--muted);
  max-width: 16rem;
}

.suite-entity-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.85rem 1.25rem;
}

.suite-entity-name {
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.suite-meta {
  margin-top: 0.2rem;
  font-size: 0.75rem;
  color: var(--muted);
}

.suite-access {
  display: grid;
  grid-template-columns: 7.75rem minmax(0, 1fr);
  gap: 0.45rem 1rem;
  align-items: start;
  padding: 0.7rem 0 0;
}

.suite-access-label {
  padding-top: 0.28rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--ink);
}

.suite-ghost-ok {
  background: #e8f6ee;
  border-color: #b7e0c5;
  color: #166534;
}

.suite-ghost-rose {
  background: #fde8ea;
  border-color: #f1c4c8;
  color: #9f1239;
}

.suite-ghost-warn {
  background: #fef6e4;
  border-color: #f0d9a0;
  color: #92400e;
}

.suite-app {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.55rem 0;
  margin-right: 1.35rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.suite-app:hover {
  border-bottom-color: var(--ink);
}

.suite-callout {
  margin-top: 1rem;
  padding: 0.85rem 0;
  border-top: 1px solid var(--line);
  font-size: 0.875rem;
}

.suite-callout code {
  display: block;
  margin-top: 0.35rem;
  word-break: break-all;
  color: var(--ink);
}

.suite-callout-ok {
  color: #166534;
}

.suite-callout-error {
  color: #9f1239;
}

.suite-note {
  margin: 1.1rem 0;
  padding: 0.15rem 0 0.15rem 1rem;
  border-left: 2px solid #c98a1a;
}

.suite-note h4,
.suite-note h5 {
  margin: 0;
  font-size: 0.85rem;
  font-weight: 600;
}

.suite-note p,
.suite-note li {
  font-size: 0.8rem;
  color: var(--muted);
}

.suite-select,
.suite-clinic select {
  width: 100%;
  border-radius: 14px;
  border: 1px solid var(--line-strong);
  background: #fff;
  padding: 0.7rem 0.95rem;
  font-family: inherit;
  font-size: 0.925rem;
  color: var(--ink);
  outline: none;
}

.suite-select:focus,
.suite-clinic select:focus {
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(16, 32, 51, 0.08);
}

.suite-tip {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1rem;
  height: 1rem;
  margin-left: 0.15rem;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  font-size: 9px;
  font-weight: 700;
  color: var(--faint);
  cursor: default;
}

.suite-tip span {
  pointer-events: none;
  position: absolute;
  bottom: calc(100% + 6px);
  left: 50%;
  z-index: 20;
  width: 13.5rem;
  padding: 0.55rem 0.7rem;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 400;
  line-height: 1.4;
  box-shadow: var(--shadow-nav);
  opacity: 0;
  transform: translateX(-50%);
  transition: opacity 140ms ease;
}

.suite-tip:hover span {
  opacity: 1;
}

.suite-empty {
  padding: 0.85rem 0;
  font-size: 0.9rem;
  color: var(--muted);
}

#toast {
  pointer-events: none;
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  z-index: 60;
  transform: translateX(-50%);
  opacity: 0;
  transition: opacity 200ms ease;
}

#toast-body {
  border-radius: 999px;
  padding: 0.55rem 1rem;
  font-size: 0.8rem;
  font-weight: 600;
  box-shadow: var(--shadow-nav);
}

@media (max-width: 720px) {
  .suite-access {
    grid-template-columns: 1fr;
  }
}
