/* a2z.deals redesign layer (loaded after app.css, so it wins on equal specificity).
   Direction: fresh market. Warm paper background, deep teal actions, big rounded cards led by the deal's own picture,
   one soft shadow scale, calm motion. Everything is token-driven so every page (public, dashboard, auth, admin, legal) shifts together.
   Guidance followed: modern-web-guidance "card", "accessibility", "respect-os-text-scale", "optimize-image-priority". */

:root {
  color-scheme: light;
  /* Darker teal and green so white text and small links reach 4.5:1 (was 4.8 / 3.2 / 4.45). */
  --brand: #0f6a5b;
  --brand-dark: #0b5347;
  --ok-strong: #1b7a4b;
  --rose-strong: #c2263f;
  --bg: #f6f7f3;
  --recess: #eef2ec;
  --panel: #ffffff;
  --line: #e2e8df;
  --line2: #c7d1c4;
  --muted: #4a5a51;
  --r-xs: 8px;
  --r-sm: 12px;
  --r-md: 18px;
  --r-lg: 24px;
  --r-xl: 32px;
  --shadow-sm: 0 1px 2px rgba(16, 24, 20, 0.06);
  --shadow: 0 8px 24px -8px rgba(16, 24, 20, 0.12);
  --shadow-lg: 0 24px 48px -16px rgba(16, 24, 20, 0.2);
  --ring: 0 0 0 3px rgba(15, 106, 91, 0.28);
}

/* ---- accessibility helpers ---- */
.visually-hidden:where(:not(:focus-within, :active)) {
  position: absolute !important;
  clip-path: inset(50%) !important;
  overflow: hidden !important;
  width: 1px !important;
  height: 1px !important;
  margin: -1px !important;
  padding: 0 !important;
  border: 0 !important;
  white-space: nowrap !important;
}
.skip-link {
  position: absolute;
  inset-inline-start: 12px;
  top: -64px;
  z-index: 100;
  padding: 0.7em 1.1em;
  border-radius: var(--r-sm);
  background: var(--ink);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  transition: top 0.15s;
}
.skip-link:focus {
  top: 12px;
}
main:focus {
  outline: none;
}
:root body :is(input, select, textarea):focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 1px;
}
:root body :is(input, select, textarea):focus {
  box-shadow: var(--ring);
}

/* ---- type: rem so the OS text-size setting applies; slightly larger body ---- */
:root body {
  font-size: 1rem;
  background: var(--bg);
}
:root body :is(h1, h2, h3) {
  text-wrap: balance;
}
:root body :is(p, li) {
  text-wrap: pretty;
}
:root body h1 {
  font-size: clamp(2.2rem, 5.2vw, 3.6rem);
  line-height: 1.06;
  letter-spacing: -0.035em;
}
:root body .lead {
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  color: var(--muted);
}
:root body .tiny,
:root body small {
  font-size: max(0.8rem, 12px);
}

/* ---- navigation: a floating bar ---- */
:root body .nav {
  top: 10px;
  margin: 10px auto 0;
  max-width: 1160px;
  width: calc(100% - 24px);
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow);
}
:root body .nav-in {
  height: 58px;
  padding-inline: 14px 10px;
  max-width: none;
}
:root body .nav-links a {
  padding: 0.5em 0.9em;
  border-radius: 999px;
  color: var(--body);
}
:root body .nav-links a:hover {
  background: var(--recess);
  color: var(--ink);
}
@media (max-width: 900px) {
  :root body .nav {
    border-radius: var(--r-lg);
  }
}

/* ---- buttons: pill shaped everywhere, strong primary ---- */
:root body .btn {
  border-radius: 999px;
  min-height: 44px;
  padding-inline: 1.3em;
}
:root body .btn.sm {
  min-height: 36px;
  border-radius: 999px;
}
:root body .btn.primary {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
  box-shadow: 0 6px 16px -6px rgba(15, 106, 91, 0.55);
}
:root body .btn.primary:hover {
  background: var(--brand-dark);
  border-color: var(--brand-dark);
}
:root body a {
  color: var(--brand);
}

/* ---- status chips: white text only on the darker greens and reds ---- */
:root body .pill-ok {
  background: var(--ok-strong);
  color: #fff;
}
:root body .pill-rose {
  background: var(--rose-strong);
  border-color: var(--rose-strong);
  color: #fff;
}

/* ---- hero ---- */
:root body .hero {
  padding-top: 56px;
}
:root body .hero-visual {
  max-width: 820px;
}
:root body .vis-card {
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-lg);
  display: block;
  color: inherit;
  text-decoration: none;
}
:root body a.vis-real {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
:root body a.vis-real:hover {
  transform: translateY(-3px);
  box-shadow: 0 32px 60px -20px rgba(16, 24, 20, 0.28);
  text-decoration: none;
}
:root body a.vis-real:focus-visible {
  outline: 3px solid var(--brand);
  outline-offset: 4px;
}
:root body .vis-img {
  border-radius: var(--r-lg);
}
:root body .vis-info h2 {
  font-size: clamp(1.3rem, 2.4vw, 1.7rem);
}
/* the empty outline shown when no real deal is listed yet: no product, price or number */
.vis-ph {
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 0.5rem;
  color: var(--dim);
  font-weight: 700;
  font-size: 0.9rem;
  background: repeating-linear-gradient(135deg, var(--recess) 0 12px, #f4f7f2 12px 24px);
  border: 2px dashed var(--line2);
}
.vis-ph .ic {
  width: 2rem;
  height: 2rem;
}
.ph-line {
  height: 1.1rem;
  border-radius: 999px;
  background: var(--recess);
  margin-bottom: 0.7rem;
}
.ph-line.w70 {
  width: 70%;
}
.ph-line.w40 {
  width: 40%;
}
.ph-chip {
  display: inline-block;
  padding: 0.3em 0.8em;
  border-radius: 999px;
  border: 1px dashed var(--line2);
  color: var(--dim);
  font-size: 0.8rem;
  font-weight: 700;
}

/* ---- deal cards: the card is the size container; the picture leads ---- */
:root body .deal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 15rem), 1fr));
  gap: 1.1rem;
}
:root body .deal-tile {
  container-type: inline-size;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: var(--shadow-sm);
  overflow: clip;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
:root body .deal-tile:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: var(--line2);
}
:root body .deal-tile:has(.deal-main:focus-visible) {
  outline: 3px solid var(--brand);
  outline-offset: 2px;
}
:root body .deal-main:focus-visible {
  outline: none;
}
:root body .deal-pic {
  aspect-ratio: 4 / 3;
  border-radius: 0;
  background: var(--recess);
}
:root body .deal-pic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
:root body .deal-info b {
  font-size: 1rem;
  line-height: 1.3;
}
:root body .deal-price strong {
  font-size: 1.25rem;
  color: var(--ok-strong);
}
:root body .deal-price s {
  font-size: 0.85rem;
  color: var(--dim);
}
/* roomy card: picture beside the text */
@container (min-width: 30rem) {
  .deal-main {
    display: grid;
    grid-template-columns: 11rem 1fr auto;
    align-items: center;
  }
  .deal-pic {
    aspect-ratio: 1;
    height: 100%;
  }
}

/* ---- sections, panels, forms ---- */
:root body :is(.feat, .step, .plan, .auth-card, .panel, .card) {
  border-radius: var(--r-lg);
}
:root body .band {
  padding-block: clamp(2.5rem, 6vw, 4.5rem);
}
:root body .kicker {
  border-radius: 999px;
}
:root body :is(input, select, textarea) {
  border-radius: var(--r-sm);
  min-height: 44px;
}
:root body :is(.modal, dialog) {
  border-radius: var(--r-lg);
}

/* ---- errors and messages ---- */
:root body .error {
  border-radius: var(--r-sm);
  border-inline-start: 4px solid var(--bad);
}

@media (prefers-reduced-motion: reduce) {
  :root body :is(.deal-tile, a.vis-real, .skip-link) {
    transition: none;
  }
  :root body :is(.deal-tile:hover, a.vis-real:hover) {
    transform: none;
  }
}
@media print {
  :root body .nav,
  .skip-link {
    display: none;
  }
}

/* ---- signature contact page (/s/<id>): mobile first ---- */
body.sigpage {
  background: var(--sg-soft, #f2f6f1);
  min-height: 100vh;
}
.sig-page {
  max-width: 460px;
  margin: 0 auto;
  padding: 28px 16px 24px;
}
.sig-card {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  padding: 28px 22px 22px;
  border-radius: 22px;
  background: #fff;
  border-top: 5px solid var(--sg-main, #43853a);
  box-shadow: 0 18px 40px -24px rgba(36, 75, 32, 0.45);
}
.sig-hero {
  display: block;
  width: calc(100% + 44px);
  max-width: none;
  height: 190px;
  margin: -28px -22px 18px;
  object-fit: cover;
  border-radius: 18px 18px 0 0;
}
.sig-avatar {
  align-self: center;
  width: 92px;
  height: 92px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--panel);
}
/* a logo is shown whole, never cropped, with no frame; the initials (no logo) stay a circle */
.sig-avatar.sig-logo {
  box-sizing: border-box;
  width: auto;
  height: auto;
  max-width: 210px;
  max-height: 84px;
  padding: 0;
  border-radius: 0;
  background: transparent;
  object-fit: contain;
}
.sig-initials {
  display: grid;
  place-items: center;
  background: var(--sg-main, #43853a);
  color: #fff;
  font-weight: 800;
  font-size: 2rem;
}
.sig-name {
  margin: 18px 0 0;
  text-align: center;
  overflow-wrap: anywhere;
}
.sig-role,
.sig-tagline {
  margin: 4px 0 0;
  text-align: center;
  color: var(--sg-title, #28128d);
  font-weight: 600;
  font-size: 0.95rem;
  overflow-wrap: anywhere;
}
.sig-tagline {
  color: var(--muted);
  font-style: italic;
  font-weight: 500;
}
.sig-rows {
  margin-top: 22px;
  border-top: 1px solid var(--sg-line, #e3eadf);
}
.sig-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px 4px;
  border-bottom: 1px solid var(--sg-line, #e3eadf);
  color: var(--ink);
  text-decoration: none;
}
.sig-row-text {
  min-width: 0;
  display: grid;
}
.sig-row-text small {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.sig-row-text strong {
  font-size: 0.98rem;
  font-weight: 700;
  overflow-wrap: anywhere;
}
a.sig-row:hover .sig-row-text strong {
  text-decoration: underline;
}
.sig-ico {
  flex: none;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
}
.sig-ico svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.sig-ico-mail { background: var(--sg-tint, #e3f1e0); color: var(--sg-main, #2f6b27); }
.sig-ico-phone { background: #fde8e3; color: #d4492c; }
.sig-ico-web { background: #e3ecfd; color: #2f6fed; }
.sig-ico-pin { background: #fdf0d9; color: #c2820c; }
.sig-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  margin-top: 20px;
  padding: 12px 18px;
  border-radius: 14px;
  background: var(--sg-main, #43853a);
  color: #fff;
  font-weight: 800;
  font-size: 1rem;
  text-decoration: none;
}
a.sig-btn:hover {
  background: var(--sg-dark, #244b20);
}
/* the global ":root body a" (teal links) and ":root body h1" (hero size) rules are more specific than the plain .sig-* rules above */
:root body a.sig-btn {
  color: #fff;
}
:root body a.sig-row {
  color: var(--ink);
}
:root body .sig-name {
  color: var(--sg-dark, #244b20);
  font-size: clamp(1.5rem, 6.5vw, 1.9rem);
  line-height: 1.15;
}
.sig-text {
  font-weight: 700;
}
.sig-deals-h {
  margin: 26px 0 8px;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}
.sig-deals {
  display: grid;
  gap: 10px;
}
.sig-deal {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px;
  border: 1px solid #e3eadf;
  border-radius: 14px;
  color: var(--ink);
  text-decoration: none;
}
.sig-deal:hover {
  border-color: var(--sg-main, #43853a);
}
.sig-deal img {
  flex: none;
  width: 64px;
  height: 64px;
  border-radius: 10px;
  object-fit: cover;
  background: var(--recess);
}
.sig-deal-text {
  min-width: 0;
  display: grid;
  gap: 3px;
}
.sig-deal-text strong {
  font-size: 0.92rem;
  line-height: 1.25;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  overflow-wrap: anywhere;
}
.sig-deal-price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px;
  font-size: 0.85rem;
}
.sig-deal-price b {
  color: var(--sg-dark, #244b20);
  font-size: 1rem;
}
.sig-deal-price s {
  color: var(--muted);
}
.sig-deal-price em {
  font-style: normal;
  font-weight: 700;
  color: #b4361b;
}
:root body a.sig-deal {
  color: var(--ink);
}
.sig-deal-pick {
  display: grid;
  grid-template-columns: auto 44px 1fr;
  align-items: center;
  gap: 10px;
  padding: 6px 4px;
  border-bottom: 1px solid var(--line);
}
.sig-deal-pick img {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  object-fit: cover;
  background: var(--recess);
}
.sig-deal-pick span {
  min-width: 0;
  overflow-wrap: anywhere;
}
/* the Signal template: one-colour icons and a two-tone bar along the bottom of the card */
.sig-mono .sig-ico-mail,
.sig-mono .sig-ico-phone,
.sig-mono .sig-ico-web,
.sig-mono .sig-ico-pin {
  background: var(--sg-tint);
  color: var(--sg-main);
}
.sig-t-signal .sig-card {
  position: relative;
  overflow: hidden;
  border-top: 0;
  padding-bottom: 34px;
}
.sig-t-signal .sig-card::after {
  content: '';
  position: absolute;
  inset: auto 0 0 0;
  height: 6px;
  background: linear-gradient(90deg, var(--sg-dark) 72%, var(--sg-main) 72%);
}
/* the Dark template: a deep card with light text */
:root body.sig-dark {
  background: var(--sg-darkbg);
}
.sig-dark .sig-card {
  background: var(--sg-darkbg);
  border-top-color: var(--sg-light);
  box-shadow: 0 18px 40px -24px rgba(0, 0, 0, 0.6);
  outline: 1px solid rgba(255, 255, 255, 0.1);
}
:root body.sig-dark .sig-name,
:root body.sig-dark a.sig-row,
.sig-dark .sig-row-text strong,
:root body.sig-dark a.sig-deal,
.sig-dark .sig-deal-price b {
  color: #fff;
}
:root body.sig-dark .sig-role {
  color: var(--sg-light);
}
.sig-dark .sig-row-text small,
.sig-dark .sig-deals-h,
.sig-dark .sig-deal-price s {
  color: #c9d6d0;
}
.sig-dark .sig-rows,
.sig-dark .sig-row,
.sig-dark .sig-deal {
  border-color: rgba(255, 255, 255, 0.14);
}
.sig-dark .sig-ico {
  background: rgba(255, 255, 255, 0.12);
  color: var(--sg-light);
}
.sig-dark .sig-link {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}
.sig-dark .sig-foot,
.sig-dark .sig-foot a {
  color: #c9d6d0;
}
/* ---------- one contact-page layout per template (body.sig-t-<template>) ---------- */
.sig-head {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.sig-cta {
  margin: 4px 0 0;
  text-align: center;
  color: var(--muted);
  font-weight: 600;
  overflow-wrap: anywhere;
}
.sig-t-classic .sig-head,
.sig-t-signal .sig-head,
.sig-t-express .sig-head {
  align-items: flex-start;
  border-left: 4px solid var(--sg-main);
  padding-left: 14px;
}
.sig-t-classic .sig-head,
.sig-t-signal .sig-head,
.sig-t-express .sig-head,
.sig-t-compact .sig-head,
.sig-t-minimal .sig-head,
.sig-t-split .sig-head,
.sig-t-harbor .sig-head,
.sig-t-card .sig-head {
  text-align: left;
}
.sig-t-classic .sig-name,
.sig-t-signal .sig-name,
.sig-t-express .sig-name,
.sig-t-compact .sig-name,
.sig-t-minimal .sig-name,
.sig-t-split .sig-name,
.sig-t-harbor .sig-name,
.sig-t-card .sig-name,
.sig-t-classic .sig-role,
.sig-t-signal .sig-role,
.sig-t-express .sig-role,
.sig-t-compact .sig-role,
.sig-t-minimal .sig-role,
.sig-t-split .sig-role,
.sig-t-harbor .sig-role,
.sig-t-card .sig-role,
.sig-t-classic .sig-tagline,
.sig-t-signal .sig-tagline,
.sig-t-express .sig-tagline,
.sig-t-classic .sig-cta,
.sig-t-signal .sig-cta,
.sig-t-express .sig-cta {
  text-align: left;
}
.sig-t-classic .sig-avatar,
.sig-t-signal .sig-avatar,
.sig-t-express .sig-avatar,
.sig-t-minimal .sig-avatar,
.sig-t-harbor .sig-avatar,
.sig-t-card .sig-avatar,
.sig-t-split .sig-avatar {
  align-self: flex-start;
}

/* sidebar: a deep colour band across the top with the logo on a white plate */
.sig-t-sidebar .sig-card {
  border-top: 0;
}
.sig-t-sidebar .sig-head {
  margin: -28px -22px 18px;
  padding: 26px 22px 22px;
  border-radius: 18px 18px 0 0;
  background: linear-gradient(135deg, var(--sg-dark), var(--sg-main));
}
.sig-t-sidebar .sig-avatar.sig-logo {
  padding: 8px 12px;
  border-radius: 14px;
  background: #fff;
}
:root body.sig-t-sidebar .sig-name {
  color: #fff;
}
:root body.sig-t-sidebar .sig-role {
  color: var(--sg-light);
}

/* bold: a colour header with the name on the left and the logo on the right, and a bright strip under it */
.sig-t-bold .sig-card {
  border-top: 0;
}
.sig-t-bold .sig-head {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 2px 14px;
  margin: -28px -22px 18px;
  padding: 24px 22px;
  border-radius: 18px 18px 0 0;
  background: linear-gradient(90deg, var(--sg-dark), var(--sg-main));
  border-bottom: 5px solid var(--sg-light);
  text-align: left;
}
.sig-t-bold .sig-avatar {
  grid-column: 2;
  grid-row: 1 / span 3;
  background: #fff;
  border-radius: 14px;
  padding: 6px 10px;
}
.sig-t-bold .sig-name,
.sig-t-bold .sig-role {
  grid-column: 1;
  text-align: left;
}
:root body.sig-t-bold .sig-name {
  color: #fff;
}
:root body.sig-t-bold .sig-role {
  color: var(--sg-light);
}

/* compact: the logo beside the name, tight rows, a thin colour bar along the bottom */
.sig-t-compact .sig-page {
  padding-top: 18px;
}
.sig-t-compact .sig-card {
  position: relative;
  padding: 18px 18px 22px;
  border-top: 0;
  border-radius: 16px;
}
.sig-t-compact .sig-card::after {
  content: '';
  position: absolute;
  inset: auto 0 0 0;
  height: 4px;
  border-radius: 0 0 16px 16px;
  background: linear-gradient(90deg, var(--sg-main), var(--sg-light));
}
.sig-t-compact .sig-head {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 0 14px;
}
.sig-t-compact .sig-avatar {
  grid-row: 1 / span 3;
  width: 58px;
  height: 58px;
  max-width: 96px;
}
.sig-t-compact .sig-avatar.sig-logo {
  width: auto;
  height: auto;
  max-height: 58px;
}
.sig-t-compact .sig-name {
  margin-top: 0;
  font-size: 1.3rem;
}
.sig-t-compact .sig-row {
  padding: 8px 2px;
}
.sig-t-compact .sig-ico {
  width: 30px;
  height: 30px;
}
.sig-t-compact .sig-btn {
  min-height: 44px;
  margin-top: 14px;
}

/* minimal: no card, plain text, a short colour rule and no icons */
:root body.sig-t-minimal {
  background: #fff;
}
.sig-t-minimal .sig-card {
  padding: 8px 4px;
  border-top: 0;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
}
.sig-t-minimal .sig-head::after {
  content: '';
  width: 56px;
  height: 3px;
  margin-top: 14px;
  background: linear-gradient(90deg, var(--sg-main), var(--sg-light));
}
.sig-t-minimal .sig-ico {
  display: none;
}
.sig-t-minimal .sig-rows {
  border-top: 0;
  margin-top: 16px;
}
.sig-t-minimal .sig-row {
  padding: 9px 0;
  border-bottom: 0;
}
:root body.sig-t-minimal a.sig-btn {
  background: transparent;
  color: var(--sg-dark);
  border: 1.5px solid var(--sg-main);
}

/* split: the logo and name on top, a rule, and the details in two columns */
.sig-t-split .sig-head {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 0 14px;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--sg-main);
}
.sig-t-split .sig-avatar {
  grid-row: 1 / span 3;
}
.sig-t-split .sig-avatar.sig-logo {
  max-width: 120px;
  max-height: 64px;
}
.sig-t-split .sig-rows {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 0 18px;
  border-top: 0;
  margin-top: 6px;
}

/* card: a softly tinted panel with a strong edge */
:root body.sig-t-card .sig-card {
  background: var(--sg-tint);
  border-top: 0;
  border-left: 7px solid var(--sg-main);
  border-radius: 20px;
}
.sig-t-card .sig-row {
  border-color: var(--sg-line);
}

/* signal: a bold bar beside the header (above) and a two-tone bar along the bottom (above) */

/* harbor: the details sit in a deep band */
.sig-t-harbor .sig-card {
  border-top: 0;
}
.sig-t-harbor .sig-rows {
  margin: 18px -22px 0;
  padding: 10px 22px;
  border: 0;
  border-top: 6px solid var(--sg-main);
  background: var(--sg-dark);
}
.sig-t-harbor .sig-row {
  border-bottom-color: rgba(255, 255, 255, 0.14);
}
.sig-t-harbor .sig-row:last-child {
  border-bottom: 0;
}
:root body.sig-t-harbor a.sig-row,
.sig-t-harbor .sig-row-text strong {
  color: #fff;
}
.sig-t-harbor .sig-row-text small {
  color: var(--sg-light);
}
.sig-t-harbor .sig-ico {
  background: rgba(255, 255, 255, 0.12);
  color: var(--sg-light);
}

/* express: a slanted double stripe beside the header and a slanted bar along the bottom */
.sig-t-express .sig-head {
  position: relative;
  border-left: 0;
  padding-left: 30px;
}
.sig-t-express .sig-head::before {
  content: '';
  position: absolute;
  left: 4px;
  top: 2px;
  bottom: 2px;
  width: 6px;
  background: var(--sg-main);
  box-shadow: 11px 0 0 -2px var(--sg-dark);
  transform: skewX(-12deg);
}
.sig-t-express .sig-card {
  position: relative;
  overflow: hidden;
  border-top: 0;
  padding-bottom: 34px;
}
.sig-t-express .sig-card::after {
  content: '';
  position: absolute;
  inset: auto 0 0 0;
  height: 6px;
  background: linear-gradient(100deg, var(--sg-dark) 66%, transparent 66%, transparent 68%, var(--sg-main) 68%);
}
.sig-t-express .sig-ico-mail,
.sig-t-express .sig-ico-phone,
.sig-t-express .sig-ico-web,
.sig-t-express .sig-ico-pin {
  background: var(--sg-tint);
  color: var(--sg-main);
}

/* atelier, arch and showcase use a serif voice */
.sig-t-atelier .sig-name,
.sig-t-arch .sig-name,
.sig-t-showcase .sig-name,
.sig-t-atelier .sig-role,
.sig-t-arch .sig-role,
.sig-t-showcase .sig-role,
.sig-t-atelier .sig-tagline,
.sig-t-arch .sig-tagline,
.sig-t-showcase .sig-tagline,
.sig-t-showcase .sig-cta {
  font-family: Georgia, 'Times New Roman', serif;
}
.sig-t-atelier .sig-role,
.sig-t-arch .sig-role {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

/* atelier: gold diamonds instead of icons, a hairline above the details */
.sig-t-atelier .sig-ico,
.sig-t-arch .sig-ico {
  width: 20px;
  height: 20px;
  background: none;
  color: var(--sg-main);
}
.sig-t-atelier .sig-ico svg,
.sig-t-arch .sig-ico svg {
  display: none;
}
.sig-t-atelier .sig-ico::before {
  content: '';
  width: 7px;
  height: 7px;
  background: var(--sg-main);
  transform: rotate(45deg);
}
.sig-t-atelier .sig-rows {
  border-top-color: var(--sg-main);
}
:root body.sig-t-atelier a.sig-btn,
:root body.sig-t-arch a.sig-btn {
  border-radius: 4px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.85rem;
}

/* arch: the logo in an arched window, a monogram letter on each line, three swatches in the corner */
.sig-t-arch .sig-card {
  position: relative;
  border-top: 0;
}
.sig-t-arch .sig-card::before {
  content: '';
  position: absolute;
  top: 22px;
  right: 56px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--sg-light);
  box-shadow: 14px 0 0 var(--sg-main), 28px 0 0 var(--sg-dark);
}
.sig-t-arch .sig-avatar.sig-logo,
.sig-t-arch .sig-avatar.sig-initials {
  box-sizing: border-box;
  width: 124px;
  height: 148px;
  max-width: none;
  max-height: none;
  padding: 30px 14px 14px;
  border-radius: 62px 62px 8px 8px;
  border: 1.5px solid var(--sg-main);
  box-shadow: inset 0 0 0 5px var(--sg-soft), inset 0 0 0 6px var(--sg-light);
  background: var(--sg-tint);
  object-fit: contain;
  mix-blend-mode: multiply;
}
.sig-t-arch .sig-ico::before {
  content: attr(data-l);
  font-family: Georgia, 'Times New Roman', serif;
  font-weight: 700;
  font-size: 0.95rem;
}
.sig-t-arch .sig-head::after {
  content: '';
  width: 110px;
  height: 9px;
  margin-top: 14px;
  background: linear-gradient(var(--sg-main), var(--sg-main)) left center / 44px 1px no-repeat, linear-gradient(var(--sg-main), var(--sg-main)) right center / 44px 1px no-repeat;
}

/* showcase: the photo crowns the page in a curved frame, on warm cream, with a serif headline */
:root body.sig-t-showcase {
  background: var(--sg-cream);
}
.sig-t-showcase .sig-card {
  background: var(--sg-cream);
  border-top: 0;
  overflow: hidden;
}
.sig-t-showcase .sig-avatar.sig-logo {
  background: transparent;
  mix-blend-mode: multiply;
}
.sig-t-showcase .sig-hero {
  height: 210px;
  border-radius: 0;
  clip-path: ellipse(88% 100% at 50% 0);
  margin-bottom: 8px;
}
.sig-t-showcase .sig-tagline {
  margin-top: 12px;
  color: var(--sg-dark);
  font-size: 1.55rem;
  line-height: 1.15;
  font-style: normal;
  font-weight: 700;
}
.sig-t-showcase .sig-cta {
  font-size: 1.05rem;
}
.sig-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 22px;
}
.sig-brand {
  display: inline-flex;
  width: 20px;
  height: 20px;
}
.sig-brand svg {
  width: 20px;
  height: 20px;
}
.sig-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 99px;
  background: var(--sg-tint, var(--recess));
  color: var(--sg-dark, var(--brand));
  font-weight: 700;
  text-decoration: none;
}
:root body a.sig-link {
  color: var(--sg-dark, var(--brand));
}
:root body.sig-dark a.sig-link {
  color: #fff;
}
.sig-link:hover {
  background: var(--line);
}
.sig-foot {
  margin: 32px 0 0;
  text-align: center;
  font-size: 0.85rem;
  color: var(--muted);
}
.sig-report {
  margin-inline-start: 8px;
  padding: 2px 10px;
  border: 1px solid var(--line2);
  border-radius: 99px;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 0.8rem;
  cursor: pointer;
}
.sig-report:hover {
  color: var(--ink);
  border-color: var(--ink);
}

/* ---- home page: the tabbed entry box, the signature card, the three ways in, the designs strip, the company and region sections ---- */
.hv-entry {
  width: 100%;
  max-width: 680px;
  display: grid;
  gap: 10px;
  justify-items: center;
}
.hv-tabs {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  border-radius: var(--r-pill);
  background: var(--recess);
}
.hv-tabs button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 18px;
  border: 0;
  border-radius: var(--r-pill);
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.hv-tabs button svg {
  width: 18px;
  height: 18px;
}
.hv-tabs button[aria-selected='true'] {
  background: #fff;
  color: var(--ink);
  box-shadow: var(--shadow-sm);
}
.hv-tabs button:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}
.hv-pane {
  width: 100%;
  display: grid;
  justify-items: center;
}
.hv-pane[hidden] {
  display: none;
}
.hv-pane .quick .btn {
  white-space: nowrap;
}
.hv-sig-hint {
  display: block;
  margin-top: 10px;
  color: var(--brand-dark);
  font-weight: 600;
  font-size: 0.85rem;
  text-align: center;
}
.hv-duo {
  display: grid;
  gap: 32px;
  align-items: stretch;
  max-width: 1120px;
  margin: 52px auto 0;
}
@media (min-width: 900px) {
  .hv-duo {
    grid-template-columns: 1fr 1.1fr;
  }
}
.hv-panel {
  position: relative;
  display: flex;
  flex-direction: column;
  text-align: left;
}
.hv-duo .hero-visual {
  margin: 0;
  max-width: none;
  height: 100%;
}
.hv-duo .hero-visual .vis-card {
  height: 100%;
}
.hv-label {
  position: absolute;
  top: -14px;
  left: 22px;
  z-index: 3;
  padding: 6px 14px;
  border-radius: var(--r-pill);
  background: var(--ink);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 800;
  box-shadow: 0 8px 18px -8px rgba(16, 13, 12, 0.6);
}
.hv-example {
  position: absolute;
  top: -14px;
  right: 22px;
  z-index: 3;
  padding: 6px 14px;
  border: 1px solid var(--warn-line);
  border-radius: var(--r-pill);
  background: var(--warn-soft);
  color: var(--warn-ink);
  font-size: 0.78rem;
  font-weight: 800;
}
/* the shared look of both cards: a soft gradient frame and a window bar */
.hv-dealmock .vis-card,
.hv-sigcard .hv-mail {
  display: flex;
  flex-direction: column;
  flex: 1;
  height: 100%;
  overflow: hidden;
  border: 1.5px solid transparent;
  border-radius: var(--r-lg);
  background: linear-gradient(#fff, #fff) padding-box, linear-gradient(135deg, #bfe3d3, #f3d9a8, #c9d8ff) border-box;
  box-shadow: 0 34px 70px -38px rgba(9, 58, 51, 0.6);
}
.hv-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 16px;
  background: var(--recess);
  border-bottom: 1px solid var(--line);
}
.hv-bar i {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #ff9a8f;
}
.hv-bar i:nth-child(2) {
  background: #ffd37a;
}
.hv-bar i:nth-child(3) {
  background: #7fd9a2;
}
.hv-url {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 1;
  margin-left: 10px;
  padding: 6px 14px;
  border-radius: var(--r-pill);
  background: #fff;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 600;
}
.hv-url svg {
  width: 13px;
  height: 13px;
  color: var(--ok-dark);
}

/* the product card: the photo is the hero and takes up whatever height the email window needs */
.hv-shot {
  position: relative;
  flex: 1;
  min-height: 210px;
  background: #ef8a25;
  overflow: hidden;
}
.hv-photo {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 42%;
}
.hv-on-store,
.hv-on-off,
.hv-on-time {
  position: absolute;
  z-index: 1;
  box-shadow: 0 8px 18px -10px rgba(16, 13, 12, 0.6);
}
.hv-on-store {
  top: 14px;
  left: 14px;
}
.hv-on-off {
  top: 14px;
  right: 14px;
}
.hv-on-time {
  bottom: 14px;
  left: 14px;
}
.hv-deal {
  display: grid;
  gap: 12px;
  padding: 18px 22px 14px;
}
.hv-deal h2 {
  margin: 0;
  font-size: 1.3rem;
  line-height: 1.22;
  letter-spacing: -0.025em;
}
.hv-deal .price-row {
  margin: 0;
}
.hv-buy {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.hv-code {
  padding: 8px 14px;
  border: 1px solid var(--brand-line);
  border-radius: var(--r-pill);
  background: var(--brand-soft);
  color: var(--brand-dark);
  font-size: 0.88rem;
  font-weight: 800;
}

/* the email window: a signature big enough to read */
.hv-hdr {
  display: flex;
  gap: 14px;
  padding: 11px 20px;
  border-bottom: 1px solid var(--line);
  font-size: 0.92rem;
  color: var(--muted);
}
.hv-hdr span {
  width: 60px;
}
.hv-hdr b {
  color: var(--ink);
  font-weight: 700;
}
.hv-body {
  display: grid;
  gap: 12px;
  padding: 22px 22px 10px;
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.55;
}
.hv-body p {
  margin: 0;
  max-width: 34em;
}
.hv-sigwrap {
  position: relative;
  display: grid;
  gap: 14px;
  justify-items: start;
  margin: 0 22px 8px;
}
.hv-tip {
  padding: 7px 14px;
  border-radius: var(--r-pill);
  background: var(--brand-soft);
  border: 1px solid var(--brand-line);
  color: var(--brand-dark);
  font-size: 0.84rem;
  font-weight: 800;
}
.hv-sigcard canvas,
.hv-sg canvas {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--r-xs);
  background: #fff;
}
.hv-sg canvas {
  border: 1px solid #eef1ee;
}
.hv-taps {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
  padding: 14px 22px 18px;
}
.hv-taps span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: var(--r-pill);
  background: var(--recess);
  font-size: 0.88rem;
  font-weight: 700;
}
.hv-taps svg {
  width: 16px;
  height: 16px;
}

/* the hero headline: one weight, one colour, tight and large; the personality is in the scale and the live demo below it */
.hv-hero h1 {
  font-size: clamp(2.5rem, 6.2vw, 4.3rem);
  line-height: 1.02;
  font-weight: 800;
  letter-spacing: -0.045em;
  max-width: 13em;
  margin-left: auto;
  margin-right: auto;
  text-wrap: balance;
}
.hv-hero .lead {
  max-width: 34em;
  line-height: 1.6;
}

/* three ways to start: a ruled list, each row a whole link */
.hv-rows {
  max-width: 860px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line2);
}
.hv-rows li {
  border-bottom: 1px solid var(--line2);
}
.hv-rows a {
  display: grid;
  gap: 6px 32px;
  align-items: baseline;
  padding: 26px 4px;
  color: var(--ink);
  text-decoration: none;
}
@media (min-width: 760px) {
  .hv-rows a {
    grid-template-columns: 17rem 1fr auto;
  }
}
:root body .hv-rows a {
  color: var(--ink);
}
.hv-rows h3 {
  margin: 0;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
}
.hv-rows p {
  margin: 0;
  max-width: 34em;
  color: var(--muted);
  line-height: 1.55;
}
.hv-act {
  font-weight: 800;
  color: var(--brand-dark);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
  text-decoration-color: var(--brand-line);
  white-space: nowrap;
}
.hv-rows a:hover .hv-act,
.hv-rows a:focus-visible .hv-act {
  text-decoration-color: var(--brand);
}
.hv-rows a:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}

/* from the first link to the hundredth: a real sequence, drawn as one line with three stops */
.hv-line {
  display: grid;
  gap: 28px;
  max-width: 980px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
  counter-reset: hv;
}
@media (min-width: 800px) {
  .hv-line {
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
  }
}
.hv-line li {
  position: relative;
  padding-top: 34px;
  border-top: 2px solid var(--ink);
  counter-increment: hv;
}
.hv-line li::before {
  content: counter(hv);
  position: absolute;
  top: -15px;
  left: 0;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 800;
}
.hv-line h3 {
  margin: 0 0 8px;
  font-size: 1.3rem;
  letter-spacing: -0.02em;
}
.hv-line p {
  margin: 0;
  max-width: 28em;
  color: var(--muted);
  line-height: 1.55;
}

.hv-strip {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
}
@media (min-width: 700px) {
  .hv-strip {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1000px) {
  .hv-strip {
    grid-template-columns: repeat(3, 1fr);
  }
}
.hv-sg {
  display: grid;
  gap: 8px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: #fff;
  color: var(--ink);
  text-decoration: none;
}
:root body a.hv-sg {
  color: var(--ink);
}
.hv-sg:hover,
.hv-sg:focus-visible {
  border-color: var(--brand);
}
.hv-more {
  margin: 28px 0 0;
  text-align: center;
}
.sig-feats {
  margin-top: 36px;
}

.hv-team {
  display: grid;
  gap: 32px;
  align-items: center;
  padding: 32px;
  border-radius: var(--r-xl);
  background: linear-gradient(135deg, #093a33, #0f6a5b);
  color: #fff;
}
@media (min-width: 900px) {
  .hv-team {
    grid-template-columns: 1.1fr 1fr;
    padding: 48px;
  }
}
.hv-team h2 {
  margin: 12px 0;
  color: #fff;
}
.hv-team p {
  color: #cfe8df;
  line-height: 1.55;
}
.hv-team ul {
  display: grid;
  gap: 10px;
  margin: 16px 0 24px;
  padding: 0;
  list-style: none;
}
.hv-team li {
  display: flex;
  gap: 10px;
}
.hv-team li::before {
  content: '✓';
  color: #bfe85c;
  font-weight: 800;
}
.hv-soon {
  display: inline-block;
  padding: 5px 12px;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.hv-team-art {
  display: grid;
  gap: 10px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--r-lg);
  background: rgba(255, 255, 255, 0.08);
}
.hv-team-art .hv-soon {
  justify-self: start;
}
.hv-team-art > div {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: var(--r-sm);
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.92rem;
}
.hv-team-art b {
  display: grid;
  place-items: center;
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #bfe85c;
  color: #093a33;
}
.hv-team-art small {
  display: block;
  color: #cfe8df;
}
.hv-team-art em {
  margin-left: auto;
  font-style: normal;
  font-size: 0.75rem;
  font-weight: 800;
  color: #bfe85c;
}
.hv-dim {
  opacity: 0.7;
}
/* made for the region: the Arabic line is the picture; three plain columns under it, no boxes */
.hv-reg {
  display: grid;
  justify-items: center;
  gap: 18px;
  text-align: center;
}
.hv-reg .hv-arab {
  margin: 0;
  font-size: clamp(1.8rem, 4.6vw, 3.1rem);
  font-weight: 800;
  line-height: 1.25;
  color: var(--brand-dark);
}
.hv-reg h2 {
  margin: 0;
  max-width: 17em;
  text-wrap: balance;
}
.hv-reg-cols {
  display: grid;
  gap: 28px;
  width: 100%;
  max-width: 980px;
  margin-top: 18px;
  text-align: left;
}
@media (min-width: 800px) {
  .hv-reg-cols {
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
  }
  .hv-reg-cols > div {
    padding: 0 28px;
    border-left: 1px solid var(--line2);
  }
  .hv-reg-cols > div:first-child {
    padding-left: 0;
    border-left: 0;
  }
}
.hv-reg-cols h3 {
  margin: 0 0 6px;
  font-size: 1.1rem;
}
.hv-reg-cols p {
  margin: 0;
  max-width: 24em;
  color: var(--muted);
  line-height: 1.55;
}
.cta-duo {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  margin: 22px 0 16px;
}
.btn.ghost-light {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 24px;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.12);
  border: 1.5px solid rgba(255, 255, 255, 0.45);
  color: #fff;
  font-weight: 800;
  text-decoration: none;
  transition: background 0.15s, border-color 0.15s;
}
.btn.ghost-light:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: #fff;
  color: #fff;
}

/* ---- public signatures page: the designs and the try-it form ---- */
.sigd-form {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  max-width: 880px;
  margin: 0 auto 26px;
  padding: 18px;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 14px 34px -22px rgba(15, 23, 20, 0.35);
}
.sigd-form label {
  display: grid;
  gap: 4px;
  font-weight: 700;
  font-size: 0.85rem;
}
.sigd-form input[type='text'],
.sigd-form input:not([type]),
.sigd-form input[type='email'] {
  min-height: 44px;
}
.sigd-colors {
  grid-column: 1 / -1;
}
.sigd-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
.sigd-card {
  display: grid;
  gap: 8px;
  padding: 12px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 10px 26px -22px rgba(15, 23, 20, 0.45);
  color: var(--ink);
  text-decoration: none;
}
:root body a.sigd-card {
  color: var(--ink);
}
.sigd-card:hover,
.sigd-card:focus-visible {
  border-color: var(--brand);
  box-shadow: 0 14px 30px -18px rgba(15, 106, 91, 0.55);
}
.sigd-canvas {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
  background: #fff;
  border: 1px solid #eef0ee;
}
.sigd-meta {
  display: grid;
  gap: 2px;
}
.sigd-meta small {
  color: var(--muted);
  font-weight: 500;
}
.sigd-use {
  font-weight: 800;
  color: var(--brand);
  font-size: 0.9rem;
}
.sigd-note {
  margin-top: 14px;
  text-align: center;
}
@media (min-width: 640px) {
  .sigd-form {
    grid-template-columns: repeat(3, 1fr);
  }
  .sigd-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1000px) {
  .sigd-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ---- signature editor (dashboard, Signatures tab): mobile first ---- */
:root body .sig-title {
  font-size: 1.35rem;
  letter-spacing: -0.03em;
  margin: 0;
}
.sig-intro {
  margin: -0.4em 0 0.8em;
  max-width: 62ch;
}
.sig-limit {
  color: var(--warn);
}
.sig-h {
  font-size: 1.05rem;
  margin: 0 0 0.6em;
}
.sig-h3 {
  font-size: 0.95rem;
  margin: 1.2em 0 0.3em;
}
.sig-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}
.sig-item {
  display: grid;
  gap: 10px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--panel);
  box-shadow: var(--shadow-sm);
}
.sig-thumb {
  display: grid;
  place-items: center;
  min-height: 64px;
  border-radius: var(--r-xs);
  border: 1px solid var(--line);
  background: #fff;
  overflow: hidden;
}
.sig-thumb img,
.sig-thumb-canvas {
  display: block;
  width: 100%;
  height: auto;
  background: #fff;
}
.sig-item-text {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 10px;
  min-width: 0;
}
.sig-item-text b {
  flex-basis: 100%;
  overflow-wrap: anywhere;
}
.sig-item .actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
@media (min-width: 760px) {
  .sig-item {
    grid-template-columns: 260px 1fr auto;
    align-items: center;
  }
}
.sig-ed-head > div {
  display: grid;
  justify-items: start;
  gap: 6px;
}
.sig-ed {
  display: grid;
  gap: 14px;
}
.sig-ed > * {
  min-width: 0;
}
.sig-ed-preview {
  display: grid;
  gap: 10px;
  align-content: start;
}
.sig-canvas-wrap {
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: #fff;
  box-shadow: var(--shadow-sm);
}
.sig-canvas {
  display: block;
  width: 100%;
  max-width: 600px;
  height: auto;
}
.sig-colors {
  border: 0;
  margin: 14px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.sig-colors legend {
  padding: 0;
  margin-bottom: 4px;
  font-weight: 700;
}
.sig-sw {
  position: relative;
  cursor: pointer;
}
.sig-sw input[type='radio'] {
  position: absolute;
  opacity: 0;
  inset: 0;
}
.sig-sw .sw {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 30px;
  height: 30px;
  padding: 0 8px;
  border-radius: 99px;
  border: 2px solid #fff;
  box-shadow: 0 0 0 1px var(--line2);
  font-size: 0.75rem;
  font-weight: 700;
}
.sig-sw input:checked + .sw {
  box-shadow: 0 0 0 2px var(--ink);
}
.sig-sw input:focus-visible + .sw {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
}
.sw-auto,
.sw-custom {
  background: #fff;
  color: var(--ink);
  gap: 6px;
}
.sw-custom input {
  width: 22px;
  height: 22px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}
.sig-sizes {
  border: 0;
  margin: 14px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
}
.sig-sizes legend {
  padding: 0;
  margin-bottom: 4px;
  font-weight: 700;
}
.sig-sizes .field-hint {
  flex-basis: 100%;
  margin: 0;
}
.sig-tpls {
  border: 0;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 8px;
}
.sig-tpls legend {
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--body);
  margin-bottom: 0.4em;
  padding: 0;
}
:root body .sig-tpl {
  position: relative;
  display: grid;
  gap: 4px;
  margin: 0;
  padding: 6px;
  border: 2px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--recess);
  cursor: pointer;
  text-align: center;
}
.sig-tpl input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.sig-tpl:has(input:checked) {
  border-color: var(--brand);
  background: #fff;
}
.sig-tpl:has(input:focus-visible) {
  outline: 3px solid var(--brand);
  outline-offset: 2px;
}
.sig-tpl-canvas {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 4px;
  box-shadow: var(--shadow-sm);
}
:root body .sig-field {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2px 12px;
  margin-bottom: 0.8em;
}
.sig-field > label:first-child {
  margin: 0;
}
:root body .sig-show {
  display: flex;
  align-items: center;
  gap: 0.5em;
  margin: 0.2em 0 0;
  font-weight: 600;
  font-size: 0.8rem;
  color: var(--muted);
}
@media (min-width: 560px) {
  :root body .sig-field {
    grid-template-columns: 1fr auto;
    align-items: center;
  }
  .sig-field > label:first-child {
    grid-column: 1 / -1;
  }
}
.sig-logo-prev {
  box-sizing: border-box;
  width: auto;
  height: 64px;
  max-width: 160px;
  padding: 6px;
  border-radius: 12px;
  object-fit: contain;
  background: #fff;
  border: 1px solid var(--line);
}
.sig-ed-form .sig-logo-hint {
  margin: 4px 0 8px;
}
.sig-ed-form .up-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.sig-ed-form .up-ctl {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.sig-ed-form .up-ctl label.btn {
  margin: 0;
}
.sig-ed-form .up-ctl:has(input:focus-visible) label.btn {
  outline: 3px solid var(--brand);
  outline-offset: 2px;
}
:root body .sig-switch {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  font-size: 0.95rem;
  cursor: pointer;
}
.sig-switch input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}
.sig-switch-ui {
  position: relative;
  flex: none;
  width: 46px;
  height: 26px;
  border-radius: 99px;
  background: var(--line2);
  transition: background 0.15s;
}
.sig-switch-ui::after {
  content: '';
  position: absolute;
  top: 3px;
  inset-inline-start: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: inset-inline-start 0.15s;
}
.sig-switch input:checked + .sig-switch-ui {
  background: var(--brand);
}
.sig-switch input:checked + .sig-switch-ui::after {
  inset-inline-start: 23px;
}
.sig-switch input:focus-visible + .sig-switch-ui {
  outline: 3px solid var(--brand);
  outline-offset: 2px;
}
:root body .sig-linkrow {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0 10px;
  align-items: end;
  padding: 10px 0;
  border-top: 1px solid var(--line);
}
.sig-linkrow label {
  margin-bottom: 0.5em;
}
.sig-linkrow .btn {
  justify-self: start;
  margin-bottom: 0.5em;
}
@media (min-width: 560px) {
  :root body .sig-linkrow {
    grid-template-columns: 10rem 1fr auto;
  }
}
.sig-ed-save {
  display: flex;
  justify-content: flex-end;
}
/* the phone-sized preview of the contact page reuses the page's own .sig-* look, a little smaller */
.sig-phone {
  width: min(100%, 320px);
  margin-inline: auto;
  border: 10px solid var(--ink);
  border-radius: 34px;
  overflow: hidden;
  background: linear-gradient(180deg, #e9f6ec, var(--bg) 45%);
  box-shadow: var(--shadow);
}
.sig-phone-bar {
  padding: 8px;
  text-align: center;
  font-size: 0.72rem;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.7);
}
.sig-phone-screen {
  padding: 22px 16px 14px;
}
.sig-phone .sig-hero {
  display: block;
  width: calc(100% + 44px);
  max-width: none;
  height: 190px;
  margin: -28px -22px 18px;
  object-fit: cover;
  border-radius: 18px 18px 0 0;
}
.sig-avatar {
  width: 76px;
  height: 76px;
}
:root body .sig-phone .sig-avatar.sig-logo {
  width: auto;
  height: auto;
  max-width: 180px;
  max-height: 76px;
  padding: 8px;
  border-radius: 14px;
}
.sig-phone .sig-initials {
  font-size: 1.6rem;
}
:root body .sig-phone .sig-name {
  margin-top: 10px;
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--ink);
  line-height: 1.2;
}
.sig-phone .sig-btns {
  gap: 8px;
  margin-top: 16px;
}
.sig-phone .sig-btn {
  min-height: 42px;
  padding: 8px 14px;
  font-size: 0.9rem;
}
.sig-phone /* ---------- one contact-page layout per template (body.sig-t-<template>) ---------- */
.sig-head {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.sig-cta {
  margin: 4px 0 0;
  text-align: center;
  color: var(--muted);
  font-weight: 600;
  overflow-wrap: anywhere;
}
.sig-t-classic .sig-head,
.sig-t-signal .sig-head,
.sig-t-express .sig-head {
  align-items: flex-start;
  border-left: 4px solid var(--sg-main);
  padding-left: 14px;
}
.sig-t-classic .sig-head,
.sig-t-signal .sig-head,
.sig-t-express .sig-head,
.sig-t-compact .sig-head,
.sig-t-minimal .sig-head,
.sig-t-split .sig-head,
.sig-t-harbor .sig-head,
.sig-t-card .sig-head {
  text-align: left;
}
.sig-t-classic .sig-name,
.sig-t-signal .sig-name,
.sig-t-express .sig-name,
.sig-t-compact .sig-name,
.sig-t-minimal .sig-name,
.sig-t-split .sig-name,
.sig-t-harbor .sig-name,
.sig-t-card .sig-name,
.sig-t-classic .sig-role,
.sig-t-signal .sig-role,
.sig-t-express .sig-role,
.sig-t-compact .sig-role,
.sig-t-minimal .sig-role,
.sig-t-split .sig-role,
.sig-t-harbor .sig-role,
.sig-t-card .sig-role,
.sig-t-classic .sig-tagline,
.sig-t-signal .sig-tagline,
.sig-t-express .sig-tagline,
.sig-t-classic .sig-cta,
.sig-t-signal .sig-cta,
.sig-t-express .sig-cta {
  text-align: left;
}
.sig-t-classic .sig-avatar,
.sig-t-signal .sig-avatar,
.sig-t-express .sig-avatar,
.sig-t-minimal .sig-avatar,
.sig-t-harbor .sig-avatar,
.sig-t-card .sig-avatar,
.sig-t-split .sig-avatar {
  align-self: flex-start;
}

/* sidebar: a deep colour band across the top with the logo on a white plate */
.sig-t-sidebar .sig-card {
  border-top: 0;
}
.sig-t-sidebar .sig-head {
  margin: -28px -22px 18px;
  padding: 26px 22px 22px;
  border-radius: 18px 18px 0 0;
  background: linear-gradient(135deg, var(--sg-dark), var(--sg-main));
}
.sig-t-sidebar .sig-avatar.sig-logo {
  padding: 8px 12px;
  border-radius: 14px;
  background: #fff;
}
:root body.sig-t-sidebar .sig-name {
  color: #fff;
}
:root body.sig-t-sidebar .sig-role {
  color: var(--sg-light);
}

/* bold: a colour header with the name on the left and the logo on the right, and a bright strip under it */
.sig-t-bold .sig-card {
  border-top: 0;
}
.sig-t-bold .sig-head {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 2px 14px;
  margin: -28px -22px 18px;
  padding: 24px 22px;
  border-radius: 18px 18px 0 0;
  background: linear-gradient(90deg, var(--sg-dark), var(--sg-main));
  border-bottom: 5px solid var(--sg-light);
  text-align: left;
}
.sig-t-bold .sig-avatar {
  grid-column: 2;
  grid-row: 1 / span 3;
  background: #fff;
  border-radius: 14px;
  padding: 6px 10px;
}
.sig-t-bold .sig-name,
.sig-t-bold .sig-role {
  grid-column: 1;
  text-align: left;
}
:root body.sig-t-bold .sig-name {
  color: #fff;
}
:root body.sig-t-bold .sig-role {
  color: var(--sg-light);
}

/* compact: the logo beside the name, tight rows, a thin colour bar along the bottom */
.sig-t-compact .sig-page {
  padding-top: 18px;
}
.sig-t-compact .sig-card {
  position: relative;
  padding: 18px 18px 22px;
  border-top: 0;
  border-radius: 16px;
}
.sig-t-compact .sig-card::after {
  content: '';
  position: absolute;
  inset: auto 0 0 0;
  height: 4px;
  border-radius: 0 0 16px 16px;
  background: linear-gradient(90deg, var(--sg-main), var(--sg-light));
}
.sig-t-compact .sig-head {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 0 14px;
}
.sig-t-compact .sig-avatar {
  grid-row: 1 / span 3;
  width: 58px;
  height: 58px;
  max-width: 96px;
}
.sig-t-compact .sig-avatar.sig-logo {
  width: auto;
  height: auto;
  max-height: 58px;
}
.sig-t-compact .sig-name {
  margin-top: 0;
  font-size: 1.3rem;
}
.sig-t-compact .sig-row {
  padding: 8px 2px;
}
.sig-t-compact .sig-ico {
  width: 30px;
  height: 30px;
}
.sig-t-compact .sig-btn {
  min-height: 44px;
  margin-top: 14px;
}

/* minimal: no card, plain text, a short colour rule and no icons */
:root body.sig-t-minimal {
  background: #fff;
}
.sig-t-minimal .sig-card {
  padding: 8px 4px;
  border-top: 0;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
}
.sig-t-minimal .sig-head::after {
  content: '';
  width: 56px;
  height: 3px;
  margin-top: 14px;
  background: linear-gradient(90deg, var(--sg-main), var(--sg-light));
}
.sig-t-minimal .sig-ico {
  display: none;
}
.sig-t-minimal .sig-rows {
  border-top: 0;
  margin-top: 16px;
}
.sig-t-minimal .sig-row {
  padding: 9px 0;
  border-bottom: 0;
}
:root body.sig-t-minimal a.sig-btn {
  background: transparent;
  color: var(--sg-dark);
  border: 1.5px solid var(--sg-main);
}

/* split: the logo and name on top, a rule, and the details in two columns */
.sig-t-split .sig-head {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 0 14px;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--sg-main);
}
.sig-t-split .sig-avatar {
  grid-row: 1 / span 3;
}
.sig-t-split .sig-avatar.sig-logo {
  max-width: 120px;
  max-height: 64px;
}
.sig-t-split .sig-rows {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 0 18px;
  border-top: 0;
  margin-top: 6px;
}

/* card: a softly tinted panel with a strong edge */
:root body.sig-t-card .sig-card {
  background: var(--sg-tint);
  border-top: 0;
  border-left: 7px solid var(--sg-main);
  border-radius: 20px;
}
.sig-t-card .sig-row {
  border-color: var(--sg-line);
}

/* signal: a bold bar beside the header (above) and a two-tone bar along the bottom (above) */

/* harbor: the details sit in a deep band */
.sig-t-harbor .sig-card {
  border-top: 0;
}
.sig-t-harbor .sig-rows {
  margin: 18px -22px 0;
  padding: 10px 22px;
  border: 0;
  border-top: 6px solid var(--sg-main);
  background: var(--sg-dark);
}
.sig-t-harbor .sig-row {
  border-bottom-color: rgba(255, 255, 255, 0.14);
}
.sig-t-harbor .sig-row:last-child {
  border-bottom: 0;
}
:root body.sig-t-harbor a.sig-row,
.sig-t-harbor .sig-row-text strong {
  color: #fff;
}
.sig-t-harbor .sig-row-text small {
  color: var(--sg-light);
}
.sig-t-harbor .sig-ico {
  background: rgba(255, 255, 255, 0.12);
  color: var(--sg-light);
}

/* express: a slanted double stripe beside the header and a slanted bar along the bottom */
.sig-t-express .sig-head {
  position: relative;
  border-left: 0;
  padding-left: 30px;
}
.sig-t-express .sig-head::before {
  content: '';
  position: absolute;
  left: 4px;
  top: 2px;
  bottom: 2px;
  width: 6px;
  background: var(--sg-main);
  box-shadow: 11px 0 0 -2px var(--sg-dark);
  transform: skewX(-12deg);
}
.sig-t-express .sig-card {
  position: relative;
  overflow: hidden;
  border-top: 0;
  padding-bottom: 34px;
}
.sig-t-express .sig-card::after {
  content: '';
  position: absolute;
  inset: auto 0 0 0;
  height: 6px;
  background: linear-gradient(100deg, var(--sg-dark) 66%, transparent 66%, transparent 68%, var(--sg-main) 68%);
}
.sig-t-express .sig-ico-mail,
.sig-t-express .sig-ico-phone,
.sig-t-express .sig-ico-web,
.sig-t-express .sig-ico-pin {
  background: var(--sg-tint);
  color: var(--sg-main);
}

/* atelier, arch and showcase use a serif voice */
.sig-t-atelier .sig-name,
.sig-t-arch .sig-name,
.sig-t-showcase .sig-name,
.sig-t-atelier .sig-role,
.sig-t-arch .sig-role,
.sig-t-showcase .sig-role,
.sig-t-atelier .sig-tagline,
.sig-t-arch .sig-tagline,
.sig-t-showcase .sig-tagline,
.sig-t-showcase .sig-cta {
  font-family: Georgia, 'Times New Roman', serif;
}
.sig-t-atelier .sig-role,
.sig-t-arch .sig-role {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

/* atelier: gold diamonds instead of icons, a hairline above the details */
.sig-t-atelier .sig-ico,
.sig-t-arch .sig-ico {
  width: 20px;
  height: 20px;
  background: none;
  color: var(--sg-main);
}
.sig-t-atelier .sig-ico svg,
.sig-t-arch .sig-ico svg {
  display: none;
}
.sig-t-atelier .sig-ico::before {
  content: '';
  width: 7px;
  height: 7px;
  background: var(--sg-main);
  transform: rotate(45deg);
}
.sig-t-atelier .sig-rows {
  border-top-color: var(--sg-main);
}
:root body.sig-t-atelier a.sig-btn,
:root body.sig-t-arch a.sig-btn {
  border-radius: 4px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.85rem;
}

/* arch: the logo in an arched window, a monogram letter on each line, three swatches in the corner */
.sig-t-arch .sig-card {
  position: relative;
  border-top: 0;
}
.sig-t-arch .sig-card::before {
  content: '';
  position: absolute;
  top: 22px;
  right: 56px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--sg-light);
  box-shadow: 14px 0 0 var(--sg-main), 28px 0 0 var(--sg-dark);
}
.sig-t-arch .sig-avatar.sig-logo,
.sig-t-arch .sig-avatar.sig-initials {
  box-sizing: border-box;
  width: 124px;
  height: 148px;
  max-width: none;
  max-height: none;
  padding: 30px 14px 14px;
  border-radius: 62px 62px 8px 8px;
  border: 1.5px solid var(--sg-main);
  box-shadow: inset 0 0 0 5px var(--sg-soft), inset 0 0 0 6px var(--sg-light);
  background: var(--sg-tint);
  object-fit: contain;
  mix-blend-mode: multiply;
}
.sig-t-arch .sig-ico::before {
  content: attr(data-l);
  font-family: Georgia, 'Times New Roman', serif;
  font-weight: 700;
  font-size: 0.95rem;
}
.sig-t-arch .sig-head::after {
  content: '';
  width: 110px;
  height: 9px;
  margin-top: 14px;
  background: linear-gradient(var(--sg-main), var(--sg-main)) left center / 44px 1px no-repeat, linear-gradient(var(--sg-main), var(--sg-main)) right center / 44px 1px no-repeat;
}

/* showcase: the photo crowns the page in a curved frame, on warm cream, with a serif headline */
:root body.sig-t-showcase {
  background: var(--sg-cream);
}
.sig-t-showcase .sig-card {
  background: var(--sg-cream);
  border-top: 0;
  overflow: hidden;
}
.sig-t-showcase .sig-hero {
  height: 210px;
  border-radius: 0;
  clip-path: ellipse(88% 100% at 50% 0);
  margin-bottom: 8px;
}
.sig-t-showcase .sig-tagline {
  margin-top: 12px;
  color: var(--sg-dark);
  font-size: 1.55rem;
  line-height: 1.15;
  font-style: normal;
  font-weight: 700;
}
.sig-t-showcase .sig-cta {
  font-size: 1.05rem;
}
/* velocity: a dark card with a glowing blue accent and a thin car drawn in line art */
:root body.sig-t-velocity {
  background: radial-gradient(ellipse at 85% 10%, #10243d 0%, #07090d 65%);
}
.sig-t-velocity .sig-card {
  background: radial-gradient(ellipse at 88% 8%, #0f2540 0%, #07090d 70%);
  border: 1px solid #1e293b;
  border-top: 1px solid #1e293b;
}
.sig-car {
  width: 100%;
  max-width: 280px;
  margin: -4px 0 6px;
  color: var(--sg-main);
}
.sig-t-velocity .sig-name,
.sig-t-velocity .sig-role,
.sig-t-velocity .sig-tagline {
  font-family: Georgia, 'Times New Roman', serif;
}
:root body.sig-t-velocity .sig-name {
  font-style: italic;
  font-weight: 400;
}
:root body.sig-t-velocity .sig-role {
  color: #94a3b8;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.sig-t-velocity .sig-avatar.sig-logo,
.sig-t-velocity .sig-avatar.sig-initials {
  box-sizing: border-box;
  width: 74px;
  height: 74px;
  max-width: none;
  max-height: none;
  padding: 11px;
  border-radius: 50%;
  border: 2px solid #94a3b8;
  background: #fff;
  object-fit: contain;
}
.sig-t-velocity .sig-ico {
  background: none;
  color: var(--sg-main);
  width: 22px;
  height: 22px;
}
.sig-t-velocity .sig-ico svg {
  display: none;
}
.sig-t-velocity .sig-ico::before {
  content: attr(data-l);
  font-family: Georgia, 'Times New Roman', serif;
  font-weight: 700;
  font-size: 0.95rem;
}
:root body.sig-t-velocity a.sig-btn {
  border-radius: 999px;
  background: linear-gradient(135deg, var(--sg-main), var(--sg-dark-glow, #0077ff));
  color: #07090d;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 0.85rem;
  box-shadow: 0 0 22px rgba(0, 210, 255, 0.35);
}

/* prestige: a black header band, the logo in a silver ring, silver hairlines, blue pill buttons */
.sig-t-prestige .sig-card {
  padding-top: 0;
  overflow: hidden;
  border-top: 0;
  border-radius: 14px;
}
.sig-t-prestige .sig-head {
  margin: 0 -22px 20px;
  padding: 28px 22px 22px;
  background: var(--sg-dark);
  border-bottom: 3px solid;
  border-image: linear-gradient(90deg, #f2f4f5, #8e9399, #d6d9dc) 1;
}
.sig-t-prestige .sig-avatar.sig-logo,
.sig-t-prestige .sig-avatar.sig-initials {
  box-sizing: border-box;
  width: 92px;
  height: 92px;
  max-width: none;
  max-height: none;
  padding: 14px;
  border-radius: 50%;
  border: 3px solid #c9cdd1;
  background: #fff;
  object-fit: contain;
  box-shadow: 0 0 0 2px var(--sg-dark), 0 0 0 3px #8e9399;
}
.sig-t-prestige .sig-name,
.sig-t-prestige .sig-role,
.sig-t-prestige .sig-tagline {
  font-family: Georgia, 'Times New Roman', serif;
}
:root body.sig-t-prestige .sig-name {
  color: #fff;
  font-weight: 400;
  letter-spacing: 0.01em;
}
:root body.sig-t-prestige .sig-role {
  color: #c9cdd1;
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.sig-t-prestige .sig-tagline,
.sig-t-prestige .sig-cta {
  color: #9aa0a6;
}
.sig-t-prestige .sig-rows {
  border-top-color: #d6d9dc;
}
.sig-t-prestige .sig-row {
  border-bottom-color: #e4e6e8;
}
.sig-t-prestige .sig-ico-mail,
.sig-t-prestige .sig-ico-phone,
.sig-t-prestige .sig-ico-web,
.sig-t-prestige .sig-ico-pin {
  background: var(--sg-tint);
  color: var(--sg-main);
}
:root body.sig-t-prestige a.sig-btn {
  border-radius: 999px;
}

/* alignment and contrast touches for the layouts above */
.sig-t-minimal .sig-head,
.sig-t-harbor .sig-head,
.sig-t-card .sig-head {
  align-items: flex-start;
}
.sig-t-compact .sig-tagline,
.sig-t-compact .sig-cta,
.sig-t-minimal .sig-tagline,
.sig-t-minimal .sig-cta,
.sig-t-split .sig-tagline,
.sig-t-split .sig-cta,
.sig-t-harbor .sig-tagline,
.sig-t-harbor .sig-cta,
.sig-t-card .sig-tagline,
.sig-t-card .sig-cta,
.sig-t-bold .sig-tagline,
.sig-t-bold .sig-cta {
  text-align: left;
}
.sig-t-compact .sig-tagline,
.sig-t-split .sig-tagline {
  grid-column: 2;
}
.sig-t-bold .sig-tagline,
.sig-t-bold .sig-cta {
  grid-column: 1;
}
.sig-t-sidebar .sig-tagline,
.sig-t-sidebar .sig-cta,
.sig-t-bold .sig-tagline,
.sig-t-bold .sig-cta,
.sig-dark .sig-tagline,
.sig-dark .sig-cta {
  color: var(--sg-light);
}
.sig-links {
  margin-top: 14px;
  gap: 6px;
}
.sig-phone .sig-link {
  padding: 6px 12px;
  font-size: 0.82rem;
}
.sig-phone .sig-foot {
  margin-top: 18px;
  font-size: 0.72rem;
}
.sig-phone-off {
  display: grid;
  gap: 6px;
  padding: 48px 20px;
  text-align: center;
  color: var(--muted);
}
.sig-copy-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
  margin-bottom: 12px;
}
/* the rich copy fallback: rendered off screen (not display:none, so it can be selected and copied) */
.sig-copy-src {
  position: fixed;
  top: 0;
  left: -10000px;
  width: 600px;
  background: #fff;
}
.sig-snippet textarea {
  width: 100%;
  font: 0.78rem/1.45 ui-monospace, SFMono-Regular, Consolas, monospace;
  resize: vertical;
}
.sig-howto {
  display: grid;
  gap: 8px;
}
.sig-howto details {
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  padding: 0 12px;
  background: var(--panel);
}
.sig-howto summary {
  min-height: 44px;
  display: flex;
  align-items: center;
  font-weight: 700;
  cursor: pointer;
}
.sig-howto ol {
  margin: 0 0 12px;
  padding-inline-start: 1.3em;
}
.sig-note {
  margin-top: 14px;
}
@media (min-width: 980px) {
  .sig-ed {
    grid-template-columns: minmax(0, 1fr) 420px;
    align-items: start;
  }
  .sig-ed-form {
    grid-row: 1;
    grid-column: 1;
  }
  .sig-ed-preview {
    grid-column: 2;
    position: sticky;
    top: 12px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .sig-switch-ui,
  .sig-switch-ui::after {
    transition: none;
  }
}

/* ---- signatures marketing page (/signatures) and the landing teaser: CSS-drawn, placeholder text only ---- */
.sigm-demo {
  display: grid;
  gap: 28px;
  justify-items: center;
  align-items: start;
  margin: 8px 0 36px;
}
.sigm-mail {
  width: 100%;
  max-width: 560px;
  background: var(--panel);
  overflow: hidden;
  text-align: start;
}
.sigm-mail-bar {
  display: flex;
  gap: 6px;
  padding: 10px 14px;
  background: var(--recess);
  border-bottom: 1px solid var(--line);
}
.sigm-mail-bar i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--line2);
}
.sigm-mail-body {
  position: relative;
  padding: 16px 18px 52px;
  color: var(--ink);
}
.sigm-mail-body p {
  margin: 0 0 10px;
}
.sigm-sig {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  border: 2px dashed var(--brand);
  border-radius: 14px;
  background: var(--panel);
  max-width: 100%;
}
.sigm-avatar {
  flex: none;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  font-weight: 800;
}
.sigm-avatar-lg {
  width: 76px;
  height: 76px;
  font-size: 1.5rem;
  margin-bottom: 8px;
}
.sigm-sig-text {
  display: grid;
  gap: 2px;
  min-width: 0;
  padding-inline-start: 14px;
  border-inline-start: 3px solid var(--brand);
  overflow-wrap: anywhere;
}
.sigm-sig-text span {
  color: var(--muted);
  font-size: 0.9rem;
}
.sigm-sig-text em {
  color: var(--brand);
  font-style: normal;
  font-size: 0.85rem;
}
.sigm-tap {
  position: absolute;
  inset-inline-start: 18px;
  bottom: 14px;
  padding: 6px 14px;
  border-radius: 99px;
  background: var(--ink);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
}
.sigm-phone {
  display: grid;
  justify-items: center;
  gap: 8px;
  width: 100%;
  max-width: 260px;
  padding: 22px 16px 24px;
  border: 8px solid var(--ink);
  border-radius: 32px;
  background: var(--panel);
  text-align: center;
  box-shadow: var(--shadow-lg);
}
.sigm-phone > span:not(.sigm-avatar):not(.sigm-btn) {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 6px;
}
.sigm-btn {
  display: block;
  width: 100%;
  padding: 9px 12px;
  border: 2px solid var(--line);
  border-radius: 99px;
  font-weight: 800;
  font-size: 0.9rem;
}
.sigm-btn-primary {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}
.sigm-teaser {
  display: grid;
  gap: 24px;
  align-items: center;
}
.sigm-teaser-art {
  justify-self: start;
}
@media (min-width: 760px) {
  .sigm-demo {
    grid-template-columns: minmax(0, 560px) 260px;
    justify-content: center;
  }
  .sigm-teaser {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 48px;
  }
}
