/* Lazo Club — public marketing site.

   Same charter as the app (Studio Sun): the tokens below are copied verbatim
   from frontend/src/theme/variables.scss, and the type is the same
   self-hosted League Spartan / Bree Serif pair. Copied rather than imported
   because this site is plain static files with no build step and no Sass —
   if the charter moves in the app, move these six values with it.

   Note: the app's display face (Gulfs) is deliberately NOT used here. Its
   licence covers the application, not webfont embedding on a public site;
   League Spartan 800 carries the poster-weight headlines instead. */

@font-face {
  font-family: 'League Spartan';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(/assets/fonts/LeagueSpartan-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'League Spartan';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(/assets/fonts/LeagueSpartan-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Bree Serif';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/BreeSerif-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Bree Serif';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/BreeSerif-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --l-terracotta: #963518;
  --l-terracotta-deep: #7A2A13;
  --l-cafe: #362612;
  --l-cream: #F3DFA6;
  --l-blanco: #FFFFFF;
  --l-oliva: #605314;
  --l-sub: #6F5C3A;
  --l-hair: rgba(54, 38, 18, .16);
  /* the charter's one elevation style: a hard offset, never a blur */
  --l-sticker: 3px 4px 0 rgba(54, 38, 18, .10);
  --l-sticker-strong: 4px 5px 0 rgba(54, 38, 18, .16);

  --font-ui: 'League Spartan', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-body: 'Bree Serif', Georgia, serif;

  --shell: 68rem;
  --radius: 14px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition: none !important; }
}

body {
  margin: 0;
  background: var(--l-cream);
  color: var(--l-cafe);
  font-family: var(--font-ui);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { margin: 0; line-height: 1.15; letter-spacing: -.01em; }
p { margin: 0 0 1rem; }
ul, ol { margin: 0; padding: 0; list-style: none; }
/* The join form hides its socials fieldset with [hidden]; .field sets
   display:block, which would otherwise win over the UA rule. */
[hidden] { display: none !important; }
img { max-width: 100%; display: block; }

a { color: var(--l-terracotta); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { color: var(--l-terracotta-deep); }

:focus-visible {
  outline: 3px solid var(--l-terracotta);
  outline-offset: 3px;
  border-radius: 4px;
}

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  background: var(--l-cafe); color: var(--l-cream);
  padding: .75rem 1.1rem; border-radius: 0 0 var(--radius) var(--radius);
  font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 0; color: var(--l-cream); }

.shell { width: 100%; max-width: var(--shell); margin: 0 auto; padding: 0 1.25rem; }
.shell--narrow { max-width: 46rem; }

/* --- Header ------------------------------------------------------------- */

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--l-cream);
  border-bottom: 2px solid var(--l-cafe);
}
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; min-height: 68px;
}

.brand {
  display: inline-flex; align-items: center; gap: .6rem;
  font-weight: 800; font-size: 1.1rem; letter-spacing: -.02em;
  text-transform: uppercase; color: var(--l-cafe); text-decoration: none;
}
.brand img { width: 36px; height: 36px; border-radius: 22%; }
.brand--inverse { color: var(--l-cream); }

.site-nav { display: flex; align-items: center; gap: 1.4rem; }
.site-nav > a {
  color: var(--l-cafe); text-decoration: none; font-weight: 600; font-size: .95rem;
}
.site-nav > a:hover { color: var(--l-terracotta); }

.lang-switch { display: inline-flex; gap: .35rem; font-size: .85rem; font-weight: 700; }
.lang-switch a { color: var(--l-sub); text-decoration: none; padding: .15rem .35rem; border-radius: 6px; }
.lang-switch a[aria-current="true"] { background: var(--l-cafe); color: var(--l-cream); }

.nav-toggle {
  display: none; width: 44px; height: 44px; padding: 0;
  background: transparent; border: 2px solid var(--l-cafe); border-radius: 10px;
  cursor: pointer;
}
.nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after {
  display: block; width: 20px; height: 2px; background: var(--l-cafe);
  margin: 0 auto; content: ''; position: relative;
}
.nav-toggle__bars::before { top: -6px; }
.nav-toggle__bars::after { top: 4px; }

@media (max-width: 56rem) {
  .nav-toggle { display: block; }
  .site-nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: .25rem;
    background: var(--l-cream); border-bottom: 2px solid var(--l-cafe);
    padding: 1rem 1.25rem 1.5rem;
  }
  .site-nav[data-open] { display: flex; }
  .site-nav > a { padding: .6rem 0; font-size: 1.05rem; }
  .lang-switch { padding: .5rem 0; }
}

/* --- Buttons ------------------------------------------------------------ */

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: .85rem 1.5rem;
  font-family: inherit; font-size: 1rem; font-weight: 700;
  border: 2px solid var(--l-cafe); border-radius: 999px;
  text-decoration: none; cursor: pointer;
  box-shadow: var(--l-sticker);
  transition: transform .12s ease, box-shadow .12s ease;
}
.btn:hover { transform: translate(-1px, -1px); box-shadow: var(--l-sticker-strong); }
.btn:active { transform: translate(1px, 2px); box-shadow: none; }
.btn--sm { padding: .55rem 1.1rem; font-size: .9rem; }
.btn--block { width: 100%; }

.btn--primary { background: var(--l-terracotta); color: var(--l-blanco); }
.btn--primary:hover { background: var(--l-terracotta-deep); color: var(--l-blanco); }
.btn--ghost { background: var(--l-blanco); color: var(--l-cafe); }
.btn--ghost:hover { color: var(--l-terracotta); }
.btn[disabled] { opacity: .6; cursor: progress; transform: none; }

/* On the terracotta bands the fill and the outline swap round. */
.on-terracotta .btn--primary { background: var(--l-cream); color: var(--l-terracotta-deep); }
.on-terracotta .btn--primary:hover { background: var(--l-blanco); color: var(--l-terracotta-deep); }
.on-terracotta .btn--ghost {
  background: transparent; color: var(--l-cream); border-color: var(--l-cream);
  box-shadow: 3px 4px 0 rgba(0, 0, 0, .18);
}
.on-terracotta .btn--ghost:hover { background: rgba(243, 223, 166, .12); color: var(--l-cream); }
.on-terracotta :focus-visible { outline-color: var(--l-cream); }

/* --- Hero --------------------------------------------------------------- */

.eyebrow {
  margin: 0 0 .75rem;
  font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--l-sub);
}

.hero {
  position: relative;
  background: var(--l-terracotta);
  color: var(--l-cream);
  padding: clamp(3.5rem, 9vw, 6rem) 0 0;
  overflow: hidden;
}
/* the '70s confetti of the brand's own posts, kept faint enough to read over */
.hero::before {
  content: ''; position: absolute; inset: 0; opacity: .16; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180' viewBox='0 0 180 180'%3E%3Cg fill='%23F3DFA6'%3E%3Crect x='12' y='24' width='9' height='3' transform='rotate(28 12 24)'/%3E%3Crect x='140' y='16' width='7' height='3' transform='rotate(-42 140 16)'/%3E%3Crect x='66' y='58' width='8' height='3' transform='rotate(64 66 58)'/%3E%3Crect x='158' y='96' width='9' height='3' transform='rotate(12 158 96)'/%3E%3Crect x='28' y='118' width='7' height='3' transform='rotate(-24 28 118)'/%3E%3Crect x='96' y='142' width='9' height='3' transform='rotate(48 96 142)'/%3E%3Crect x='120' y='72' width='6' height='3' transform='rotate(-68 120 72)'/%3E%3Crect x='48' y='166' width='8' height='3' transform='rotate(16 48 166)'/%3E%3C/g%3E%3C/svg%3E");
}
.hero__inner { position: relative; padding-bottom: clamp(3rem, 7vw, 4.5rem); }
.hero .eyebrow { color: rgba(243, 223, 166, .85); }

.hero h1 {
  max-width: 20ch;
  margin: 0 0 1.25rem;
  font-size: clamp(2.4rem, 6.4vw, 4.25rem);
  font-weight: 800; line-height: .98; letter-spacing: -.025em;
  text-transform: uppercase;
}
.hero h1 .accent {
  color: var(--l-blanco);
  box-shadow: inset 0 -.14em 0 rgba(255, 255, 255, .28);
}
.hero__subtitle {
  max-width: 46ch;
  font-family: var(--font-body); font-size: clamp(1.05rem, 2.2vw, 1.2rem);
  line-height: 1.55; color: rgba(243, 223, 166, .92);
}
.hero__actions { display: flex; flex-wrap: wrap; gap: .85rem; margin: 1.75rem 0 1rem; }
.hero__note { font-size: .9rem; color: rgba(243, 223, 166, .8); margin-bottom: 2rem; }

.badges { display: flex; flex-wrap: wrap; gap: .6rem; }
.badges li {
  background: rgba(54, 38, 18, .22);
  border: 2px solid rgba(243, 223, 166, .5);
  border-radius: 999px;
  padding: .4rem 1rem;
  font-size: .85rem; font-weight: 600;
}

.chevrons {
  height: 22px;
  background-color: var(--l-cream);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='44' height='22' viewBox='0 0 44 22'%3E%3Cpath d='M0 22 L11 0 L22 22 L33 0 L44 22 Z' fill='%23963518'/%3E%3C/svg%3E");
  background-repeat: repeat-x;
  background-position: top center;
}

/* --- Sections ----------------------------------------------------------- */

.section { padding: clamp(3.25rem, 8vw, 5.5rem) 0; scroll-margin-top: 80px; }
.section--cream { background: var(--l-cream); }
.section--white { background: var(--l-blanco); }
.section--ink { background: var(--l-cafe); color: var(--l-cream); }
.section--ink .eyebrow { color: rgba(243, 223, 166, .7); }

.section__title {
  max-width: 22ch;
  margin: 0 0 2.5rem;
  font-size: clamp(1.75rem, 3.8vw, 2.6rem);
  font-weight: 800; line-height: 1.05; letter-spacing: -.02em;
  text-transform: uppercase;
}

.lede {
  font-family: var(--font-body); font-size: 1.1rem; line-height: 1.6;
  color: var(--l-sub); max-width: 52ch;
}

.grid { display: grid; gap: 1.25rem; }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr)); }

.card {
  background: var(--l-blanco);
  border: 2px solid var(--l-cafe);
  border-radius: var(--radius);
  box-shadow: var(--l-sticker-strong);
  padding: 1.5rem;
}
.card h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: .5rem; }
.card p { color: var(--l-sub); margin: 0; }
.card--problem h3 { color: var(--l-terracotta); }

.why-item {
  border-top: 2px solid rgba(243, 223, 166, .35);
  padding-top: 1.1rem;
}
.why-item h3 { font-size: 1.2rem; margin-bottom: .5rem; }
.why-item p { color: rgba(243, 223, 166, .8); margin: 0; }

/* --- Tabs + steps ------------------------------------------------------- */

.tabs__list {
  display: inline-flex; gap: .25rem; margin-bottom: 2rem;
  background: var(--l-cream); border: 2px solid var(--l-cafe);
  border-radius: 999px; padding: .3rem; box-shadow: var(--l-sticker);
}
.tabs__tab {
  border: 0; border-radius: 999px; padding: .6rem 1.35rem;
  background: transparent; color: var(--l-cafe);
  font-family: inherit; font-size: .95rem; font-weight: 700; cursor: pointer;
}
.tabs__tab[aria-selected="true"] { background: var(--l-terracotta); color: var(--l-blanco); }

.steps {
  display: grid; gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  counter-reset: step;
}
.step {
  background: var(--l-cream);
  border: 2px solid var(--l-cafe);
  border-radius: var(--radius);
  box-shadow: var(--l-sticker-strong);
  padding: 1.4rem;
}
.step__number {
  display: inline-flex; align-items: center; justify-content: center;
  width: 2.2rem; height: 2.2rem; margin-bottom: .8rem;
  background: var(--l-terracotta); color: var(--l-cream);
  border-radius: 50%;
  font-family: var(--font-body); font-size: 1.05rem;
}
.step h3 { font-size: 1.1rem; margin-bottom: .45rem; }
.step p { color: var(--l-sub); margin: 0; }

.steps--compact { grid-template-columns: 1fr; gap: .85rem; }
.steps--compact .step {
  display: grid; grid-template-columns: auto 1fr; gap: .9rem; align-items: center;
  background: transparent; border: 0; box-shadow: none; padding: 0;
}
.steps--compact .step__number { margin: 0; width: 2rem; height: 2rem; font-size: .95rem; }

/* --- FAQ ---------------------------------------------------------------- */

.faq { display: grid; gap: .75rem; }
.faq__item {
  background: var(--l-cream);
  border: 2px solid var(--l-cafe);
  border-radius: var(--radius);
  box-shadow: var(--l-sticker);
  padding: 1rem 1.25rem;
}
.faq__item summary {
  cursor: pointer; font-weight: 700; font-size: 1.05rem;
  list-style: none; display: flex; justify-content: space-between; gap: 1rem;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: '+'; font-size: 1.4rem; line-height: 1; color: var(--l-terracotta); }
.faq__item[open] summary::after { content: '–'; }
.faq__item p { margin: .75rem 0 0; color: var(--l-sub); }

/* --- Closing band ------------------------------------------------------- */

.closing { background: var(--l-terracotta); color: var(--l-cream); text-align: center; }
.closing__inner h2 {
  font-size: clamp(1.75rem, 4vw, 2.6rem); font-weight: 800;
  text-transform: uppercase; letter-spacing: -.02em; margin-bottom: .75rem;
}
.closing__inner p { font-family: var(--font-body); color: rgba(243, 223, 166, .9); }
.closing .hero__actions { justify-content: center; margin-bottom: 0; }

/* --- Forms -------------------------------------------------------------- */

.form-page__inner {
  display: grid; gap: 2rem;
  grid-template-columns: minmax(0, 1fr) minmax(0, 26rem);
  align-items: start;
}
@media (max-width: 56rem) { .form-page__inner { grid-template-columns: 1fr; } }

.form-page .section__title { margin-bottom: 1rem; }
.card--aside { background: var(--l-blanco); margin-top: 1.5rem; }
.card--aside h2 { font-size: 1.05rem; text-transform: uppercase; letter-spacing: .04em; margin-bottom: .75rem; }
.card--aside p { color: var(--l-sub); }
.card--form { padding: 1.75rem; }
.link-strong { font-weight: 700; }

.field { display: block; margin: 0 0 1.35rem; border: 0; padding: 0; }
.field > label, .field legend {
  display: block; margin-bottom: .45rem;
  font-size: .9rem; font-weight: 700; letter-spacing: .01em;
}
.field__hint { font-size: .85rem; color: var(--l-sub); margin: -.2rem 0 .8rem; }
.field-row { display: grid; gap: 0 1rem; grid-template-columns: 1fr 1fr; }
@media (max-width: 30rem) { .field-row { grid-template-columns: 1fr; } }

input[type="text"], input[type="email"], textarea {
  width: 100%; padding: .8rem .95rem;
  font-family: inherit; font-size: 1rem; color: var(--l-cafe);
  background: var(--l-blanco);
  border: 2px solid var(--l-hair); border-radius: 10px;
}
input:focus, textarea:focus { border-color: var(--l-terracotta); outline: none; }
input[aria-invalid="true"], textarea[aria-invalid="true"] { border-color: var(--l-terracotta-deep); }
textarea { resize: vertical; }

.segmented { display: grid; gap: .6rem; grid-template-columns: 1fr 1fr; }
@media (max-width: 30rem) { .segmented { grid-template-columns: 1fr; } }
.segmented__option { position: relative; display: block; cursor: pointer; }
/* The radio covers its whole card rather than being collapsed to 0x0: the
   card stays clickable everywhere, and the control keeps a real hit area for
   pointer, keyboard and assistive tech. */
.segmented__option input {
  position: absolute; inset: 0; margin: 0;
  width: 100%; height: 100%; opacity: 0; cursor: pointer;
}
.segmented__body {
  display: block; height: 100%; padding: .9rem 1rem;
  background: var(--l-blanco);
  border: 2px solid var(--l-hair); border-radius: 12px;
}
.segmented__body strong { display: block; font-size: .98rem; }
.segmented__body small { display: block; color: var(--l-sub); font-size: .82rem; line-height: 1.4; }
.segmented__option input:checked + .segmented__body {
  border-color: var(--l-cafe); background: var(--l-cream); box-shadow: var(--l-sticker);
}
.segmented__option input:focus-visible + .segmented__body {
  outline: 3px solid var(--l-terracotta); outline-offset: 2px;
}

.field--check label { display: flex; gap: .6rem; align-items: flex-start; font-weight: 400; font-size: .92rem; }
.field--check input { margin-top: .25rem; width: 1.1rem; height: 1.1rem; accent-color: var(--l-terracotta); }

.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form__error {
  margin: 0 0 1rem; padding: .8rem 1rem;
  background: rgba(122, 42, 19, .12);
  border-left: 3px solid var(--l-terracotta-deep);
  border-radius: 0 8px 8px 0;
  color: var(--l-terracotta-deep); font-size: .92rem; font-weight: 600;
}
.form__success h2 {
  font-size: 1.4rem; text-transform: uppercase; letter-spacing: -.01em; margin-bottom: .5rem;
}
.form__success p { color: var(--l-sub); margin: 0; }

/* --- Footer ------------------------------------------------------------- */

.site-footer { background: var(--l-cafe); color: var(--l-cream); padding: 3rem 0 1.5rem; }
.site-footer__inner {
  display: grid; gap: 2rem;
  grid-template-columns: minmax(0, 2fr) repeat(2, minmax(0, 1fr));
}
@media (max-width: 46rem) { .site-footer__inner { grid-template-columns: 1fr 1fr; } }
.site-footer__brand p { color: rgba(243, 223, 166, .75); max-width: 30ch; margin-top: .9rem; }
.site-footer h2 {
  font-size: .85rem; text-transform: uppercase; letter-spacing: .12em;
  color: rgba(243, 223, 166, .6); margin-bottom: .9rem;
}
.site-footer li { margin-bottom: .55rem; }
.site-footer a { color: var(--l-cream); text-decoration: none; font-size: .95rem; }
.site-footer a:hover { color: var(--l-blanco); text-decoration: underline; }
.site-footer :focus-visible { outline-color: var(--l-cream); }

.site-footer__legal {
  display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between;
  margin-top: 2.5rem; padding-top: 1.25rem;
  border-top: 1px solid rgba(243, 223, 166, .2);
  font-size: .85rem; color: rgba(243, 223, 166, .65);
}
.site-footer__legal p { margin: 0; }
.lang-switch--footer a { color: rgba(243, 223, 166, .8); }
.lang-switch--footer a[aria-current="true"] { background: rgba(243, 223, 166, .18); color: var(--l-cream); }
