/* ==========================================================================
   LocalSEO360 — style.css  (v2, editoriale friendly)
   Unico foglio di stile, mobile-first, senza dipendenze.
   Sezioni:
   1. Design token          6. Componenti (hero, card, CTA, form)
   2. Reset & base          7. Articoli (prose, quote, box, immagini)
   3. Tipografia            8. Footer
   4. Layout & texture      9. Animazioni reveal
   5. Header & navigazione 10. Responsive & accessibilità
   ========================================================================== */

/* 1. Design token --------------------------------------------------------- */
:root {
  /* palette: blu aperto + accento ambra, su carta chiara */
  --blue:           #1c5d8f;   /* blu principale, amichevole */
  --blue-deep:      #14486f;   /* blu scuro per header/footer */
  --blue-sky:       #eaf3fa;   /* azzurro chiarissimo per sfondi */
  --paper:          #fdfcf9;
  --paper-alt:      #f4f6f8;
  --gold:           #e0a92e;   /* ambra calda */
  --gold-bright:    #f2c14e;
  --gold-deep:      #b4831a;
  --ink:            #1e2f3d;   /* testo: quasi-blu, mai nero */
  --text:           #33424f;
  --text-soft:      #63727f;
  --line:           #e2e8ee;

  /* tipografia */
  --font-serif: "Fraunces", Georgia, "Times New Roman", serif;
  --font-sans:  "Inter", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;

  --text-base: 1.0625rem;
  --text-lead: clamp(1.18rem, 1rem + 0.8vw, 1.42rem);
  --text-h1:   clamp(2.1rem, 1.55rem + 2.6vw, 3.4rem);
  --text-h2:   clamp(1.55rem, 1.3rem + 1.2vw, 2.2rem);
  --text-h3:   1.22rem;

  /* spaziature */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 3.5rem;
  --space-xl: 5.5rem;

  --radius:      16px;
  --radius-pill: 999px;

  --shadow-soft: 0 2px 10px rgba(28, 93, 143, 0.07);
  --shadow-lift: 0 16px 38px -14px rgba(28, 93, 143, 0.28);
  --shadow-gold: 0 8px 24px -8px rgba(224, 169, 46, 0.55);

  --container-max: 1120px;
  --header-height: 76px;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

/* 2. Reset & base ---------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--text-base);
  line-height: 1.7;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a {
  color: var(--blue);
  text-decoration-color: var(--gold);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
  transition: color 0.2s ease;
}
a:hover { color: var(--gold-deep); }

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
  border-radius: 4px;
}

::selection { background: var(--gold-bright); color: var(--ink); }

/* 3. Tipografia ------------------------------------------------------------ */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0 0 var(--space-sm);
  text-wrap: balance;
}
h1 { font-size: var(--text-h1); }
h2 { font-size: var(--text-h2); margin-top: var(--space-lg); }
h2::after {
  content: "";
  display: block;
  width: 48px;
  height: 4px;
  margin-top: 0.55rem;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--gold-bright), rgba(224, 169, 46, 0.15));
}
h3 {
  font-family: var(--font-sans);
  font-size: var(--text-h3);
  letter-spacing: 0;
  margin-top: var(--space-md);
}
h3::after { content: none; }

p  { margin: 0 0 var(--space-sm); max-width: 68ch; }
ul, ol { max-width: 62ch; padding-left: 1.3rem; }
li { margin-bottom: var(--space-xs); }
li::marker { color: var(--gold); font-weight: 700; }

.lead {
  font-family: var(--font-serif);
  font-size: var(--text-lead);
  font-style: italic;
  color: var(--text-soft);
  line-height: 1.45;
}

/* 4. Layout & texture ------------------------------------------------------ */
.container {
  width: min(100% - 2.5rem, var(--container-max));
  margin-inline: auto;
}

.section { padding: var(--space-xl) 0; }

/* sezione alternata: azzurrino leggero con trama di puntini */
.section-alt {
  background:
    radial-gradient(rgba(28, 93, 143, 0.05) 1px, transparent 1px) 0 0 / 24px 24px,
    var(--paper-alt);
}

/* 5. Header & navigazione -------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(20, 72, 111, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(242, 193, 78, 0.3);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  min-height: var(--header-height);
  flex-wrap: wrap;
  padding-block: var(--space-xs);
}

.brand {
  font-family: var(--font-serif);
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: 0.03em;
  color: #fff;
  text-decoration: none;
}
.brand span {
  background: linear-gradient(120deg, var(--gold-bright), var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.brand:hover { color: #fff; }

.tagline {
  margin: 0;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.6);
}

.menu-toggle {
  margin-left: auto;
  background: none;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  color: #fff;
  font-size: 1.3rem;
  line-height: 1;
  padding: 0.4rem 0.75rem;
  border-radius: var(--radius-pill);
  cursor: pointer;
}

.main-nav {
  flex-basis: 100%;
  display: none;
}
.main-nav.is-open { display: block; }

.main-nav ul {
  list-style: none;
  margin: 0;
  padding: var(--space-sm) 0;
  max-width: none;
}
.main-nav a {
  display: block;
  padding: 0.65rem 0.25rem;
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-weight: 500;
}
.main-nav a:hover,
.main-nav a[aria-current="page"] { color: var(--gold-bright); }

.main-nav .sub {
  list-style: none;
  padding-left: var(--space-sm);
}
.main-nav .sub a { font-size: 0.95rem; }

.nav-cta {
  margin-top: var(--space-xs);
  padding: 0.6rem 1.2rem !important;
  background: linear-gradient(120deg, var(--gold-bright), var(--gold));
  color: var(--ink) !important;
  font-weight: 700;
  text-align: center;
  border-radius: var(--radius-pill);
  border-bottom: none !important;
  box-shadow: var(--shadow-gold);
}
.nav-cta:hover { color: var(--ink) !important; transform: translateY(-1px); }

/* 6. Componenti ------------------------------------------------------------ */

/* --- Hero: cielo sfumato con bolle morbide --- */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(700px 420px at 88% -10%, rgba(242, 193, 78, 0.32), transparent 62%),
    radial-gradient(600px 460px at -8% 108%, rgba(120, 190, 240, 0.35), transparent 58%),
    linear-gradient(160deg, var(--blue-deep) 0%, var(--blue) 90%);
  color: #fff;
  padding: clamp(3.5rem, 2.8rem + 4.5vw, 7rem) 0;
}
/* bolla ambra decorativa, morbida */
.hero::after {
  content: "";
  position: absolute;
  right: -120px;
  top: -120px;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, rgba(242, 193, 78, 0.35), rgba(242, 193, 78, 0.05) 70%);
  pointer-events: none;
}
.hero .container { position: relative; z-index: 1; }

.hero h1 {
  color: #fff;
  margin-top: 0;
  max-width: 17ch;
}
.hero .lead { color: var(--gold-bright); max-width: 36ch; }
.hero p { color: rgba(255, 255, 255, 0.85); }

/* --- Bottoni: pill luminosi --- */
.btn {
  display: inline-block;
  padding: 0.85rem 1.8rem;
  border-radius: var(--radius-pill);
  font-weight: 700;
  letter-spacing: 0.01em;
  text-decoration: none;
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out);
}
.btn-primary {
  background: linear-gradient(120deg, var(--gold-bright), var(--gold));
  color: var(--ink);
  box-shadow: var(--shadow-gold);
}
.btn-primary:hover {
  color: var(--ink);
  transform: translateY(-3px);
  box-shadow: 0 14px 32px -8px rgba(224, 169, 46, 0.65);
}

/* --- Card: tondeggianti, con tocco ambra in hover --- */
.cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
  margin-top: var(--space-md);
}

.card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: var(--space-md);
  box-shadow: var(--shadow-soft);
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out), border-color 0.3s ease;
}
.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lift);
  border-color: var(--gold-bright);
}
.card h3 { margin-top: 0; color: var(--blue-deep); }
.card p { margin-bottom: 0; font-size: 0.95rem; color: var(--text-soft); }
.card a { text-decoration: none; }
.card a:hover { color: var(--gold-deep); }

/* --- Banda CTA: luminosa e accogliente --- */
.cta-band {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(560px 300px at 50% 130%, rgba(242, 193, 78, 0.35), transparent 65%),
    linear-gradient(180deg, var(--blue-deep), var(--blue));
  color: #fff;
  text-align: center;
  padding: var(--space-xl) 0;
}
.cta-band h2 {
  color: #fff;
  margin-top: 0;
  font-size: clamp(1.7rem, 1.3rem + 1.8vw, 2.5rem);
}
.cta-band h2::after { margin-inline: auto; }
.cta-band p {
  color: rgba(255, 255, 255, 0.85);
  margin-inline: auto;
  max-width: 52ch;
}
.cta-band .btn { margin-top: var(--space-sm); }

/* --- Form --- */
.form-box {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: var(--space-md);
  max-width: 640px;
  box-shadow: var(--shadow-soft);
}
.form-box label {
  display: block;
  font-weight: 600;
  margin: var(--space-sm) 0 0.3rem;
  color: var(--ink);
}
.form-box input[type="text"],
.form-box input[type="email"],
.form-box input[type="url"],
.form-box textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--line);
  border-radius: calc(var(--radius) - 6px);
  font: inherit;
  background: var(--paper-alt);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.form-box input:focus,
.form-box textarea:focus {
  border-color: var(--gold);
  outline: none;
  box-shadow: 0 0 0 4px rgba(224, 169, 46, 0.16);
  background: #fff;
}
.form-box .field-error { border-color: #d0584a !important; }
.form-box .error-text {
  color: #d0584a;
  font-size: 0.85rem;
  margin: 0.25rem 0 0;
}
.form-box .privacy-check {
  display: flex;
  gap: var(--space-xs);
  align-items: flex-start;
  margin-top: var(--space-sm);
  font-size: 0.9rem;
}
.form-box .privacy-check input { margin-top: 0.3rem; }
.form-box button[type="submit"] {
  margin-top: var(--space-md);
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

.form-notice {
  border-radius: var(--radius);
  padding: var(--space-sm) var(--space-md);
  margin-bottom: var(--space-md);
}
.form-notice.ok  { background: #e6f6ec; border: 1px solid #b3e2c2; color: #1d6b34; }
.form-notice.err { background: #fdeeea; border: 1px solid #f2c4b8; color: #a03c28; }

/* --- Passi numerati: numeri tondi e amichevoli --- */
.steps {
  list-style: none;
  counter-reset: step;
  padding-left: 0;
  max-width: 62ch;
}
.steps li {
  counter-increment: step;
  position: relative;
  padding-left: 3.6rem;
  margin-bottom: var(--space-md);
}
.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 2.4rem;
  height: 2.4rem;
  display: grid;
  place-items: center;
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--ink);
  background: linear-gradient(140deg, var(--gold-bright), var(--gold));
  border-radius: 50%;
  box-shadow: var(--shadow-gold);
}

/* 7. Articoli -------------------------------------------------------------- */
.prose { max-width: 72ch; }

/* primo paragrafo più grande dopo il titolo */
.prose > p:first-of-type {
  font-size: 1.14rem;
  color: var(--ink);
}

/* blockquote editoriale: chiaro, con virgoletta ambra */
.prose blockquote {
  position: relative;
  margin: var(--space-lg) 0;
  padding: var(--space-md) var(--space-md) var(--space-md) 4.2rem;
  background: var(--blue-sky);
  border: 1px solid #d5e6f2;
  border-radius: var(--radius);
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.13rem;
  line-height: 1.5;
  color: var(--blue-deep);
}
.prose blockquote::before {
  content: "\201C";
  position: absolute;
  left: 1.1rem;
  top: 0.55rem;
  font-family: var(--font-serif);
  font-size: 4rem;
  line-height: 1;
  color: var(--gold);
}
.prose blockquote p { margin: 0; }

/* box "metodo": chiaro con bordo ambra */
.method-box {
  background: #fff;
  border: 1px solid var(--line);
  border-left: 5px solid var(--gold);
  border-radius: var(--radius);
  padding: var(--space-md);
  margin: var(--space-lg) 0;
  box-shadow: var(--shadow-soft);
}
.method-box li::marker { color: var(--gold-deep); }
.method-box p:last-child,
.method-box ul:last-child,
.method-box ol:last-child { margin-bottom: 0; }

/* box "in breve": sintesi amichevole in testa all'articolo */
.key-points {
  background: linear-gradient(140deg, #fff8e8, #fdf3da);
  border: 1px solid #f0dfae;
  border-radius: var(--radius);
  padding: var(--space-md);
  margin: var(--space-md) 0 var(--space-lg);
}
.key-points h2 {
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold-deep);
  margin: 0 0 var(--space-xs);
}
.key-points h2::after { content: none; }
.key-points ul { margin: 0; }
.key-points li { margin-bottom: 0.35rem; }

/* immagini negli articoli */
.prose figure { margin: var(--space-lg) 0; }
.prose figure img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-lift);
}
.prose figcaption {
  font-size: 0.85rem;
  color: var(--text-soft);
  margin-top: var(--space-xs);
  padding-left: 0.75rem;
  border-left: 3px solid var(--gold);
}

.article-meta {
  font-size: 0.9rem;
  color: var(--text-soft);
  margin-bottom: var(--space-md);
  padding-bottom: var(--space-sm);
  border-bottom: 1px solid var(--line);
}

/* Breadcrumb */
.breadcrumb {
  font-size: 0.85rem;
  color: var(--text-soft);
  padding-top: var(--space-sm);
}
.breadcrumb ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  padding: 0;
  margin: 0;
  max-width: none;
}
.breadcrumb li { margin: 0; }
.breadcrumb li:not(:last-child)::after {
  content: "›";
  margin-left: 0.4rem;
  color: var(--line);
}
.breadcrumb a { text-decoration: none; }

/* Elenco articoli (hub Metodo): card editoriali con freccia */
.article-list {
  list-style: none;
  padding: 0;
  display: grid;
  gap: var(--space-md);
  max-width: none;
}
.article-list li { margin: 0; }
.article-list a {
  position: relative;
  display: block;
  padding: var(--space-md) 4rem var(--space-md) var(--space-md);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  text-decoration: none;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out), border-color 0.3s ease;
}
.article-list a::after {
  content: "→";
  position: absolute;
  right: var(--space-md);
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--gold-deep);
  transition: transform 0.3s var(--ease-out);
}
.article-list a:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lift);
  border-color: var(--gold-bright);
}
.article-list a:hover::after { transform: translate(6px, -50%); }
.article-list .article-title {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.22rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.3rem;
  line-height: 1.3;
}
.article-list .article-excerpt {
  display: block;
  font-size: 0.94rem;
  color: var(--text-soft);
  margin-bottom: 0.4rem;
}
.article-list time {
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold-deep);
}

/* 8. Footer ---------------------------------------------------------------- */
.site-footer {
  background:
    radial-gradient(600px 240px at 20% 0%, rgba(242, 193, 78, 0.14), transparent 60%),
    var(--blue-deep);
  color: rgba(255, 255, 255, 0.75);
  padding: var(--space-lg) 0 var(--space-md);
  font-size: 0.93rem;
  border-top: 3px solid var(--gold);
}
.site-footer .brand { color: #fff; }
.footer-inner {
  display: grid;
  gap: var(--space-md);
}
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  max-width: none;
}
.footer-links li { margin-bottom: 0.4rem; }
.site-footer a {
  color: rgba(255, 255, 255, 0.87);
  text-decoration: none;
}
.site-footer a:hover { color: var(--gold-bright); }
.footer-legal {
  margin-top: var(--space-md);
  padding-top: var(--space-sm);
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.55);
}

/* 9. Animazioni reveal ----------------------------------------------------- */
.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s var(--ease-out), transform 0.65s var(--ease-out);
}
.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* 10. Responsive & accessibilità ------------------------------------------- */
@media (min-width: 640px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
}

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

  .menu-toggle { display: none; }
  .main-nav {
    flex-basis: auto;
    display: block;
    margin-left: auto;
  }
  .main-nav ul {
    display: flex;
    align-items: center;
    gap: 1.4rem;
    padding: 0;
  }
  .main-nav a { border-bottom: none; padding: 0.4rem 0; }
  .main-nav .has-sub { position: relative; }
  .main-nav .sub {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    min-width: 240px;
    display: flex;
    flex-direction: column;
    gap: 0;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: var(--space-xs);
    box-shadow: var(--shadow-lift);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
  }
  .main-nav .sub a { color: var(--text); border-radius: 8px; padding: 0.55rem 0.75rem; }
  .main-nav .sub a:hover { color: var(--gold-deep); background: var(--paper-alt); }
  .main-nav .has-sub:hover .sub,
  .main-nav .has-sub:focus-within .sub {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
  }
  .nav-cta { margin-top: 0; }

  .footer-inner { grid-template-columns: 2fr 1fr 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  *, *::before, *::after {
    transition: none !important;
    animation: none !important;
  }
}

/* ==========================================================================
   11. Font self-hosted + illustrazione hero + extra usabilità
   ========================================================================== */

/* Fraunces — titoli (latin) */
@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/assets/fonts/fraunces-600-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/assets/fonts/fraunces-700-latin.woff2") format("woff2");
}

/* Inter — testo (latin) */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/inter-400-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/assets/fonts/inter-600-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/assets/fonts/inter-700-latin.woff2") format("woff2");
}

/* Hero con illustrazione affiancata (home) */
.hero-inner {
  display: grid;
  gap: var(--space-lg);
  align-items: center;
}
.hero-art {
  width: min(78vw, 380px);
  margin-inline: auto;
  filter: drop-shadow(0 18px 40px rgba(0, 0, 0, 0.25));
}
@media (min-width: 900px) {
  .hero-inner { grid-template-columns: 1.2fr 0.8fr; }
}

/* Usabilità -------------------------------------------------------------- */

/* le ancore non finiscono sotto l'header sticky */
[id] { scroll-margin-top: calc(var(--header-height) + 16px); }

/* tap target generosi nel menu mobile (min 44px di altezza) */
@media (max-width: 899px) {
  .main-nav a {
    padding: 0.85rem 0.25rem;
  }
  .nav-cta {
    padding: 0.9rem 1.2rem !important;
  }
}

/* focus anche con il solo mouse sui controlli principali */
.btn:focus-visible,
.menu-toggle:focus-visible {
  outline-offset: 4px;
}

/* ==========================================================================
   12. Fix mobile: header senza overflow
   ========================================================================== */

/* sicurezza globale: niente scroll orizzontale accidentale */
html, body { overflow-x: clip; }

/* sotto i 900px la tagline cede il posto al pulsante menu */
@media (max-width: 899px) {
  .tagline { display: none; }
  .header-inner { flex-wrap: nowrap; }
  .brand { flex-shrink: 0; }
}

/* ==========================================================================
   13. Landing settore: eyebrow + search-card (query reali)
   ========================================================================== */

.eyebrow {
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold-bright);
  margin: 0 0 var(--space-xs);
}

.search-card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lift);
  overflow: hidden;
  align-self: center;
  width: min(100%, 420px);
  margin-inline: auto;
}
.search-card-top {
  display: flex;
  gap: 6px;
  padding: 0.7rem 0.9rem;
  background: var(--paper-alt);
  border-bottom: 1px solid var(--line);
}
.search-card-top span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--line);
}
.search-card-top span:first-child { background: #e06c5b; }
.search-card-top span:nth-child(2) { background: var(--gold-bright); }
.search-card-top span:nth-child(3) { background: #7fb069; }

.query-list { padding: var(--space-xs) var(--space-md); }
.query-item {
  font-family: ui-monospace, Consolas, "Courier New", monospace;
  font-size: 0.95rem;
  padding: 0.6rem 0;
  border-bottom: 1px dashed var(--line);
  color: var(--ink);
}
.query-item:last-child { border-bottom: none; }
.query-item::before {
  content: "⌕";
  color: var(--gold-deep);
  margin-right: 0.5rem;
}
.query-note {
  padding: 0 var(--space-md) var(--space-sm);
  font-size: 0.85rem;
  font-style: italic;
  color: var(--text-soft);
  margin: 0;
}
