@import url("https://fonts.googleapis.com/css2?family=Fraunces:wght@400;600;700&family=Space+Grotesk:wght@400;500;600&display=swap");

:root {
  --ink: #1c1c1c;
  --slate: #3a3a3a;
  --sand: #f4efe6;
  --sun: #f59e0b;
  --sea: #0ea5a4;
  --clay: #d97706;
  --cloud: #ffffff;
  --glass: rgba(255, 255, 255, 0.7);
  --shadow: 0 24px 50px rgba(15, 23, 42, 0.2);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  color: var(--ink);
  background: radial-gradient(circle at top, #fff7e7 0%, #f6f1e8 30%, #e7ece9 100%);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

h1,
h2,
h3 {
  font-family: "Fraunces", "Times New Roman", serif;
  margin: 0 0 0.6rem;
  letter-spacing: -0.02em;
}

p {
  margin: 0 0 1rem;
  line-height: 1.6;
  color: var(--slate);
}

a {
  color: inherit;
  text-decoration: none;
}

.page-body a,
.home-content a {
  color: var(--sea);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.page-body a:hover,
.home-content a:hover {
  color: var(--clay);
}

.container {
  width: min(1100px, 92vw);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  backdrop-filter: blur(12px);
  background: rgba(255, 255, 255, 0.8);
  border-bottom: 1px solid rgba(28, 28, 28, 0.08);
  z-index: 10;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}

.logo {
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.nav {
  display: flex;
  gap: 1.5rem;
  font-size: 0.95rem;
}

.nav-link {
  position: relative;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.25rem;
  width: 0;
  height: 2px;
  background: var(--sea);
  transition: width 0.25s ease;
}

.nav-link:hover::after,
.nav-link:focus::after {
  width: 100%;
}

.main {
  padding: 3rem 0 5rem;
  flex: 1 0 auto;
}

.hero {
  padding: 4rem 0 3rem;
}

.hero-inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2.5rem;
  align-items: center;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--clay);
}

.hero-text h1 {
  font-size: clamp(2.6rem, 4vw, 4rem);
}

.lead {
  font-size: 1.15rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.5rem;
}

.button {
  border: none;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.button.primary {
  background: var(--sea);
  color: var(--cloud);
  box-shadow: var(--shadow);
}

.button.ghost {
  background: transparent;
  border: 1px solid rgba(28, 28, 28, 0.2);
}

.button:hover {
  transform: translateY(-2px);
}

.hero-card {
  background: var(--glass);
  padding: 2rem;
  border-radius: 24px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(28, 28, 28, 0.08);
  position: relative;
  overflow: hidden;
}

.hero-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(245, 158, 11, 0.25), transparent 60%);
}

.hero-meta {
  display: flex;
  gap: 1rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink);
}

.info {
  margin-top: 2rem;
}

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

.info-card {
  background: var(--cloud);
  padding: 1.5rem;
  border-radius: 18px;
  border: 1px solid rgba(28, 28, 28, 0.08);
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.08);
}

.page-header {
  margin-bottom: 1.5rem;
}

.page-body {
  max-width: 640px;
}

.form-card {
  margin-top: 2.5rem;
  background: var(--cloud);
  padding: 2rem;
  border-radius: 24px;
  border: 1px solid rgba(28, 28, 28, 0.1);
  box-shadow: var(--shadow);
}

.invite-card {
  margin-top: 1.5rem;
  background: var(--cloud);
  padding: 2rem;
  border-radius: 24px;
  border: 1px solid rgba(28, 28, 28, 0.1);
  box-shadow: var(--shadow);
  display: grid;
  gap: 1rem;
}

.form {
  display: grid;
  gap: 1.5rem;
}

.form-field {
  display: grid;
  gap: 0.5rem;
}

.form-field input[type="text"] {
  padding: 0.8rem 1rem;
  border-radius: 12px;
  border: 1px solid rgba(28, 28, 28, 0.2);
  font-size: 1rem;
}

.label,
label {
  font-weight: 600;
}

.help-text {
  font-size: 0.85rem;
  color: rgba(28, 28, 28, 0.65);
}

.checkbox-field {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.radio-group {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.form-status {
  min-height: 1.2rem;
  font-weight: 600;
  color: var(--sea);
}

.site-footer {
  padding: 2rem 0 3rem;
  border-top: 1px solid rgba(28, 28, 28, 0.08);
  background: rgba(255, 255, 255, 0.7);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  color: rgba(28, 28, 28, 0.7);
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-text,
.hero-card,
.info-card,
.form-card {
  animation: fadeUp 0.7s ease both;
}

.info-card:nth-child(2) {
  animation-delay: 0.1s;
}

.info-card:nth-child(3) {
  animation-delay: 0.2s;
}

@media (max-width: 720px) {
  .nav {
    gap: 1rem;
    font-size: 0.85rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-inner {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}
