:root {
  --ink: #0b2730;
  --ocean: #0e3a46;
  --ocean-2: #14515f;
  --teal: #1d6f7e;
  --sand: #e9dcc4;
  --sand-soft: #f4ead7;
  --paper: #fcfaf4;
  --paper-2: #f7f2e8;
  --coral: #e2725b;
  --coral-dark: #c85a44;
  --gold: #c6a15b;
  --gold-soft: #e7d3a6;
  --text: #1c2b2f;
  --muted: #5d6e72;
  --line: rgba(11, 39, 48, 0.12);
  --white: #ffffff;
  --shadow-sm: 0 2px 10px rgba(11, 39, 48, 0.06);
  --shadow-md: 0 14px 40px rgba(11, 39, 48, 0.12);
  --shadow-lg: 0 30px 80px rgba(11, 39, 48, 0.18);
  --radius: 18px;
  --radius-lg: 28px;
  --maxw: 1180px;
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --tabbar-h: 72px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--paper);
  line-height: 1.65;
  font-size: 17px;
  letter-spacing: 0.1px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  padding-bottom: calc(var(--tabbar-h) + env(safe-area-inset-bottom));
}

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

a { color: var(--teal); text-decoration: none; }
a:hover { color: var(--ocean); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.12;
  color: var(--ink);
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.1rem, 6vw, 3.6rem); font-weight: 600; }
h2 { font-size: clamp(1.6rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 2.6vw, 1.6rem); }
p { margin: 0 0 1.1em; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }

.section { padding: 64px 0; }
.section--tight { padding: 44px 0; }
.section--alt { background: var(--paper-2); }
.section--ink { background: var(--ocean); color: #e9f1f0; }
.section--ink h2, .section--ink h3 { color: #fff; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--coral);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 2px;
  background: var(--gold);
  display: inline-block;
}
.section--ink .eyebrow { color: var(--gold-soft); }

.lead { font-size: 1.15rem; color: var(--muted); max-width: 60ch; }
.section--ink .lead { color: #c7dad8; }

.muted { color: var(--muted); }
.center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  padding: 14px 26px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  text-align: center;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--coral); color: #fff; box-shadow: 0 10px 26px rgba(226,114,91,.38); }
.btn--primary:hover { background: var(--coral-dark); color: #fff; }
.btn--ghost { background: transparent; border-color: var(--line); color: var(--ink); }
.btn--ghost:hover { border-color: var(--ocean); color: var(--ocean); }
.btn--light { background: #fff; color: var(--ocean); }
.btn--gold { background: var(--gold); color: #1c1405; }
.btn--block { width: 100%; }
.btn svg { width: 18px; height: 18px; }

/* Header / desktop nav */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(252, 250, 244, 0.82);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 16px;
}
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand__mark { width: 38px; height: 38px; flex: none; }
.brand__name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.2rem;
  color: var(--ink);
  line-height: 1;
}
.brand__sub { display: block; font-family: var(--font-body); font-size: .62rem; letter-spacing: .22em; text-transform: uppercase; color: var(--coral); margin-top: 3px; }

.nav-desktop { display: none; }
.nav-desktop ul { display: flex; align-items: center; gap: 6px; list-style: none; margin: 0; padding: 0; }
.nav-desktop a {
  display: inline-block;
  padding: 9px 16px;
  border-radius: 999px;
  color: var(--ink);
  font-weight: 600;
  font-size: .98rem;
  transition: background .2s, color .2s;
}
.nav-desktop a:hover { background: var(--paper-2); }
.nav-desktop a[aria-current="page"] { color: var(--coral); }
.header-cta { display: none; }

/* Bottom tab bar (mobile-first) */
.tabbar {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 60;
  height: calc(var(--tabbar-h) + env(safe-area-inset-bottom));
  padding-bottom: env(safe-area-inset-bottom);
  background: rgba(252, 250, 244, 0.9);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  border-top: 1px solid var(--line);
  display: flex;
}
.tabbar a {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  color: var(--muted);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .02em;
  padding-top: 8px;
}
.tabbar a svg { width: 23px; height: 23px; stroke-width: 1.8; }
.tabbar a[aria-current="page"] { color: var(--coral); }
.tabbar a[aria-current="page"] .tab-ico { transform: translateY(-2px); }
.tab-ico { transition: transform .2s ease; }

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(1100px 540px at 75% -10%, rgba(29,111,126,.55), transparent 60%),
    linear-gradient(160deg, var(--ocean) 0%, var(--ink) 70%);
  color: #eaf2f1;
  padding: 60px 0 70px;
}
.hero__wave { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; display: block; color: var(--paper); }
.hero__inner { position: relative; z-index: 2; max-width: 760px; }
.hero h1 { color: #fff; }
.hero .lead { color: #cfe1df; }
.hero__badges { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0 26px; }
.chip {
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.18);
  padding: 7px 14px; border-radius: 999px;
  font-size: .85rem; font-weight: 600; color: #eaf2f1;
}
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__stats { display: flex; gap: 28px; margin-top: 34px; flex-wrap: wrap; }
.hero__stat b { font-family: var(--font-display); font-size: 1.8rem; display: block; color: #fff; }
.hero__stat span { font-size: .82rem; color: #b9d0cd; letter-spacing: .04em; }

/* Cards & grids */
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
.grid-4 { grid-template-columns: 1fr 1fr; }

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card__ico {
  width: 48px; height: 48px; border-radius: 14px;
  display: grid; place-items: center;
  background: var(--sand-soft); color: var(--ocean);
  margin-bottom: 14px;
}
.card__ico svg { width: 24px; height: 24px; }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--muted); margin: 0; font-size: .98rem; }

.feature-link {
  display: block; color: inherit;
}
.feature-link:hover h3 { color: var(--coral); }
.feature-link .more { color: var(--coral); font-weight: 700; font-size: .92rem; margin-top: 12px; display: inline-flex; gap: 6px; align-items: center; }

/* Split / about */
.split { display: grid; grid-template-columns: 1fr; gap: 32px; align-items: center; }
.media-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: var(--sand-soft);
  position: relative;
  aspect-ratio: 4 / 3;
}
.media-frame img { width: 100%; height: 100%; object-fit: cover; }
.media-placeholder {
  width: 100%; height: 100%;
  display: grid; place-items: center;
  text-align: center; color: var(--ocean);
  background:
    repeating-linear-gradient(135deg, rgba(20,81,95,.06) 0 14px, transparent 14px 28px),
    linear-gradient(160deg, var(--sand-soft), var(--sand));
  padding: 20px;
}
.media-placeholder span { font-weight: 700; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; opacity: .7; }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.gallery figure { margin: 0; border-radius: 16px; overflow: hidden; aspect-ratio: 1/1; box-shadow: var(--shadow-sm); }
.gallery figure img { width: 100%; height: 100%; object-fit: cover; }
.gallery figure:first-child { grid-column: span 2; aspect-ratio: 16/10; }
.gallery .media-placeholder { font-size: .7rem; }

/* List with check */
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.ticks li {
  position: relative;
  padding-left: 32px;
}
.ticks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.15em;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--gold-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%230e3a46' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 12px no-repeat;
}

.rules { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.rules li {
  position: relative;
  padding-left: 32px;
}
.rules li::before {
  content: "×";
  position: absolute;
  left: 0;
  top: 0.1em;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(226, 114, 91, 0.15);
  color: var(--coral-dark);
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 1rem;
  line-height: 1;
}

/* Steps */
.steps { counter-reset: step; display: grid; gap: 18px; }
.step { display: flex; gap: 16px; align-items: flex-start; }
.step__num {
  counter-increment: step; flex: none;
  width: 40px; height: 40px; border-radius: 12px;
  background: var(--ocean); color: #fff;
  display: grid; place-items: center; font-family: var(--font-display); font-weight: 600; font-size: 1.1rem;
}
.step__num::before { content: counter(step); }

/* FAQ */
.faq { display: grid; gap: 12px; }
.faq details {
  background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 0 20px;
  box-shadow: var(--shadow-sm);
}
.faq summary {
  list-style: none; cursor: pointer; padding: 18px 0;
  font-family: var(--font-display); font-size: 1.12rem; color: var(--ink);
  display: flex; justify-content: space-between; align-items: center; gap: 14px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.5rem; color: var(--coral); line-height: 1; }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { padding-bottom: 18px; margin: 0; color: var(--muted); }

/* Breadcrumb */
.breadcrumb { font-size: .85rem; color: var(--muted); padding: 16px 0 0; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0; }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; color: var(--line); }

/* Page header */
.page-hero {
  background: linear-gradient(160deg, var(--ocean), var(--ink));
  color: #eaf2f1; padding: 38px 0 46px;
}
.page-hero h1 { color: #fff; }
.page-hero .lead { color: #cfe1df; }

/* CTA band */
.cta-band {
  background: linear-gradient(135deg, var(--coral), var(--coral-dark));
  color: #fff; border-radius: var(--radius-lg); padding: 38px 30px; text-align: center;
  box-shadow: var(--shadow-md);
}
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.92); max-width: 52ch; margin-inline: auto; }

/* Footer */
.site-footer { background: var(--ink); color: #b9cdca; padding: 54px 0 30px; }
.site-footer h4 { color: #fff; font-family: var(--font-body); font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 14px; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 30px; }
.site-footer a { color: #b9cdca; }
.site-footer a:hover { color: #fff; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; font-size: .95rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 36px; padding-top: 20px; font-size: .82rem; color: #8aa4a1; display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; }
.footer-brand { font-family: var(--font-display); font-size: 1.4rem; color: #fff; }

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* Notice / info box */
.note {
  background: var(--sand-soft); border: 1px solid var(--gold-soft);
  border-radius: 14px; padding: 16px 18px; color: #5a4a23; font-size: .95rem;
}
.note strong { color: var(--ink); }

/* Tags */
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.tag { background: var(--paper-2); border: 1px solid var(--line); border-radius: 999px; padding: 5px 12px; font-size: .8rem; font-weight: 600; color: var(--muted); }
.tag--host { background: rgba(226,114,91,.12); border-color: rgba(226,114,91,.25); color: var(--coral-dark); }

.rank-list { display: grid; gap: 16px; }
.rank-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: start;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 22px 20px;
  box-shadow: var(--shadow-sm);
}
.rank-item__num {
  width: 46px; height: 46px;
  border-radius: 14px;
  background: var(--ocean);
  color: #fff;
  display: grid; place-items: center;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.15rem;
  flex: none;
}
.rank-item--top {
  border-color: rgba(198, 161, 91, 0.5);
  background: linear-gradient(145deg, #fff 0%, var(--sand-soft) 100%);
  box-shadow: var(--shadow-md);
}
.rank-item--top .rank-item__num { background: var(--coral); }
.rank-item h2 { margin-bottom: 4px; }
.rank-item p { margin: 0; color: var(--muted); font-size: .96rem; }
.rank-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.rank-meta span {
  font-size: .78rem; font-weight: 700; letter-spacing: .04em;
  background: var(--paper-2); border: 1px solid var(--line);
  border-radius: 999px; padding: 4px 10px; color: var(--muted);
}
.top-preview { display: grid; gap: 14px; margin-top: 18px; list-style: none; padding: 0; }
.top-preview li {
  display: flex; gap: 12px; align-items: baseline;
  font-size: .98rem; color: var(--text);
}
.top-preview li span:first-child {
  font-family: var(--font-display); font-weight: 600; color: var(--coral); min-width: 1.6rem;
}
.guide-cards { margin-top: 28px; }

/* ============ LIVRET (slides) ============ */
body.livret-body { padding-bottom: 0; background: var(--ocean); overflow: hidden; }
.livret {
  position: fixed; inset: 0;
  display: flex;
  scroll-snap-type: x mandatory;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}
.livret::-webkit-scrollbar { display: none; }
.slide {
  flex: 0 0 100%;
  width: 100vw;
  height: 100dvh;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  overflow-y: auto;
  padding: 64px 22px 110px;
  position: relative;
}
.slide__inner { max-width: 640px; margin: 0 auto; min-height: 100%; }
.slide-cover {
  background:
    radial-gradient(900px 420px at 80% 0%, rgba(29,111,126,.5), transparent 60%),
    linear-gradient(160deg, var(--ocean), var(--ink));
  color: #fff; display: grid; place-items: center; text-align: center;
}
.slide-cover h1 { color: #fff; font-size: clamp(2.4rem, 9vw, 4rem); }
.slide-cover .script { font-family: var(--font-display); font-style: italic; color: var(--gold-soft); }
.slide-light { background: var(--paper); color: var(--text); }
.slide-sand { background: var(--paper-2); color: var(--text); }
.slide h2 { font-size: clamp(1.7rem, 6vw, 2.4rem); }

.host-note {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 22px 24px 26px;
  box-shadow: var(--shadow-md);
  border-top: 3px solid var(--gold);
}
.host-note__figure {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0 auto 18px;
  width: fit-content;
}
.host-note__figure img {
  display: block;
  width: 112px;
  height: 112px;
  object-fit: cover;
  object-position: center 22%;
  border-radius: 50%;
  border: 3px solid #fff;
  outline: 1px solid var(--line);
  box-shadow: 0 10px 28px rgba(14, 58, 70, 0.14);
}
.host-note__badge {
  margin: 10px 0 0;
  padding: 0;
  background: none;
  border: none;
  box-shadow: none;
  backdrop-filter: none;
  font-family: var(--font-display);
  font-style: italic;
  font-size: .92rem;
  color: var(--muted);
  text-align: center;
}
.host-note__body {
  padding: 0;
}
.host-note__kicker {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.15rem, 3.5vw, 1.45rem);
  color: var(--ocean);
  margin: 0 0 16px;
  line-height: 1.2;
}
.host-note__body h3 {
  font-size: clamp(1.2rem, 3vw, 1.45rem);
  margin-bottom: 14px;
}
.host-note__body p {
  color: var(--muted);
  font-size: .96rem;
  margin-bottom: .95em;
  line-height: 1.65;
}
.host-note__body p:last-of-type { margin-bottom: 0; }
.host-note__closing {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--ink);
  line-height: 1.45;
}
.host-note__sign {
  margin-top: 14px;
  text-align: right;
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.2rem, 4vw, 1.5rem);
  color: var(--coral);
}
.host-note--centered { max-width: 680px; margin: 0 auto; }

.codebox {
  background: #fff; border: 1px solid var(--line); border-radius: 16px;
  padding: 18px 20px; box-shadow: var(--shadow-sm); display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 12px;
}
.codebox .lbl { font-weight: 700; color: var(--muted); font-size: .9rem; }
.codebox .val { font-family: var(--font-display); font-size: 1.7rem; color: var(--ocean); letter-spacing: .06em; font-weight: 600; }
.codebox .val small { font-family: var(--font-body); font-size: .9rem; color: var(--muted); display: block; letter-spacing: 0; }

.info-table { width: 100%; border-collapse: separate; border-spacing: 0 10px; margin: 0; }
.info-table th,
.info-table td {
  padding: 14px 16px; background: #fff; border: 1px solid var(--line); vertical-align: middle;
}
.info-table th {
  width: 36%; text-align: left; font-weight: 700; color: var(--muted); font-size: .88rem;
  border-radius: 14px 0 0 14px; border-right: none;
}
.info-table td {
  font-family: var(--font-display); font-size: 1.05rem; color: var(--ocean); font-weight: 600; line-height: 1.35;
  border-radius: 0 14px 14px 0; border-left: none;
}
.info-table td small { display: block; font-family: var(--font-body); font-size: .88rem; color: var(--muted); font-weight: 400; margin-top: 2px; }
.info-table tr.is-top th,
.info-table tr.is-top td { background: var(--sand-soft); border-color: rgba(198, 161, 91, 0.45); }
.info-table tr.is-top th { color: var(--ocean); }

.rank-addr { font-size: .92rem; color: var(--muted); margin: 0 0 10px; font-family: var(--font-body); font-weight: 600; }

.livret-nav {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 30;
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 14px 18px calc(14px + env(safe-area-inset-bottom));
  background: linear-gradient(to top, rgba(11,39,48,.6), transparent);
}
.livret-nav button {
  width: 50px; height: 50px; border-radius: 50%;
  border: none; background: #fff; color: var(--ocean);
  box-shadow: var(--shadow-md); cursor: pointer; font-size: 1.2rem;
  display: grid; place-items: center;
}
.livret-nav button:disabled { opacity: .35; cursor: default; }
.dots { display: flex; gap: 7px; flex: 1; justify-content: center; flex-wrap: wrap; max-width: 60%; }
.dots span { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.45); transition: all .2s; }
.dots span.on { background: #fff; width: 22px; border-radius: 6px; }
.livret-top {
  position: fixed; top: 0; left: 0; right: 0; z-index: 30;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 18px; color: #fff;
}
.livret-top .home-link { color: #fff; font-weight: 700; font-size: .9rem; display: inline-flex; gap: 6px; align-items: center; background: rgba(255,255,255,.14); padding: 7px 14px; border-radius: 999px; }
.livret-top .pageno { background: rgba(255,255,255,.14); color: #fff; padding: 7px 14px; border-radius: 999px; font-size: .85rem; font-weight: 700; }
.slide-light .codebox, .slide-sand .codebox { }
.slide-light .livret-top-spacer { }

/* swipe hint */
.swipe-hint { display: inline-flex; align-items: center; gap: 8px; color: #cfe1df; font-size: .85rem; margin-top: 18px; }

/* Login gate */
.gate { min-height: 100dvh; display: grid; place-items: center; background: linear-gradient(160deg, var(--ocean), var(--ink)); padding: 24px; }
.gate__card { background: #fff; border-radius: var(--radius-lg); padding: 34px 28px; max-width: 400px; width: 100%; box-shadow: var(--shadow-lg); text-align: center; }
.gate__card input { width: 100%; padding: 14px 16px; border: 1.5px solid var(--line); border-radius: 12px; font-size: 1.1rem; text-align: center; letter-spacing: .1em; margin: 14px 0; font-family: var(--font-body); }
.gate__card input:focus { outline: none; border-color: var(--ocean); }

/* Responsive */
@media (min-width: 700px) {
  .grid-2 { grid-template-columns: 1fr 1fr; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
  .split { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
  .cta-band { padding: 52px; }
}

@media (min-width: 960px) {
  body { padding-bottom: 0; font-size: 18px; }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .tabbar { display: none; }
  .nav-desktop { display: block; }
  .header-cta { display: inline-flex; }
  .section { padding: 90px 0; }
  .hero { padding: 90px 0 100px; }
  .gallery { grid-template-columns: repeat(4, 1fr); }
  .gallery figure:first-child { grid-column: span 2; grid-row: span 2; aspect-ratio: 1/1; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
  .reveal { transition: none; opacity: 1; transform: none; }
}
