:root {
  --bg: #ffffff;
  --text: #1f1f1f;
  --muted: #6f6f6f;
  --line: #e8e8e8;
  --soft: #f7f7f5;
  --accent: #c9b88a;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
}

.hero {
  min-height: 78svh;
  background:
    linear-gradient(rgba(255,255,255,.08), rgba(255,255,255,.28)),
    url("/assets/hero-homepage-simone-angela.webp") center/cover no-repeat;
  display: grid;
  align-items: start;
  justify-items: center;
  padding: 32px 24px 32px;
  text-align: center;
}

.hero__overlay {
  width: min(900px, 100%);
  padding-top: 0;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: .78rem;
  color: var(--accent);
  font-weight: 700;
}

h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3rem, 7.4vw, 5.6rem);
  line-height: 0.95;
  font-weight: 400;
  margin: 8px 0 8px;
}

h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.2rem, 8vw, 4.4rem);
  font-weight: 400;
  line-height: 1;
  margin: 8px 0 24px;
}

h3 {
  margin: 0 0 8px;
  font-size: 1.25rem;
}

.subtitle {
  color: rgba(0, 0, 0, 0.74);
  font-size: 1.05rem;
  margin: 0;
}

.hero-actions {
  background: #ffffff;
  padding: 30px 24px 38px;
  border-bottom: 1px solid var(--line);
}

.hero-actions__inner {
  width: min(900px, 100%);
  margin: 0 auto;
  display: grid;
  gap: 24px;
  justify-items: center;
}

.countdown {
  display: grid;
  grid-template-columns: repeat(3, minmax(82px, 1fr));
  gap: 12px;
  margin: 0;
  width: min(360px, 100%);
}

.countdown div {
  height: 88px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #ffffff;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 5px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.045);
}

.countdown strong {
  display: block;
  font-size: 1.7rem;
  line-height: 1;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.countdown span {
  display: block;
  font-size: 0.72rem;
  line-height: 1;
  color: var(--muted);
}

.cta {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.button-row {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

a, button {
  font: inherit;
}

.cta a, .button, button {
  border: 1px solid var(--text);
  background: var(--text);
  color: white;
  text-decoration: none;
  padding: 13px 18px;
  border-radius: 999px;
  cursor: pointer;
}

.button.secondary {
  display: inline-block;
  color: var(--text);
  background: transparent;
  border-color: var(--line);
}

.section {
  width: min(980px, 100%);
  margin: 0 auto;
  padding: 88px 24px;
}

.section--light {
  width: 100%;
  max-width: none;
  background: var(--soft);
  padding-left: max(24px, calc((100vw - 980px) / 2));
  padding-right: max(24px, calc((100vw - 980px) / 2));
}

.timeline {
  border-top: 1px solid var(--line);
}

.timeline article {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 24px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.timeline time {
  color: var(--accent);
  font-weight: 700;
  font-size: 1.1rem;
}

.muted {
  color: var(--muted);
}

.iban-card {
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 28px;
  display: grid;
  gap: 12px;
  background: var(--soft);
}

.iban-card span {
  color: var(--muted);
  font-size: .85rem;
}

.iban-card strong {
  font-size: clamp(1rem, 3vw, 1.25rem);
  overflow-wrap: anywhere;
}

footer {
  border-top: 1px solid var(--line);
  padding: 28px 24px;
  text-align: center;
  color: var(--muted);
}

#installPwa {
  margin-top: 12px;
}

.personal-invite {
  background: #ffffff;
  padding: 52px 24px 18px;
}

.personal-invite__inner {
  width: min(880px, calc(100% - 48px));
  margin: 0 auto;
  text-align: center;
  border-bottom: 1px solid var(--line);
  padding-bottom: 38px;
}

.personal-invite .eyebrow {
  margin: 0 0 14px;
}

.personal-invite h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.08;
  font-weight: 400;
  margin: 0 0 18px;
}

.personal-invite .invite-text {
  font-family: Georgia, "Times New Roman", serif;
  max-width: 760px;
  margin: 0 auto 18px;
  font-size: clamp(1.35rem, 2.2vw, 2rem);
  line-height: 1.35;
  color: var(--text);
}

.personal-invite .invite-deadline {
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  max-width: 680px;
  margin: 0 auto;
  font-size: clamp(1rem, 1.3vw, 1.12rem);
  line-height: 1.6;
  color: var(--muted);
}

.personal-invite p {
  max-width: 720px;
  margin: 0 auto 14px;
  font-size: clamp(1.05rem, 1.5vw, 1.18rem);
  line-height: 1.7;
}

.personal-invite p.muted {
  color: var(--muted);
  margin-bottom: 0;
}

@media (max-width: 640px) {
.hero {
  min-height: 72svh;
  background-position: center bottom;
  padding: 24px 18px 28px;
  align-items: start;
}

.hero__overlay {
  padding-top: 0;
}

.hero .eyebrow {
  margin-top: 0;
}

.hero h1 {
  font-size: clamp(2.6rem, 13vw, 4.2rem);
  margin: 6px 0 8px;
}

.hero .subtitle {
  font-size: 0.95rem;
}
  
  .hero-actions {
    padding: 24px 18px 32px;
  }

.countdown {
  width: min(330px, 100%);
  gap: 10px;
}

.countdown div {
  height: 80px;
  border-radius: 22px;
}

.countdown strong {
  font-size: 1.55rem;
}

  .cta a {
    width: 100%;
    text-align: center;
  }

  .personal-invite {
    padding: 38px 18px 12px;
  }

  .personal-invite__inner {
    width: 100%;
    padding-bottom: 30px;
  }

  .personal-invite h2 {
    font-size: clamp(1.9rem, 9vw, 2.7rem);
    line-height: 1.08;
  }

  .personal-invite p {
    font-size: 1rem;
    line-height: 1.65;
  }

  .personal-invite .invite-text {
  font-size: clamp(1.25rem, 6vw, 1.7rem);
  line-height: 1.35;
}

.personal-invite .invite-deadline {
  font-size: 1rem;
  line-height: 1.55;
}
  
  .timeline article {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}
