/* ============================================================
   TIA Studio — Colors & Type
   Source of truth for the design system. Matches the MUI theme
   defined in src/components/theme/ThemeProvider.tsx in the
   Universal-Decorator codebase.
   ============================================================ */

/* Fonts — Figtree is the brand sans. Loaded from Google Fonts
   because no webfont files were attached. The Dark logo also
   uses a transitional serif (Bodoni/Didone-style) for the word
   "STUDIO" — we substitute Cormorant Garamond as the nearest
   match. FLAG: confirm with brand team. */
/* cyrillic-ext */

/* cyrillic */

/* vietnamese */

/* latin-ext */

/* latin */

/* cyrillic-ext */

/* cyrillic */

/* vietnamese */

/* latin-ext */

/* latin */

/* cyrillic-ext */

/* cyrillic */

/* vietnamese */

/* latin-ext */

/* latin */

/* cyrillic-ext */

/* cyrillic */

/* vietnamese */

/* latin-ext */

/* latin */

/* cyrillic-ext */

/* cyrillic */

/* vietnamese */

/* latin-ext */

/* latin */

/* latin-ext */

/* latin */

/* latin-ext */

/* latin */

/* latin-ext */

/* latin */

/* latin-ext */

/* latin */

/* latin-ext */

/* latin */



:root {
  /* ---------- Brand colors ---------- */
  --tia-teal:         #0FA5AB;   /* primary — TIA Teal */
  --tia-teal-hover:   #0D8C91;   /* primary hover (contained button) */
  --tia-teal-soft:    rgba(75, 163, 169, 0.30); /* lightTeal */
  --tia-teal-soft-hover: rgba(75, 163, 169, 0.40);
  --tia-teal-secondary: #4BA3A9; /* secondary teal */

  /* Near-black — landing uses #252323, app uses #252528. Keep both. */
  --ink-900:          #252323;   /* landing / footer / drawer */
  --ink-850:          #252528;   /* app — headings, buttons (dark) */
  --ink-800:          #3A3A3D;   /* dark.dark — hover */
  --ink-700:          #666666;   /* body2, labels */
  --ink-600:          #777777;   /* input placeholder */
  --ink-500:          #999999;   /* muted */
  --ink-400:          #6B7280;   /* overline */

  /* Neutrals */
  --bg:               #FFFFFF;
  --bg-soft:          #F4F4F4;   /* lightGrey.main */
  --bg-mute:          #EBEBEB;   /* lightGrey.dark */
  --bg-card:          #F0F0F0;   /* MuiCard bg */
  --bg-overlay:       rgba(0, 0, 0, 0.30);
  --bg-overlay-dark:  rgba(0, 0, 0, 0.50);
  --bg-overlay-modal: rgba(0, 0, 0, 0.70);

  /* Borders */
  --border:           #E0E0E0;   /* TextField default */
  --border-hover:     #BDBDBD;   /* TextField hover */
  --border-card:      #D0D0D0;   /* MuiCard border */
  --border-muted:     #D9D9D9;   /* inputs (landing) */

  /* Semantic */
  --error:            #E14942;
  --error-soft:       rgba(225, 73, 66, 0.30);   /* containedError bg */
  --error-soft-hover: rgba(225, 73, 66, 0.50);
  --success:          #2E7D32;   /* MUI default green */
  --warning:          #ED6C02;
  --info:             var(--tia-teal);

  /* White-on-dark divider (footer, drawer) */
  --divider-on-dark:  rgba(255, 255, 255, 0.20);

  /* ---------- Typography — families ---------- */
  --font-sans:        'Figtree', Roboto, Helvetica, Arial, sans-serif;
  --font-display:     'Cormorant Garamond', 'Didot', 'Bodoni 72', Georgia, serif;
  --font-mono:        ui-monospace, 'Geist Mono', SFMono-Regular, Menlo, Consolas, monospace;

  /* ---------- Type scale — base ----------
     Exposes every size used by the MUI theme, landing pages, and forms. */
  --fs-hero:          230px;  /* hero "STUDIO" wordmark */
  --fs-display-xl:    180px;  /* landing features title */
  --fs-display-lg:    120px;  /* mid-bp features title */
  --fs-display-md:    80px;   /* mobile features title */
  --fs-h1:            36px;   /* landing section heading (streamline) */
  --fs-h2:            32px;   /* MUI h4 / modal title */
  --fs-h3:            24px;   /* MUI h5 / footer title */
  --fs-h4:            22px;   /* MUI h6 / feature description title */
  --fs-h5:            20px;   /* footer heading */
  --fs-body-lg:       18px;   /* nav, feature description, button */
  --fs-body:          16px;   /* MUI body1, footer body */
  --fs-body-sm:       14px;   /* MUI body2, overline */

  --fw-light:         300;
  --fw-regular:       400;
  --fw-medium:        500;
  --fw-semibold:      600;
  --fw-bold:          700;

  --lh-tight:         1;
  --lh-snug:          1.25;
  --lh-normal:        1.5;
  --lh-loose:         1.85;    /* 26/14 — footer body */

  --ls-button:        1.25px;  /* MUI button */
  --ls-footer-title:  2.4px;   /* "TIA STUDIO" wordmark */
  --ls-wide:          0.05em;  /* hero text */

  /* ---------- Radii ---------- */
  --radius-sm:        4px;    /* buttons */
  --radius-md:        10px;   /* cards, modal image */
  --radius-lg:        20px;   /* modals, feature cards, drawer */
  --radius-pill:      30px;   /* landing buttons, pill inputs */

  /* ---------- Shadows ---------- */
  --shadow-card:      0 4px 16px rgba(0, 0, 0, 0.30);   /* feature cards, side images */
  --shadow-nav:       0 1px 4px rgba(0, 0, 0, 0.25);    /* navbar */
  --shadow-btn:       0 4px 4px rgba(0, 0, 0, 0.25);    /* landing CTA buttons */
  --shadow-modal:     0 4px 4px rgba(0, 0, 0, 0.25);
  --shadow-text:      0 4px 4px rgba(0, 0, 0, 0.25);    /* hero text shadow */

  /* ---------- Spacing (8-based, with 4px fine step) ---------- */
  --sp-1:  4px;
  --sp-2:  8px;
  --sp-3:  12px;
  --sp-4:  16px;
  --sp-5:  20px;
  --sp-6:  24px;
  --sp-8:  32px;
  --sp-10: 40px;
  --sp-12: 48px;
  --sp-16: 64px;
  --sp-20: 80px;
  --sp-25: 100px;

  /* ---------- Motion ---------- */
  --ease-out:         cubic-bezier(0.22, 1, 0.36, 1);
  --ease-standard:    ease;
  --dur-quick:        120ms;
  --dur-base:         200ms;
  --dur-slow:         300ms;
  --dur-slower:       500ms;
}

/* ============================================================
   Semantic type roles — use these in components.
   ============================================================ */

html { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }

body {
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  color: var(--ink-850);
  background: var(--bg);
  line-height: var(--lh-normal);
}

.tia-hero {
  font-family: var(--font-sans);
  font-size: var(--fs-hero);
  font-weight: var(--fw-regular);
  line-height: var(--lh-tight);
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
  text-shadow: var(--shadow-text);
  color: #fff;
}

.tia-display {
  font-family: var(--font-sans);
  font-size: var(--fs-display-xl);
  font-weight: var(--fw-medium);
  line-height: 0.85;
  color: var(--ink-850);
}

h1, .tia-h1 {
  font-family: var(--font-sans);
  font-size: var(--fs-h1);
  font-weight: var(--fw-medium);
  line-height: 1.1;
  color: var(--ink-850);
  margin: 0;
}

h2, .tia-h2 {
  font-family: var(--font-sans);
  font-size: var(--fs-h2);
  font-weight: var(--fw-bold);       /* MUI h4 = 700 */
  line-height: 1.2;
  color: var(--ink-850);
  margin: 0;
}

h3, .tia-h3 {
  font-family: var(--font-sans);
  font-size: var(--fs-h3);
  font-weight: var(--fw-semibold);
  line-height: 1.3;
  color: var(--ink-850);
  margin: 0;
}

h4, .tia-h4 {
  font-family: var(--font-sans);
  font-size: var(--fs-h4);
  font-weight: var(--fw-semibold);
  line-height: 1.3;
  color: var(--ink-850);
  margin: 0;
}

h5, .tia-h5 {
  font-family: var(--font-sans);
  font-size: var(--fs-h5);
  font-weight: var(--fw-regular);
  line-height: 1.8;
  text-transform: uppercase;
  color: var(--ink-850);
  margin: 0;
}

p, .tia-body {
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  font-weight: var(--fw-regular);
  line-height: var(--lh-loose);
  color: var(--ink-850);
  margin: 0;
}

.tia-body-lg {
  font-family: var(--font-sans);
  font-size: var(--fs-body-lg);
  font-weight: var(--fw-regular);
  line-height: var(--lh-normal);
  color: var(--ink-850);
}

.tia-body-sm {
  font-family: var(--font-sans);
  font-size: var(--fs-body-sm);
  font-weight: var(--fw-regular);
  line-height: var(--lh-normal);
  color: var(--ink-700);
}

.tia-overline {
  font-family: var(--font-sans);
  font-size: var(--fs-body-sm);
  font-weight: var(--fw-semibold);
  color: var(--ink-400);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.tia-label {
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  font-weight: var(--fw-regular);
  color: var(--ink-700);
}

.tia-button {
  font-family: var(--font-sans);
  font-size: var(--fs-body-lg);
  font-weight: var(--fw-semibold);
  line-height: 36px;
  letter-spacing: var(--ls-button);
  text-transform: none;
}

code, .tia-mono {
  font-family: var(--font-mono);
  font-size: 13px;
}


/* ===== */

/* fallback */


.material-icons-outlined {
  font-family: 'Material Icons Outlined';
  font-weight: normal;
  font-style: normal;
  font-size: 24px;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  -webkit-font-feature-settings: 'liga';
  -webkit-font-smoothing: antialiased;
}


/* ===== */

/* TIA Studio — Pricing for Realtors & Brokers */

/* Material Icons ligature class — the Google Fonts URL only ships @font-face,
   so we have to declare this ourselves. */
.material-icons-outlined {
  font-family: 'Material Icons Outlined';
  font-weight: normal;
  font-style: normal;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  font-feature-settings: 'liga';
  -webkit-font-feature-settings: 'liga';
  -webkit-font-smoothing: antialiased;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; background: #fff; color: var(--ink-900); }
body { font-family: var(--font-sans); -webkit-font-smoothing: antialiased; }

a { color: inherit; text-decoration: none; }
button { font-family: inherit; }
img { display: block; max-width: 100%; }

:root {
  --accent: #0FA5AB;
  --accent-hover: #0D8C91;
  --page-pad: clamp(24px, 5vw, 96px);
}

/* ------- shared utilities ------- */
.eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}
.eyebrow-dark { color: var(--ink-700); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  font-family: var(--font-sans);
  font-weight: 500;
  cursor: pointer;
  transition: background 200ms var(--ease-out), color 200ms, border-color 200ms;
  white-space: nowrap;
}
.btn-pill {
  border-radius: var(--radius-pill);
  padding: 12px 26px;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  height: 42px;
}
.btn-dark {
  background: var(--ink-900);
  color: #fff;
  box-shadow: var(--shadow-btn);
}
.btn-dark:hover { background: #000; }
.btn-ghost {
  background: transparent;
  color: var(--ink-900);
  border: 1px solid var(--ink-900);
}
.btn-ghost:hover { background: var(--ink-900); color: #fff; }
.btn-teal {
  background: var(--accent);
  color: #fff;
}
.btn-teal:hover { background: var(--accent-hover); }
.btn-block { width: 100%; }

/* ------- nav ------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px var(--page-pad);
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
.nav-logo img { height: 22px; }
.nav-links { display: flex; gap: 36px; }
.nav-links a {
  font-size: 13px;
  color: var(--ink-900);
  font-weight: 400;
  transition: opacity 200ms;
}
.nav-links a:hover { opacity: 0.6; }
.nav-actions { display: flex; gap: 12px; align-items: center; }

.cart-bell {
  position: relative;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--ink-900);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 200ms, color 200ms;
}
.cart-bell:hover { background: var(--ink-900); color: #fff; }
.cart-bell .material-icons-outlined { font-size: 20px; }
.cart-count {
  position: absolute;
  top: -4px; right: -4px;
  background: var(--accent);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  border-radius: 999px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #fff;
}

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

/* ------- hero (full-bleed marketing) ------- */
.hero {
  position: relative;
  margin: 16px;
  border-radius: 28px;
  overflow: hidden;
  min-height: clamp(620px, 84vh, 880px);
  display: flex;
  align-items: center;
  justify-content: center;
  isolation: isolate;
}
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}
.hero-bg-fade {
  opacity: 0;
  transition: opacity 1400ms var(--ease-out);
}
.hero-bg-fade.active { opacity: 1; }
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0,0,0,0.18) 0%, rgba(0,0,0,0.45) 60%, rgba(0,0,0,0.55) 100%);
  z-index: -1;
}

.hero-content {
  width: 100%;
  max-width: 1100px;
  text-align: center;
  padding: clamp(48px, 8vw, 120px) var(--page-pad);
  color: #fff;
  position: relative;
  z-index: 1;
}
.hero-eyebrow-centered {
  display: inline-block;
  margin-bottom: 26px;
  color: rgba(255,255,255,0.85);
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.16);
  padding: 6px 14px;
  border-radius: 999px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.hero-display {
  font-family: var(--font-sans);
  font-size: clamp(56px, 9vw, 128px);
  line-height: 0.96;
  font-weight: 500;
  letter-spacing: -0.03em;
  color: #fff;
  margin: 0 0 28px;
  text-shadow: 0 2px 24px rgba(0,0,0,0.18);
}
.hero-sub-centered {
  font-size: clamp(18px, 1.8vw, 24px);
  line-height: 1.45;
  color: rgba(255,255,255,0.94);
  max-width: 760px;
  margin: 0 auto 38px;
  font-weight: 400;
  font-style: normal;
}
.hero-actions-centered {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 32px;
}
.btn-glass {
  background: rgba(255,255,255,0.12);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.4);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.btn-glass:hover {
  background: rgba(255,255,255,0.22);
  border-color: rgba(255,255,255,0.7);
}
.hero-trust-avatars {
  display: inline-flex;
  align-items: center;
}
.hero-trust-avatar {
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.92);
  overflow: hidden;
  display: block;
  box-shadow: 0 2px 6px rgba(0,0,0,0.18);
}
.hero-trust-centered {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 13px;
  color: rgba(255,255,255,0.82);
  background: rgba(0,0,0,0.18);
  border: 1px solid rgba(255,255,255,0.12);
  padding: 8px 16px 8px 12px;
  border-radius: 999px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.hero-staging-pill {
  position: absolute;
  top: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(0,0,0,0.32);
  border: 1px solid rgba(255,255,255,0.16);
  color: rgba(255,255,255,0.92);
  padding: 7px 14px 7px 12px;
  border-radius: 999px;
  font-size: 12px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.hero-staging-pill .material-icons-outlined { color: var(--accent); }
.hero-staging-pill strong { color: #fff; font-weight: 600; }
.hero-staging-dots {
  display: inline-flex;
  gap: 6px;
  margin-left: 4px;
}
.hero-staging-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.32);
  border: 0;
  cursor: pointer;
  padding: 0;
  transition: background 240ms, transform 240ms;
}
.hero-staging-dot:hover { background: rgba(255,255,255,0.55); }
.hero-staging-dot.active {
  background: var(--accent);
  transform: scale(1.15);
}

/* ------- floating product cards ------- */
.float-card {
  position: absolute;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 14px 40px rgba(0,0,0,0.20), 0 2px 6px rgba(0,0,0,0.08);
  z-index: 2;
  font-family: var(--font-sans);
}

.fc-listing {
  left: clamp(-12px, 1.5vw, 24px);
  bottom: clamp(-20px, -1.5vw, -24px);
  width: 290px;
  padding: 10px;
  animation: float-in-l 700ms var(--ease-out) both;
  animation-delay: 200ms;
}
.fc-listing-photo {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 4/3;
  margin-bottom: 12px;
}
.fc-listing-photo img { width: 100%; height: 100%; object-fit: cover; }
.fc-listing-status {
  position: absolute;
  top: 10px; left: 10px;
  background: var(--accent);
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 4px 9px;
  border-radius: 999px;
}
.fc-listing-body { padding: 4px 8px 8px; }
.fc-listing-row { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.fc-listing-name { font-size: 14px; font-weight: 600; color: var(--ink-900); }
.fc-listing-price {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 18px;
  color: var(--accent);
  font-weight: 400;
}
.fc-listing-meta {
  font-size: 11px;
  color: var(--ink-700);
  margin-top: 4px;
  margin-bottom: 12px;
}
.fc-listing-actions { display: flex; gap: 8px; }
.fc-btn-dark {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: var(--ink-900);
  color: #fff;
  border: 0;
  border-radius: 8px;
  padding: 8px 10px;
  font-family: inherit;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}
.fc-btn-ghost {
  flex: 1;
  background: transparent;
  color: var(--ink-900);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 8px 10px;
  font-family: inherit;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}
.fc-btn-ghost:hover { border-color: var(--ink-900); }

.fc-status {
  right: clamp(-8px, 2vw, 32px);
  top: clamp(80px, 12vh, 140px);
  width: 280px;
  padding: 14px 16px 14px 14px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  animation: float-in-r 700ms var(--ease-out) both;
  animation-delay: 350ms;
}
.fc-status-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(46,125,50,0.12);
  color: #2e7d32;
  border: 1px solid rgba(46,125,50,0.4);
  border-radius: 8px;
  padding: 4px 10px 4px 6px;
  font-size: 11px;
  font-weight: 600;
  flex-shrink: 0;
}
.fc-status-chip .material-icons-outlined { font-size: 14px; }
.fc-status-body { flex: 1; min-width: 0; }
.fc-status-title {
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-900);
  margin-bottom: 3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.fc-status-sub { font-size: 11px; color: var(--ink-700); }

.fc-delivery {
  right: clamp(-8px, 2vw, 24px);
  bottom: clamp(60px, 10vh, 120px);
  width: 320px;
  padding: 10px;
  display: flex;
  gap: 12px;
  align-items: center;
  animation: float-in-r 700ms var(--ease-out) both;
  animation-delay: 500ms;
}
.fc-delivery-thumb {
  width: 54px;
  height: 54px;
  border-radius: 10px;
  overflow: hidden;
  flex-shrink: 0;
}
.fc-delivery-thumb img { width: 100%; height: 100%; object-fit: cover; }
.fc-delivery-body { flex: 1; min-width: 0; }
.fc-delivery-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-900);
  margin-bottom: 3px;
}
.fc-delivery-sub { font-size: 11px; color: var(--ink-700); }
.fc-delivery-more {
  background: transparent;
  border: 0;
  color: var(--ink-500);
  cursor: pointer;
  padding: 4px;
}

@keyframes float-in-l {
  from { opacity: 0; transform: translateX(-20px) translateY(10px); }
  to   { opacity: 1; transform: translateX(0) translateY(0); }
}
@keyframes float-in-r {
  from { opacity: 0; transform: translateX(20px) translateY(10px); }
  to   { opacity: 1; transform: translateX(0) translateY(0); }
}

/* Hide floats on narrow screens, slim the hero card */
@media (max-width: 900px) {
  .fc-status, .fc-delivery { display: none; }
  .fc-listing { width: 220px; }
}
@media (max-width: 760px) {
  .hero { margin: 8px; border-radius: 18px; min-height: 540px; }
  .fc-listing { display: none; }
  .hero-display { font-size: clamp(46px, 13vw, 72px); }
}

/* ------- section frame ------- */
.section { padding: clamp(60px, 8vw, 120px) var(--page-pad); }
.section-head { max-width: 980px; margin: 0 auto clamp(40px, 5vw, 64px); text-align: center; }
.section-head .eyebrow { margin-bottom: 14px; font-size: 14px; }
.section-head h2 {
  font-size: clamp(32px, 3.8vw, 48px);
  line-height: 1.05;
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--ink-900);
  margin: 0 0 16px;
}
.section-head h2 em {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--accent);
  font-weight: 400;
}
.section-head p {
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink-700);
}
.section-bg-soft { background: var(--bg-soft); }
.section-bg-ink { background: var(--ink-900); color: #fff; }
.section-bg-ink h2, .section-bg-ink .section-head p { color: #fff; }

/* ============================================================
   Custom / add-ons card — inherits .svc-card (white shell), with
   a distinct cream "studio kit" hero panel and an editorial
   deliverables list in place of features.
   ============================================================ */
.svc-card.svc-card-custom { position: relative; }
.svc-card.svc-card-custom::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--accent);
  border-top-left-radius: var(--radius-lg);
  border-bottom-left-radius: var(--radius-lg);
  z-index: 3;
  pointer-events: none;
}

/* Hero "photo" panel — cream paper, editorial */
.svc-photo.svc-custom-photo {
  background:
    radial-gradient(120% 80% at 85% 0%, rgba(15,165,171,0.10), transparent 55%),
    linear-gradient(180deg, #F2ECDF 0%, #E8E0D0 100%);
  display: flex;
  align-items: stretch;
  justify-content: stretch;
  padding: 28px 30px 70px;
  position: relative;
}
/* Subtle paper grid */
.svc-photo.svc-custom-photo::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(43,47,51,0.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(43,47,51,0.06) 1px, transparent 1px);
  background-size: 28px 28px;
  background-position: -1px -1px;
  mask-image: radial-gradient(120% 80% at 50% 30%, #000 35%, transparent 80%);
  -webkit-mask-image: radial-gradient(120% 80% at 50% 30%, #000 35%, transparent 80%);
  pointer-events: none;
}
.svc-photo.svc-custom-photo::after { display: none; }

.svc-custom-kit {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
  width: 100%;
  padding-top: 18px;
}
.svc-custom-kit-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
}
.svc-custom-kit-eyebrow::before {
  content: '';
  width: 22px; height: 1px;
  background: var(--accent);
  display: inline-block;
}
.svc-custom-kit-headline {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: clamp(34px, 3.4vw, 48px);
  line-height: 1.02;
  letter-spacing: -0.025em;
  color: var(--ink-900);
  max-width: 12ch;
}
.svc-custom-kit-headline em {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  color: var(--accent);
}
.svc-custom-kit-body {
  margin: 4px 0 0;
  font-size: 13px;
  line-height: 1.55;
  color: var(--ink-700);
  max-width: 34ch;
}

/* Make the "Full launch kit" name look at home on the cream panel */
.svc-photo.svc-custom-photo .svc-name {
  color: var(--ink-900);
  text-shadow: none;
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  padding: 6px 12px;
  border-radius: 30px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  border: 1px solid rgba(43,47,51,0.08);
}

/* Editorial price line */
.svc-custom-price .num {
  font-size: 30px;
  font-weight: 400;
}
.svc-custom-price .num em {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  color: var(--accent);
}

/* Deliverables list — rows with hairline dividers, no boxes */
.svc-custom-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--border);
}
.svc-custom-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}
.svc-custom-list-icon {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: rgba(15,165,171,0.10);
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.svc-custom-list-icon .material-icons-outlined { font-size: 18px; }
.svc-custom-list-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.svc-custom-list-text strong {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-900);
  letter-spacing: -0.005em;
}
.svc-custom-list-text > span {
  font-size: 12px;
  color: var(--ink-700);
  line-height: 1.4;
}

@media (max-width: 560px) {
  .svc-photo.svc-custom-photo { padding: 22px 22px 60px; }
  .svc-custom-kit-headline { font-size: 32px; }
}

/* ============================================================
   Logo wall (clients)
   ============================================================ */
.section-logos { padding-top: 72px; padding-bottom: 72px; background: #fff; }
.logo-wall {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 44px;
  align-items: center;
}
.logo-wall-head {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.logo-wall-head .eyebrow {
  color: var(--accent);
  margin-bottom: 4px;
}
.logo-wall-head h2 {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: clamp(32px, 3.6vw, 46px);
  line-height: 1.1;
  letter-spacing: -0.015em;
  color: var(--ink-900);
  margin: 0;
}
.logo-wall-head p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-700);
  margin: 0;
  max-width: 48ch;
}
.logo-strip {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
  width: 100%;
  align-items: center;
}
.logo-cell {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 120px;
  padding: 16px 22px;
  background: transparent;
  border: 0;
  transition: transform 220ms;
}
.logo-cell:hover {
  transform: translateY(-2px);
}
.logo-cell img {
  max-height: 84px;
  max-width: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}
@media (max-width: 960px) {
  .logo-strip { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .logo-cell { height: 104px; }
  .logo-cell img { max-height: 72px; }
}
@media (max-width: 560px) {
  .logo-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .logo-cell { height: 88px; padding: 14px 16px; }
  .logo-cell img { max-height: 56px; }
}

/* ============================================================
   Custom quote section (legacy, standalone — kept for reference)
   ============================================================ */
.custom-quote {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 72px;
  align-items: start;
  max-width: 1200px;
  margin: 0 auto;
}
.custom-quote-left .eyebrow { color: var(--accent); }
.custom-quote-left h2 {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin: 14px 0 18px;
  max-width: 14ch;
}
.custom-quote-left h2 em {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  color: var(--accent);
}
.custom-quote-lede {
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-700);
  margin: 0 0 28px;
  max-width: 54ch;
}
.custom-quote-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 36px;
}
.custom-quote-actions .btn {
  text-decoration: none;
}
.custom-quote-meta {
  display: flex;
  gap: 36px;
  flex-wrap: wrap;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}
.custom-quote-meta strong {
  display: block;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: 28px;
  color: var(--ink-900);
  line-height: 1;
}
.custom-quote-meta span {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-700);
  margin-top: 6px;
}

.custom-list {
  list-style: none;
  margin: 0;
  padding: 0;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
}
.custom-list li {
  display: flex;
  gap: 18px;
  padding: 22px 24px;
  border-bottom: 1px solid var(--border);
  transition: background 200ms;
}
.custom-list li:last-child { border-bottom: 0; }
.custom-list li:hover { background: var(--bg-soft); }
.custom-list-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--bg-soft);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  flex-shrink: 0;
}
.custom-list h4 {
  font-size: 16px;
  font-weight: 600;
  color: var(--ink-900);
  margin: 0 0 4px;
}
.custom-list p {
  font-size: 13px;
  line-height: 1.55;
  color: var(--ink-700);
  margin: 0;
}

@media (max-width: 880px) {
  .custom-quote { grid-template-columns: 1fr; gap: 40px; }
  .custom-quote-meta { gap: 24px; }
}
.section-bg-ink .eyebrow { color: var(--accent); }

/* ------- services grid ------- */
.mode-toggle {
  display: inline-flex;
  margin: 32px auto 0;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 4px;
  gap: 4px;
}
.mode-toggle button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  background: transparent;
  border: 0;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-700);
  border-radius: 999px;
  cursor: pointer;
  transition: all 200ms;
  letter-spacing: 0.02em;
}
.mode-toggle button .material-icons-outlined { color: var(--ink-500); transition: color 200ms; }
.mode-toggle button:hover:not(.active) { color: var(--ink-900); }
.mode-toggle button.active {
  background: var(--ink-900);
  color: #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.12);
}
.mode-toggle button.active .material-icons-outlined { color: var(--accent); }

.pricing-note {
  text-align: center;
  font-size: 12px;
  color: var(--ink-700);
  margin-top: 40px;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}
.pricing-note strong { color: var(--ink-900); font-weight: 600; }

.services {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  max-width: 1320px;
  margin: 0 auto;
}
.services.dense {
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
@media (max-width: 1100px) {
  .services.dense { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 700px) {
  .services, .services.dense { grid-template-columns: 1fr; }
}

.svc-card {
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 200ms, transform 200ms, box-shadow 200ms;
  position: relative;
}
.svc-card:hover {
  border-color: var(--accent);
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}
.svc-card.featured {
  border: 2px solid var(--accent);
}
.svc-card.featured:hover { transform: translateY(-2px); }
.svc-card.in-cart {
  border-color: var(--accent);
  box-shadow: 0 8px 24px rgba(15,165,171,0.18);
}

.svc-photo {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
}
.svc-photo img { width: 100%; height: 100%; object-fit: cover; }
.svc-photo::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0) 40%, rgba(0,0,0,0.55));
}
.svc-photo-contain::after { background: none; }
.svc-photo-contain img {
  transition: transform 400ms var(--ease-out);
}
.svc-card:hover .svc-photo-contain img { transform: scale(1.02); }

.svc-name-body {
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--ink-900);
  margin: 0;
}
.svc-photo .svc-name {
  position: absolute;
  left: 22px; bottom: 18px;
  color: #fff;
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.01em;
  z-index: 2;
}
.svc-photo .svc-ribbon {
  position: absolute;
  top: 16px; left: 16px;
  background: rgba(255,255,255,0.95);
  border-radius: 30px;
  padding: 6px 12px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-900);
  z-index: 2;
}
.svc-photo .svc-ribbon.teal { background: var(--accent); color: #fff; }

/* Editorial "Designer curated" badge — overlays the staging photo card */
.svc-photo .svc-designer-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px 8px 12px;
  background: var(--ink-900);
  color: #fff;
  border-radius: 999px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.18), 0 1px 3px rgba(0,0,0,0.12);
  max-width: 220px;
}
.svc-photo .svc-designer-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  flex-shrink: 0;
}
.svc-photo .svc-designer-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
.svc-photo .svc-designer-eyebrow {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.svc-photo .svc-designer-sub {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: 12px;
  color: rgba(255,255,255,0.78);
  margin-top: 2px;
  letter-spacing: 0.005em;
}

/* Interactive room picker (Interactive Staging service card) */
.svc-room-picker {
  display: flex;
  aspect-ratio: 16/10;
  background: #1a1a1a;
  overflow: hidden;
}
.svc-room-picker::after { display: none; }
.svc-room-nav {
  flex: 0 0 132px;
  background: #1a1a1a;
  padding: 14px 10px 14px 14px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  border-right: 1px solid rgba(255,255,255,0.08);
}
.svc-room-nav-label {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  padding: 4px 8px 10px;
}
.svc-room-nav-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: 0;
  color: rgba(255,255,255,0.7);
  font-family: inherit;
  font-size: 12px;
  font-weight: 500;
  text-align: left;
  padding: 8px 10px;
  border-radius: 6px;
  cursor: pointer;
  transition: background 160ms, color 160ms;
}
.svc-room-nav-btn:hover {
  color: #fff;
  background: rgba(255,255,255,0.06);
}
.svc-room-nav-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
  transition: background 160ms, transform 160ms;
  flex-shrink: 0;
}
.svc-room-nav-btn.active {
  color: #fff;
  background: rgba(255,255,255,0.08);
}
.svc-room-nav-btn.active .svc-room-nav-dot {
  background: var(--accent);
  transform: scale(1.4);
}
.svc-room-stage {
  flex: 1;
  position: relative;
  overflow: hidden;
}
.svc-room-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 320ms var(--ease-out);
  z-index: 1;
}
.svc-room-img.active { opacity: 1; }
.svc-room-caption {
  position: absolute;
  left: 14px;
  bottom: 12px;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-shadow: 0 1px 3px rgba(0,0,0,0.5);
  z-index: 2;
  background: rgba(0,0,0,0.35);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 4px 10px;
  border-radius: 30px;
}

.svc-body {
  padding: 24px 26px 26px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex: 1;
}
.svc-tag {
  font-size: 14px;
  color: var(--ink-700);
  line-height: 1.55;
  margin: 0;
}

.svc-price {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding-top: 6px;
  border-top: 1px solid var(--border);
  padding-top: 18px;
  flex-wrap: wrap;
}
.svc-price .num {
  font-size: 38px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--ink-900);
  font-family: var(--font-sans);
  line-height: 1;
}
.svc-price .num em {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
}
.svc-price .unit {
  font-size: 13px;
  color: var(--ink-700);
}
.svc-price .plus-mo {
  font-size: 13px;
  color: var(--ink-700);
  margin-left: auto;
  text-align: right;
}
.svc-price .plus-mo strong {
  display: block;
  font-weight: 600;
  color: var(--ink-900);
  font-size: 15px;
}

.svc-features {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.svc-features li {
  font-size: 13px;
  color: var(--ink-800);
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.45;
}
.svc-features li .material-icons-outlined {
  font-size: 16px;
  color: var(--accent);
  margin-top: 1px;
}

.svc-qty {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 4px;
  border-top: 1px dashed var(--border);
}
.svc-qty-label { font-size: 13px; color: var(--ink-700); }
.svc-qty-hint { color: var(--accent); font-weight: 600; }

.svc-add-btn {
  margin-top: auto;
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 48px;
  padding: 0 20px;
  background: var(--ink-900);
  color: #fff;
  border: 0;
  border-radius: var(--radius-pill);
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: background 200ms var(--ease-out), transform 200ms var(--ease-out);
}
.svc-add-btn:hover { background: #3A3A3D; }
.svc-add-btn:active { transform: scale(0.99); }
.svc-add-btn.added {
  background: var(--accent);
  color: #fff;
}
.svc-add-btn.added:hover { background: var(--accent-hover, #0D8C91); }
.svc-add-btn .material-icons-outlined { transition: transform 200ms var(--ease-out); }
.svc-add-btn:hover .material-icons-outlined { transform: translateX(2px); }
.qty-stepper {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  overflow: hidden;
}
.qty-stepper button {
  width: 32px;
  height: 32px;
  background: transparent;
  border: 0;
  cursor: pointer;
  color: var(--ink-900);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.qty-stepper button:hover { background: var(--bg-mute); }
.qty-stepper button:disabled { color: var(--ink-500); cursor: not-allowed; }
.qty-stepper .qty-val {
  min-width: 30px;
  text-align: center;
  font-size: 14px;
  font-weight: 600;
}

.svc-cta { margin-top: auto; }
.svc-cta .btn {
  width: 100%;
  border-radius: var(--radius-sm);
  height: 46px;
  padding: 0 18px;
  text-transform: none;
  letter-spacing: 0;
  font-size: 14px;
  font-weight: 600;
  background: var(--ink-900);
  color: #fff;
}
.svc-cta .btn:hover { background: #000; }
.svc-cta .btn.in-cart { background: var(--accent); }
.svc-cta .btn.in-cart:hover { background: var(--accent-hover); }

/* ------- how it works ------- */
.howit {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: 1320px;
  margin: 0 auto;
}
@media (max-width: 980px) { .howit { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .howit { grid-template-columns: 1fr; } }

.howit-step {
  position: relative;
  padding: 28px 24px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-md);
  background: rgba(255,255,255,0.03);
}
.howit-step .num {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 56px;
  line-height: 1;
  color: var(--accent);
  margin-bottom: 14px;
}
.howit-step h4 {
  font-size: 18px;
  font-weight: 500;
  color: #fff;
  margin: 0 0 8px;
}
.howit-step p {
  font-size: 13px;
  color: rgba(255,255,255,0.7);
  line-height: 1.6;
  margin: 0;
}
.howit-step .duration {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-top: 16px;
  font-weight: 600;
}

/* ------- showcase ------- */
.showcase {
  max-width: 1320px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}
@media (max-width: 880px) { .showcase { grid-template-columns: 1fr; } }
.showcase-photos {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-template-rows: 1fr 1fr;
  gap: 14px;
  aspect-ratio: 5/4;
}
.showcase-photos > div { border-radius: var(--radius-md); overflow: hidden; }
.showcase-photos > div img { width: 100%; height: 100%; object-fit: cover; }
.showcase-photos .p1 { grid-column: 1 / 5; grid-row: 1 / 2; }
.showcase-photos .p2 { grid-column: 5 / 7; grid-row: 1 / 2; }
.showcase-photos .p3 { grid-column: 1 / 3; grid-row: 2 / 3; }
.showcase-photos .p4 { grid-column: 3 / 7; grid-row: 2 / 3; }

.showcase blockquote {
  margin: 0;
  font-size: clamp(24px, 2.4vw, 30px);
  line-height: 1.35;
  font-weight: 400;
  color: var(--ink-900);
  letter-spacing: -0.01em;
}
.showcase blockquote em {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--accent);
  font-weight: 400;
}
.showcase cite {
  display: block;
  font-style: normal;
  margin-top: 26px;
  font-size: 13px;
  color: var(--ink-700);
}
.showcase cite strong { display: block; color: var(--ink-900); font-weight: 600; font-size: 14px; }

/* ------- Why TIA ------- */
.section-why {
  background: var(--bg-soft);
}
.why-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 80px;
  align-items: start;
}
.why-head .eyebrow { color: var(--accent); margin-bottom: 18px; }
.why-head h2 {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: clamp(34px, 3.4vw, 46px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--ink-900);
  margin: 0 0 22px;
  max-width: 18ch;
}
.why-head h2 em {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  color: var(--accent);
}
.why-lede {
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-700);
  margin: 0;
  max-width: 38ch;
}
.why-lede strong {
  color: var(--ink-900);
  font-weight: 600;
}

.why-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 36px;
  row-gap: 4px;
  border-top: 1px solid var(--border);
}
.why-item {
  display: grid;
  grid-template-columns: 64px 1fr;
  align-items: baseline;
  gap: 16px;
  padding: 22px 0 20px;
  border-bottom: 1px solid var(--border);
}
.why-num {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: 30px;
  color: var(--accent);
  line-height: 1;
  letter-spacing: -0.01em;
}
.why-text {
  font-size: 17px;
  line-height: 1.4;
  color: var(--ink-900);
  font-weight: 500;
  letter-spacing: -0.005em;
  text-wrap: pretty;
}

@media (max-width: 960px) {
  .why-grid { grid-template-columns: 1fr; gap: 36px; }
  .why-list { grid-template-columns: 1fr; }
  .why-num { font-size: 24px; }
  .why-text { font-size: 15px; }
}

/* ------- FAQ ------- */
.faq {
  max-width: 820px;
  margin: 0 auto;
}
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 4px;
  font-size: 17px;
  font-weight: 500;
  color: var(--ink-900);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .material-icons-outlined {
  transition: transform 200ms;
  color: var(--accent);
  font-size: 22px;
}
.faq-item[open] summary .material-icons-outlined { transform: rotate(45deg); }
.faq-item .faq-body {
  padding: 0 4px 22px;
  font-size: 14px;
  line-height: 1.65;
  color: var(--ink-700);
  max-width: 720px;
}

/* ------- footer ------- */
.foot {
  background: var(--ink-900);
  color: #fff;
  padding: 80px var(--page-pad) 36px;
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 48px;
  max-width: 1320px;
  margin: 0 auto 56px;
}
@media (max-width: 880px) { .foot-grid { grid-template-columns: 1fr 1fr; gap: 32px; } }
.foot-brand img { height: 22px; }
.foot-brand p {
  margin-top: 24px;
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  line-height: 1.7;
  max-width: 280px;
}
.foot-col h5 {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin: 0 0 18px;
  font-weight: 600;
}
.foot-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.foot-col li { font-size: 13px; color: rgba(255,255,255,0.85); }
.foot-col a:hover { color: var(--accent); }

.foot-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 24px;
  max-width: 1320px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  flex-wrap: wrap;
  gap: 16px;
}

/* ------- cart drawer ------- */
.drawer-scrim {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.50);
  z-index: 60;
  opacity: 0;
  pointer-events: none;
  transition: opacity 240ms;
}
.drawer-scrim.open { opacity: 1; pointer-events: auto; }
.drawer {
  position: fixed;
  top: 0; right: 0;
  height: 100vh;
  width: min(460px, 100vw);
  background: #fff;
  z-index: 61;
  transform: translateX(100%);
  transition: transform 280ms var(--ease-out);
  display: flex;
  flex-direction: column;
  box-shadow: -8px 0 32px rgba(0,0,0,0.18);
}
.drawer.open { transform: translateX(0); }

.drawer-head {
  display: flex; justify-content: space-between; align-items: center;
  padding: 24px 28px;
  border-bottom: 1px solid var(--border);
}
.drawer-head h3 { font-size: 18px; font-weight: 600; margin: 0; }
.drawer-close {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--bg-soft);
  border: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.drawer-close:hover { background: var(--bg-mute); }

.drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 8px 28px 12px;
}

.drawer-empty {
  text-align: center;
  padding: 80px 0;
  color: var(--ink-700);
}
.drawer-empty .material-icons-outlined {
  font-size: 56px;
  color: var(--ink-500);
  margin-bottom: 16px;
}
.drawer-empty h4 { font-size: 18px; font-weight: 500; margin: 0 0 6px; color: var(--ink-900); }
.drawer-empty p { font-size: 14px; margin: 0; }

.cart-item {
  display: flex;
  gap: 14px;
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
}
.cart-item img {
  width: 70px; height: 70px; object-fit: cover;
  border-radius: var(--radius-md);
  flex-shrink: 0;
}
.cart-item-info { flex: 1; min-width: 0; }
.cart-item-info h5 { font-size: 14px; font-weight: 600; margin: 0 0 4px; color: var(--ink-900); }
.cart-item-info .sub { font-size: 12px; color: var(--ink-700); margin-bottom: 8px; }
.cart-item-info .price {
  font-size: 13px;
  color: var(--ink-900);
  font-weight: 600;
}
.cart-item-info .price .mo {
  display: block;
  font-size: 11px;
  color: var(--ink-700);
  font-weight: 400;
  margin-top: 2px;
}
.cart-item-remove {
  background: transparent;
  border: 0;
  color: var(--ink-500);
  cursor: pointer;
  align-self: flex-start;
  padding: 4px;
}
.cart-item-remove:hover { color: var(--error); }
.cart-item-controls { display: flex; justify-content: space-between; align-items: center; margin-top: 8px; }
.cart-item-controls .qty-stepper { transform: scale(0.92); transform-origin: left center; }

.drawer-foot {
  border-top: 1px solid var(--border);
  padding: 22px 28px 26px;
  background: var(--bg-soft);
}
.totals { margin-bottom: 18px; }
.totals .line {
  display: flex; justify-content: space-between;
  font-size: 14px;
  color: var(--ink-800);
  padding: 4px 0;
}
.totals .line.due {
  font-weight: 600;
  font-size: 18px;
  color: var(--ink-900);
  border-top: 1px solid var(--border);
  padding-top: 14px;
  margin-top: 10px;
}
.totals .line.mo { color: var(--ink-700); font-size: 13px; }

/* ------- checkout modal ------- */
.modal-scrim {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.70);
  z-index: 70;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms;
}
.modal-scrim.open { opacity: 1; pointer-events: auto; }
.modal {
  background: #fff;
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 880px;
  max-height: 92vh;
  box-shadow: var(--shadow-card);
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  overflow: hidden;
  transform: translateY(20px) scale(0.98);
  transition: transform 280ms var(--ease-out);
}
.modal-scrim.open .modal { transform: translateY(0) scale(1); }
@media (max-width: 760px) {
  .modal { grid-template-columns: 1fr; max-height: 96vh; }
}

.modal-left {
  padding: 36px 40px 32px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}
.modal-right {
  background: var(--bg-soft);
  padding: 36px 32px;
  overflow-y: auto;
  border-left: 1px solid var(--border);
}
@media (max-width: 760px) {
  .modal-right { border-left: 0; border-top: 1px solid var(--border); }
}

.modal-close {
  position: absolute;
  top: 16px; right: 16px;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(0,0,0,0.06);
  border: 0;
  cursor: pointer;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.modal-close:hover { background: rgba(0,0,0,0.12); }

.checkout-steps {
  display: flex;
  gap: 6px;
  margin-bottom: 24px;
}
.checkout-steps .step {
  flex: 1;
  height: 3px;
  background: var(--border);
  border-radius: 2px;
}
.checkout-steps .step.active { background: var(--accent); }
.checkout-steps .step.done { background: var(--ink-900); }

.modal-left h3 {
  font-size: 24px;
  font-weight: 500;
  letter-spacing: -0.01em;
  margin: 0 0 6px;
  color: var(--ink-900);
}
.modal-left .step-sub { font-size: 14px; color: var(--ink-700); margin-bottom: 28px; }

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}
.field label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  color: var(--ink-700);
}
.field input, .field select, .field textarea {
  font-family: inherit;
  font-size: 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  outline: none;
  transition: border-color 200ms;
  background: #fff;
}
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--border-hover); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--accent); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field-row.three { grid-template-columns: 2fr 1fr 1fr; }

.modal-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  padding-top: 24px;
  gap: 12px;
}
.modal-actions .btn-back {
  background: transparent;
  border: 0;
  color: var(--ink-700);
  cursor: pointer;
  font-size: 14px;
  padding: 8px 4px;
}
.modal-actions .btn-back:hover { color: var(--ink-900); }
.modal-actions .btn-primary {
  background: var(--ink-900);
  color: #fff;
  border: 0;
  border-radius: var(--radius-sm);
  padding: 14px 32px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}
.modal-actions .btn-primary:hover { background: #000; }

.modal-right h4 {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin: 0 0 18px;
  color: var(--ink-700);
  font-weight: 600;
}
.summary-item {
  display: flex;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
}
.summary-item:last-of-type { border-bottom: 0; }
.summary-item img { width: 44px; height: 44px; object-fit: cover; border-radius: 6px; }
.summary-item .info { flex: 1; }
.summary-item .info .name { font-weight: 600; color: var(--ink-900); margin-bottom: 2px; }
.summary-item .info .qty { font-size: 11px; color: var(--ink-500); }
.summary-item .price-col { text-align: right; font-weight: 600; color: var(--ink-900); }
.summary-item .price-col .mo { display: block; font-size: 10px; color: var(--ink-700); font-weight: 400; }

.summary-totals {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
}
.summary-totals .line {
  display: flex; justify-content: space-between;
  font-size: 13px;
  padding: 4px 0;
  color: var(--ink-800);
}
.summary-totals .line.due {
  font-weight: 700;
  font-size: 18px;
  color: var(--ink-900);
  border-top: 1px solid var(--border);
  padding-top: 12px;
  margin-top: 10px;
}

.summary-tax {
  margin-top: 24px;
  padding: 14px;
  background: #fff;
  border-radius: var(--radius-md);
  font-size: 12px;
  color: var(--ink-700);
  line-height: 1.55;
  display: flex;
  gap: 10px;
}
.summary-tax .material-icons-outlined { font-size: 18px; color: var(--accent); flex-shrink: 0; }

.card-input {
  position: relative;
}
.card-input .brand-icons {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  gap: 6px;
  pointer-events: none;
}
.card-input .brand-icons span {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--ink-500);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 3px;
  padding: 2px 5px;
}

.payment-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 22px;
}
.payment-tabs button {
  flex: 1;
  padding: 12px;
  border: 1px solid var(--border);
  background: #fff;
  border-radius: var(--radius-md);
  cursor: pointer;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-weight: 500;
  color: var(--ink-800);
  transition: all 200ms;
}
.payment-tabs button.active { border-color: var(--accent); background: rgba(15,165,171,0.06); color: var(--accent); }
.payment-tabs button:hover:not(.active) { border-color: var(--border-hover); }

.confirm {
  text-align: center;
  padding: 24px 12px 12px;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.confirm-check {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: rgba(15,165,171,0.14);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.confirm-check .material-icons-outlined {
  font-size: 40px;
  color: var(--accent);
}
.confirm h3 { font-size: 28px; font-weight: 400; letter-spacing: -0.01em; margin: 0 0 10px; }
.confirm h3 em { font-family: var(--font-display); font-style: italic; color: var(--accent); }
.confirm p { font-size: 15px; color: var(--ink-700); line-height: 1.6; max-width: 380px; margin: 0 auto 28px; }
.confirm .order-num {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--ink-700);
  margin-bottom: 28px;
}
.confirm .order-num strong { color: var(--ink-900); }

.next-steps {
  background: var(--bg-soft);
  border-radius: var(--radius-md);
  padding: 22px;
  text-align: left;
  width: 100%;
  max-width: 460px;
  margin: 0 auto;
}
.next-steps h5 { font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-700); margin: 0 0 14px; font-weight: 600; }
.next-steps ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.next-steps li { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--ink-800); line-height: 1.5; }
.next-steps li .material-icons-outlined { color: var(--accent); font-size: 18px; margin-top: 1px; }

/* ============================================================
   "Try a live sample" — card link + preview modal
   ============================================================ */

.svc-try-sample {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  background: transparent;
  border: 0;
  padding: 6px 0;
  margin: -4px 0 0;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  cursor: pointer;
  letter-spacing: 0.02em;
  transition: gap 200ms var(--ease-out), color 200ms;
}
.svc-try-sample:hover { gap: 12px; color: var(--accent-hover); }
.svc-try-sample .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(15,165,171,0.16);
  animation: tia-pulse 2s ease-in-out infinite;
}
@keyframes tia-pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(15,165,171,0.16); }
  50% { box-shadow: 0 0 0 8px rgba(15,165,171,0.04); }
}

/* ----- modal shell ----- */
.sample-scrim {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.78);
  z-index: 80;
  display: flex; align-items: center; justify-content: center;
  padding: 28px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 240ms;
}
.sample-scrim.open { opacity: 1; pointer-events: auto; }

.sample-shell {
  width: 100%;
  max-width: 1240px;
  height: min(92vh, 920px);
  background: var(--ink-900);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0,0,0,0.5);
  transform: scale(0.96);
  transition: transform 280ms var(--ease-out);
}
.sample-scrim.open .sample-shell { transform: scale(1); }

.sample-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 28px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  flex-shrink: 0;
  gap: 16px;
}
.sample-head-left h3 {
  color: #fff;
  font-size: 18px;
  font-weight: 500;
  margin: 2px 0 0;
}
.sample-head-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.device-toggle {
  display: inline-flex;
  background: rgba(255,255,255,0.06);
  border-radius: 999px;
  padding: 4px;
}
.device-toggle button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: transparent;
  border: 0;
  color: rgba(255,255,255,0.7);
  font-family: inherit;
  font-size: 12px;
  font-weight: 600;
  border-radius: 999px;
  cursor: pointer;
  transition: all 200ms;
}
.device-toggle button.active {
  background: #fff;
  color: var(--ink-900);
}
.device-toggle button:hover:not(.active) { color: #fff; }

.sample-close {
  width: 36px; height: 36px;
  background: rgba(255,255,255,0.08);
  border: 0;
  border-radius: 50%;
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.sample-close:hover { background: rgba(255,255,255,0.16); }

.sample-stage {
  flex: 1;
  background:
    radial-gradient(circle at 50% 30%, rgba(15,165,171,0.08), transparent 60%),
    var(--ink-900);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 36px 28px;
  overflow: hidden;
  position: relative;
}
.sample-stage.device-phone { padding: 28px 28px 0; align-items: flex-start; }

.sample-device {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 24px 48px rgba(0,0,0,0.5);
  display: flex;
  flex-direction: column;
}
.sample-device.desktop {
  width: 100%;
  max-width: 1080px;
  height: 100%;
  max-height: 100%;
}
.sample-device.phone {
  width: 380px;
  height: 100%;
  max-height: 760px;
  border-radius: 36px;
  border: 8px solid #1a1a1a;
}

.sample-viewport {
  flex: 1;
  overflow-y: auto;
  background: #fff;
  scrollbar-width: thin;
}
.sample-viewport::-webkit-scrollbar { width: 6px; }
.sample-viewport::-webkit-scrollbar-thumb { background: rgba(0,0,0,0.16); border-radius: 4px; }

/* ----- Browser chrome ----- */
.browser-chrome {
  display: flex;
  align-items: center;
  padding: 10px 14px;
  background: #f4f4f4;
  border-bottom: 1px solid #e0e0e0;
  gap: 14px;
  flex-shrink: 0;
}
.browser-lights {
  display: flex;
  gap: 6px;
}
.browser-lights span {
  width: 10px; height: 10px; border-radius: 50%;
}
.browser-lights span:nth-child(1) { background: #fc5752; }
.browser-lights span:nth-child(2) { background: #fdbb2e; }
.browser-lights span:nth-child(3) { background: #28c83f; }
.browser-url {
  flex: 1;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 16px;
  padding: 5px 14px;
  font-size: 12px;
  color: var(--ink-700);
  text-align: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.browser-url .material-icons-outlined { color: #28c83f; }

.phone-chrome {
  flex-shrink: 0;
  background: #fff;
}
.phone-status {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 24px 4px;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-900);
  position: relative;
}
.phone-notch {
  width: 90px;
  height: 22px;
  background: #1a1a1a;
  border-radius: 12px;
  position: absolute;
  left: 50%;
  top: 4px;
  transform: translateX(-50%);
}
.phone-status-right { display: flex; gap: 5px; }

/* ============================================================
   Mock single listing site
   ============================================================ */

.mock-listing {
  font-family: var(--font-sans);
  background: #fff;
  color: var(--ink-900);
}
.mock-listing.phone { font-size: 13px; }

.ml-nav {
  position: sticky;
  top: 0;
  z-index: 4;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 24px;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(0,0,0,0.05);
}
.mock-listing.phone .ml-nav { padding: 10px 16px; }
.ml-nav-logo { display: flex; flex-direction: column; }
.ml-nav-links { display: flex; align-items: center; gap: 22px; }
.ml-nav-links a {
  font-size: 12px;
  color: var(--ink-800);
  cursor: pointer;
}
.ml-nav-links a:hover { color: var(--accent); }
.ml-cta {
  background: var(--ink-900);
  color: #fff;
  border: 0;
  border-radius: 999px;
  padding: 7px 16px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  cursor: pointer;
}
.ml-nav-burger {
  background: transparent;
  border: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-900);
}

.ml-hero {
  position: relative;
  aspect-ratio: 21/9;
  overflow: hidden;
}
.mock-listing.phone .ml-hero { aspect-ratio: 4/5; }
.ml-hero img {
  width: 100%; height: 100%;
  object-fit: cover;
  animation: ml-fade 300ms ease-out;
}
@keyframes ml-fade {
  from { opacity: 0; transform: scale(1.02); }
  to { opacity: 1; transform: scale(1); }
}
.ml-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.15) 30%, rgba(0,0,0,0.65));
}
.ml-hero-content {
  position: absolute;
  left: 32px; right: 32px; bottom: 28px;
  color: #fff;
}
.mock-listing.phone .ml-hero-content { left: 18px; right: 18px; bottom: 18px; }
.ml-hero-content h1 {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: 56px;
  line-height: 1;
  letter-spacing: -0.01em;
  margin: 0 0 12px;
  color: #fff;
}
.mock-listing.phone .ml-hero-content h1 { font-size: 34px; margin-bottom: 8px; }
.ml-hero-content p {
  font-size: 15px;
  line-height: 1.5;
  color: rgba(255,255,255,0.88);
  max-width: 540px;
  margin: 0 0 20px;
}
.mock-listing.phone .ml-hero-content p { font-size: 12px; margin-bottom: 14px; }
.ml-hero-stats {
  display: flex;
  gap: 32px;
}
.mock-listing.phone .ml-hero-stats { gap: 18px; flex-wrap: wrap; }
.ml-hero-stats div {
  display: flex;
  flex-direction: column;
}
.ml-hero-stats strong {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 26px;
  font-weight: 400;
  color: #fff;
  line-height: 1;
}
.mock-listing.phone .ml-hero-stats strong { font-size: 20px; }
.ml-hero-stats span {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: rgba(255,255,255,0.7);
  margin-top: 4px;
}

.ml-section {
  padding: 56px 32px;
}
.mock-listing.phone .ml-section { padding: 36px 18px; }
.ml-section-head { margin-bottom: 16px; }
.ml-section .eyebrow { color: var(--accent); font-size: 10px; }

.ml-style-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 28px;
}
.mock-listing.phone .ml-style-tabs { grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 18px; }
.ml-style-tabs button {
  background: transparent;
  border: 1px solid transparent;
  border-radius: 12px;
  overflow: hidden;
  padding: 0;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  transition: transform 200ms, border-color 200ms, box-shadow 200ms;
}
.ml-style-tabs button:hover { transform: translateY(-2px); }
.ml-style-tabs button.active {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(15,165,171,0.16);
}
.ml-style-tabs img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}
.ml-style-tabs span {
  display: block;
  padding: 10px 12px 12px;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-900);
  background: var(--bg-soft);
}

.ml-neighbourhood {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  background: var(--bg-soft);
}
.ml-neigh-list { list-style: none; padding: 0; margin: 0; }
.ml-neigh-list li {
  display: grid;
  grid-template-columns: 64px 1fr;
  align-items: baseline;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
  color: var(--ink-700);
}
.ml-neigh-list li span {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 18px;
  color: var(--accent);
}
.ml-neigh-list li strong {
  display: block;
  color: var(--ink-900);
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 2px;
}
.ml-map {
  aspect-ratio: 1;
  background:
    repeating-linear-gradient(0deg, rgba(0,0,0,0.04) 0px, rgba(0,0,0,0.04) 1px, transparent 1px, transparent 48px),
    repeating-linear-gradient(90deg, rgba(0,0,0,0.04) 0px, rgba(0,0,0,0.04) 1px, transparent 1px, transparent 48px),
    #ebe7df;
  border-radius: 14px;
  position: relative;
  overflow: hidden;
}
.ml-map-grid { display: none; }
.ml-map-pin {
  position: absolute;
  left: 52%; top: 46%;
  transform: translate(-50%, -50%);
  width: 44px; height: 44px;
  background: var(--accent);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 16px rgba(15,165,171,0.4);
}
.ml-map-pin::after {
  content: '';
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  border: 2px solid var(--accent);
  opacity: 0.4;
  animation: pin-ring 2s infinite;
}
@keyframes pin-ring {
  0% { transform: scale(0.8); opacity: 0.5; }
  100% { transform: scale(1.6); opacity: 0; }
}

.ml-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 28px 32px;
  background: var(--ink-900);
  color: rgba(255,255,255,0.7);
  font-size: 12px;
}
.ml-foot strong { color: #fff; font-weight: 600; }
.mock-listing.phone .ml-foot { flex-direction: column; gap: 8px; padding: 22px 18px; font-size: 11px; text-align: center; }

/* ============================================================
   Mock multi-listing site
   ============================================================ */

/* ----- Keltic Living multi-residence sample ----- */
.mock-multi {
  font-family: var(--font-sans);
  color: var(--ink-900);
  display: flex;
  height: 100%;
  min-height: 100%;
  background: #fff;
  --cream: #F6F1EB;
  --teal-warm: #C84B1F;
}
.mock-multi.phone { flex-direction: column; }

/* ----- Left sidebar ----- */
.kl-side {
  width: 38%;
  min-width: 320px;
  max-width: 440px;
  background: var(--cream);
  display: flex;
  flex-direction: column;
  padding: 32px 28px 20px;
  overflow-y: auto;
  scrollbar-width: thin;
}
.kl-side::-webkit-scrollbar { width: 6px; }
.kl-side::-webkit-scrollbar-thumb { background: rgba(0,0,0,0.14); border-radius: 4px; }

.kl-side-head .kl-eyebrow-sm {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--teal-warm);
}
.kl-display {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 38px;
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin: 10px 0 14px;
  color: var(--ink-900);
}
.kl-display em {
  font-style: italic;
  color: var(--teal-warm);
}
.kl-count {
  font-size: 12px;
  color: var(--ink-700);
  margin-bottom: 22px;
}
.kl-count strong { color: var(--ink-900); font-weight: 600; }

.kl-filter-group { margin-bottom: 16px; }
.kl-filter-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-700);
  margin-bottom: 8px;
}
.kl-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.kl-chip {
  background: #fff;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 6px;
  padding: 7px 12px;
  font-family: inherit;
  font-size: 12px;
  font-weight: 500;
  color: var(--ink-900);
  cursor: pointer;
  transition: all 180ms;
}
.kl-chip:hover { border-color: var(--ink-900); }
.kl-chip.active {
  background: var(--ink-900);
  color: #fff;
  border-color: var(--ink-900);
}

.kl-view-tabs {
  display: flex;
  margin: 18px 0 14px;
  border-bottom: 1px solid rgba(0,0,0,0.1);
}
.kl-view-tabs button {
  flex: 1;
  background: transparent;
  border: 0;
  padding: 12px 0;
  font-family: inherit;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-700);
  cursor: pointer;
  position: relative;
}
.kl-view-tabs button.active { color: var(--ink-900); }
.kl-view-tabs button.active::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 2px;
  background: var(--teal-warm);
}

.kl-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.kl-list-item {
  position: relative;
  display: flex;
  gap: 14px;
  padding: 10px;
  background: #fff;
  border: 1px solid transparent;
  border-radius: 8px;
  cursor: pointer;
  transition: all 200ms;
  overflow: hidden;
}
.kl-list-item:hover { box-shadow: 0 4px 14px rgba(0,0,0,0.05); }
.kl-list-item.active {
  border-color: var(--teal-warm);
  box-shadow: 0 0 0 1px var(--teal-warm);
}
.kl-list-ribbon {
  position: absolute;
  top: 10px; left: -32px;
  background: var(--teal-warm);
  color: #fff;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 3px 32px;
  transform: rotate(-45deg);
  z-index: 2;
}
.kl-list-thumb {
  width: 96px;
  height: 78px;
  flex-shrink: 0;
  border-radius: 4px;
  overflow: hidden;
  background: var(--bg-soft);
}
.kl-list-thumb img { width: 100%; height: 100%; object-fit: cover; }
.kl-list-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.kl-list-collection {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--teal-warm);
}
.kl-list-name {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 500;
  color: var(--ink-900);
  line-height: 1.2;
  margin-top: 2px;
}
.kl-list-city {
  font-size: 11px;
  color: var(--ink-700);
  margin-top: 2px;
}
.kl-list-foot {
  margin-top: auto;
  padding-top: 6px;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
}
.kl-list-price {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-900);
}
.kl-list-price em { font-style: normal; font-size: 10px; font-weight: 500; color: var(--ink-700); }
.kl-list-status {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--teal-warm);
}

/* ----- Right main panel ----- */
.kl-main {
  flex: 1;
  position: relative;
  background: #1a1a1a;
  overflow: hidden;
  min-height: 100%;
}
.kl-hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  transition: opacity 300ms var(--ease-out);
}
.kl-main::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(0,0,0,0.18) 0%, rgba(0,0,0,0) 30%),
    linear-gradient(to top,    rgba(0,0,0,0.55) 0%, rgba(0,0,0,0) 30%);
  z-index: 1;
}

.kl-main-top {
  position: absolute;
  top: 0; left: 0; right: 0;
  padding: 22px 28px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  z-index: 4;
}
.kl-main-promo { justify-self: start; }
.kl-pill-light {
  background: rgba(255,255,255,0.95);
  color: var(--ink-900);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 7px 14px;
  border-radius: 2px;
}
.kl-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.kl-brand-mark {
  width: 22px;
  height: 22px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
}
.kl-brand-mark span {
  background: var(--teal-warm);
  border-radius: 1px;
}
.kl-brand-mark span:nth-child(1) { grid-column: 1 / span 2; height: 5px; }
.kl-brand-mark span:nth-child(2) { width: 5px; height: 14px; }
.kl-brand-mark span:nth-child(3) { width: 9px; height: 5px; align-self: end; justify-self: start; }
.kl-logo-text {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 0.18em;
  color: var(--ink-900);
  text-shadow: 0 1px 2px rgba(255,255,255,0.4);
}
.kl-main-actions {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.kl-photo-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(0,0,0,0.55);
  color: #fff;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 8px 12px;
  border-radius: 4px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

/* Buttons */
.kl-btn-dark {
  background: var(--ink-900);
  color: #fff;
  border: 0;
  font-family: inherit;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 12px 22px;
  cursor: pointer;
  transition: background 200ms;
}
.kl-btn-dark:hover { background: #000; }
.kl-btn-dark.wide { display: block; width: 100%; padding: 16px 22px; }
.kl-btn-light {
  background: var(--cream);
  color: var(--ink-900);
  border: 0;
  font-family: inherit;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 14px 22px;
  cursor: pointer;
  transition: background 200ms;
}
.kl-btn-light:hover { background: #ECE3D6; }
.kl-btn-light.grow { flex: 1; }
.kl-icon-btn {
  width: 44px;
  height: 44px;
  background: var(--cream);
  border: 0;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-900);
  cursor: pointer;
}
.kl-icon-btn:hover { background: #ECE3D6; }

/* Detail card */
.kl-detail-card {
  position: absolute;
  top: 50%;
  left: 36px;
  transform: translateY(-50%);
  width: clamp(280px, 38%, 360px);
  background: var(--cream);
  padding: 28px 28px 24px;
  z-index: 5;
  box-shadow: 0 10px 40px rgba(0,0,0,0.18);
}
.kl-detail-crumb {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--ink-700);
}
.kl-detail-sub {
  margin-top: 14px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--teal-warm);
}
.kl-detail-title {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: 64px;
  line-height: 1;
  margin: 8px 0 0;
  color: var(--ink-900);
}
.kl-detail-rule {
  width: 60px;
  height: 1px;
  background: var(--teal-warm);
  margin: 14px 0;
}
.kl-detail-place {
  font-family: var(--font-display);
  font-size: 18px;
  color: var(--ink-900);
}
.kl-detail-city {
  font-size: 12px;
  color: var(--ink-700);
  margin-top: 2px;
}
.kl-detail-specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 20px;
  margin: 22px 0 20px;
  padding-top: 18px;
  border-top: 1px solid rgba(0,0,0,0.1);
}
.kl-spec-label {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-700);
}
.kl-spec-val {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 22px;
  color: var(--ink-900);
  margin-top: 4px;
  line-height: 1.1;
}
.kl-spec-val em { font-style: normal; font-size: 14px; vertical-align: text-top; margin-right: 1px; }
.kl-spec-sub {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-700);
  margin-top: 2px;
}
.kl-detail-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.kl-detail-row {
  display: flex;
  gap: 8px;
}

/* Plate caption (bottom right of hero) */
.kl-suite-tag {
  position: absolute;
  right: 28px;
  bottom: 80px;
  background: rgba(0,0,0,0.55);
  color: #fff;
  font-size: 10px;
  letter-spacing: 0.14em;
  padding: 8px 14px;
  z-index: 4;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.kl-suite-tag em {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 11px;
  margin-right: 6px;
}

/* Bottom nav */
.kl-main-nav {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  display: flex;
  align-items: center;
  gap: 40px;
  padding: 18px 36px;
  background: rgba(20,20,20,0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 4;
}
.kl-main-nav a {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  cursor: pointer;
  transition: color 180ms;
  position: relative;
  padding-bottom: 2px;
}
.kl-main-nav a:hover { color: #fff; }
.kl-main-nav a.active { color: var(--teal-warm); }
.kl-main-nav a.active::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -4px;
  height: 2px;
  background: var(--teal-warm);
}

/* ----- Phone variant ----- */
.mock-multi.phone .kl-phone-hero {
  position: relative;
  height: 280px;
  background-size: cover;
  background-position: center;
  padding: 16px 18px 20px;
  display: flex;
  flex-direction: column;
  color: #fff;
}
.mock-multi.phone .kl-phone-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.2) 50%, rgba(0,0,0,0.7) 100%);
  z-index: 0;
}
.kl-phone-top {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.kl-phone-brand {
  font-family: var(--font-display);
  font-size: 14px;
  letter-spacing: 0.24em;
  color: #fff;
}
.kl-phone-menu {
  width: 32px; height: 32px;
  background: rgba(255,255,255,0.18);
  border: 0;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.kl-promo {
  position: relative;
  z-index: 2;
  align-self: flex-start;
  margin-top: 14px;
  background: rgba(255,255,255,0.95);
  color: var(--ink-900);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 6px 12px;
}
.kl-phone-detail {
  position: relative;
  z-index: 2;
  margin-top: auto;
}
.kl-breadcrumb {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: rgba(255,255,255,0.85);
}
.kl-suite-name {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 38px;
  margin: 4px 0 2px;
}
.kl-address {
  font-size: 11px;
  color: rgba(255,255,255,0.85);
  margin-bottom: 12px;
}
.kl-specs {
  display: flex;
  gap: 18px;
  margin-bottom: 12px;
}
.kl-specs > div { font-size: 11px; }
.kl-specs span {
  display: block;
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  margin-bottom: 2px;
}
.kl-specs strong {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 18px;
  color: #fff;
}
.kl-specs em { font-style: normal; font-size: 11px; opacity: 0.7; margin-left: 1px; }

.kl-phone-body {
  padding: 22px 18px 28px;
  background: var(--cream);
  flex: 1;
}
.kl-phone-body .kl-eyebrow {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--teal-warm);
}
.kl-phone-body .kl-display {
  font-size: 26px;
  margin: 6px 0 14px;
}
.kl-phone-body .kl-chip-row { margin-bottom: 16px; }
.kl-phone-body .kl-list-thumb { width: 80px; height: 64px; }

@media (max-width: 760px) {
  .sample-shell { height: 96vh; max-height: none; }
  .sample-head { padding: 14px 18px; flex-wrap: wrap; gap: 10px; }
  .sample-head-right { width: 100%; justify-content: space-between; }
  .sample-stage { padding: 18px 12px; }
  .sample-device.desktop { max-height: 100%; }
  .ml-neighbourhood { grid-template-columns: 1fr; }
}

/* ============================================================
   Nav user + sign out
   ============================================================ */
.nav-links a.active {
  color: var(--accent);
  font-weight: 500;
}
.nav-user {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 4px 14px 4px 4px;
  cursor: pointer;
  font-family: inherit;
  font-size: 13px;
  color: var(--ink-900);
  transition: border-color 200ms, background 200ms;
}
.nav-user:hover { border-color: var(--ink-900); }
.nav-avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--ink-900);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 13px;
}
.nav-user-name { font-weight: 500; }
.nav-signout {
  background: transparent;
  border: 0;
  font-family: inherit;
  font-size: 12px;
  color: var(--ink-700);
  cursor: pointer;
  padding: 6px 8px;
  letter-spacing: 0.02em;
}
.nav-signout:hover { color: var(--ink-900); text-decoration: underline; }

/* ============================================================
   Login modal
   ============================================================ */
.auth-scrim {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.72);
  z-index: 78;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 240ms;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.auth-scrim.open { opacity: 1; pointer-events: auto; }

.auth-modal {
  background: #fff;
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 880px;
  max-height: 92vh;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0,0,0,0.4);
  position: relative;
  transform: translateY(20px) scale(0.98);
  transition: transform 280ms var(--ease-out);
}
.auth-scrim.open .auth-modal { transform: translateY(0) scale(1); }
@media (max-width: 760px) {
  .auth-modal { grid-template-columns: 1fr; max-height: 96vh; }
}

.auth-left {
  padding: 44px 48px 36px;
  overflow-y: auto;
}
.auth-logo { height: 22px; margin-bottom: 32px; }
.auth-left h3 {
  font-size: 28px;
  font-weight: 500;
  letter-spacing: -0.015em;
  margin: 0 0 10px;
  color: var(--ink-900);
}
.auth-sub {
  font-size: 14px;
  color: var(--ink-700);
  line-height: 1.55;
  margin: 0 0 28px;
}
.auth-form { display: flex; flex-direction: column; gap: 0; }
.auth-err {
  background: rgba(225,73,66,0.10);
  color: var(--error);
  font-size: 12px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
}
.auth-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: -4px 0 18px;
}
.auth-check {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--ink-700);
  cursor: pointer;
}
.auth-check input { width: 14px; height: 14px; accent-color: var(--accent); }
.auth-link {
  font-size: 12px;
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}
.auth-link:hover { color: var(--accent-hover); text-decoration: underline; }
.auth-submit {
  background: var(--ink-900);
  color: #fff;
  border: 0;
  border-radius: var(--radius-sm);
  padding: 14px 24px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  letter-spacing: 0.02em;
}
.auth-submit:hover { background: #000; }
.auth-footer {
  font-size: 13px;
  color: var(--ink-700);
  text-align: center;
  margin: 18px 0 0;
}

.auth-right {
  background: var(--ink-900);
  color: #fff;
  padding: 48px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.auth-right::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 20%, rgba(15,165,171,0.18), transparent 60%),
    radial-gradient(circle at 80% 80%, rgba(15,165,171,0.10), transparent 60%);
}
.auth-quote { position: relative; z-index: 1; }
.auth-quote h4 {
  font-size: 24px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: #fff;
  margin: 12px 0 24px;
}
.auth-quote ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.auth-quote li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: rgba(255,255,255,0.85);
}
.auth-quote li .material-icons-outlined {
  font-size: 18px;
  color: var(--accent);
}

/* ============================================================
   Profile page
   ============================================================ */
.profile {
  background: #fff;
  min-height: 70vh;
}

.profile-hero {
  background: linear-gradient(180deg, var(--bg-soft) 0%, #fff 100%);
  padding: clamp(48px, 6vw, 88px) var(--page-pad) clamp(40px, 5vw, 64px);
  border-bottom: 1px solid var(--border);
}
.profile-hero-inner {
  max-width: 1320px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 36px;
}
.profile-greet { display: flex; gap: 22px; align-items: flex-start; }
.profile-avatar {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--ink-900);
  color: #fff;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 28px;
  font-weight: 400;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.profile-greet h1 {
  font-size: clamp(32px, 4vw, 44px);
  line-height: 1.05;
  font-weight: 500;
  letter-spacing: -0.02em;
  margin: 6px 0 12px;
  color: var(--ink-900);
}
.profile-greet h1 em {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--accent);
  font-weight: 400;
}
.profile-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: var(--ink-700);
  flex-wrap: wrap;
}
.profile-meta .dot {
  width: 4px; height: 4px; background: var(--ink-500); border-radius: 50%;
}
.profile-meta strong { color: var(--ink-900); font-weight: 600; }

.profile-quick {
  display: flex;
  gap: 36px;
  align-items: flex-end;
  flex-wrap: wrap;
}
.quick-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.quick-num {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 36px;
  font-weight: 400;
  color: var(--accent);
  line-height: 1;
}
.quick-lbl {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink-700);
}

.profile-section {
  padding: clamp(48px, 5vw, 72px) var(--page-pad);
  max-width: 1320px;
  margin: 0 auto;
  box-sizing: content-box;
}
.profile-section-soft {
  background: var(--bg-soft);
  max-width: none;
  margin: 0;
}
.profile-section-soft > * { max-width: 1320px; margin-left: auto; margin-right: auto; }
.profile-section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 28px;
  gap: 16px;
}
.profile-section-head h2 {
  font-size: 28px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--ink-900);
  margin: 6px 0 0;
}

.btn-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  border: 0;
  color: var(--accent);
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  padding: 6px 0;
}
.btn-link:hover { color: var(--accent-hover); text-decoration: underline; }

/* ---- Subscription cards ---- */
.sub-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.sub-card {
  display: flex;
  gap: 24px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px;
  align-items: stretch;
  transition: border-color 200ms;
}
.sub-card.cancelled {
  background: var(--bg-soft);
  opacity: 0.92;
}
.sub-thumb {
  width: 120px;
  height: 120px;
  border-radius: var(--radius-md);
  background: var(--bg-soft);
  overflow: hidden;
  flex-shrink: 0;
}
.sub-thumb img {
  width: 100%; height: 100%; object-fit: contain; padding: 8px;
}
.sub-body { flex: 1; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.sub-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.sub-head h4 { font-size: 18px; font-weight: 600; margin: 0 0 4px; color: var(--ink-900); }
.sub-plan { font-size: 13px; color: var(--ink-700); }

.sub-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 999px;
  white-space: nowrap;
}
.sub-status .dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.sub-status-active {
  background: rgba(46,125,50,0.12);
  color: #2e7d32;
}
.sub-status-cancelled {
  background: rgba(225,73,66,0.10);
  color: var(--error);
}

.sub-meta {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  padding: 14px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.sub-meta > div { display: flex; flex-direction: column; gap: 2px; }
.sub-meta .lbl { font-size: 10px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--ink-500); font-weight: 600; }
.sub-meta .val { font-size: 13px; color: var(--ink-900); }
.sub-meta .val strong { font-weight: 600; }

.sub-actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.sub-actions .btn-cancel {
  margin-left: auto;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--ink-700);
  border-radius: var(--radius-sm);
  padding: 8px 14px;
  font-family: inherit;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 200ms;
}
.sub-actions .btn-cancel:hover { border-color: var(--error); color: var(--error); }
.sub-actions .btn-reactivate {
  margin-left: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-color: var(--accent);
  color: var(--accent);
}
.sub-actions .btn-reactivate:hover { background: var(--accent); color: #fff; }

.sub-cancelled-note {
  font-size: 13px;
  color: var(--ink-700);
  flex: 1;
}
.sub-cancelled-note strong { color: var(--ink-900); font-weight: 600; }

.sub-confirm {
  background: rgba(225,73,66,0.06);
  border: 1px solid rgba(225,73,66,0.20);
  border-radius: var(--radius-md);
  padding: 16px 18px;
}
.sub-confirm-body {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 14px;
}
.sub-confirm-body .material-icons-outlined { color: var(--error); font-size: 20px; flex-shrink: 0; }
.sub-confirm-body strong { display: block; color: var(--ink-900); font-size: 14px; margin-bottom: 4px; }
.sub-confirm-body p { font-size: 13px; color: var(--ink-700); line-height: 1.55; margin: 0; }
.sub-confirm-actions {
  display: flex;
  justify-content: flex-end;
  gap: 14px;
  align-items: center;
}
.btn-danger {
  background: var(--error);
  color: #fff;
  border: 0;
  border-radius: var(--radius-sm);
  padding: 10px 18px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.btn-danger:hover { background: #C13832; }

@media (max-width: 760px) {
  .sub-card { flex-direction: column; gap: 16px; padding: 16px; }
  .sub-thumb { width: 100%; height: 140px; }
  .sub-meta { grid-template-columns: repeat(2, 1fr); }
}

/* ---- Invoices ---- */
.invoice-table {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.invoice-row {
  display: grid;
  grid-template-columns: 1.2fr 1fr 2fr 0.8fr 0.8fr 0.4fr;
  align-items: center;
  padding: 14px 22px;
  font-size: 13px;
  color: var(--ink-800);
  gap: 12px;
  border-bottom: 1px solid var(--border);
}
.invoice-row:last-child { border-bottom: 0; }
.invoice-row.invoice-head {
  background: var(--bg-soft);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink-500);
  font-weight: 600;
  padding-top: 12px;
  padding-bottom: 12px;
}
.invoice-desc { color: var(--ink-700); font-size: 12px; }
.invoice-amt { color: var(--ink-900); font-weight: 600; }
.mono { font-family: var(--font-mono); font-size: 12px; color: var(--ink-900); }
.badge-paid {
  display: inline-flex;
  align-items: center;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(46,125,50,0.12);
  color: #2e7d32;
}
.btn-icon {
  background: transparent;
  border: 0;
  color: var(--ink-700);
  cursor: pointer;
  padding: 4px;
}
.btn-icon:hover { color: var(--accent); }

@media (max-width: 760px) {
  .invoice-row { grid-template-columns: 1fr 1fr; gap: 8px; padding: 14px; }
  .invoice-head { display: none; }
  .invoice-row span:nth-child(3) { grid-column: 1 / -1; }
  .invoice-row span:nth-child(6) { grid-column: 2; text-align: right; }
}

/* ---- Settings ---- */
.settings-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
@media (max-width: 880px) { .settings-grid { grid-template-columns: 1fr; } }
.setting-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.setting-card h4 { font-size: 13px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--ink-700); font-weight: 600; margin: 0 0 14px; }
.setting-row {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  padding: 8px 0;
  border-bottom: 1px dashed var(--border);
}
.setting-row:last-of-type { border-bottom: 0; }
.setting-row span { color: var(--ink-700); }
.setting-row strong { color: var(--ink-900); font-weight: 600; }
.setting-card .btn-link { margin-top: 10px; align-self: flex-start; }
.setting-danger { background: rgba(225,73,66,0.04); border-color: rgba(225,73,66,0.20); }
.setting-danger p { font-size: 12px; color: var(--ink-700); line-height: 1.5; margin: 0 0 14px; }
.setting-danger .btn-danger { margin-top: 4px; align-self: flex-start; }
