:root {
  --color-green: #2f6f55;
  --color-green-dark: #184c3a;
  --color-green-soft: #f3f8f5;
  --color-white: #ffffff;
  --color-text: #1f2a24;
  --color-muted: #68766d;
  --color-gold: #b8a15f;
  --shadow-card: 0 18px 46px rgb(24 76 58 / 10%);
  --radius: 8px;
  --content-width: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--color-text);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.75;
  background: var(--color-white);
  overflow-x: hidden;
}

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

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px max(20px, calc((100vw - var(--content-width)) / 2));
  background: rgb(255 255 255 / 92%);
  border-bottom: 1px solid rgb(47 111 85 / 14%);
  backdrop-filter: blur(14px);
}

.site-logo {
  color: var(--color-green-dark);
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.site-nav {
  display: flex;
  gap: 18px;
  color: var(--color-muted);
  font-size: 0.92rem;
}

.site-nav a {
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--color-green-dark);
}

.section {
  padding: 72px max(20px, calc((100vw - var(--content-width)) / 2));
}

.section--green {
  background: var(--color-green-soft);
}

.section--compact {
  padding-top: 0;
}

.section__heading {
  max-width: 680px;
  margin-bottom: 28px;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--color-gold);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--color-green-dark);
  line-height: 1.35;
}

h1 {
  max-width: 760px;
  font-size: clamp(2.15rem, 7vw, 4.2rem);
}

h2 {
  font-size: clamp(1.7rem, 5vw, 2.5rem);
}

h3 {
  font-size: 1.25rem;
}

p {
  margin: 14px 0 0;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 42px;
  align-items: center;
  min-height: calc(100svh - 64px);
  padding-top: 52px;
  padding-bottom: 52px;
  background:
    linear-gradient(120deg, rgb(243 248 245 / 96%) 0%, rgb(255 255 255 / 92%) 58%),
    var(--color-green-soft);
}

.hero__lead {
  max-width: 640px;
  margin-top: 18px;
  color: var(--color-muted);
  font-size: clamp(1.05rem, 3vw, 1.3rem);
}

.hero h1 span {
  display: block;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.hero__visual {
  margin: 0;
}

.hero__visual img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
}

.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  min-height: 48px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 800;
  line-height: 1.45;
  text-align: center;
  text-decoration: none;
  white-space: normal;
}

.cta-button--primary {
  color: var(--color-white);
  background: var(--color-green);
}

.cta-button--secondary {
  color: var(--color-green-dark);
  background: var(--color-white);
  border-color: rgb(47 111 85 / 22%);
}

.cta-button--ghost {
  color: var(--color-green-dark);
  background: transparent;
  border-color: rgb(47 111 85 / 22%);
}

.cta-button--disabled {
  color: var(--color-muted);
  background: #eef2ef;
  border-color: rgb(104 118 109 / 22%);
  cursor: not-allowed;
}

.card {
  border: 1px solid rgb(47 111 85 / 12%);
  border-radius: var(--radius);
  background: var(--color-white);
  box-shadow: var(--shadow-card);
}

.info-grid,
.fee-grid,
.notice-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.info-card,
.fee-card,
.notice-card,
.action-card,
.note-card {
  padding: 22px;
}

.info-card__label,
.fee-card span,
.notice-card span {
  display: block;
  color: var(--color-muted);
  font-size: 0.86rem;
  font-weight: 700;
}

.fee-card small {
  display: block;
  margin-top: 8px;
  color: var(--color-muted);
  font-size: 0.82rem;
  line-height: 1.55;
}

.info-card strong,
.fee-card strong {
  display: block;
  margin-top: 8px;
  color: var(--color-green-dark);
  font-size: 1.25rem;
  line-height: 1.35;
}

.venue-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 16px;
  padding: 26px;
}

.notice-list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: 28px;
  align-items: center;
}

.action-card {
  display: grid;
  gap: 14px;
}

.action-card p,
.note-card p {
  color: var(--color-muted);
}

.line-invite {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 300px);
  gap: 28px;
  align-items: center;
  padding-top: 42px;
  padding-bottom: 42px;
  border-top: 1px solid rgb(47 111 85 / 12%);
  border-bottom: 1px solid rgb(47 111 85 / 12%);
  background: var(--color-green-dark);
}

.line-invite h2,
.line-invite p {
  color: var(--color-white);
}

.line-invite .eyebrow {
  color: var(--color-gold);
}

.line-invite__content {
  display: grid;
  gap: 20px;
}

.line-invite__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.line-invite .cta-button--ghost {
  color: var(--color-white);
  border-color: rgb(255 255 255 / 34%);
}

.qr-card {
  margin: 0;
}

.qr-card img {
  width: min(100%, 260px);
  margin: 0 auto;
  border: 1px solid rgb(47 111 85 / 14%);
  border-radius: var(--radius);
}

.qr-card figcaption {
  margin-top: 10px;
  color: var(--color-muted);
  font-size: 0.9rem;
  font-weight: 700;
  text-align: center;
}

.qr-card--featured {
  padding: 18px;
  border-radius: var(--radius);
  background: var(--color-white);
}

.qr-card--featured img {
  width: min(100%, 240px);
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-item {
  border: 1px solid rgb(47 111 85 / 14%);
  border-radius: var(--radius);
  background: var(--color-white);
}

.faq-item summary {
  min-height: 54px;
  padding: 16px 18px;
  color: var(--color-green-dark);
  font-weight: 800;
  cursor: pointer;
}

.faq-item p {
  margin: 0;
  padding: 0 18px 18px;
  color: var(--color-muted);
}

.footer {
  padding: 34px 20px;
  color: var(--color-white);
  text-align: center;
  background: var(--color-green-dark);
}

.footer p {
  margin: 4px 0;
}

@media (max-width: 860px) {
  .site-header {
    position: static;
    align-items: flex-start;
    flex-direction: column;
  }

  .site-nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .hero,
  .line-invite,
  .split-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .info-grid,
  .fee-grid,
  .notice-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .venue-card {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .section {
    padding-top: 44px;
    padding-bottom: 44px;
  }

  h1 {
    font-size: 2.05rem;
  }

  .hero__lead {
    font-size: 1rem;
  }

  .hero__actions {
    margin-top: 22px;
  }

  .hero__actions,
  .cta-button {
    width: 100%;
  }

  .info-grid,
  .fee-grid,
  .notice-list {
    grid-template-columns: 1fr;
  }
}
