/* Ivalt Salsa — waitlist landing. Mobile-first. */

:root {
  --cream: #faf3e8;
  --ink: #241a14;
  --accent: #c0502f;
  --accent-dark: #9c3d22;
  --muted: #6b5b4f;
  --border: rgba(36, 26, 20, 0.12);
  --max-width: 480px;
}

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--cream);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.5;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page {
  width: 100%;
  max-width: var(--max-width);
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  padding: 16px 20px 32px;
}

/* Header / lang switch */
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px 0 28px;
}

.brand {
  display: block;
  line-height: 0;
}

.brand img {
  display: block;
  height: 29px;
  width: auto;
}

.lang-switch {
  display: flex;
  gap: 4px;
  font-size: 14px;
}

.lang-switch button {
  background: none;
  border: none;
  padding: 8px 10px;
  min-height: 44px;
  min-width: 44px;
  color: var(--muted);
  font-weight: 600;
  cursor: pointer;
  border-radius: 8px;
}

.lang-switch button[aria-current="true"] {
  color: var(--ink);
  background: rgba(36, 26, 20, 0.06);
}

.lang-switch .sep {
  color: var(--border);
  align-self: center;
}

/* Photo — height follows the image's own ratio, nothing is cropped.
   Design your collage in Canva at whatever height you need
   (full-body shot + frames below, for example); it will display
   in full, at full width, however tall it ends up being. */
.photo-wrap {
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  background: var(--cream);
  margin: 4px 0 24px;
}

.photo-wrap img {
  width: 100%;
  height: auto;
  display: block;
}

/* Copy */
.eyebrow {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-dark);
  margin: 0 0 8px;
}

h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(34px, 10vw, 48px);
  line-height: 1.02;
  margin: 0 0 8px;
  letter-spacing: -0.02em;
}

.subline {
  font-size: 16px;
  font-weight: 600;
  color: var(--accent-dark);
  margin: 0 0 10px;
}

.format-note {
  font-size: 14px;
  color: var(--muted);
  margin: 0 0 18px;
}

.subhead {
  font-size: 16px;
  color: var(--muted);
  margin: 0 0 14px;
}

.subhead:last-of-type {
  margin-bottom: 24px;
}

.subhead-cta {
  color: var(--ink);
  font-weight: 600;
}

.tagline {
  font-size: 15px;
  font-weight: 600;
  font-style: italic;
  color: var(--ink);
  margin: 0 0 4px;
}

.tagline-last {
  margin-bottom: 20px;
}

.list-heading {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-dark);
  margin: 0 0 12px;
}

.progression-heading {
  font-size: 19px;
  font-weight: 700;
  color: var(--ink);
  margin: 4px 0 8px;
  line-height: 1.25;
}

.feature-list {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.feature-list li {
  position: relative;
  padding-left: 24px;
  font-size: 15px;
  color: var(--ink);
}

.feature-list li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent);
  font-weight: 700;
}

/* Benefits list — a plain dot, distinct from the feature checkmarks,
   so "why" (benefits) reads differently from "what" (concrete content). */
.benefit-list {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.benefit-list li {
  position: relative;
  padding-left: 20px;
  font-size: 15px;
  color: var(--ink);
}

.benefit-list li::before {
  content: "\2022";
  position: absolute;
  left: 2px;
  top: 0;
  color: var(--accent-dark);
  font-size: 20px;
  line-height: 1.1;
}

/* Form */
form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 14px;
}

/* Top opt-in — compact duplicate of the bottom form, right under the
   headline, so a convinced visitor can sign up without scrolling
   through the whole page. The photo comes right after it, as visual
   proof for anyone who keeps scrolling. */
.form-top {
  margin-bottom: 20px;
}

.nowrap {
  white-space: nowrap;
}

label.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

input[type="email"] {
  width: 100%;
  font-size: 16px; /* prevents iOS zoom */
  padding: 14px 16px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--ink);
}

input[type="email"]:focus {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
}

button[type="submit"] {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #fff;
  background: var(--accent);
  border: none;
  border-radius: 10px;
  padding: 14px 16px;
  min-height: 48px;
  cursor: pointer;
}

button[type="submit"]:active {
  background: var(--accent-dark);
}

.disclaimer {
  font-size: 13px;
  color: var(--muted);
  margin: 0 0 auto;
}

/* honeypot field, hidden from humans, visible to bots */
.hp-field {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

footer {
  display: flex;
  gap: 14px;
  justify-content: center;
  padding-top: 24px;
  font-size: 13px;
}

footer a {
  color: var(--muted);
  text-decoration: underline;
}

/* Thank-you page */
.confirm {
  text-align: center;
  margin: auto 0;
}

.confirm h1 {
  font-size: 26px;
}

.confirm p {
  color: var(--muted);
  font-size: 16px;
}

.confirm .divider {
  height: 1px;
  background: var(--border);
  margin: 20px 0;
}

/* Privacy page */
.legal {
  padding-top: 8px;
}

.legal h1 {
  font-size: 24px;
}

.legal h2 {
  font-size: 16px;
  margin-top: 24px;
}

.legal p, .legal li {
  font-size: 15px;
  color: var(--muted);
}

.legal a {
  color: var(--accent-dark);
}

.back-link {
  display: inline-block;
  margin-top: 24px;
  font-size: 14px;
  color: var(--accent-dark);
}
