/* =========================================================
   Wash Without Water — Dubai
   Aesthetic: editorial · sand-and-brand-blue
   ========================================================= */

:root {
  --sand-50:  #f6f8fb;
  --sand-100: #eef2f7;
  --sand-200: #e1e7ef;
  --sand-300: #c7d1de;
  --sand-400: #9aa8bd;
  --ink:      #0a0e14;
  --ink-soft: #1c2430;
  --ink-mute: #647087;
  --emerald:       #0053a6;   /* corporate blue */
  --emerald-deep:  #001b3d;   /* deep navy */
  --emerald-glow:  #0090ff;   /* bright accent blue */
  --copper:   #e0392c;
  --cream:    #ffffff;
  --white:    #ffffff;

  --font-display: 'Inter Tight', system-ui, sans-serif;
  --font-body:    'Inter Tight', system-ui, sans-serif;
  --font-mono:    'JetBrains Mono', monospace;

  --max: 1280px;
  --pad: clamp(1.25rem, 4vw, 3rem);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--sand-50);
  color: var(--ink);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
}

/* ====== Grain overlay ====== */
.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 100;
  opacity: 0.06;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ====== Navigation ====== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  padding: 1.15rem 0;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  background: rgba(246, 248, 251, 0.75);
  border-bottom: 1px solid rgba(10, 14, 20, 0.06);
  transition: padding 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}

.nav.is-scrolled {
  padding: 0.65rem 0;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 4px 20px -8px rgba(0, 27, 61, 0.12);
}

.nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 7px;
  overflow: hidden;
  flex-shrink: 0;
  transition: width 0.3s ease, height 0.3s ease;
}

.nav.is-scrolled .logo-mark {
  width: 26px;
  height: 26px;
}

.logo-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 2rem;
  font-size: 0.92rem;
  font-weight: 500;
}

.nav-links a {
  position: relative;
  padding: 0.25rem 0;
  color: var(--ink-soft);
  transition: color 0.2s;
}

.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 1px;
  background: var(--emerald);
  transition: width 0.3s ease;
}

.nav-links a:hover { color: var(--emerald); }
.nav-links a:hover::after { width: 100%; }

.nav-cta {
  padding: 0.6rem 1.2rem;
  background: var(--ink);
  color: var(--cream);
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 500;
  transition: all 0.25s ease;
}

.nav-cta:hover {
  background: var(--emerald);
  transform: translateY(-1px);
}

@media (max-width: 760px) {
  .nav-links { display: none; }
}

/* ====== Hero ====== */
.hero {
  position: relative;
}

.hero-static {
  position: relative;
  min-height: clamp(380px, 50vh, 560px);
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--white);
}

.hero-static-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 8rem var(--pad) 2rem;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  align-items: center;
  gap: 2rem;
  text-align: left;
}

@media (max-width: 880px) {
  .hero-static-inner {
    grid-template-columns: 1fr;
    padding: 6rem var(--pad) 3rem;
    gap: 2.5rem;
  }
}

.hero-static-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-figure {
  justify-self: center;
  width: 100%;
  max-width: 300px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 24px 55px -25px rgba(0, 0, 0, 0.25);
}

.hero-figure video {
  width: 100%;
  aspect-ratio: 464 / 832;
  object-fit: cover;
  display: block;
}

@media (max-width: 880px) {
  .hero-figure {
    order: -1;
    width: 100%;
    max-width: none;
  }
  .hero-figure video {
    aspect-ratio: 4 / 3;
    object-position: 50% 70%;
  }
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2rem, 3.6vw, 3.2rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 1rem;
}

.hero-static-lede {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--emerald);
  margin-bottom: 1.75rem;
}

.hero-static-lede::before {
  content: '';
  width: 32px;
  height: 3px;
  border-radius: 999px;
  background: var(--emerald);
  flex-shrink: 0;
}

.hero-title em {
  font-style: normal;
  font-weight: 800;
  color: var(--emerald);
}

.hero-logo-card {
  width: 100%;
  max-width: 320px;
  margin: 1rem 0 2rem;
}

.hero-logo-card img {
  width: 100%;
  height: auto;
  display: block;
}

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

/* Download section below the hero */
.download {
  padding: 1.5rem 0 6rem;
  background: var(--cream);
}

.download-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 1rem;
}

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

.download-card {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 2.5rem;
  background: var(--sand-50);
  border: 1px solid rgba(10, 14, 20, 0.08);
  border-radius: 12px;
  transition: all 0.4s ease;
}

.download-card:hover {
  transform: translateY(-4px);
  border-color: var(--emerald);
}

.download-card .qr-code {
  width: 120px;
  height: 120px;
  flex-shrink: 0;
  margin: 0;
  padding: 0.6rem;
  background: var(--white);
  border-radius: 8px;
}

.download-card-info h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.download-card-info p {
  font-size: 0.92rem;
  color: var(--ink-mute);
  margin-bottom: 1.1rem;
}

@media (max-width: 500px) {
  .download-card {
    flex-direction: column;
    text-align: center;
  }
}

.contact-row {
  margin-top: 3rem;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(10, 14, 20, 0.1);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.contact-row-label {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--ink-mute);
}

.contact-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 1rem 1.8rem;
  border-radius: 999px;
  font-weight: 500;
  font-size: 0.98rem;
  transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
  cursor: pointer;
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--ink);
  color: var(--cream);
}

.btn-primary:hover {
  background: var(--emerald);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px -10px rgba(0, 83, 166, 0.4);
}

.btn-primary svg { transition: transform 0.3s; }
.btn-primary:hover svg { transform: translateX(4px); }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: rgba(10, 14, 20, 0.2);
}

.btn-ghost:hover {
  background: var(--ink);
  color: var(--cream);
  border-color: var(--ink);
}

.btn-large {
  padding: 1.2rem 2.2rem;
  font-size: 1.05rem;
}

/* ====== Section labels ====== */
.section-label {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

.section-label-light { color: rgba(255, 255, 255, 0.7); }
.section-label-light .label-line { background: rgba(255, 255, 255, 0.3); }

.label-line {
  width: 40px;
  height: 1px;
  background: var(--ink-mute);
  display: inline-block;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5.5vw, 4rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.025em;
  margin-bottom: 1.5rem;
}

.section-title-light { color: var(--cream); }

.section-title em {
  font-style: normal;
  color: var(--emerald);
  font-weight: 800;
}

.section-title-light em { color: var(--emerald-glow); }

.section-intro {
  max-width: 620px;
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--ink-soft);
  margin-bottom: 4rem;
}

/* ====== Capabilities ====== */
.capabilities {
  padding: 5rem 0;
  background: var(--cream);
  border-top: 1px solid rgba(10, 14, 20, 0.06);
  border-bottom: 1px solid rgba(10, 14, 20, 0.06);
}

.capabilities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 2rem;
  text-align: center;
}

.capability-icon {
  width: 44px;
  height: 44px;
  margin: 0 auto 1rem;
  color: var(--emerald);
}

.capability h3 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  margin-bottom: 0.3rem;
}

.capability p {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--ink-mute);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

/* ====== Problem section ====== */
.problem {
  padding: 8rem 0;
  background: var(--sand-50);
}

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

.problem-card {
  padding: 2.5rem 2rem;
  background: var(--cream);
  border: 1px solid rgba(10, 14, 20, 0.08);
  border-radius: 4px;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.problem-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 2px;
  background: var(--emerald);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s ease;
}

.problem-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 83, 166, 0.2);
}

.problem-card:hover::before { transform: scaleX(1); }

.problem-card-accent {
  background: var(--ink);
  color: var(--cream);
  border-color: var(--ink);
}

.problem-card-accent .problem-num { color: var(--copper); }
.problem-card-accent .problem-stat { color: var(--copper); }
.problem-card-accent p { color: rgba(255, 255, 255, 0.7); }
.problem-card-accent::before { background: var(--copper); }

.problem-num {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  color: var(--ink-mute);
  margin-bottom: 1.5rem;
}

.problem-card h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 500;
  margin-bottom: 0.8rem;
  letter-spacing: -0.02em;
}

.problem-stat {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  font-style: normal;
  color: var(--copper);
  line-height: 1;
  margin-bottom: 1rem;
  letter-spacing: -0.03em;
}

.problem-card p {
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--ink-mute);
}

/* ====== How it works (dark) ====== */
.how {
  padding: 8rem 0;
  background:
    radial-gradient(ellipse at top, rgba(0, 144, 255, 0.15), transparent 60%),
    var(--emerald-deep);
  color: var(--cream);
  position: relative;
  overflow: hidden;
}

.how::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.how .container { position: relative; }

.how-grid {
  display: flex;
  align-items: stretch;
  gap: 1rem;
  margin-top: 3rem;
  flex-wrap: wrap;
}

.flow-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
  margin-top: 3rem;
}

.flow-step {
  padding: 2.5rem 2rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  backdrop-filter: blur(10px);
  transition: all 0.4s ease;
  position: relative;
}

.flow-step:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-4px);
  border-color: rgba(0, 144, 255, 0.5);
}

.flow-num {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  color: var(--emerald-glow);
  margin-bottom: 0.8rem;
}

.flow-tag {
  display: inline-block;
  padding: 0.3rem 0.7rem;
  background: rgba(0, 144, 255, 0.15);
  border: 1px solid rgba(0, 144, 255, 0.4);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--emerald-glow);
  margin-bottom: 1.2rem;
}

.flow-step h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 500;
  margin-bottom: 0.6rem;
  letter-spacing: -0.02em;
  color: var(--cream);
}

.flow-step p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.7);
}

.how-intro {
  max-width: 620px;
  font-size: 1.05rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.75);
  margin-top: 1rem;
  margin-bottom: 1rem;
}

.how-step {
  flex: 1;
  min-width: 240px;
  padding: 2.5rem 2rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  backdrop-filter: blur(10px);
  transition: all 0.4s ease;
}

.how-step:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-4px);
  border-color: rgba(0, 144, 255, 0.5);
}

.how-num {
  font-family: var(--font-display);
  font-style: normal;
  font-size: 3.4rem;
  font-weight: 800;
  color: var(--emerald-glow);
  line-height: 1;
  margin-bottom: 1.5rem;
  letter-spacing: -0.03em;
}

.how-step h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 500;
  margin-bottom: 0.8rem;
  letter-spacing: -0.02em;
  color: var(--cream);
}

.how-step p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.7);
}

.how-arrow {
  display: flex;
  align-items: center;
  font-size: 1.8rem;
  color: var(--emerald-glow);
  font-weight: 300;
}

@media (max-width: 880px) {
  .how-arrow { transform: rotate(90deg); margin: 0 auto; }
}

/* ====== Impact ====== */
.impact {
  padding: 8rem 0;
  background: var(--sand-100);
}

.impact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

@media (max-width: 880px) {
  .impact-container { grid-template-columns: 1fr; }
}

.impact-card {
  padding: 3rem 2.5rem;
  background: var(--cream);
  border-radius: 8px;
  box-shadow:
    0 1px 2px rgba(10, 14, 20, 0.04),
    0 20px 40px -20px rgba(10, 14, 20, 0.15);
  border: 1px solid rgba(10, 14, 20, 0.05);
}

.impact-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

.impact-big {
  display: flex;
  align-items: baseline;
  gap: 0.8rem;
  margin: 1rem 0 2.5rem;
  flex-wrap: wrap;
}

.big-num {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 5rem);
  font-weight: 500;
  color: var(--emerald);
  line-height: 1;
  letter-spacing: -0.04em;
}

.impact-unit {
  font-family: var(--font-body);
  font-style: normal;
  font-size: 1.1rem;
  color: var(--ink-mute);
}

.impact-bars {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.bar-row {
  display: grid;
  grid-template-columns: 110px 1fr 60px;
  align-items: center;
  gap: 1rem;
  font-size: 0.9rem;
}

.bar-label { color: var(--ink-soft); font-weight: 500; }
.bar-val {
  font-family: var(--font-mono);
  text-align: right;
  color: var(--ink);
  font-weight: 500;
}

.bar {
  height: 10px;
  background: var(--sand-200);
  border-radius: 999px;
  overflow: hidden;
}

.bar-fill {
  height: 100%;
  width: 0;
  border-radius: 999px;
  transition: width 1.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.bar-bad .bar-fill   { background: var(--copper); }
.bar-mid .bar-fill   { background: var(--sand-400); }
.bar-good .bar-fill  { background: var(--emerald); }

.bar.in-view .bar-fill { width: var(--w); }

/* ====== Features ====== */
.features {
  padding: 8rem 0;
  background: var(--sand-50);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1px;
  background: rgba(10, 14, 20, 0.08);
  border: 1px solid rgba(10, 14, 20, 0.08);
  margin-top: 3rem;
}

.feature {
  padding: 2.5rem 2rem;
  background: var(--sand-50);
  transition: all 0.4s ease;
  position: relative;
}

.feature:hover {
  background: var(--cream);
}

.feature-icon {
  width: 48px;
  height: 48px;
  color: var(--emerald);
  margin-bottom: 1.5rem;
  transition: transform 0.4s ease;
}

.feature:hover .feature-icon {
  transform: rotate(-8deg) scale(1.1);
}

.feature h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 500;
  margin-bottom: 0.6rem;
  letter-spacing: -0.02em;
}

.feature p {
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--ink-mute);
}

/* ====== Comparison ====== */
.compare {
  padding: 8rem 0;
  background: var(--cream);
}

.compare-table {
  margin-top: 3rem;
  border: 1px solid rgba(10, 14, 20, 0.1);
  border-radius: 4px;
  overflow: hidden;
}

.compare-row {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  border-bottom: 1px solid rgba(10, 14, 20, 0.08);
}

.compare-row:last-child { border-bottom: none; }

.compare-head {
  background: var(--sand-100);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.compare-cell {
  padding: 1.2rem 1.5rem;
  font-size: 0.95rem;
  border-right: 1px solid rgba(10, 14, 20, 0.08);
  display: flex;
  align-items: center;
}

.compare-cell:last-child { border-right: none; }

.compare-label {
  font-weight: 500;
  color: var(--ink);
  background: rgba(232, 220, 192, 0.3);
}

.compare-cell-ours {
  background: rgba(0, 83, 166, 0.08);
  color: var(--emerald);
}

.compare-head .compare-cell-ours {
  background: var(--emerald);
  color: var(--cream);
  font-weight: 600;
}

@media (max-width: 760px) {
  .compare-row {
    grid-template-columns: 1fr 1fr;
  }
  .compare-head { display: none; }
  .compare-cell { font-size: 0.85rem; padding: 0.9rem 1rem; }
  .compare-label { grid-column: 1 / -1; }
}

/* ====== Subscription model ====== */
.badge {
  display: inline-block;
  padding: 0.4rem 0.9rem;
  background: var(--emerald-glow);
  color: var(--ink);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 500;
}

.subscription,
.steps {
  padding: 8rem 0;
  background: var(--cream);
}

.sub-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.sub-step {
  padding: 2.5rem 2rem;
  background: var(--sand-50);
  border: 1px solid rgba(10, 14, 20, 0.08);
  border-radius: 4px;
  transition: all 0.4s ease;
  position: relative;
}

.sub-step:hover {
  transform: translateY(-4px);
  border-color: var(--emerald);
  box-shadow: 0 12px 30px -15px rgba(0, 83, 166, 0.2);
}

.sub-step-num {
  font-family: var(--font-display);
  font-size: 2.2rem;
  color: var(--emerald);
  line-height: 1;
  margin-bottom: 1.5rem;
}

.sub-step h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 500;
  margin-bottom: 0.6rem;
  letter-spacing: -0.02em;
}

.sub-step p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--ink-mute);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

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

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

@media (max-width: 600px) {
  .form-row,
  .form-row-bottom { grid-template-columns: 1fr; }
}

.form-note {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.55;
}

.form-success {
  padding: 1rem 1.25rem;
  background: rgba(0, 144, 255, 0.2);
  border: 1px solid var(--emerald-glow);
  border-radius: 8px;
  color: var(--emerald-glow);
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.form-success[hidden] {
  display: none !important;
}

.form-success span:first-child {
  width: 24px;
  height: 24px;
  background: var(--emerald-glow);
  color: var(--ink);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  flex-shrink: 0;
}

/* ====== Society managers ====== */
.society {
  padding: 8rem 0;
  background: var(--cream);
}

.society-card {
  position: relative;
  background: linear-gradient(180deg, var(--sand-50) 0%, var(--cream) 100%);
  border: 1px solid rgba(10, 14, 20, 0.08);
  padding: 4.5rem 4rem;
  border-radius: 8px;
  overflow: hidden;
  box-shadow:
    0 1px 2px rgba(10, 14, 20, 0.04),
    0 20px 50px -30px rgba(0, 83, 166, 0.2);
}

.society-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 90% 10%, rgba(0, 144, 255, 0.08), transparent 50%),
    radial-gradient(circle at 5% 95%, rgba(224, 57, 44, 0.06), transparent 50%);
}

.society-content {
  position: relative;
  z-index: 1;
  max-width: 760px;
}

@media (max-width: 700px) {
  .society-card { padding: 2.5rem 1.75rem; }
}

.badge-light {
  background: rgba(0, 83, 166, 0.1);
  color: var(--emerald);
  border: 1px solid rgba(0, 83, 166, 0.2);
}

.society-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.025em;
  margin: 1.5rem 0 1.5rem;
  color: var(--ink);
}

.society-title em {
  font-style: normal;
  color: var(--emerald);
  font-weight: 800;
}

.society-desc {
  color: var(--ink-soft);
  font-size: 1.05rem;
  line-height: 1.65;
  margin-bottom: 2.5rem;
  max-width: 600px;
}

.society-points {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 3rem;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 6px;
  border-left: 3px solid var(--emerald);
}

.society-point {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.society-point-icon {
  color: var(--emerald);
  font-size: 0.85rem;
  margin-top: 0.4rem;
  flex-shrink: 0;
}

.society-point strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-bottom: 0.2rem;
}

.society-point p {
  font-size: 0.92rem;
  color: var(--ink-mute);
  line-height: 1.55;
  margin: 0;
}

/* Society form */
.society-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(10, 14, 20, 0.1);
}

.society-form-title {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 0.3rem;
}

.society-form-sub {
  font-size: 0.95rem;
  color: var(--ink-mute);
  margin-bottom: 1rem;
}

.society-form input,
.society-form textarea {
  padding: 0.95rem 1.25rem;
  background: var(--cream);
  border: 1px solid rgba(10, 14, 20, 0.15);
  border-radius: 8px;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 0.98rem;
  transition: all 0.25s ease;
}

.society-form input::placeholder,
.society-form textarea::placeholder {
  color: var(--ink-mute);
  opacity: 0.7;
}

.society-form input:focus,
.society-form textarea:focus {
  outline: none;
  border-color: var(--emerald);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(0, 83, 166, 0.1);
}

.society-form textarea {
  resize: vertical;
  font-family: var(--font-body);
  min-height: 80px;
}

.society-form .btn-large {
  background: var(--ink);
  color: var(--cream);
}

.society-form .btn-large:hover {
  background: var(--emerald);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px -10px rgba(0, 83, 166, 0.4);
}

.society-form .form-note {
  color: var(--ink-mute);
}

.society-form .form-success {
  background: rgba(0, 83, 166, 0.08);
  border: 1px solid var(--emerald);
  color: var(--emerald);
}

.society-form .form-success span:first-child {
  background: var(--emerald);
  color: var(--cream);
}

/* ====== FAQ ====== */
.faq {
  padding: 8rem 0;
  background: var(--sand-50);
}

.faq-list {
  margin-top: 3rem;
  max-width: 900px;
}

.faq-item {
  border-bottom: 1px solid rgba(10, 14, 20, 0.12);
  padding: 0;
}

.faq-item:first-child {
  border-top: 1px solid rgba(10, 14, 20, 0.12);
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 1.75rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2.2vw, 1.4rem);
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--ink);
  transition: color 0.2s ease;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary:hover { color: var(--emerald); }

.faq-icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border: 1px solid rgba(10, 14, 20, 0.2);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-size: 1.2rem;
  font-weight: 300;
  color: var(--ink-soft);
  transition: all 0.3s ease;
}

.faq-item[open] .faq-icon {
  background: var(--emerald);
  border-color: var(--emerald);
  color: var(--cream);
  transform: rotate(45deg);
}

.faq-item p {
  padding: 0 0 1.75rem 0;
  color: var(--ink-mute);
  font-size: 1rem;
  line-height: 1.65;
  max-width: 700px;
}

.faq-more[hidden] { display: none; }

.faq-more-toggle {
  margin-top: 2rem;
}

/* ====== Footer ====== */
.footer {
  background: var(--ink);
  color: var(--cream);
  padding: 5rem 0 0;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 4rem;
  padding-bottom: 4rem;
}

@media (max-width: 760px) {
  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
}

.footer-brand .logo-text { color: var(--cream); }

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-tagline {
  font-family: var(--font-body);
  font-style: normal;
  font-weight: 500;
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 1rem;
  line-height: 1.5;
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

@media (max-width: 600px) {
  .footer-cols { grid-template-columns: 1fr; gap: 0; }
}

.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--emerald-glow);
  margin-bottom: 1rem;
  font-weight: 500;
}

.footer-col a,
.footer-col span {
  display: block;
  padding: 0.3rem 0;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.2s;
}

.footer-col a:hover { color: var(--emerald-glow); }

.footer-col-toggle { display: none; }

@media (max-width: 600px) {
  .footer-col-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    background: none;
    border: none;
    padding: 1.1rem 0;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--emerald-glow);
    font-weight: 500;
    cursor: pointer;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .footer-cols { border-top: 1px solid rgba(255, 255, 255, 0.1); }

  .footer-col h4 { display: none; }

  .footer-col-chevron {
    flex-shrink: 0;
    transition: transform 0.3s ease;
  }

  .footer-col.is-open .footer-col-chevron { transform: rotate(180deg); }

  .footer-col-links {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
  }

  .footer-col.is-open .footer-col-links { max-height: 320px; }

  .footer-col-links a:first-child { padding-top: 0; }
  .footer-col-links a:last-child,
  .footer-col-links span:last-child { padding-bottom: 1.1rem; }
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.5rem var(--pad);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.5);
  max-width: var(--max);
  margin: 0 auto;
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.5);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.2s ease;
}

.footer-bottom a:hover { color: var(--cream); }

/* ====== Book & contact ====== */
.qr-code {
  width: 140px;
  height: 140px;
  margin: 0 auto 1.5rem;
  background: var(--sand-50);
  border-radius: 4px;
  padding: 0.75rem;
}

.qr-code svg {
  width: 100%;
  height: 100%;
  display: block;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.6rem 1.1rem;
  background: var(--ink);
  color: var(--cream);
  border-radius: 8px;
  transition: all 0.25s ease;
}

.store-badge:hover {
  background: var(--emerald);
  transform: translateY(-2px);
}

.store-badge svg { flex-shrink: 0; }

.store-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  text-align: left;
}

.store-small {
  font-size: 0.6rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
}

.store-big {
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: -0.01em;
}

/* ====== Legal pages ====== */
.legal {
  padding: 5rem 0 8rem;
  background: var(--cream);
}

.legal-content {
  max-width: 760px;
}

.legal-content h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  margin: 2.5rem 0 1rem;
}

.legal-content h2:first-child { margin-top: 0; }

.legal-content p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--ink-soft);
  margin-bottom: 1.1rem;
}

.legal-content ul {
  margin: 0 0 1.1rem 1.25rem;
  color: var(--ink-soft);
  line-height: 1.7;
}

.legal-content li { margin-bottom: 0.4rem; }

.legal-content a {
  color: var(--emerald);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal-content a:hover { color: var(--emerald-glow); }

/* ====== Reveal on scroll ====== */
[data-reveal] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}

[data-reveal].in-view {
  opacity: 1;
  transform: translateY(0);
}

/* ====== Accessibility ====== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
