/* PubliForce landing — hand-written CSS, no build step.
   Kept deliberately small: this page changes rarely and should stay
   readable by whoever opens it next. */

:root {
  --ink:        #17191c;
  --ink-soft:   #4a5057;
  --paper:      #faf8f5;
  --paper-alt:  #f2eee8;
  --rule:       #e2dcd3;
  --accent:     #7a2e2e;
  --max:        68rem;
}

@media (prefers-color-scheme: dark) {
  :root {
    --ink:       #ece9e4;
    --ink-soft:  #a8a49d;
    --paper:     #14151a;
    --paper-alt: #1b1d23;
    --rule:      #2c2f37;
    --accent:    #d98f8f;
  }
}

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1.0625rem/1.65 Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: Fraunces, Georgia, "Times New Roman", serif;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0;
}

em { font-style: italic; color: var(--accent); }
a  { color: inherit; }

/* ── chrome ───────────────────────────────────────────────────────────── */

header.site {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  max-width: var(--max);
  margin: 0 auto;
  padding: 1.75rem 1.5rem;
}

.wordmark {
  font-family: Fraunces, Georgia, serif;
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  text-decoration: none;
}
.wordmark span { color: var(--accent); }

header.site nav {
  display: flex;
  gap: 1.75rem;
  font-size: 0.9375rem;
}
header.site nav a {
  color: var(--ink-soft);
  text-decoration: none;
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
}
header.site nav a:hover {
  color: var(--ink);
  border-bottom-color: var(--accent);
}

/* ── hero ─────────────────────────────────────────────────────────────── */

.hero {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(3rem, 9vw, 7rem) 1.5rem clamp(3rem, 7vw, 5.5rem);
}

.eyebrow {
  margin: 0 0 1.5rem;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--accent);
}

.hero h1 {
  font-size: clamp(2.25rem, 6vw, 4rem);
  margin-bottom: 1.75rem;
}

.lede {
  max-width: 46rem;
  margin: 0;
  font-size: clamp(1.0625rem, 1.6vw, 1.25rem);
  color: var(--ink-soft);
}

.cta {
  display: inline-block;
  margin-top: 2.5rem;
  padding: 0.8rem 1.9rem;
  background: var(--accent);
  color: var(--paper);
  border-radius: 2px;
  font-weight: 500;
  font-size: 0.9375rem;
  text-decoration: none;
}
.cta:hover { opacity: 0.88; }

/* ── bands ────────────────────────────────────────────────────────────── */

.band {
  border-top: 1px solid var(--rule);
  padding: clamp(3rem, 7vw, 5.5rem) 1.5rem;
}
.band.alt { background: var(--paper-alt); }

.band > * {
  max-width: var(--max);
  margin-left: auto;
  margin-right: auto;
}

.band h2 {
  font-size: clamp(1.5rem, 3vw, 2.125rem);
  margin-bottom: 2.5rem;
}

.grid {
  display: grid;
  gap: 2.5rem 3rem;
  grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr));
}
.grid h3, .steps h3 {
  font-size: 1.1875rem;
  margin-bottom: 0.6rem;
}
.grid p, .steps p {
  margin: 0;
  color: var(--ink-soft);
}

.steps {
  list-style: none;
  counter-reset: step;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 2.5rem;
}
.steps li {
  counter-increment: step;
  padding-left: 3.25rem;
  position: relative;
  max-width: 48rem;
}
.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: -0.1rem;
  width: 2.25rem;
  height: 2.25rem;
  display: grid;
  place-items: center;
  border: 1px solid var(--rule);
  border-radius: 50%;
  font-family: Fraunces, Georgia, serif;
  color: var(--accent);
}

.contatti .mail {
  margin-top: 2rem;
  font-family: Fraunces, Georgia, serif;
  font-size: clamp(1.375rem, 3.5vw, 2rem);
}
.contatti .mail a { text-decoration-color: var(--rule); text-underline-offset: 6px; }
.contatti .mail a:hover { color: var(--accent); }

/* ── footer ───────────────────────────────────────────────────────────── */

footer.site {
  border-top: 1px solid var(--rule);
  max-width: var(--max);
  margin: 0 auto;
  padding: 2.5rem 1.5rem 4rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.875rem;
  color: var(--ink-soft);
}
footer.site p { margin: 0; }
