:root {
  --bg: #f6efe5;
  --bg-alt: #fef9f4;
  --ink: #1f1a17;
  --ink-soft: #4a403a;
  --accent: #ff6a2a;
  --accent-dark: #d94c0f;
  --mint: #00b894;
  --sand: #ffd9bc;
  --white: #ffffff;
  --shadow: 0 12px 40px rgba(31, 26, 23, 0.12);
  --radius: 20px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: "Sora", sans-serif;
  color: var(--ink);
  background: radial-gradient(circle at 15% 12%, #ffe7d2 0%, #f6efe5 50%)
    no-repeat;
  min-height: 100%;
}

body {
  position: relative;
  overflow-x: hidden;
}

.noise-layer {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.18;
  background-image: linear-gradient(
      rgba(255, 255, 255, 0.14) 1px,
      transparent 1px
    ),
    linear-gradient(90deg, rgba(255, 255, 255, 0.14) 1px, transparent 1px);
  background-size: 28px 28px;
  z-index: -1;
}

.site-header {
  position: sticky;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px clamp(20px, 4vw, 60px);
  background: rgba(246, 239, 229, 0.88);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(31, 26, 23, 0.08);
  z-index: 50;
}

.brand {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-decoration: none;
  color: var(--ink);
}

.site-nav {
  display: flex;
  gap: clamp(12px, 2vw, 28px);
}

.site-nav a {
  text-decoration: none;
  color: var(--ink-soft);
  font-weight: 600;
  transition: color 180ms ease;
}

.site-nav a:hover {
  color: var(--ink);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.lang-label {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
}

.lang-select {
  border: 1px solid rgba(31, 26, 23, 0.2);
  border-radius: 999px;
  background: var(--bg-alt);
  color: var(--ink);
  font-weight: 700;
  padding: 7px 12px;
  font-family: "Sora", sans-serif;
}

main {
  padding: 30px clamp(20px, 4vw, 60px) 50px;
  max-width: 1200px;
  margin: 0 auto;
}

.section {
  margin: clamp(30px, 5vw, 70px) 0;
}

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

.hero h1 {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2rem, 6vw, 4.3rem);
  line-height: 1.05;
  margin: 8px 0 16px;
  max-width: 15ch;
}

.hero-copy {
  max-width: 60ch;
  color: var(--ink-soft);
  font-size: 1.08rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 12px;
  margin: 28px 0 22px;
  flex-wrap: wrap;
}

.hero-points {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 0;
  list-style: none;
  max-width: 58ch;
}

.hero-points li {
  background: var(--bg-alt);
  border: 1px solid rgba(31, 26, 23, 0.08);
  border-radius: 14px;
  padding: 12px 14px;
  font-weight: 500;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 11px 18px;
  text-decoration: none;
  font-weight: 700;
  border: 2px solid transparent;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

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

.btn-primary {
  background: linear-gradient(120deg, var(--accent), #ff874f);
  color: var(--white);
  box-shadow: 0 8px 20px rgba(217, 76, 15, 0.35);
}

.btn-outline {
  background: transparent;
  color: var(--ink);
  border-color: rgba(31, 26, 23, 0.25);
}

.btn-small {
  padding: 8px 14px;
  font-size: 0.92rem;
}

.btn-wide {
  margin-top: 16px;
  padding-left: 28px;
  padding-right: 28px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.card {
  background: var(--bg-alt);
  border: 1px solid rgba(31, 26, 23, 0.12);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
}

.card h2 {
  margin-top: 0;
  font-size: 1.15rem;
}

.card p {
  margin-bottom: 0;
  color: var(--ink-soft);
  line-height: 1.65;
}

.split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.panel {
  border-radius: var(--radius);
  padding: 28px;
  min-height: 230px;
  box-shadow: var(--shadow);
}

.panel-organizers {
  background: linear-gradient(140deg, #fff8ef, #ffead6);
  border: 1px solid #f0caa7;
}

.panel-speakers {
  background: linear-gradient(140deg, #ecfff9, #c8f6e8);
  border: 1px solid #95e3cd;
}

.panel h3 {
  margin-top: 0;
  font-size: 1.4rem;
}

.panel p {
  line-height: 1.65;
  color: var(--ink-soft);
}

.text-link {
  color: var(--ink);
  font-weight: 700;
  text-underline-offset: 3px;
}

.carousel-shell {
  background: var(--bg-alt);
  border: 1px solid rgba(31, 26, 23, 0.1);
  border-radius: var(--radius);
  padding: clamp(20px, 4vw, 36px);
}

.carousel-shell h2 {
  margin: 6px 0 18px;
  font-size: clamp(1.4rem, 4vw, 2.2rem);
}

.carousel {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  align-items: center;
}

.carousel-track {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid rgba(31, 26, 23, 0.16);
  min-height: 280px;
}

.carousel-slide {
  display: none;
  margin: 0;
  height: 100%;
}

.carousel-slide.is-active {
  display: block;
  animation: fade-in 420ms ease;
}

.carousel-slide img {
  width: 100%;
  height: clamp(280px, 45vw, 460px);
  object-fit: cover;
  display: block;
}

.carousel-btn {
  border: 0;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--white);
  font-size: 1.2rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease;
}

.carousel-btn:hover {
  transform: translateY(-2px);
  background: #3a312c;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 14px;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border: 0;
  border-radius: 999px;
  background: #c8b6a7;
  cursor: pointer;
}

.carousel-dot.is-active {
  background: var(--accent);
}

@keyframes fade-in {
  from {
    opacity: 0;
    transform: scale(0.985);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.download {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 20px;
  align-items: center;
  background: linear-gradient(120deg, #1f1a17, #3b2f28);
  color: var(--white);
  border-radius: calc(var(--radius) + 6px);
  padding: clamp(24px, 4vw, 42px);
}

.download h2 {
  margin: 8px 0 12px;
  font-size: clamp(1.4rem, 4vw, 2.2rem);
}

.download p {
  margin: 0;
  color: #f5e6dc;
  line-height: 1.6;
}

.store-links {
  display: grid;
  gap: 12px;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 14px;
  padding: 14px 18px;
  color: var(--white);
  font-weight: 700;
  min-height: 52px;
  transition: background 180ms ease, transform 180ms ease;
}

.store-badge:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-1px);
}

.register {
  text-align: center;
  background: var(--bg-alt);
  border: 1px solid rgba(31, 26, 23, 0.1);
  border-radius: var(--radius);
  padding: clamp(24px, 4vw, 44px);
}

.register h2 {
  margin: 10px auto;
  font-size: clamp(1.4rem, 4vw, 2.4rem);
  max-width: 16ch;
}

.register p {
  max-width: 65ch;
  margin: 0 auto;
  color: var(--ink-soft);
  line-height: 1.7;
}

.register-page-hero {
  max-width: 72ch;
}

.register-page-hero h1 {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.8rem, 5vw, 3.2rem);
  margin: 6px 0 12px;
}

.register-page-hero p {
  color: var(--ink-soft);
  line-height: 1.7;
}

.register-form-shell {
  background: var(--bg-alt);
  border: 1px solid rgba(31, 26, 23, 0.1);
  border-radius: var(--radius);
  padding: clamp(20px, 3vw, 34px);
}

.register-form {
  display: grid;
  gap: 16px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.register-form label {
  display: grid;
  gap: 8px;
  font-weight: 600;
}

.register-form input,
.register-form select,
.register-form textarea {
  width: 100%;
  border: 1px solid rgba(31, 26, 23, 0.18);
  border-radius: 12px;
  padding: 11px 12px;
  font-family: "Sora", sans-serif;
  font-size: 0.98rem;
  color: var(--ink);
  background: var(--white);
}

.register-form textarea {
  resize: vertical;
}

.full-width {
  grid-column: 1 / -1;
}

.checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-weight: 500;
  color: var(--ink-soft);
}

.checkbox-row input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
}

.form-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.site-footer {
  padding: 8px 20px 32px;
  text-align: center;
  color: var(--ink-soft);
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 550ms ease, transform 550ms ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .grid,
  .split,
  .download {
    grid-template-columns: 1fr;
  }

  .download {
    gap: 24px;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .site-header {
    flex-wrap: wrap;
    gap: 12px;
  }

  .site-nav {
    order: 3;
    width: 100%;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
  }

  .btn-small {
    margin-left: auto;
  }

  .header-actions {
    width: 100%;
    justify-content: flex-end;
    flex-wrap: wrap;
  }

  .carousel {
    grid-template-columns: 1fr;
  }

  .carousel-btn {
    width: 100%;
    border-radius: 12px;
  }
}
