/* Conviva landing page styles */

/* Typography — orijinal (geri dönüş):
   Display: Fraunces | Body: Nunito Sans
   Stil 1 — Klasik Zarafet: Playfair Display + Lato
   Stil 2 — Modern Samimi: Outfit + Plus Jakarta Sans
   Stil 3 — Hikâye Odaklı: Lora + Source Sans 3
   Aktif: Orijinal */

/* Renk paleti — orijinal (geri dönüş):
   cream #FFF8F0 | warm #F8E7D3 | clay #C96A3A | clay-dark #9A4724
   ink #2B1A12 | muted #7E6252 | border #E9C8A7
   Palet 1 — Altın Saat: sıcak amber, gün batımı
   Palet 2 — Taş & Kahve: soğuk nötr, zarif kafe
   Palet 3 — Mercan Akşamı: canlı mercan, sosyal enerji
   Palet 4 — Akşam Denizi: mavimsi, Akdeniz akşamı
   Aktif: Orijinal */

/* Base reset and theme tokens */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --cream: #FFF8F0;
  --warm: #F8E7D3;
  --clay: #C96A3A;
  --clay-dark: #9A4724;
  --ink: #2B1A12;
  --muted: #7E6252;
  --border: #E9C8A7;
  --cream-rgb: 255, 248, 240;
  --warm-rgb: 248, 231, 211;
  --clay-rgb: 201, 106, 58;
  --clay-dark-rgb: 154, 71, 36;
  --ink-rgb: 43, 26, 18;
  --border-rgb: 233, 200, 167;
  --font-display: 'Fraunces', 'Georgia', serif;
  --font-body: 'Nunito Sans', 'Segoe UI', sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--ink);
  line-height: 1.7;
}

/* Navigation */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 4.35rem;
  padding: 1.25rem 5vw;
  background: rgba(var(--cream-rgb), 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.logo {
  position: relative;
  z-index: 2;
  flex-shrink: 0;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--ink);
  text-decoration: none;
}

.logo span {
  color: var(--clay);
}

.nav-links {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
  white-space: nowrap;
}

.nav-links a {
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.025em;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--ink);
}

.nav-links a.is-active {
  color: var(--ink);
}

.nav-links-app {
  gap: 1.5rem;
}

.nav-cta {
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.025em;
  background: var(--ink);
  color: var(--cream);
  padding: 0.55rem 1.4rem;
  border-radius: 100px;
  text-decoration: none;
  transition: background 0.2s;
}

.nav-cta:hover {
  background: var(--clay);
}

.nav-actions {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.75rem;
  flex-shrink: 0;
  min-width: 15rem;
}

.nav-logout {
  cursor: pointer;
  appearance: none;
  font: inherit;
  background: transparent;
}

.nav-login {
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--ink);
  padding: 0.55rem 1.1rem;
  border: 1px solid var(--border);
  border-radius: 100px;
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s;
}

.nav-login:hover {
  border-color: var(--clay);
  color: var(--clay);
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 8rem 5vw 5rem;
  overflow: hidden;
}

/* Fullscreen video background for the homepage hero. */
.hero-video {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Dark layer keeps the text readable over the video. */
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(var(--ink-rgb), 0.46);
}

.hero > :not(.hero-video):not(.hero-overlay) {
  position: relative;
  z-index: 2;
}

.hero-tag {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #ffe3c7;
  margin-bottom: 2rem;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(3rem, 6.8vw, 6.3rem);
  font-weight: 650;
  font-variation-settings: 'SOFT' 80, 'WONK' 1;
  letter-spacing: -0.045em;
  line-height: 0.98;
  max-width: 880px;
  color: #fff;
}

.hero h1 em {
  font-style: italic;
  font-weight: 500;
  color: #ffe3c7;
}

.hero-sub {
  font-family: var(--font-body);
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.84);
  max-width: 480px;
  margin: 2rem auto 0;
  font-weight: 500;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  margin-top: 3rem;
  flex-wrap: wrap;
  justify-content: center;
}

.btn-primary {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  border: none;
  background: var(--clay);
  color: #fff;
  padding: 0.85rem 2.2rem;
  border-radius: 100px;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
}

.btn-primary:hover {
  background: var(--clay-dark);
  transform: translateY(-1px);
}

.btn-ghost {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  background: transparent;
  color: #fff;
  padding: 0.85rem 2.2rem;
  border-radius: 100px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  cursor: pointer;
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s;
}

.btn-ghost:hover {
  border-color: #fff;
}

.countdown {
  width: min(680px, 92vw);
  margin-top: 2.4rem;
  padding: 1.2rem;
  border: 1px solid rgba(var(--warm-rgb), 0.34);
  border-radius: 30px;
  background: rgba(var(--cream-rgb), 0.12);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(14px);
}

.countdown-label {
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.86);
  margin-bottom: 1rem;
}

.countdown-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.8rem;
}

.countdown-card {
  display: flex;
  min-height: 82px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(var(--warm-rgb), 0.62);
  border-radius: 20px;
  background: rgba(var(--cream-rgb), 0.18);
}

.countdown-value {
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 3vw, 2.2rem);
  font-weight: 650;
  font-variation-settings: 'SOFT' 75, 'WONK' 1;
  line-height: 1;
  color: #fff;
}

.countdown-unit {
  margin-top: 0.25rem;
  font-family: var(--font-body);
  font-size: 0.86rem;
  font-weight: 700;
  color: #ffe3c7;
}

.hero-scroll {
  margin-top: 4rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.76);
}

.hero-scroll span {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.76), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

/* Motion — subtle scroll & hero entrance */
@media (prefers-reduced-motion: no-preference) {
  .hero-tag,
  .hero h1,
  .hero-sub,
  .hero-actions,
  .hero .countdown,
  .hero-scroll {
    opacity: 0;
    transform: translateY(14px);
    animation: heroEnter 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  }

  .hero-tag { animation-delay: 0.12s; }
  .hero h1 { animation-delay: 0.28s; }
  .hero-sub { animation-delay: 0.42s; }
  .hero-actions { animation-delay: 0.55s; }
  .hero .countdown { animation-delay: 0.68s; }
  .hero-scroll { animation-delay: 0.88s; }
}

@keyframes heroEnter {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.reveal-on-scroll {
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--reveal-delay, 0s);
}

.reveal-on-scroll.is-revealed {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal-on-scroll {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

@keyframes scrollPulse {
  0%, 100% {
    opacity: 0.4;
  }

  50% {
    opacity: 1;
  }
}

/* Shared section styles */
.section {
  padding: 7rem 5vw;
}

.section-label {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--clay);
  margin-bottom: 1rem;
  text-align: center;
}

.conviva-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--clay);
}

.conviva-icon svg {
  width: 1.1em;
  height: 1.1em;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.6vw, 3.3rem);
  font-weight: 650;
  font-variation-settings: 'SOFT' 70, 'WONK' 1;
  letter-spacing: -0.03em;
  text-align: center;
  max-width: 560px;
  margin: 0 auto 5rem;
  line-height: 1.25;
}

.faq-title {
  margin-bottom: 3rem;
}

/* Warm gradient band — Nasıl Çalışır & Hikayeler */
.steps-section,
.stories-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 12% 18%, rgba(var(--clay-rgb), 0.13), transparent 42%),
    radial-gradient(ellipse at 88% 82%, rgba(var(--warm-rgb), 0.78), transparent 48%),
    linear-gradient(180deg, rgba(var(--warm-rgb), 0.55) 0%, var(--cream) 58%);
}

.section-scroll-hint {
  display: flex;
  justify-content: center;
  margin-bottom: 0.85rem;
}

.section-scroll-line {
  width: 1px;
  height: 2.5rem;
  background: linear-gradient(to top, rgba(var(--clay-rgb), 0.45), transparent);
}

.steps-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(55px);
  pointer-events: none;
  opacity: 0.32;
  animation: stepsGlowFloat 10s ease-in-out infinite;
}

.steps-glow-one {
  top: 10%;
  left: -5rem;
  width: 14rem;
  height: 14rem;
  background: rgba(var(--clay-rgb), 0.14);
}

.steps-glow-two {
  right: -4rem;
  bottom: 8%;
  width: 12rem;
  height: 12rem;
  background: rgba(var(--warm-rgb), 0.55);
  animation-delay: -5s;
}

.steps-reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.65s ease, transform 0.65s ease;
  transition-delay: var(--step-delay, 0s);
}

.steps-section.is-visible .steps-reveal {
  opacity: 1;
  transform: translateY(0);
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 3rem;
  max-width: 980px;
  margin: 0 auto;
}

.step {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.step-num {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 8vw, 5.5rem);
  font-weight: 650;
  font-variation-settings: 'SOFT' 75, 'WONK' 1;
  line-height: 0.9;
  letter-spacing: -0.06em;
  color: var(--clay);
  animation: stepNumFloat 3.5s ease-in-out infinite;
}

.step:nth-child(2) .step-num {
  animation-delay: -1.1s;
}

.step:nth-child(3) .step-num {
  animation-delay: -2.2s;
}

.step h3 {
  font-family: var(--font-display);
  font-size: 1.32rem;
  font-weight: 650;
  font-variation-settings: 'SOFT' 65, 'WONK' 1;
  letter-spacing: -0.025em;
  transition: color 0.25s ease;
}

.step:hover h3 {
  color: var(--clay-dark);
}

.step p {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--muted);
  line-height: 1.8;
}

@keyframes stepsGlowFloat {
  0%, 100% {
    transform: translate(0, 0);
  }

  50% {
    transform: translate(10px, -12px);
  }
}

@keyframes stepNumFloat {
  0%, 100% {
    transform: translateY(0) scale(1);
    opacity: 0.88;
  }

  50% {
    transform: translateY(-3px) scale(1.02);
    opacity: 1;
  }
}

.divider {
  width: 48px;
  height: 1px;
  background: var(--border);
  margin: 0 auto;
}

/* Quote */
.quote-section {
  position: relative;
  min-height: 520px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--ink) 0%, var(--clay-dark) 42%, var(--clay) 100%);
  padding: 8rem 5vw;
  overflow: hidden;
  text-align: center;
}

.quote-section::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(circle at 50% 50%, rgba(var(--warm-rgb), 0.2), transparent 34%),
    rgba(var(--ink-rgb), 0.34);
}

.quote-gallery {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.quote-photo {
  position: absolute;
  width: clamp(140px, 20vw, 250px);
  height: clamp(190px, 28vw, 340px);
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 28px;
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.28);
  opacity: 0.72;
  filter: saturate(0.95) brightness(0.9);
  animation: photoFloat 12s ease-in-out infinite;
}

.quote-photo-one {
  top: 10%;
  left: 6%;
  transform: rotate(-8deg);
}

.quote-photo-two {
  right: 12%;
  top: 7%;
  animation-delay: -3s;
  transform: rotate(7deg);
}

.quote-photo-three {
  bottom: 7%;
  left: 20%;
  animation-delay: -6s;
  transform: rotate(5deg);
}

.quote-photo-four {
  right: 5%;
  bottom: 9%;
  animation-delay: -9s;
  transform: rotate(-6deg);
}

.quote-section blockquote {
  position: relative;
  z-index: 2;
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 3.4vw, 3.1rem);
  font-weight: 650;
  font-variation-settings: 'SOFT' 85, 'WONK' 1;
  font-style: italic;
  letter-spacing: -0.025em;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.45;
  color: #fff;
  text-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.quote-source {
  position: relative;
  z-index: 2;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.72);
  margin-top: 2rem;
}

@keyframes photoFloat {
  0%, 100% {
    translate: 0 0;
  }

  50% {
    translate: 0 -18px;
  }
}

/* Call to action */
.cta-section {
  padding: 8rem 5vw;
  text-align: center;
}

.cta-section h2 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.4vw, 4rem);
  font-weight: 650;
  font-variation-settings: 'SOFT' 75, 'WONK' 1;
  letter-spacing: -0.035em;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.cta-section p {
  font-family: var(--font-body);
  color: var(--muted);
  font-size: 0.95rem;
  max-width: 400px;
  margin: 0 auto 2.5rem;
  line-height: 1.8;
}

/* FAQ accordion */
.faq-section {
  position: relative;
  padding: 7rem 5vw;
  overflow: hidden;
  background:
    radial-gradient(ellipse 90% 55% at 50% -8%, rgba(var(--clay-rgb), 0.2), transparent 58%),
    radial-gradient(ellipse 45% 35% at 100% 90%, rgba(var(--clay-dark-rgb), 0.12), transparent 55%),
    linear-gradient(178deg, #FDEBD8 0%, #F3D2B2 46%, #EAC29A 100%);
}

.faq-section::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Ccircle cx='1.2' cy='1.2' r='0.9' fill='%23C96A3A' opacity='0.09'/%3E%3C/svg%3E");
  background-size: 24px 24px;
}

.faq-section::after {
  content: '';
  position: absolute;
  top: 8%;
  right: 6%;
  width: min(340px, 42vw);
  height: min(420px, 52vw);
  z-index: 0;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 240 300'%3E%3Ctext x='120' y='230' text-anchor='middle' font-size='260' font-family='Georgia, serif' font-style='italic' fill='%23C96A3A' opacity='0.07'%3E%3F%3C/text%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
}

.faq-section > * {
  position: relative;
  z-index: 1;
}

.faq-list {
  max-width: 700px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid rgba(var(--clay-dark-rgb), 0.38);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.5rem 0;
  text-align: left;
  font-family: var(--font-display);
  font-size: 1.16rem;
  font-weight: 650;
  font-variation-settings: 'SOFT' 60, 'WONK' 1;
  letter-spacing: -0.02em;
  color: var(--ink);
  transition: color 0.2s;
}

.faq-question:hover {
  color: var(--clay);
}

.faq-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  position: relative;
  transition: transform 0.3s;
}

.faq-icon::before,
.faq-icon::after {
  content: '';
  position: absolute;
  background: var(--clay);
  border-radius: 2px;
  transition: opacity 0.3s, transform 0.3s;
}

.faq-icon::before {
  width: 2px;
  height: 14px;
  top: 3px;
  left: 9px;
}

.faq-icon::after {
  width: 14px;
  height: 2px;
  top: 9px;
  left: 3px;
}

.faq-item.open .faq-icon::before {
  opacity: 0;
}

.faq-answer {
  font-family: var(--font-body);
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.9;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
}

.faq-item.open .faq-answer {
  max-height: 900px;
  padding-bottom: 1.5rem;
}

.faq-answer p {
  margin-bottom: 0.9rem;
}

.faq-answer p:last-child {
  margin-bottom: 0;
}

.faq-answer h3 {
  margin: 1.2rem 0 0.45rem;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 650;
  font-variation-settings: 'SOFT' 60, 'WONK' 1;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.faq-answer a {
  color: var(--clay);
  text-decoration: none;
}

.faq-answer a:hover {
  color: var(--clay-dark);
}

/* Quiz page */
.quiz-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(var(--clay-rgb), 0.18), transparent 32rem),
    radial-gradient(circle at bottom right, rgba(var(--warm-rgb), 0.9), transparent 30rem),
    var(--cream);
}

.quiz-shell {
  width: min(980px, 90vw);
  margin: 0 auto;
  padding: 6.5rem 0 6rem;
}

.quiz-intro {
  max-width: 640px;
  margin: 0 auto 2.5rem;
  text-align: center;
}

.quiz-intro h1 {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.5vw, 3.2rem);
  font-weight: 650;
  font-variation-settings: 'SOFT' 80, 'WONK' 1;
  letter-spacing: -0.03em;
  line-height: 1.12;
  color: var(--ink);
}

.quiz-intro p {
  max-width: 560px;
  margin: 1.4rem auto 0;
  color: var(--muted);
  font-weight: 600;
  line-height: 1.8;
}

.quiz-card {
  position: relative;
  padding: clamp(1.75rem, 4vw, 2.75rem);
  border: 1px solid var(--border);
  border-radius: 34px;
  background: rgba(var(--cream-rgb), 0.82);
  box-shadow: 0 26px 70px rgba(var(--ink-rgb), 0.11);
  backdrop-filter: blur(18px);
}

.quiz-progress {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 2.5rem;
}

.quiz-progress-track {
  flex: 1;
  height: 4px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(var(--border-rgb), 0.5);
}

.quiz-progress-fill {
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--clay), var(--clay-dark));
  transition: width 0.4s ease;
}

.quiz-progress [data-quiz-current],
.quiz-progress [data-quiz-total] {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--muted);
}

.quiz-progress [data-quiz-current] {
  color: var(--clay);
}

.quiz-question {
  display: none;
  border: 0;
}

.quiz-question.is-active {
  display: block;
}

.quiz-question legend {
  margin-bottom: 2rem;
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 2.8vw, 2.1rem);
  font-weight: 650;
  font-variation-settings: 'SOFT' 75, 'WONK' 1;
  letter-spacing: -0.03em;
  line-height: 1.2;
  color: var(--ink);
}

.quiz-question label {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.6rem;
  padding: 1rem 1.25rem;
  border: 1.5px solid rgba(var(--border-rgb), 0.65);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.38);
  color: var(--ink);
  font-size: 0.97rem;
  font-weight: 600;
  line-height: 1.4;
  cursor: pointer;
  transition: border-color 0.18s, background 0.18s;
}

.quiz-question label::before {
  content: '';
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  border: 2px solid var(--border);
  border-radius: 50%;
  transition: border-color 0.18s, background 0.18s, box-shadow 0.18s;
}

.quiz-question label:hover {
  border-color: rgba(var(--clay-rgb), 0.55);
  background: rgba(var(--warm-rgb), 0.35);
}

.quiz-question label:hover::before {
  border-color: var(--clay);
}

/* Hide radio and checkbox inputs — görsel durum label CSS ile */
.quiz-question input[type="radio"],
.quiz-question input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.quiz-question label:has(input:checked) {
  border-color: var(--clay);
  background: rgba(var(--clay-rgb), 0.1);
}

.quiz-question label:has(input:checked)::before {
  border-color: var(--clay);
  background: var(--clay);
  box-shadow: inset 0 0 0 3px #fff;
}

.quiz-warning {
  min-height: 1.4rem;
  margin-top: 0.85rem;
  color: var(--clay-dark);
  font-size: 0.9rem;
  font-weight: 800;
  opacity: 0;
  transition: opacity 0.2s;
}

.quiz-warning.is-visible {
  opacity: 1;
}

.quiz-actions {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(var(--border-rgb), 0.45);
}

.quiz-btn-secondary {
  color: var(--ink);
  border-color: var(--border);
}

.quiz-btn-secondary:hover {
  border-color: var(--clay);
}

.quiz-actions button:disabled {
  cursor: not-allowed;
  opacity: 0.42;
  transform: none;
}

/* Quiz text inputs (steps 16-19) */
.quiz-question-input legend {
  margin-bottom: 1.2rem;
}

/* ── Çok seçim ipucu ────────────────────────────────── */
.quiz-hint {
  margin-top: -1.25rem;
  margin-bottom: 1.2rem;
  font-size: 0.77rem;
  font-weight: 700;
  color: var(--muted);
  opacity: 0.75;
}

.quiz-hint--scale {
  text-align: center;
  font-size: 0.75rem;
  font-weight: 600;
  margin-top: -1rem;
  margin-bottom: 1.5rem;
  opacity: 0.6;
}

/* ── Devre dışı seçenek (max'a ulaşıldı) ───────────── */
.quiz-question label.is-disabled {
  opacity: 0.35;
  cursor: not-allowed;
  pointer-events: none;
}

/* ── 2 sütunlu seçenek ızgarası ─────────────────────── */
.quiz-options-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}

.quiz-options-grid label {
  margin-bottom: 0;
}

/* ── 1–10 ölçek ─────────────────────────────────────── */
.quiz-scale .quiz-scale-options {
  display: flex;
  gap: 0.35rem;
  justify-content: center;
  flex-wrap: wrap;
}

.quiz-scale .quiz-scale-options label {
  flex: 0 0 calc(10% - 0.35rem);
  min-width: 44px;
  flex-direction: column;
  justify-content: center;
  padding: 0.9rem 0.25rem;
  border-radius: 14px;
  gap: 0;
}

.quiz-scale .quiz-scale-options label::before {
  display: none;
}

.quiz-scale .quiz-scale-options label span {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  font-variation-settings: 'SOFT' 60, 'WONK' 1;
  letter-spacing: -0.02em;
  color: var(--muted);
  line-height: 1;
  pointer-events: none;
}

.quiz-scale .quiz-scale-options label:has(input:checked) span {
  color: var(--clay-dark);
}

.quiz-field {
  text-align: left;
}

.quiz-field input {
  width: 100%;
  padding: 0.95rem 1rem;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.55);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.quiz-field input:focus {
  border-color: var(--clay);
  box-shadow: 0 0 0 3px rgba(var(--clay-rgb), 0.15);
}

.quiz-field-hint {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--muted);
}

/* Quiz ticket step (step 20) */
.quiz-ticket-step {
  text-align: center;
}

.quiz-ticket-lead {
  margin-bottom: 1.5rem;
  color: var(--muted);
  font-weight: 600;
  line-height: 1.8;
}

.quiz-ticket-card {
  margin-bottom: 1.6rem;
  padding: 1.4rem 1.6rem;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.5);
}

.quiz-ticket-name {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 650;
  color: var(--ink);
}

.quiz-ticket-detail {
  margin-top: 0.35rem;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 600;
}

.quiz-ticket-price {
  margin-top: 1rem;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 650;
  color: var(--clay);
}

.quiz-ticket-btn {
  display: inline-block;
  min-width: 220px;
}

.quiz-ticket-btn:disabled {
  cursor: wait;
  opacity: 0.7;
}

/* Quiz payment step (step 21, mock bank transfer) */
.quiz-payment-step {
  text-align: left;
}

.quiz-payment-lead {
  margin-bottom: 1.25rem;
  color: var(--muted);
  font-weight: 600;
  line-height: 1.75;
}

.quiz-payment-order {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem 1rem;
  margin-bottom: 1.25rem;
  padding: 1rem 1.1rem;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.5);
}

.quiz-payment-order-label {
  width: 100%;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}

.quiz-payment-ref,
.quiz-payment-iban {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 800;
  color: var(--ink);
  word-break: break-all;
}

.quiz-payment-bank {
  margin: 0 0 1.25rem;
  padding: 1rem 1.1rem;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.42);
}

.quiz-payment-row {
  display: grid;
  gap: 0.25rem;
  padding: 0.65rem 0;
  border-bottom: 1px solid rgba(var(--border-rgb), 0.45);
}

.quiz-payment-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.quiz-payment-row:first-child {
  padding-top: 0;
}

.quiz-payment-row dt {
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}

.quiz-payment-row dd {
  margin: 0;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.5;
}

.quiz-payment-row dd code {
  display: block;
  margin-bottom: 0.5rem;
}

.quiz-resend-code {
  margin-top: 1rem;
  padding: 0;
  border: none;
  background: none;
  color: var(--clay);
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.quiz-resend-code:hover {
  color: var(--clay-dark);
}

.quiz-copy-btn {
  padding: 0.4rem 0.85rem;
  border: 1px solid var(--border);
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.7);
  color: var(--clay-dark);
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 800;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}

.quiz-copy-btn:hover {
  border-color: var(--clay);
  background: rgba(var(--warm-rgb), 0.5);
}

.quiz-payment-demo {
  margin-bottom: 1.25rem;
  padding: 0.75rem 1rem;
  border-radius: 14px;
  background: rgba(var(--clay-rgb), 0.12);
  color: var(--clay-dark);
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.6;
}

.quiz-payment-upload {
  margin-bottom: 1.25rem;
}

.quiz-payment-upload label {
  display: block;
  margin-bottom: 0.45rem;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--ink);
}

.quiz-payment-upload input[type="file"] {
  width: 100%;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--muted);
}

.quiz-payment-confirm {
  width: 100%;
}

.quiz-payment-confirm:disabled {
  cursor: wait;
  opacity: 0.7;
}

.quiz-payment-success {
  margin-top: 1.5rem;
  padding: 1.4rem 1.2rem;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.55);
  text-align: center;
}

.quiz-payment-success h3 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 650;
  color: var(--ink);
}

.quiz-payment-success p {
  margin: 0.75rem 0 1.25rem;
  color: var(--muted);
  font-weight: 600;
  line-height: 1.7;
}

.quiz-complete {
  max-width: 620px;
  margin: 0 auto;
  text-align: center;
}

.quiz-complete h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-weight: 650;
  font-variation-settings: 'SOFT' 80, 'WONK' 1;
  letter-spacing: -0.04em;
  line-height: 1;
}

.quiz-complete p:not(.section-label) {
  margin: 1.2rem auto 2rem;
  color: var(--muted);
  font-weight: 600;
}

/* Auth (register / login) */
.auth-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(var(--clay-rgb), 0.16), transparent 32rem),
    radial-gradient(circle at bottom right, rgba(var(--warm-rgb), 0.9), transparent 30rem),
    var(--cream);
}

.auth-shell {
  width: min(720px, 90vw);
  margin: 0 auto;
  padding: 6.5rem 0 6rem;
}

.auth-shell-narrow {
  width: min(520px, 90vw);
}

.auth-intro {
  text-align: center;
  margin-bottom: 2.5rem;
}

.auth-intro h1 {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.5vw, 3.2rem);
  font-weight: 650;
  font-variation-settings: 'SOFT' 80, 'WONK' 1;
  letter-spacing: -0.03em;
  line-height: 1.12;
  color: var(--ink);
}

.auth-intro p {
  max-width: 520px;
  margin: 1.2rem auto 0;
  color: var(--muted);
  font-weight: 600;
  line-height: 1.8;
}

.auth-card {
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border: 1px solid var(--border);
  border-radius: 34px;
  background: rgba(var(--cream-rgb), 0.82);
  box-shadow: 0 26px 70px rgba(var(--ink-rgb), 0.1);
}

.auth-steps {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.auth-step {
  display: inline-flex;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--muted);
  font-weight: 800;
  font-size: 0.85rem;
}

.auth-step.is-active {
  border-color: var(--clay);
  background: var(--clay);
  color: #fff;
}

.auth-step.is-done {
  border-color: var(--clay);
  color: var(--clay);
}

.auth-form h2 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 650;
  letter-spacing: -0.03em;
  margin-bottom: 1.4rem;
  color: var(--ink);
}

.auth-lead {
  margin-bottom: 1.2rem;
  color: var(--muted);
  font-weight: 600;
  line-height: 1.7;
}

.auth-hint {
  margin-bottom: 1rem;
  padding: 0.85rem 1rem;
  border-radius: 16px;
  background: rgba(var(--clay-rgb), 0.1);
  color: var(--clay-dark);
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.6;
}

.auth-field {
  margin-bottom: 1rem;
}

.auth-field label {
  display: block;
  margin-bottom: 0.45rem;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}

.auth-field input {
  width: 100%;
  padding: 0.9rem 1rem;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.55);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.auth-field input:focus {
  border-color: var(--clay);
  box-shadow: 0 0 0 3px rgba(var(--clay-rgb), 0.15);
}

.auth-message {
  min-height: 1.4rem;
  margin: 0.5rem 0 1rem;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--clay-dark);
  opacity: 0;
  transition: opacity 0.2s;
}

.auth-message.is-visible {
  opacity: 1;
}

.auth-message.is-error {
  color: #9a2f2f;
}

.auth-success {
  margin-bottom: 1rem;
  padding: 0.85rem 1rem;
  border-radius: 16px;
  background: rgba(var(--clay-rgb), 0.12);
  color: var(--clay-dark);
  font-weight: 700;
}

.auth-submit {
  width: 100%;
  text-align: center;
}

.auth-done {
  text-align: center;
}

.auth-done h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 650;
  margin: 0.8rem 0 1rem;
}

.auth-done p {
  margin-bottom: 1.6rem;
  color: var(--muted);
  font-weight: 600;
}

.auth-footer-text {
  margin-top: 1.4rem;
  text-align: center;
  color: var(--muted);
  font-weight: 600;
}

.auth-footer-text a {
  color: var(--clay);
  font-weight: 800;
  text-decoration: none;
}

.auth-footer-text a:hover {
  color: var(--clay-dark);
}

/* Dashboard (after login) */
.dashboard-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(var(--clay-rgb), 0.14), transparent 32rem),
    radial-gradient(circle at bottom right, rgba(var(--warm-rgb), 0.9), transparent 30rem),
    var(--cream);
}

.account-layout {
  padding-top: 5.25rem;
}

/* Hesabım hub (dashboard grid — dinewho-style layout, Conviva colors) */
.account-layout--hub {
  padding-top: 0;
  background: var(--ink);
}

.account-layout--hub nav {
  background: rgba(var(--ink-rgb), 0.94);
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

.account-layout--hub .logo,
.account-layout--hub .nav-links a,
.account-layout--hub .nav-login {
  color: rgba(var(--cream-rgb), 0.88);
  border-color: rgba(var(--cream-rgb), 0.35);
}

.account-layout--hub .nav-links a:hover,
.account-layout--hub .nav-login:hover {
  color: #fff;
  border-color: rgba(var(--cream-rgb), 0.65);
}

.account-layout--hub .logo span {
  color: var(--clay);
}

.account-hub {
  padding-top: 5.25rem;
}

.account-hero {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 220px;
  padding: 3.5rem 5vw 3rem;
  text-align: center;
  background:
    linear-gradient(180deg, rgba(var(--ink-rgb), 0.55) 0%, rgba(var(--ink-rgb), 0.82) 100%),
    radial-gradient(circle at 30% 40%, rgba(var(--clay-rgb), 0.35), transparent 55%),
    radial-gradient(circle at 80% 60%, rgba(var(--clay-dark-rgb), 0.4), transparent 50%),
    url("https://images.unsplash.com/photo-1414235077428-338989a2e8c0?auto=format&fit=crop&w=1600&q=80") center / cover no-repeat;
}

.account-hero-title {
  font-family: var(--font-body);
  font-size: clamp(2.4rem, 6vw, 3.6rem);
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
}

.account-hero-welcome {
  margin-top: 0.65rem;
  font-size: 1rem;
  font-weight: 600;
  color: rgba(var(--cream-rgb), 0.82);
}

.account-hub-panel {
  padding: 2rem 5vw 3.5rem;
  background: var(--ink);
}

.account-hub-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  max-width: 960px;
  margin: 0 auto;
}

.account-hub-card {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  min-height: 72px;
  padding: 1rem 1.1rem;
  border: none;
  border-radius: 8px;
  background: var(--clay);
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s, background 0.2s, box-shadow 0.2s;
}

.account-hub-card:hover {
  background: var(--clay-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28);
}

.account-hub-card--primary {
  background: #fff;
  color: var(--ink);
}

.account-hub-card--primary.is-active {
  background: var(--cream);
  color: var(--ink);
  box-shadow: 0 0 0 3px rgba(var(--cream-rgb), 0.55);
}

.account-hub-bilet-lead {
  margin: 0.5rem 0 1.25rem;
  color: var(--muted);
  font-weight: 600;
  line-height: 1.65;
}

.account-hub-bilet-message {
  min-height: 1.4rem;
  margin-top: 0.75rem;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--clay-dark);
  opacity: 0;
  transition: opacity 0.2s;
}

.account-hub-bilet-message.is-visible {
  opacity: 1;
}

.account-hub-bilet-message.is-error {
  color: #9a3b2e;
}

.account-hub-drawer .quiz-ticket-card {
  margin-bottom: 1.25rem;
  text-align: center;
}

.account-hub-drawer .quiz-ticket-btn {
  width: 100%;
}

.account-hub-card--primary:hover {
  background: var(--cream);
  color: var(--ink);
}

.account-hub-card--button {
  width: 100%;
  text-align: left;
}

.account-hub-icon {
  display: inline-flex;
  flex-shrink: 0;
  width: 28px;
  height: 28px;
}

.account-hub-icon svg {
  width: 100%;
  height: 100%;
}

.account-hub-label {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
  line-height: 1.25;
}

.account-hub-badge {
  padding: 0.1rem 0.45rem;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.22);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.account-hub-card--primary .account-hub-badge {
  background: rgba(var(--clay-rgb), 0.16);
  color: var(--clay-dark);
}

.account-hub-card.is-active {
  box-shadow: 0 0 0 3px rgba(var(--cream-rgb), 0.45);
  transform: translateY(-2px);
}

.account-hub-drawer {
  padding: 0 5vw 3.5rem;
  background: var(--ink);
}

.account-hub-drawer-inner {
  max-width: 720px;
  margin: 0 auto;
  padding: 2rem 1.5rem 2.25rem;
  border-radius: 16px;
  background: var(--cream);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
}

.account-hub-drawer-inner--wide {
  max-width: 640px;
}

.account-hub-drawer-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  font-weight: 650;
  font-variation-settings: 'SOFT' 80, 'WONK' 1;
  letter-spacing: -0.04em;
  line-height: 1.1;
  color: var(--ink);
}

.account-hub-drawer .experience-lead {
  margin-top: 0.5rem;
}

.account-hub-drawer .experience-list-title {
  font-size: 1.25rem;
}

.account-layout-body {
  display: flex;
  align-items: stretch;
  gap: 0;
  min-height: calc(100vh - 5.25rem);
}

.account-sidebar {
  flex-shrink: 0;
  width: 260px;
  padding: 1.75rem 1.25rem 2rem 5vw;
  border-right: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.28);
  position: sticky;
  top: 5.25rem;
  align-self: flex-start;
  min-height: calc(100vh - 5.25rem);
}

.account-sidebar-title {
  margin-bottom: 1.1rem;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.account-sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.account-sidebar-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  width: 100%;
  padding: 0.7rem 0.85rem;
  border: none;
  border-radius: 14px;
  background: transparent;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 700;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.account-sidebar-badge {
  flex-shrink: 0;
  min-width: 1.75rem;
  padding: 0.15rem 0.45rem;
  border-radius: 100px;
  background: rgba(var(--clay-rgb), 0.16);
  color: var(--clay-dark);
  font-size: 0.75rem;
  font-weight: 800;
  text-align: center;
}

.account-sidebar-link--logout {
  margin-top: 0.5rem;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.45);
  justify-content: flex-start;
}

.account-sidebar-link:hover {
  background: rgba(255, 255, 255, 0.55);
  color: var(--clay-dark);
}

.account-sidebar-link.is-active {
  background: rgba(var(--clay-rgb), 0.16);
  color: var(--clay-dark);
}

.account-main {
  flex: 1;
  min-width: 0;
  text-align: left;
}

.account-layout .dashboard-shell {
  max-width: 720px;
  margin: 0;
  padding: 2.5rem 5vw 4rem 2.5rem;
}

.account-layout .dashboard-shell-wide {
  max-width: 640px;
}

.account-page-shell {
  max-width: 720px;
  margin: 0 auto;
  padding: 7rem 5vw 4rem;
}

.account-back-link {
  display: inline-block;
  margin-bottom: 1.25rem;
  color: var(--clay-dark);
  font-size: 0.88rem;
  font-weight: 800;
  text-decoration: none;
  transition: color 0.2s;
}

.account-back-link:hover {
  color: var(--clay);
}

.dashboard-shell {
  max-width: 720px;
  margin: 0 auto;
  padding: 8rem 5vw 4rem;
}

.dashboard-welcome,
.dashboard-page-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 650;
  font-variation-settings: 'SOFT' 80, 'WONK' 1;
  letter-spacing: -0.04em;
  line-height: 1.1;
  color: var(--ink);
}

.dashboard-shell .section-label {
  margin-bottom: 0.75rem;
}

.dashboard-shell-wide {
  max-width: 560px;
}

.profile-lead {
  margin: 0.75rem 0 1.75rem;
  color: var(--muted);
  font-weight: 600;
  line-height: 1.7;
}

.profile-photo-card {
  margin-bottom: 1.25rem;
}

.profile-photo-wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem 1.5rem;
}

.profile-avatar {
  position: relative;
  flex-shrink: 0;
  width: 112px;
  height: 112px;
  border-radius: 50%;
  border: 2px solid var(--border);
  background: rgba(255, 255, 255, 0.7);
  overflow: hidden;
}

.profile-avatar-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-avatar-initials {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 650;
  color: var(--clay);
}

.profile-photo-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.65rem;
}

.profile-photo-select,
.profile-photo-remove {
  min-width: 180px;
}

.profile-photo-hint {
  margin-top: 1rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--muted);
}

.profile-photo-message {
  min-height: 1.4rem;
  margin-top: 0.5rem;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--clay-dark);
  opacity: 0;
  transition: opacity 0.2s;
}

.profile-photo-message.is-visible {
  opacity: 1;
}

.profile-photo-message.is-error {
  color: #9a3b2e;
}

.profile-phone-card {
  margin-bottom: 1.25rem;
}

.profile-phone-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1rem;
  margin-bottom: 0.35rem;
}

.profile-phone-header .profile-card-title {
  margin-bottom: 0;
}

.profile-phone-status {
  padding: 0.3rem 0.75rem;
  border-radius: 100px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.profile-phone-status--empty {
  background: rgba(var(--ink-rgb), 0.08);
  color: var(--muted);
}

.profile-phone-status--pending {
  background: rgba(var(--clay-rgb), 0.16);
  color: var(--clay-dark);
}

.profile-phone-status--verified {
  background: rgba(56, 120, 80, 0.16);
  color: #2f6b45;
}

.profile-phone-lead {
  margin-bottom: 1rem;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.65;
}

.profile-phone-field {
  margin-bottom: 1rem;
}

.profile-phone-actions {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.profile-phone-verify:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.profile-phone-coming {
  margin-top: 1rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--muted);
  line-height: 1.55;
}

.profile-phone-message {
  min-height: 1.4rem;
  margin-top: 0.5rem;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--clay-dark);
  opacity: 0;
  transition: opacity 0.2s;
}

.profile-phone-message.is-visible {
  opacity: 1;
}

.profile-phone-message.is-error {
  color: #9a3b2e;
}

/* Experiences page */
.experience-lead {
  margin: 0.75rem 0 1.75rem;
  color: var(--muted);
  font-weight: 600;
  line-height: 1.7;
}

.experience-compose {
  margin-bottom: 2rem;
}

.experience-photo-block {
  margin-bottom: 1.25rem;
}

.experience-photo-preview {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 180px;
  margin-bottom: 1rem;
  border: 1px dashed var(--border);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.45);
  overflow: hidden;
}

.experience-photo-image {
  width: 100%;
  max-height: 280px;
  object-fit: cover;
}

.experience-photo-placeholder {
  padding: 1.5rem;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 600;
  text-align: center;
}

.experience-photo-actions {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.experience-photo-hint {
  margin-top: 0.75rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--muted);
}

.experience-photo-message {
  min-height: 1.25rem;
  margin-top: 0.55rem;
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--clay-dark);
  opacity: 0;
  transition: opacity 0.2s;
}

.experience-photo-message.is-visible {
  opacity: 1;
}

.experience-photo-message.is-error {
  color: #9a3b2e;
}

.experience-text-field textarea {
  width: 100%;
  min-height: 140px;
  padding: 0.95rem 1rem;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.55);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.65;
  resize: vertical;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.experience-text-field textarea:focus {
  border-color: var(--clay);
  box-shadow: 0 0 0 3px rgba(var(--clay-rgb), 0.15);
}

.experience-char-count {
  display: block;
  margin-top: 0.45rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--muted);
  text-align: right;
}

.experience-submit {
  width: 100%;
  margin-top: 0.25rem;
}

.experience-message {
  min-height: 1.4rem;
  margin-top: 0.75rem;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--clay-dark);
  opacity: 0;
  transition: opacity 0.2s;
}

.experience-message.is-visible {
  opacity: 1;
}

.experience-message.is-error {
  color: #9a3b2e;
}

.experience-list-section {
  margin-top: 0.5rem;
}

.experience-list-title {
  margin-bottom: 1rem;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 650;
  color: var(--ink);
}

.experience-empty {
  color: var(--muted);
  font-weight: 600;
  line-height: 1.6;
}

.experience-list {
  display: grid;
  gap: 1rem;
}

.experience-card {
  padding: 1.1rem 1.2rem;
  border: 1px solid var(--border);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.52);
  box-shadow: 0 14px 40px rgba(var(--ink-rgb), 0.06);
}

.experience-card-image {
  width: 100%;
  max-height: 320px;
  margin-bottom: 1rem;
  border-radius: 16px;
  object-fit: cover;
}

.experience-card-text {
  margin: 0;
  color: var(--ink);
  font-weight: 600;
  line-height: 1.75;
  white-space: pre-wrap;
}

.experience-card-date {
  display: block;
  margin-top: 0.85rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--muted);
}

.experience-card-event {
  margin: 0 0 0.65rem;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--clay-dark);
}

.experience-status {
  display: inline-block;
  margin-bottom: 0.75rem;
  padding: 0.3rem 0.7rem;
  border-radius: 100px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.experience-status--pending {
  background: rgba(212, 132, 26, 0.14);
  color: #9a5f00;
}

.experience-status--approved {
  background: rgba(45, 122, 79, 0.14);
  color: #1f6b43;
}

.experience-status--rejected {
  background: rgba(192, 57, 43, 0.12);
  color: #9f2f22;
}

.experience-card-reason {
  margin: 0.75rem 0 0;
  padding: 0.75rem 0.9rem;
  border-radius: 14px;
  background: rgba(192, 57, 43, 0.08);
  color: #7a2419;
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.6;
}

.experience-compose select {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.55);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  outline: none;
}

.experience-compose select:focus {
  border-color: var(--clay);
  box-shadow: 0 0 0 3px rgba(var(--clay-rgb), 0.15);
}

/* Landing stories — carousel */
.stories-section {
  padding-top: 4.5rem;
  padding-bottom: 4.5rem;
}

.stories-header {
  margin-bottom: 1.75rem;
  text-align: center;
}

.stories-kicker {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  margin: 0 0 0.65rem;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--clay);
}

.stories-kicker::before,
.stories-kicker::after {
  content: '';
  width: 2.5rem;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--clay));
}

.stories-kicker::after {
  background: linear-gradient(90deg, var(--clay), transparent);
}

.stories-title {
  margin: 0 auto 0.5rem;
}

.stories-title em {
  font-style: italic;
  color: var(--clay);
}

.stories-lead {
  max-width: 32rem;
  margin: 0 auto;
  text-align: center;
  color: var(--muted);
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.6;
}

.stories-empty {
  max-width: 40rem;
  margin: 0 auto;
  text-align: center;
  color: var(--muted);
  font-weight: 600;
}

.stories-carousel {
  position: relative;
  max-width: 40rem;
  margin: 0 auto;
  padding: 0 3rem;
}

.stories-carousel-viewport {
  overflow: hidden;
  touch-action: pan-y;
}

.stories-carousel-viewport.is-peek {
  mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}

.stories-carousel-track {
  display: flex;
  gap: 1.25rem;
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.story-slide {
  flex: 0 0 100%;
  min-width: 0;
}

.stories-carousel-viewport.is-peek .story-slide {
  flex-basis: min(70%, 420px);
}

.stories-carousel-viewport.is-peek .story-slide:not(.is-active) .story-item {
  opacity: 0.5;
  transform: scale(0.98);
}

.story-slide.is-active .story-item {
  border-color: rgba(var(--clay-rgb), 0.32);
  box-shadow: 0 16px 40px rgba(var(--ink-rgb), 0.1);
  transform: translateY(-4px);
}

.story-item {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(var(--ink-rgb), 0.06);
  transition: border-color 0.45s ease, box-shadow 0.45s ease, transform 0.45s ease, opacity 0.45s ease;
}

.story-item-visual {
  aspect-ratio: 16 / 9;
  max-height: 200px;
  background: var(--warm);
  overflow: hidden;
}

.story-item-photo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.story-item-body {
  padding: 1.1rem 1.35rem 1.25rem;
}

.story-item-author-row {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 0.75rem;
}

.story-item-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--clay), var(--clay-dark));
  color: #fff;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.story-item-author {
  margin: 0;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 650;
  color: var(--ink);
}

.story-item-meta {
  margin: 0.15rem 0 0;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--clay-dark);
}

.story-item-text {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(0.9rem, 1.5vw, 1.05rem);
  font-weight: 500;
  font-style: italic;
  line-height: 1.65;
  color: var(--ink);
  white-space: pre-wrap;
  word-break: break-word;
}

.stories-carousel-btn {
  position: absolute;
  top: 42%;
  z-index: 3;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.65rem;
  height: 2.65rem;
  border: none;
  border-radius: 50%;
  background: var(--ink);
  color: var(--cream);
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(var(--ink-rgb), 0.18);
  transition: transform 0.25s ease, background 0.25s ease;
}

.stories-carousel-btn:hover {
  transform: translateY(-50%) scale(1.05);
  background: var(--clay);
}

.stories-carousel-btn--prev {
  left: 0;
}

.stories-carousel-btn--next {
  right: 0;
}

.stories-carousel-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  margin-top: 1.5rem;
}

.stories-carousel-dot {
  width: 0.45rem;
  height: 0.45rem;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: var(--border);
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}

.stories-carousel-dot.is-active {
  background: var(--clay);
  transform: scale(1.25);
}

@media (max-width: 768px) {
  .stories-carousel {
    padding: 0 2.75rem;
  }

  .stories-carousel-viewport.is-peek .story-slide {
    flex-basis: 86%;
  }

  .story-item-body {
    padding: 1rem 1.15rem 1.1rem;
  }

  .story-item-visual {
    max-height: 170px;
  }
}

@media (max-width: 480px) {
  .stories-carousel-btn {
    width: 2.35rem;
    height: 2.35rem;
  }
}

/* Event ratings page */
.points-lead {
  margin: 0.75rem 0 1.5rem;
  color: var(--muted);
  font-weight: 600;
  line-height: 1.7;
}

.points-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.points-summary-card {
  padding: 1rem 0.85rem;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.52);
  text-align: center;
}

.points-summary-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}

.points-summary-value {
  display: block;
  margin-top: 0.35rem;
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 650;
  color: var(--clay);
}

.points-rate-card {
  margin-bottom: 1.5rem;
}

.points-rate-lead {
  margin: -0.35rem 0 1rem;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.65;
}

.points-rate-card select {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.55);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  outline: none;
}

.points-rate-card select:focus {
  border-color: var(--clay);
  box-shadow: 0 0 0 3px rgba(var(--clay-rgb), 0.15);
}

.points-rating-field {
  margin: 1.1rem 0 1.25rem;
  padding: 0;
  border: 0;
}

.points-rating-field legend {
  margin-bottom: 0.65rem;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}

.points-rating-options {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.points-rating-options label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 48px;
  padding: 0.65rem 0.9rem;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.5);
  font-weight: 800;
  color: var(--ink);
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}

.points-rating-options input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.points-rating-options label:has(input:checked) {
  border-color: var(--clay);
  background: rgba(var(--clay-rgb), 0.16);
  color: var(--clay-dark);
}

.points-submit {
  width: 100%;
}

.points-message {
  min-height: 1.4rem;
  margin-top: 0.75rem;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--clay-dark);
  opacity: 0;
  transition: opacity 0.2s;
}

.points-message.is-visible {
  opacity: 1;
}

.points-message.is-error {
  color: #9a3b2e;
}

.points-history-title {
  margin-bottom: 1rem;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 650;
  color: var(--ink);
}

.points-empty {
  color: var(--muted);
  font-weight: 600;
  line-height: 1.6;
}

.points-history-list {
  display: grid;
  gap: 0.85rem;
}

.points-history-card {
  padding: 1rem 1.1rem;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.5);
}

.points-history-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.points-history-event {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 800;
  color: var(--ink);
  line-height: 1.4;
}

.points-history-score {
  flex-shrink: 0;
  padding: 0.25rem 0.65rem;
  border-radius: 100px;
  background: rgba(var(--clay-rgb), 0.14);
  color: var(--clay-dark);
  font-size: 0.88rem;
  font-weight: 800;
}

.points-history-date {
  margin: 0.35rem 0 0.75rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--muted);
}

.points-history-bar {
  height: 6px;
  border-radius: 100px;
  background: rgba(var(--border-rgb), 0.45);
  overflow: hidden;
}

.points-history-bar::after {
  content: '';
  display: block;
  width: var(--points-fill, 0%);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--clay), var(--clay-dark));
}

/* Table mate ratings */
.mate-ratings-lead {
  margin: 0.75rem 0 1.5rem;
  color: var(--muted);
  font-weight: 600;
  line-height: 1.7;
}

.mate-ratings-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.mate-ratings-summary-card {
  padding: 1rem 0.85rem;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.52);
  text-align: center;
}

.mate-ratings-summary-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}

.mate-ratings-summary-value {
  display: block;
  margin-top: 0.35rem;
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 650;
  color: var(--clay);
}

.mate-ratings-card {
  margin-bottom: 1.5rem;
}

.mate-ratings-rate-lead {
  margin: -0.35rem 0 1rem;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.65;
}

.mate-ratings-card select,
.mate-ratings-card .auth-field select {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.55);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  outline: none;
}

.mate-ratings-list {
  display: grid;
  gap: 0.85rem;
  margin-top: 1rem;
}

.mate-ratings-card-item {
  padding: 1rem 1.1rem;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.48);
}

.mate-ratings-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.65rem;
}

.mate-ratings-card-name {
  font-size: 1.02rem;
  font-weight: 800;
  color: var(--ink);
}

.mate-ratings-card-status {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--clay-dark);
}

.mate-ratings-rating-field {
  margin: 0;
}

.mate-ratings-empty,
.mate-ratings-received-empty {
  margin: 0.75rem 0 0;
  color: var(--muted);
  font-weight: 600;
}

.mate-ratings-message {
  margin: 0.85rem 0 0;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--clay-dark);
  opacity: 0;
  transition: opacity 0.2s;
}

.mate-ratings-message.is-visible {
  opacity: 1;
}

.mate-ratings-message.is-error {
  color: #b42318;
}

.mate-ratings-received-title {
  margin: 0 0 0.85rem;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.mate-ratings-received-list {
  display: grid;
  gap: 0.75rem;
}

.mate-ratings-received-card {
  padding: 0.95rem 1rem;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.48);
}

.mate-ratings-received-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.mate-ratings-received-event {
  font-size: 0.98rem;
  font-weight: 800;
  color: var(--ink);
}

.mate-ratings-received-score {
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--clay-dark);
}

.mate-ratings-received-meta {
  margin: 0.35rem 0 0;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--muted);
}

.profile-card {
  padding: 1.4rem 1.5rem;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.55);
  box-shadow: 0 18px 50px rgba(var(--ink-rgb), 0.08);
}

.profile-card-title {
  margin-bottom: 1.1rem;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.profile-details {
  margin: 0;
}

.profile-row {
  display: grid;
  gap: 0.3rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid rgba(var(--border-rgb), 0.45);
}

.profile-row:first-child {
  padding-top: 0;
}

.profile-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.profile-row dt {
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}

.profile-row dd {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.5;
  word-break: break-word;
}

.nav-login[data-logout] {
  border: none;
  background: none;
  cursor: pointer;
  font: inherit;
}

.nav-points-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.85rem;
  border: 1px solid rgba(var(--clay-rgb), 0.35);
  border-radius: 100px;
  background: rgba(var(--clay-rgb), 0.12);
  color: var(--clay-dark);
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: border-color 0.2s, background 0.2s;
}

.nav-points-badge:hover {
  border-color: var(--clay);
  background: rgba(var(--clay-rgb), 0.2);
}

.nav-points-badge-label {
  text-transform: uppercase;
  font-size: 0.68rem;
  letter-spacing: 0.05em;
  color: var(--muted);
}

.nav-points-badge-value {
  font-size: 0.95rem;
  color: var(--clay-dark);
}

/* About */
.about-section {
  padding-top: 4rem;
  padding-bottom: 4rem;
  text-align: center;
}

.about-header {
  margin-bottom: 1.75rem;
}

.about-subtitle {
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 2.8vw, 2.1rem);
  font-weight: 650;
  font-variation-settings: 'SOFT' 70, 'WONK' 1;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.about-story-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem 2.25rem;
  max-width: 54rem;
  margin: 0 auto;
  text-align: left;
}

.about-story-col p {
  margin-bottom: 0.7rem;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.65;
  color: var(--muted);
}

.about-story-col p:last-child {
  margin-bottom: 0;
}

.about-story-col strong {
  font-weight: 800;
  color: var(--clay-dark);
}

.about-quote {
  margin: 0.35rem 0 0.7rem;
  padding: 0.65rem 0.85rem;
  border-left: 2px solid var(--clay);
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 500;
  font-style: italic;
  line-height: 1.55;
  color: var(--ink);
}

.about-questions {
  margin: 0.5rem 0 0.7rem;
  padding: 0.65rem 0 0.65rem 1rem;
  border-left: 2px solid rgba(var(--clay-rgb), 0.35);
  list-style: none;
}

.about-questions li {
  margin-bottom: 0.35rem;
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 550;
  font-style: italic;
  line-height: 1.5;
  color: var(--ink);
}

.about-questions li:last-child {
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .about-section {
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
  }

  .about-story-grid {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }
}

/* Contact */
.contact-section {
  padding: 7rem 5vw;
  text-align: center;
}

.contact-lead {
  font-family: var(--font-body);
  font-size: 0.92rem;
  color: var(--muted);
  margin-bottom: 1.25rem;
}

.contact-title {
  margin-bottom: 1.5rem;
}

.contact-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  flex-wrap: wrap;
}

.contact-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  color: var(--clay);
  text-decoration: none;
  transition: color 0.2s, transform 0.2s;
}

.contact-chip:hover {
  transform: translateY(-1px);
  color: var(--clay-dark);
}

.contact-chip .conviva-icon svg {
  width: 1rem;
  height: 1rem;
}

/* Coming soon pages */
.coming-soon-page {
  min-height: 100vh;
  background:
    radial-gradient(ellipse at 20% 0%, rgba(var(--clay-rgb), 0.1), transparent 45%),
    radial-gradient(ellipse at 80% 100%, rgba(var(--warm-rgb), 0.55), transparent 50%),
    var(--cream);
}

.coming-soon-shell {
  width: min(520px, 90vw);
  margin: 0 auto;
  padding: 7.5rem 0 5rem;
  text-align: center;
}

.coming-soon-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 2.85rem);
  font-weight: 650;
  font-variation-settings: 'SOFT' 70, 'WONK' 1;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin: 0 0 1.75rem;
  line-height: 1.2;
}

.coming-soon-badge {
  display: inline-block;
  margin: 0 0 2.25rem;
  padding: 0.55rem 1.35rem;
  border-radius: 100px;
  border: 1px solid rgba(var(--clay-rgb), 0.35);
  background: rgba(var(--warm-rgb), 0.55);
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--clay-dark);
}

.coming-soon-back {
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--muted);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}

.coming-soon-back:hover {
  color: var(--clay-dark);
  border-bottom-color: rgba(var(--clay-rgb), 0.45);
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  background: var(--cream);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1.2fr 1fr;
  gap: 2rem;
  max-width: 1140px;
  margin: 0 auto;
  padding: 3rem 5vw 2.5rem;
}

.footer-col-title {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 1.15rem;
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-col li {
  margin-bottom: 0.5rem;
}

.footer-col a {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-col a::before {
  content: '';
  flex-shrink: 0;
  width: 5px;
  height: 5px;
  border: 1px solid var(--clay);
  border-radius: 50%;
}

.footer-col a:hover {
  color: var(--clay-dark);
}

.footer-brand {
  text-align: right;
}

.footer-logo {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 700;
  font-variation-settings: 'SOFT' 65, 'WONK' 1;
  color: var(--ink);
  letter-spacing: -0.02em;
}

.footer-logo span {
  color: var(--clay);
}

.footer-tagline {
  margin: 0.65rem 0 0;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--muted);
  line-height: 1.5;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  max-width: 1080px;
  margin: 0 auto;
  padding: 1.25rem 5vw 2rem;
  border-top: 1px solid var(--border);
}

.footer-copy {
  margin: 0;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--muted);
}

.footer-top {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.35rem;
  height: 2.35rem;
  padding: 0;
  border: none;
  border-radius: 6px;
  background: var(--ink);
  color: var(--cream);
  cursor: pointer;
  transition: background 0.2s;
}

.footer-top:hover {
  background: var(--clay);
}

@media (max-width: 960px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem 1.5rem;
  }

  .footer-brand {
    grid-column: 1 / -1;
    text-align: center;
  }
}

@media (max-width: 1080px) {
  .nav-links {
    gap: 1.15rem;
  }

  .nav-actions {
    min-width: 13.5rem;
  }
}

@media (max-width: 900px) {
  .nav-links {
    gap: 0.85rem;
  }

  .nav-links a {
    font-size: 0.76rem;
  }
}

/* Mobile adjustments */
@media (max-width: 640px) {
  .nav-links {
    display: none;
  }

  .nav-actions {
    min-width: auto;
  }

  .account-layout {
    padding-top: 4.75rem;
  }

  .account-hub-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .account-hub-card {
    min-height: 64px;
    padding: 0.85rem 0.9rem;
    font-size: 0.72rem;
  }

  .account-hero {
    min-height: 180px;
    padding: 2.5rem 5vw 2rem;
  }

  .account-layout-body {
    flex-direction: column;
  }

  .account-sidebar {
    position: static;
    width: 100%;
    min-height: 0;
    padding: 1rem 5vw 1.25rem;
    border-right: none;
    border-bottom: 1px solid var(--border);
  }

  .account-sidebar-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.45rem;
  }

  .account-sidebar-link {
    padding: 0.55rem 0.7rem;
    font-size: 0.76rem;
  }

  .account-sidebar-link--logout {
    grid-column: 1 / -1;
    margin-top: 0;
  }

  .account-layout .dashboard-shell {
    padding: 1.75rem 5vw 3rem;
  }

  @media (max-width: 420px) {
    .account-hub-grid {
      grid-template-columns: 1fr;
    }
  }

  .points-summary,
  .mate-ratings-summary {
    grid-template-columns: 1fr;
  }

  .nav-actions {
    gap: 0.45rem;
  }

  .nav-login {
    padding: 0.5rem 0.85rem;
    font-size: 0.75rem;
  }

  .nav-cta {
    padding: 0.5rem 0.95rem;
    font-size: 0.75rem;
  }

  .auth-shell {
    padding-top: 5.5rem;
  }

  .steps {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .countdown {
    padding: 1rem;
  }

  .countdown-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .countdown-card {
    min-height: 76px;
  }

  .quiz-shell {
    width: min(92vw, 980px);
    padding-top: 5.5rem;
  }

  .quiz-options-grid {
    grid-template-columns: 1fr;
  }

  .quiz-scale .quiz-scale-options label {
    min-width: 36px;
    padding: 0.75rem 0.2rem;
  }

  .quiz-actions {
    flex-direction: column-reverse;
  }

  .quiz-actions .btn-primary,
  .quiz-actions .btn-ghost {
    width: 100%;
    text-align: center;
  }

  .quote-section {
    min-height: 460px;
  }

  .quote-photo {
    width: 150px;
    height: 210px;
    opacity: 0.58;
  }

  .quote-photo-three,
  .quote-photo-four {
    display: none;
  }

  .faq-section::after {
    top: 10%;
    right: -12%;
    opacity: 0.45;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

  .footer-brand {
    text-align: center;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .quote-photo {
    animation: none;
  }

  .steps-glow,
  .step-num {
    animation: none;
  }

  .steps-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

}
