/* HatHost — design system (nero + rosso brand) */
:root {
  --ink: #0a0a0a;
  --ink-soft: #2a2a2a;
  --muted: #5c5c5c;
  --paper: #f6f6f6;
  --surface: #ffffff;
  --wash: #ffffff;
  --inverse: #0a0a0a; /* blocchi brand scuri: footer, panel, proof — non invertire */
  --inverse-fg: #f5f5f7;
  --line: color-mix(in srgb, var(--ink) 10%, transparent);
  --accent: #ff002b;
  --accent-deep: #d90024;
  --accent-soft: color-mix(in srgb, var(--accent) 12%, var(--wash));
  --radius: 0.25rem;
  --max: 72rem;
  --topbar-h: 2.25rem;
  --header-h: 4.5rem;
  --chrome-h: calc(var(--topbar-h) + var(--header-h));
  --font-display: "Outfit", sans-serif;
  --font-body: "Plus Jakarta Sans", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  color-scheme: light;
  accent-color: var(--accent);
}

html[data-theme="dark"] {
  --ink: #f0f0f2;
  --ink-soft: #d4d4d8;
  --muted: #a1a1aa;
  --paper: #0b0b0c;
  --surface: #141416;
  --wash: #1a1a1c;
  --inverse: #050505;
  --inverse-fg: #f5f5f7;
  --line: color-mix(in srgb, white 14%, transparent);
  --accent: #ff3355;
  --accent-deep: #ff6680;
  --accent-soft: color-mix(in srgb, var(--accent) 18%, var(--surface));
  color-scheme: dark;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--chrome-h) + 1rem);
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink-soft);
  background: var(--paper);
  min-height: 100dvh;
  text-wrap: pretty;
}

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

a {
  color: inherit;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--accent-deep);
}

h1, h2, h3 {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.1;
  letter-spacing: -0.03em;
  text-wrap: balance;
  margin: 0 0 0.6em;
}

h1 { font-size: clamp(2.4rem, 5.5vw, 4.25rem); font-weight: 800; }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.5rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 700; }

p { margin: 0 0 1rem; }

.skip-link {
  position: absolute;
  inset-inline-start: 1rem;
  inset-block-start: -100%;
  z-index: 1000;
  background: var(--inverse);
  color: var(--inverse-fg);
  padding: 0.6rem 1rem;
}

.skip-link:focus {
  inset-block-start: 1rem;
}

/* Header */
/* Header: vedi assets/css/site-header.css */

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 2.75rem;
  padding: 0.65rem 1.2rem;
  border-radius: var(--radius);
  border: 1px solid transparent;
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s var(--ease), background 0.2s var(--ease), border-color 0.2s var(--ease);
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover {
  background: var(--accent-deep);
  color: #fff;
}

.btn-ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--ink);
}

.btn-ghost:hover {
  border-color: color-mix(in srgb, var(--ink) 28%, transparent);
  color: var(--ink);
}

.btn-dark {
  background: var(--inverse);
  color: var(--inverse-fg);
}

.btn-dark:hover {
  background: #000;
  color: var(--inverse-fg);
}

.btn-on-dark {
  border-color: color-mix(in srgb, var(--inverse-fg) 28%, transparent);
  color: var(--inverse-fg);
}

.btn-on-dark:hover {
  border-color: color-mix(in srgb, var(--inverse-fg) 55%, transparent);
  color: var(--inverse-fg);
  background: color-mix(in srgb, var(--inverse-fg) 8%, transparent);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

/* Layout */
.wrap {
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: 1.25rem;
}

.section {
  padding-block: clamp(3.5rem, 8vw, 6rem);
}

.section-head {
  max-width: 38rem;
  margin-bottom: 2.5rem;
}

.section-head p {
  color: var(--muted);
  font-size: 1.05rem;
}

.lede {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 36rem;
}

/* Hero — host.it inspired, light + atmospheric */
.hero-home {
  position: relative;
  min-height: min(88dvh, 46rem);
  display: grid;
  align-items: center;
  overflow: hidden;
  overflow: clip;
  isolation: isolate;
  color: var(--ink);
  padding-block: clamp(4.5rem, 12vw, 7.5rem) clamp(3rem, 6vw, 4.5rem);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(70% 55% at 88% 12%, color-mix(in srgb, var(--accent) 18%, transparent), transparent 58%),
    radial-gradient(55% 45% at 8% 80%, color-mix(in srgb, var(--ink) 8%, transparent), transparent 55%),
    linear-gradient(180deg, var(--wash) 0%, var(--paper) 100%);
}

.hero-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(color-mix(in srgb, var(--ink) 5%, transparent) 1px, transparent 1px),
    linear-gradient(90deg, color-mix(in srgb, var(--ink) 5%, transparent) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(70% 60% at 70% 30%, #000 10%, transparent 75%);
  mask-image: radial-gradient(70% 60% at 70% 30%, #000 10%, transparent 75%);
  opacity: 0.55;
}

.hero-home .hero-content {
  max-width: var(--max);
  margin-inline: auto;
  width: 100%;
  padding-inline: 1.25rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 1.1rem;
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}

.eyebrow::before {
  content: "";
  width: 1.5rem;
  height: 2px;
  background: var(--accent);
}

.hero-home h1 {
  font-size: clamp(2.55rem, 6.2vw, 4.6rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.16;
  max-width: 14ch;
  text-wrap: balance;
  margin-bottom: 1rem;
  color: var(--ink);
}

.accent-text {
  color: var(--accent);
}

.hero-home .lede {
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  max-width: 38rem;
  color: var(--muted);
}

.trust-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  list-style: none;
  padding: 0;
  margin: 2rem 0 0;
}

.trust-chips li {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink-soft);
  padding: 0.45rem 0.75rem;
  border: 1px solid var(--line);
  background: color-mix(in srgb, var(--surface) 80%, transparent);
  border-radius: 999px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .scroll-progress { display: none; }
}

/* ——— Motion system ——— */
.scroll-progress {
  position: fixed;
  inset-block-start: 0;
  inset-inline-start: 0;
  z-index: 100;
  width: 100%;
  height: 2px;
  background: var(--accent);
  transform-origin: 0 50%;
  transform: scaleX(0);
  pointer-events: none;
}

@keyframes reveal-up {
  from {
    opacity: 0;
    transform: translateY(1.4rem);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes reveal-scale {
  from {
    opacity: 0;
    transform: translateY(1.1rem) scale(0.97);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes hero-in {
  from {
    opacity: 0;
    transform: translateY(1.1rem);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes chip-in {
  from {
    opacity: 0;
    transform: translateY(0.6rem);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes mesh-drift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(-1.5%, 1.2%, 0) scale(1.04); }
}

@keyframes proof-line {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

@media (prefers-reduced-motion: no-preference) {
  .hero-bg::before {
    animation: mesh-drift 18s var(--ease) infinite alternate;
  }

  .hero-home .hero-content > :is(.eyebrow, h1, .lede, .cta-row) {
    animation: hero-in 0.85s var(--ease) both;
  }

  .hero-home .eyebrow { animation-delay: 0.05s; }
  .hero-home h1 { animation-delay: 0.14s; }
  .hero-home .lede { animation-delay: 0.24s; }
  .hero-home .cta-row { animation-delay: 0.34s; }

  .trust-chips li {
    animation: chip-in 0.55s var(--ease) both;
  }

  .trust-chips li:nth-child(1) { animation-delay: 0.48s; }
  .trust-chips li:nth-child(2) { animation-delay: 0.56s; }
  .trust-chips li:nth-child(3) { animation-delay: 0.64s; }
  .trust-chips li:nth-child(4) { animation-delay: 0.72s; }

  .path {
    transition:
      border-color 0.25s var(--ease),
      transform 0.35s var(--ease),
      box-shadow 0.35s var(--ease);
  }

  .path:hover {
    transform: translateY(-5px);
  }

  .btn {
    transition:
      transform 0.2s var(--ease),
      background 0.2s var(--ease),
      border-color 0.2s var(--ease),
      box-shadow 0.25s var(--ease);
  }

  .btn-primary:hover {
    box-shadow: 0 10px 28px color-mix(in srgb, var(--accent) 35%, transparent);
    transform: translateY(-1px);
  }

  @supports ((animation-timeline: view()) and (animation-range: entry)) {
    .reveal {
      animation: reveal-up linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 32%;
    }

    .paths .reveal:nth-child(1) { animation-range: entry 0% entry 34%; }
    .paths .reveal:nth-child(2) { animation-range: entry 6% entry 40%; }
    .paths .reveal:nth-child(3) { animation-range: entry 12% entry 46%; }
    .paths .reveal:nth-child(4) { animation-range: entry 18% entry 52%; }

    .proof-grid .reveal {
      animation-name: reveal-scale;
    }

    .proof-grid .reveal:nth-child(1) { animation-range: entry 0% entry 36%; }
    .proof-grid .reveal:nth-child(2) { animation-range: entry 8% entry 42%; }
    .proof-grid .reveal:nth-child(3) { animation-range: entry 16% entry 48%; }

    .proof-grid article {
      position: relative;
      border-top-color: transparent;
    }

    .proof-grid article::before {
      content: "";
      position: absolute;
      inset-block-start: 0;
      inset-inline: 0;
      height: 1px;
      background: color-mix(in srgb, var(--inverse-fg) 28%, transparent);
      transform-origin: 0 50%;
      animation: proof-line linear both;
      animation-timeline: view();
      animation-range: entry 10% entry 40%;
    }

    .hero-bg {
      animation: hero-parallax linear both;
      animation-timeline: scroll();
      animation-range: 0vh 55vh;
    }

    @keyframes hero-parallax {
      to {
        transform: translateY(18%);
        opacity: 0.55;
      }
    }
  }

  @supports (animation-timeline: scroll()) {
    .scroll-progress {
      animation: progress-grow linear;
      animation-timeline: scroll();
      transform: scaleX(0);
    }

    @keyframes progress-grow {
      from { transform: scaleX(0); }
      to { transform: scaleX(1); }
    }
  }

  @supports not ((animation-timeline: view()) and (animation-range: entry)) {
    .reveal {
      opacity: 0;
      transform: translateY(1.15rem);
      transition:
        opacity 0.75s var(--ease),
        transform 0.75s var(--ease);
      transition-delay: var(--reveal-delay, 0s);
    }

    .reveal.is-visible {
      opacity: 1;
      transform: none;
    }

    .paths .reveal:nth-child(1) { --reveal-delay: 0s; }
    .paths .reveal:nth-child(2) { --reveal-delay: 0.08s; }
    .paths .reveal:nth-child(3) { --reveal-delay: 0.16s; }
    .paths .reveal:nth-child(4) { --reveal-delay: 0.24s; }

    .proof-grid .reveal:nth-child(1) { --reveal-delay: 0s; }
    .proof-grid .reveal:nth-child(2) { --reveal-delay: 0.1s; }
    .proof-grid .reveal:nth-child(3) { --reveal-delay: 0.2s; }
  }
}

.reveal.is-visible {
  opacity: 1 !important;
  transform: none !important;
}

body.nav-open {
  overflow: hidden;
}

.count-value.is-counting,
.count-value.is-done {
  font-variant-numeric: tabular-nums;
}

/* Product paths — interactive tiles, host.it-like */
.paths {
  display: grid;
  gap: 1rem;
}

@media (min-width: 900px) {
  .paths {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.15rem;
  }
}

.path {
  display: grid;
  align-content: start;
  gap: 0.55rem;
  min-height: 15rem;
  padding: 1.4rem 1.25rem 1.25rem;
  text-decoration: none;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 0.15rem);
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.path:hover {
  color: var(--ink);
  border-color: color-mix(in srgb, var(--accent) 45%, var(--line));
  transform: translateY(-3px);
  box-shadow: 0 18px 40px color-mix(in srgb, var(--ink) 8%, transparent);
}

.path-featured {
  border-color: color-mix(in srgb, var(--accent) 55%, var(--line));
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--accent) 8%, var(--wash)), var(--surface) 55%);
}

.path-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-deep);
}

.path h3 {
  margin: 0;
  font-size: 1.55rem;
}

.path p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.path-cta {
  margin-top: auto;
  padding-top: 1.25rem;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--ink);
}

.path-cta::after {
  content: " →";
  color: var(--accent);
}

/* Proof */
.proof {
  padding-block: clamp(3.5rem, 8vw, 6rem);
  background: var(--inverse);
  color: color-mix(in srgb, var(--inverse-fg) 72%, transparent);
}

.proof .section-head {
  max-width: 40rem;
}

.proof .section-head h2,
.proof .section-head .brand-kicker {
  color: var(--inverse-fg);
}

.proof .section-head p {
  color: color-mix(in srgb, var(--inverse-fg) 58%, transparent);
}

.proof-grid {
  display: grid;
  gap: 1.5rem;
}

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

.proof-grid article {
  padding-top: 1.25rem;
  border-top: 1px solid color-mix(in srgb, var(--inverse-fg) 14%, transparent);
}

.proof-grid strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  letter-spacing: -0.04em;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 0.65rem;
}

.proof-grid h3 {
  color: var(--inverse-fg);
  margin-bottom: 0.4rem;
}

.proof-grid p {
  margin: 0;
  color: color-mix(in srgb, var(--inverse-fg) 55%, transparent);
}

/* HatLink / connettività */
.tech-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.65rem;
  margin: 1.25rem 0 0;
  padding: 0;
  list-style: none;
}

.tech-row li {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink);
  border-bottom: 2px solid var(--accent);
  padding: 0.35rem 0.1rem;
}

.hatlink-band {
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--accent) 8%, transparent), transparent 45%),
    var(--surface);
  border-block: 1px solid var(--line);
}

.cta-final {
  padding-block: clamp(3.5rem, 8vw, 5.5rem);
  background:
    radial-gradient(70% 80% at 100% 0%, color-mix(in srgb, var(--accent) 28%, transparent), transparent 55%),
    var(--inverse);
  color: color-mix(in srgb, var(--inverse-fg) 78%, transparent);
}

.cta-final h2 {
  color: var(--inverse-fg);
  max-width: 18ch;
}

.cta-final .lede {
  color: color-mix(in srgb, var(--inverse-fg) 62%, transparent);
}

.dc-section {
  padding-top: clamp(3rem, 6vw, 4.5rem);
}

/* HatLink / Connettività pages */
.subnav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.25rem;
  padding: 0.85rem 0 0;
  margin-bottom: 0.5rem;
  border-bottom: 1px solid var(--line);
}

.subnav a {
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--muted);
  padding: 0.55rem 0;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
}

.subnav a:hover,
.subnav a[aria-current="page"] {
  color: var(--ink);
  border-bottom-color: var(--accent);
}

.tech-grid {
  display: grid;
  gap: 1rem;
}

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

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

.tech-item {
  padding: 1.35rem 1.2rem;
  border-top: 3px solid var(--accent);
  background: var(--surface);
  border-inline: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.tech-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-deep);
  margin-bottom: 0.55rem;
}

.tech-item h3 {
  margin-bottom: 0.4rem;
  font-size: 1.2rem;
}

.tech-item p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

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

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

.plan-sheet {
  display: grid;
  gap: 1.5rem;
  padding: 1.75rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.plan-sheet-featured {
  border-top-color: var(--accent);
  border-top-width: 3px;
}

.plan-specs {
  display: grid;
  gap: 1rem;
  margin: 0;
}

@media (min-width: 700px) {
  .plan-specs {
    grid-template-columns: repeat(4, 1fr);
  }
}

.plan-specs div {
  padding-top: 0.75rem;
  border-top: 1px solid var(--line);
}

.plan-specs dt {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.25rem;
}

.plan-specs dd {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ink);
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.65rem;
}

.check-list li {
  position: relative;
  padding-inline-start: 1.35rem;
  color: var(--ink-soft);
}

.check-list li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  inset-block-start: 0.45rem;
  width: 0.55rem;
  height: 0.55rem;
  background: var(--accent);
  border-radius: 1px;
}

/* Feature list — no cards */
.feature-list {
  display: grid;
  gap: 2rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

@media (min-width: 700px) {
  .feature-list {
    grid-template-columns: 1fr 1fr;
    column-gap: 3rem;
    row-gap: 2.25rem;
  }
}

.feature-list li {
  padding-block: 0.25rem;
  border-top: 1px solid var(--line);
  padding-top: 1.25rem;
}

.feature-list h3 {
  margin-bottom: 0.35rem;
}

.feature-list p {
  margin: 0;
  color: var(--muted);
}

/* Pricing rows */
.price-table {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.price-row {
  display: grid;
  gap: 0.75rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--line);
  align-items: center;
}

@media (min-width: 720px) {
  .price-row {
    grid-template-columns: 1.2fr 1.4fr auto auto;
    gap: 1.5rem;
  }
}

.price-row h3 {
  margin: 0;
}

.price-row .specs {
  color: var(--muted);
  font-size: 0.95rem;
  margin: 0;
}

.price-amount {
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.03em;
  white-space: nowrap;
}

.price-amount small {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--muted);
}

.price-row .btn {
  justify-self: start;
}

@media (min-width: 720px) {
  .price-row .btn {
    justify-self: end;
  }
}

/* Split / why */
.split {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 860px) {
  .split {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
  }
}

.panel-dark {
  background: var(--inverse);
  color: color-mix(in srgb, var(--inverse-fg) 78%, transparent);
  padding: clamp(2.5rem, 6vw, 4rem) 0;
}

.panel-dark h2,
.panel-dark h3 {
  color: var(--inverse-fg);
}

.panel-dark .lede {
  color: color-mix(in srgb, var(--inverse-fg) 68%, transparent);
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid color-mix(in srgb, var(--inverse-fg) 14%, transparent);
}

.stat-row strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--accent);
  letter-spacing: -0.03em;
}

.stat-row span {
  font-size: 0.85rem;
  color: color-mix(in srgb, var(--inverse-fg) 60%, transparent);
}

/* DC map-ish strip */
.dc-strip {
  display: grid;
  gap: 1.5rem;
}

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

.dc-item {
  padding-top: 1.25rem;
  border-top: 3px solid var(--accent);
}

.dc-item h3 {
  margin-bottom: 0.25rem;
}

.dc-item p {
  margin: 0;
  color: var(--muted);
}

/* Page hero (inner) */
.page-hero {
  padding: clamp(3rem, 8vw, 5rem) 0 2rem;
}

.page-hero .brand-kicker,
.brand-kicker {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--accent-deep);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

/* Forms */
.contact-layout {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 860px) {
  .contact-layout {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 4rem;
  }
}

.contact-meta a {
  text-decoration: none;
  font-weight: 600;
  color: var(--ink);
}

.contact-meta a:hover {
  color: var(--accent-deep);
}

.form-stack {
  position: relative;
  display: grid;
  gap: 1rem;
}

.field {
  display: grid;
  gap: 0.4rem;
}

.field label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  font: inherit;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.85rem 0.95rem;
  transition: border-color 0.2s var(--ease);
}

.field textarea {
  min-height: 9rem;
  resize: vertical;
}

.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-color: var(--accent);
}

.field :user-invalid {
  border-color: #c23b2a;
}

.field :user-valid {
  border-color: color-mix(in srgb, #1f8a4c 55%, var(--line));
}

.hp {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  width: 0;
  overflow: hidden;
}

.form-status {
  margin-top: 1rem;
  padding: 0.9rem 1rem;
  border-radius: var(--radius);
  font-size: 0.95rem;
}

.form-status[data-type="ok"] {
  background: color-mix(in srgb, #1f8a4c 12%, var(--wash));
  color: #145c33;
}

.form-status[data-type="err"] {
  background: color-mix(in srgb, #c23b2a 12%, var(--wash));
  color: #8a2418;
}

.form-status[hidden] {
  display: none;
}

/* FAQ */
.faq details {
  border-bottom: 1px solid var(--line);
  padding: 1rem 0;
}

.faq summary {
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--ink);
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq details p {
  margin: 0.75rem 0 0.25rem;
  color: var(--muted);
}

/* Footer */
.site-footer {
  background: var(--inverse);
  color: color-mix(in srgb, var(--inverse-fg) 70%, transparent);
  padding: 3.5rem 1.25rem 2rem;
  margin-top: 2rem;
}

.footer-grid {
  max-width: var(--max);
  margin-inline: auto;
  display: grid;
  gap: 2rem;
}

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

.footer-brand img {
  height: 2.6rem;
  width: auto;
  margin-bottom: 0.85rem;
  /* Footer sempre su --inverse (scuro): logo dark → chiaro */
  filter: brightness(0) invert(1);
}

.footer-brand p {
  max-width: 22ch;
  color: color-mix(in srgb, var(--inverse-fg) 55%, transparent);
}

.site-footer h2 {
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.55rem;
  font-size: 0.92rem;
}

.site-footer a {
  text-decoration: none;
  color: color-mix(in srgb, var(--inverse-fg) 80%, transparent);
}

.site-footer a:hover {
  color: var(--inverse-fg);
}

.footer-legal {
  max-width: var(--max);
  margin: 2.5rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid color-mix(in srgb, var(--inverse-fg) 12%, transparent);
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  justify-content: space-between;
  font-size: 0.8rem;
  color: color-mix(in srgb, var(--inverse-fg) 45%, transparent);
}

.footer-legal p {
  margin: 0;
  max-width: 52rem;
}

.footer-legal-block {
  display: grid;
  gap: 0.45rem;
  max-width: 52rem;
}

.footer-legal-extra {
  color: color-mix(in srgb, var(--inverse-fg) 38%, transparent);
}

.site-footer--hatlink {
  background: #000;
  border-top: 1px solid #1a1a1a;
  margin-top: 0;
}

/* —— Shop / carrello —— */
.page-shop .shop-section { max-width: var(--max); }
.card-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem 1.35rem;
}
.shop-alert {
  margin-bottom: 1rem;
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--ink) 4%, var(--surface));
  border: 1px solid var(--line);
}
.shop-alert--error {
  background: color-mix(in srgb, var(--accent) 10%, var(--surface));
  border-color: color-mix(in srgb, var(--accent) 35%, transparent);
  color: var(--accent-deep);
}
.shop-alert--ok {
  background: color-mix(in srgb, #16a34a 10%, var(--surface));
  border-color: color-mix(in srgb, #16a34a 30%, transparent);
}
.shop-form .shop-fieldset {
  border: 0;
  margin: 0 0 1.25rem;
  padding: 0;
  min-width: 0;
}
.shop-form .shop-fieldset legend {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 0.75rem;
  padding: 0;
  width: 100%;
  border-bottom: 1px solid var(--line);
  padding-bottom: 0.4rem;
}
.shop-field { margin-bottom: 0.85rem; }
.shop-field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.3rem;
}
.shop-field input,
.shop-field select,
.shop-field textarea {
  width: 100%;
  padding: 0.55rem 0.7rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font: inherit;
  background: var(--surface);
  color: var(--ink);
}
.shop-field input:focus-visible,
.shop-field select:focus-visible,
.shop-field textarea:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--accent) 45%, var(--wash));
  outline-offset: 1px;
}
.shop-grid-2,
.shop-grid-3 {
  display: grid;
  gap: 0.75rem;
}
@media (min-width: 640px) {
  .shop-grid-2 { grid-template-columns: 1fr 1fr; }
  .shop-grid-3 { grid-template-columns: 1fr 1fr 1fr; }
}
.shop-actions,
.shop-radio-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: center;
}
.shop-specs { color: var(--muted); margin-top: 0; }
.shop-hint { font-size: 0.85rem; color: var(--muted); }
.shop-cart-layout,
.shop-checkout-layout {
  display: grid;
  gap: 1rem;
}
@media (min-width: 900px) {
  .shop-cart-layout,
  .shop-checkout-layout {
    grid-template-columns: 1fr minmax(260px, 20rem);
    align-items: start;
  }
}
.shop-cart-lines {
  display: grid;
  gap: 0.75rem;
}
.cart-steps {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  margin: 1.1rem 0 0;
  padding: 0;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--muted);
}
.cart-steps li {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.cart-steps li span {
  display: inline-grid;
  place-items: center;
  width: 1.4rem;
  height: 1.4rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-size: 0.72rem;
}
.cart-steps li.is-current {
  color: var(--ink);
}
.cart-steps li.is-current span {
  background: var(--inverse);
  color: var(--inverse-fg);
  border-color: var(--inverse);
}
.cart-line {
  transition: border-color 0.2s var(--ease), transform 0.2s var(--ease);
}
.cart-line:hover {
  border-color: color-mix(in srgb, var(--accent) 35%, var(--line));
}
.cart-line-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-start;
}
.cart-line-price {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--ink);
  white-space: nowrap;
}
.cart-line-tags {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0.65rem 0 0;
  padding: 0;
}
.cart-line-tags li {
  font-size: 0.8rem;
  padding: 0.3rem 0.55rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--ink) 3%, var(--surface));
}
.cart-line-tags li span {
  color: var(--muted);
  margin-right: 0.25rem;
}
.cart-line-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem 1rem;
  margin-top: 0.85rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--line);
  font-size: 0.85rem;
  color: var(--muted);
}
.cart-line-remove { margin-inline-start: auto; }
.btn-text-danger,
.btn-text-muted {
  appearance: none;
  border: 0;
  background: transparent;
  font: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  padding: 0.25rem 0;
  color: var(--muted);
}
.btn-text-danger:hover { color: var(--accent-deep); }
.btn-text-muted:hover { color: var(--ink); }
.cart-summary {
  position: sticky;
  top: calc(var(--chrome-h) + 0.75rem);
}
.cart-summary-note {
  margin: -0.35rem 0 1rem;
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.45;
}
.cart-empty {
  text-align: center;
  padding: 2.5rem 1.5rem;
  max-width: 36rem;
  margin-inline: auto;
}
.cart-empty-icon {
  width: 4rem;
  height: 4rem;
  margin: 0 auto 1rem;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: color-mix(in srgb, var(--accent) 10%, var(--surface));
  color: var(--accent-deep);
}
.cart-empty-copy {
  color: var(--muted);
  max-width: 28rem;
  margin-inline: auto;
}
.shop-cart-line {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
}
.shop-cart-line:last-child { border-bottom: 0; padding-bottom: 0; }
.shop-cart-line:first-child { padding-top: 0; }
.shop-cart-name {
  font-family: var(--font-display);
  font-size: 1.1rem;
  margin: 0 0 0.25rem;
}
.shop-cart-meta { margin: 0.15rem 0; font-size: 0.85rem; color: var(--muted); }
.shop-cart-campi {
  list-style: none;
  margin: 0.4rem 0;
  padding: 0;
  font-size: 0.85rem;
}
.shop-cart-campi li span { color: var(--muted); margin-right: 0.25rem; }
.shop-cart-amount { font-weight: 700; margin: 0 0 0.5rem; text-align: right; }
.shop-totals { margin: 0 0 1rem; }
.shop-totals > div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.35rem 0;
}
.shop-totals .is-total {
  border-top: 1px solid var(--line);
  margin-top: 0.35rem;
  padding-top: 0.65rem;
  font-weight: 700;
  font-size: 1.05rem;
}
.shop-totals dt { margin: 0; color: var(--muted); font-weight: 500; }
.shop-totals dd { margin: 0; }
.shop-clear {
  margin-top: 0.75rem;
  text-align: center;
}
.btn-block { display: block; width: 100%; text-align: center; }
.btn-sm { font-size: 0.85rem; padding: 0.35rem 0.7rem; }
.shop-auth-tabs {
  display: flex;
  gap: 0.35rem;
  margin-bottom: 0.85rem;
}
.shop-auth-tabs a {
  flex: 1;
  text-align: center;
  padding: 0.65rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--ink-soft);
  font-weight: 600;
  background: var(--surface);
}
.shop-auth-tabs a.is-active {
  background: var(--inverse);
  color: var(--inverse-fg);
  border-color: var(--inverse);
}
.shop-h2 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin: 0 0 0.5rem;
}
.shop-anag { margin: 0 0 0.75rem; line-height: 1.45; }
.shop-pay-option {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  padding: 0.75rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 0.5rem;
  cursor: pointer;
}
.shop-pay-option strong { display: block; }
.shop-pay-option small { color: var(--muted); }
.shop-pay-locked {
  padding: 0.75rem;
  background: color-mix(in srgb, var(--ink) 4%, var(--surface));
  border-radius: var(--radius);
}
.shop-pay-locked small { display: block; margin-top: 0.25rem; color: var(--muted); }
.shop-mini-lines {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
}
/* Configuratore stile Host.it: form + riepilogo sticky */
.shop-plan-highlight {
  color: var(--accent-deep);
}
.shop-config-layout {
  display: grid;
  gap: 1rem;
}
@media (min-width: 900px) {
  .shop-config-layout {
    grid-template-columns: minmax(0, 1fr) minmax(240px, 18rem);
    align-items: start;
  }
}
.shop-config-product {
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
}
.shop-config-cat {
  margin: 0 0 0.25rem;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}
.shop-config-price {
  margin: 0.5rem 0 0;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
}
.shop-domain-input {
  display: flex;
  align-items: stretch;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
}
.shop-domain-input:focus-within {
  outline: 3px solid color-mix(in srgb, var(--accent) 45%, transparent);
  outline-offset: 1px;
}
.shop-domain-prefix {
  display: flex;
  align-items: center;
  padding: 0 0.75rem;
  background: color-mix(in srgb, var(--ink) 4%, var(--surface));
  color: var(--muted);
  font-weight: 600;
  border-right: 1px solid var(--line);
  white-space: nowrap;
}
.shop-domain-input input {
  border: 0 !important;
  border-radius: 0 !important;
  outline: none !important;
  min-height: 2.75rem;
  background: transparent;
}
.shop-option-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.shop-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin: 0;
  padding: 0.55rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  cursor: pointer;
  font-weight: 600;
  font-size: 0.9rem;
  min-height: 2.75rem;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.shop-chip input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}
.shop-chip:has(input:checked),
.shop-chip:has(input:checked):hover {
  border-color: var(--ink);
  background: color-mix(in srgb, var(--ink) 6%, var(--surface));
  box-shadow: inset 0 0 0 1px var(--ink);
}
.shop-chip:hover {
  border-color: color-mix(in srgb, var(--ink) 35%, var(--line));
}
.shop-chip--check {
  width: 100%;
  justify-content: flex-start;
}
.shop-config-summary {
  position: sticky;
  top: 5.5rem;
}
.shop-summary-name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0 0 0.25rem;
}
.shop-summary-specs {
  margin: 0 0 0.75rem;
  font-size: 0.85rem;
  color: var(--muted);
}
.shop-summary-lines {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.shop-summary-lines li {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.55rem 0;
  font-size: 0.9rem;
  border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent);
}
.shop-summary-lines li:last-child { border-bottom: 0; }
.shop-summary-lines li span { color: var(--muted); }
.shop-summary-lines li.is-empty { display: block; padding: 0.75rem 0; }
.shop-summary-price {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
}
.shop-summary-qty {
  margin: 0 0 1rem;
  font-size: 0.9rem;
  color: var(--muted);
}
.shop-actions--mobile { margin-top: 0.5rem; }
@media (min-width: 900px) {
  .shop-actions--mobile { display: none; }
}
.shop-plan-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1rem;
}
.shop-plan-tabs button {
  appearance: none;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink-soft);
  font: inherit;
  font-weight: 600;
  padding: 0.55rem 1rem;
  border-radius: var(--radius);
  cursor: pointer;
  min-height: 2.75rem;
}
.shop-plan-tabs button[aria-selected="true"] {
  background: var(--inverse);
  color: var(--inverse-fg);
  border-color: var(--inverse);
}
.shop-plan-tabs button:hover {
  border-color: color-mix(in srgb, var(--ink) 40%, var(--line));
}
.price-row[hidden] { display: none !important; }
.shop-plan-features {
  list-style: none;
  margin: 0.35rem 0 0.75rem;
  padding: 0;
  font-size: 0.88rem;
  color: var(--ink-soft);
}
.shop-plan-features li {
  padding: 0.2rem 0 0.2rem 1.1rem;
  position: relative;
}
.shop-plan-features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.45em;
  height: 0.45em;
  border-radius: 50%;
  background: var(--accent);
}

.shop-mini-lines li {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.35rem 0;
  font-size: 0.9rem;
  border-bottom: 1px solid var(--line);
}
.shop-empty { text-align: center; padding: 2rem 1.25rem; }
.shop-ok .cta-row { margin-top: 1.25rem; }

/* —— Tema scuro: rifiniture globali —— */
html[data-theme="dark"] .form-status[data-type="ok"] {
  color: #86efac;
}
html[data-theme="dark"] .form-status[data-type="err"] {
  color: #fca5a5;
}
/* Logo chiaro solo sull'header (sfondo scuro in dark). Footer resta su --inverse. */
html[data-theme="dark"] .site-header:not(.site-header--hatlink) .brand img {
  filter: brightness(0) invert(1);
}
html[data-theme="dark"] .btn-dark {
  background: var(--inverse);
  color: var(--inverse-fg);
  border: 1px solid color-mix(in srgb, white 18%, transparent);
}
html[data-theme="dark"] .btn-dark:hover {
  background: #000;
  color: var(--inverse-fg);
}
html {
  background: var(--paper);
}
@media (prefers-reduced-motion: no-preference) {
  ::view-transition-old(root),
  ::view-transition-new(root) {
    animation-duration: 0.28s;
  }
}


/* Componenti (addon) nel configuratore e nel carrello */
.shop-addons-lede { margin: -0.25rem 0 0.9rem; }
.shop-addon-group + .shop-addon-group { margin-top: 1.1rem; }
.shop-addon-group-title { margin: 0 0 0.5rem; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.shop-addon-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 10.5rem), 1fr)); gap: 0.5rem; }
.shop-addon { position: relative; margin: 0; cursor: pointer; }
.shop-addon input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.shop-addon-body { display: flex; flex-direction: column; gap: 0.2rem; height: 100%; padding: 0.75rem 0.85rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); transition: border-color 0.15s ease, background 0.15s ease; }
.shop-addon:hover .shop-addon-body { border-color: color-mix(in srgb, var(--ink) 35%, var(--line)); }
.shop-addon input:checked + .shop-addon-body { border-color: var(--ink); background: color-mix(in srgb, var(--ink) 6%, var(--surface)); box-shadow: inset 0 0 0 1px var(--ink); }
.shop-addon input:focus-visible + .shop-addon-body { outline: 2px solid var(--accent); outline-offset: 2px; }
.shop-addon-name { margin: 0; font-weight: 700; font-size: 0.92rem; color: var(--ink); }
.shop-addon-specs { font-size: 0.8rem; color: var(--muted); }
.shop-addon-price { margin-top: auto; font-size: 0.86rem; font-weight: 600; color: var(--ink); }
.shop-addon-price small { font-weight: 500; color: var(--muted); }
.shop-addon-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.shop-addon-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.7rem 0; border-bottom: 1px solid var(--line); }
.shop-addon-row-txt { display: flex; flex-direction: column; gap: 0.15rem; min-width: 0; }
.shop-addon-qty { width: auto; min-width: 4.5rem; min-height: 2.5rem; }
.shop-summary-addons { list-style: none; margin: -0.5rem 0 1rem; padding: 0 0 0.6rem; border-bottom: 1px solid var(--line); }
.shop-summary-addons li { display: flex; justify-content: space-between; gap: 0.75rem; padding: 0.3rem 0; font-size: 0.86rem; }
.shop-summary-addons li span { color: var(--muted); }
.shop-summary-addons[hidden] { display: none; }
.shop-summary-total { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.2rem 0.5rem; margin: 0 0 1rem; font-size: 0.9rem; color: var(--muted); }
.shop-summary-total strong { font-family: var(--font-display); font-size: 1.35rem; color: var(--ink); font-variant-numeric: tabular-nums; }
.shop-summary-total small { flex-basis: 100%; font-size: 0.78rem; }
.cart-line-addons { list-style: none; margin: 0.65rem 0 0; padding: 0; font-size: 0.86rem; }
.cart-line-addons li { display: flex; justify-content: space-between; gap: 1rem; padding: 0.3rem 0; }
.cart-line-addons li > span:last-child { color: var(--muted); white-space: nowrap; }
.cart-line-addons-plus { color: var(--accent); font-weight: 700; }

/* Shop — verifica dominio / trasferimento */
.shop-domain-status { margin: 0.5rem 0 0; font-size: 0.875rem; color: var(--muted); }
.shop-domain-status.is-loading { opacity: 0.75; }
.shop-domain-status.is-ok { color: #12813a; font-weight: 600; }
.shop-domain-status.is-warn { color: #a15c00; font-weight: 600; }
.shop-domain-status.is-error { color: var(--accent-deep); font-weight: 600; }
.shop-domain-choice { margin-top: 0.75rem; padding: 0.875rem 1rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
.shop-domain-choice[hidden], .shop-domain-auth[hidden] { display: none; }
.shop-domain-choice > .shop-hint { margin: 0 0 0.5rem; }
.shop-domain-auth { margin-top: 0.875rem; display: grid; gap: 0.4rem; }
.shop-domain-auth input[type="text"] { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.shop-domain-auth .shop-check { display: flex; gap: 0.5rem; align-items: flex-start; font-size: 0.875rem; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .shop-domain-status.is-ok { color: #4ade80; }
  :root:not([data-theme="light"]) .shop-domain-status.is-warn { color: #fbbf24; }
}
:root[data-theme="dark"] .shop-domain-status.is-ok { color: #4ade80; }
:root[data-theme="dark"] .shop-domain-status.is-warn { color: #fbbf24; }
