/* Vieni · shared styles */

:root {
  /* Brand palette */
  --corallo: #F04030;
  --giallo: #FFBD00;
  --cielo: #1469BB;
  --acqua: #00A896;
  --notte: #0F1929;
  --sky: #B8D8F0;
  --carta: #FFFDF8;

  /* Tokens */
  --border: 2.5px solid var(--notte);
  --border-thin: 2px solid var(--notte);
  --shadow: 4px 4px 0 var(--notte);
  --shadow-sm: 3px 3px 0 var(--notte);
  --radius: 12px;
  --maxw-text: 760px;
  --maxw-wide: 1080px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Outfit", system-ui, -apple-system, sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 1.6;
  color: var(--notte);
  background: var(--carta);
  -webkit-font-smoothing: antialiased;
}

/* Typography */
h1, h2, h3 {
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin: 0 0 0.5em;
}

h1 {
  font-size: clamp(2.4rem, 6vw, 4rem);
  text-transform: lowercase;
}

h2 {
  font-size: clamp(1.7rem, 4vw, 2.5rem);
  text-transform: lowercase;
}

h3 {
  font-size: 1.25rem;
  font-weight: 800;
}

p {
  margin: 0 0 1em;
}

a {
  color: var(--cielo);
  font-weight: 600;
}

a:hover {
  color: var(--corallo);
}

ul, ol {
  padding-left: 1.3em;
}

li {
  margin-bottom: 0.4em;
}

strong {
  font-weight: 700;
}

/* Layout helpers */
.container {
  width: 100%;
  max-width: var(--maxw-wide);
  margin: 0 auto;
  padding: 0 20px;
}

.text-page {
  max-width: var(--maxw-text);
  margin: 0 auto;
  padding: 40px 20px 80px;
}

.section {
  padding: 56px 0;
}

.section + .section {
  border-top: var(--border-thin);
}

/* Skip link */
.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--giallo);
  color: var(--notte);
  padding: 10px 16px;
  border: var(--border);
  border-radius: var(--radius);
  z-index: 100;
}
.skip-link:focus {
  left: 12px;
  top: 12px;
}

/* Header */
.site-header {
  background: var(--notte);
  border-bottom: var(--border);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 14px;
  padding-bottom: 14px;
}

.wordmark {
  font-weight: 900;
  font-size: 1.8rem;
  text-transform: lowercase;
  letter-spacing: -0.02em;
  color: var(--carta);
  text-decoration: none;
}
.wordmark:hover {
  color: var(--giallo);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px 22px;
  flex-wrap: wrap;
}

.site-nav a:not(.btn) {
  color: var(--carta);
  text-decoration: none;
  font-weight: 600;
}
.site-nav a:not(.btn):hover {
  color: var(--giallo);
}

/* Buttons */
.btn {
  display: inline-block;
  font-family: inherit;
  font-weight: 800;
  font-size: 1rem;
  text-decoration: none;
  text-transform: lowercase;
  padding: 12px 22px;
  border: var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  cursor: pointer;
  transition: transform 0.06s ease, box-shadow 0.06s ease;
}
.btn:active {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 var(--notte);
}

.btn-primary {
  background: var(--corallo);
  color: var(--carta);
}
.btn-primary:hover {
  color: var(--carta);
}

.btn-secondary {
  background: var(--giallo);
  color: var(--notte);
}
.btn-secondary:hover {
  color: var(--notte);
}

/* Hero */
.hero {
  background: var(--sky);
  border-bottom: var(--border);
  padding: 72px 0 84px;
}
.hero .container {
  max-width: var(--maxw-wide);
}
.hero-inner {
  max-width: 760px;
}
.hero p.lede {
  font-size: 1.3rem;
  font-weight: 500;
  margin-bottom: 1.5em;
}
.eyebrow {
  display: inline-block;
  background: var(--giallo);
  border: var(--border-thin);
  border-radius: 999px;
  padding: 6px 16px;
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 20px;
}

/* Cards */
.card {
  background: var(--carta);
  border: var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  counter-reset: step;
  list-style: none;
  padding: 0;
}
.steps li {
  background: var(--carta);
  border: var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 20px;
}
.steps li .num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  background: var(--acqua);
  color: var(--carta);
  font-weight: 900;
  border: var(--border-thin);
  margin-bottom: 12px;
}

/* Activity type cards */
.activity {
  border: var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 22px;
  color: var(--notte);
}
.activity .swatch {
  display: inline-block;
  width: 100%;
  height: 56px;
  border: var(--border-thin);
  border-radius: 8px;
  margin-bottom: 14px;
}
.act-play .swatch { background: var(--corallo); }
.act-music .swatch { background: var(--giallo); }
.act-books .swatch { background: var(--cielo); }
.act-out .swatch { background: var(--acqua); }

/* Notice / banner */
.banner {
  background: var(--giallo);
  border: var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 18px 22px;
  margin-bottom: 32px;
  font-weight: 600;
}
.banner strong {
  font-weight: 800;
}

.callout {
  background: var(--sky);
  border: var(--border-thin);
  border-radius: var(--radius);
  padding: 16px 20px;
  margin: 24px 0;
}

/* Forms */
.waitlist {
  background: var(--carta);
  border: var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px;
  max-width: 560px;
}
.form-row {
  margin-bottom: 18px;
}
.form-row label {
  display: block;
  font-weight: 700;
  margin-bottom: 6px;
}
.form-row input,
.form-row select {
  width: 100%;
  font-family: inherit;
  font-size: 1rem;
  padding: 12px 14px;
  border: var(--border-thin);
  border-radius: 10px;
  background: var(--carta);
  color: var(--notte);
}
.form-row input:focus,
.form-row select:focus {
  outline: 3px solid var(--cielo);
  outline-offset: 1px;
}
.form-note {
  font-size: 0.92rem;
  color: var(--notte);
  opacity: 0.85;
}

/* Blog list */
.post-list {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 20px;
}
.post-list .card .post-date {
  font-weight: 700;
  color: var(--cielo);
  font-size: 0.95rem;
}
.post-list h3 {
  margin: 6px 0;
}
.post-list h3 a {
  text-decoration: none;
  color: var(--notte);
}
.post-list h3 a:hover {
  color: var(--corallo);
}

.post-meta {
  color: var(--cielo);
  font-weight: 700;
  margin-bottom: 8px;
}
.back-link {
  display: inline-block;
  margin-bottom: 24px;
  font-weight: 700;
}

/* Footer */
.site-footer {
  background: var(--notte);
  color: var(--carta);
  border-top: var(--border);
  padding: 40px 0;
}
.site-footer a {
  color: var(--sky);
  text-decoration: none;
}
.site-footer a:hover {
  color: var(--giallo);
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  margin-bottom: 16px;
  list-style: none;
  padding: 0;
}
.footer-meta {
  font-size: 0.92rem;
  opacity: 0.85;
}

/* Utility */
.lead {
  font-size: 1.2rem;
  font-weight: 500;
}
.center {
  text-align: center;
}
.mt-0 { margin-top: 0; }

@media (max-width: 600px) {
  body { font-size: 17px; }
  .hero { padding: 48px 0 56px; }
  .section { padding: 40px 0; }
}
