/* Amaré, the same palette and type as the app (see apps/amare/src/theme). */
:root {
  --lienzo: #f6eee1;
  --pergamino: #ebddc5;
  --blanco: #fffdf9;
  --terracota: #c0533f;
  --oro: #b0863a;
  --tinta: #2b221b;
  --tinta-suave: #6b5d4f;
  --linea: #ddcdb4;
}

* { box-sizing: border-box; }

/* A form with display:grid or display:flex ignores the hidden attribute, so a
   submitted form would stay on screen next to its own thank-you line. */
[hidden] { display: none !important; }

body {
  margin: 0;
  background: var(--lienzo);
  color: var(--tinta);
  font-family: Figtree, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.6;
}

.wrap { max-width: 680px; margin: 0 auto; padding: 0 20px; }

h1, h2, h3, .display { font-family: Fraunces, Georgia, "Times New Roman", serif; font-weight: 600; }
h1 { font-size: 2.1rem; line-height: 1.2; margin: 0 0 12px; }
h2 { font-size: 1.35rem; line-height: 1.3; margin: 32px 0 8px; }
h3 { font-size: 1.1rem; margin: 0 0 6px; }
p { margin: 0 0 14px; }
a { color: var(--terracota); }

.kicker {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--oro);
  margin: 0 0 6px;
}

header.site { padding: 28px 0 8px; display: flex; align-items: center; gap: 10px; }
/* The mark's pale strand nearly vanishes on cream, so it sits on tinta here,
   exactly like the app icon. */
header.site .badge {
  background: var(--tinta);
  border-radius: 11px;
  padding: 6px;
  display: inline-flex;
  line-height: 0;
}
header.site img { width: 26px; height: 26px; }
header.site span { font-family: Fraunces, Georgia, serif; font-size: 1.2rem; font-weight: 600; }

.hero { padding: 24px 0 8px; }
.lead { font-size: 1.1rem; color: var(--tinta-suave); }

.verse {
  border-left: 3px solid var(--oro);
  padding: 4px 0 4px 16px;
  margin: 24px 0;
  font-family: Fraunces, Georgia, serif;
  font-size: 1.15rem;
  line-height: 1.5;
}
.verse cite { display: block; font-family: Figtree, sans-serif; font-style: normal; font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--oro); margin-top: 8px; }

.card {
  background: var(--blanco);
  border: 1px solid var(--linea);
  border-radius: 22px;
  padding: 22px;
  margin: 16px 0;
}
.card.with-figure { display: flex; gap: 18px; align-items: center; }
.card.with-figure img { width: 84px; height: auto; flex: none; }
.card p:last-child { margin-bottom: 0; }

.note { color: var(--tinta-suave); font-size: 0.95rem; }

.code {
  display: flex;
  gap: 6px;
  justify-content: center;
  margin: 18px 0;
}
.code span {
  width: 44px;
  height: 56px;
  border: 1px solid var(--linea);
  border-radius: 10px;
  background: var(--lienzo);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: Fraunces, Georgia, serif;
  font-size: 1.5rem;
  color: var(--terracota);
}

.button {
  display: block;
  text-align: center;
  background: var(--terracota);
  color: var(--blanco);
  text-decoration: none;
  font-weight: 600;
  border-radius: 999px;
  padding: 16px 24px;
  margin: 18px 0 8px;
}

footer.site {
  border-top: 1px solid var(--linea);
  margin: 48px 0 0;
  padding: 24px 0 48px;
  color: var(--tinta-suave);
  font-size: 0.9rem;
}
footer.site a { color: var(--tinta-suave); }
footer.site p { margin: 0 0 8px; }

article.legal h2 { margin-top: 30px; }
article.legal p { color: var(--tinta); }

@media (max-width: 480px) {
  h1 { font-size: 1.75rem; }
  .card.with-figure { flex-direction: column; align-items: flex-start; }
}

/* ---- marketing page ---- */
header.site .header-link { margin-left: auto; font-size: 0.9rem; text-decoration: none; }
.center { text-align: center; }
.hero .button { margin-top: 22px; }

.steps { counter-reset: step; list-style: none; padding: 0; margin: 0 0 24px; }
.steps li {
  counter-increment: step;
  position: relative;
  padding: 0 0 0 44px;
  margin: 0 0 18px;
}
.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: -2px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--pergamino);
  color: var(--tinta);
  font-family: Fraunces, Georgia, serif;
  display: flex;
  align-items: center;
  justify-content: center;
}

.shots {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding: 4px 0 12px;
  scroll-snap-type: x mandatory;
}
.shots figure { margin: 0; flex: 0 0 62%; max-width: 240px; scroll-snap-align: center; }
.shots img { width: 100%; height: auto; display: block; }
.shots figcaption { font-size: 0.85rem; color: var(--tinta-suave); text-align: center; margin-top: 6px; }

ul.plain { list-style: none; padding: 0; margin: 0 0 12px; }
ul.plain li { padding: 0 0 0 22px; margin: 0 0 10px; position: relative; }
ul.plain li::before { content: "✦"; position: absolute; left: 0; color: var(--oro); }

form#waitlist { display: flex; flex-wrap: wrap; gap: 10px; margin: 16px 0 6px; }
form#waitlist input[type="email"] {
  flex: 1 1 220px;
  font: inherit;
  color: var(--tinta);
  background: var(--blanco);
  border: 1.5px solid var(--linea);
  border-radius: 14px;
  padding: 14px 16px;
}
form#waitlist input[type="email"]:focus { outline: 2px solid var(--terracota); outline-offset: 1px; }
form#waitlist button {
  font: inherit;
  font-weight: 600;
  background: var(--terracota);
  color: var(--blanco);
  border: 0;
  border-radius: 999px;
  padding: 14px 24px;
  cursor: pointer;
}
form#waitlist button:disabled { opacity: 0.5; cursor: default; }
.trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.visually-hidden { position: absolute; left: -9999px; }

details {
  border-bottom: 1px solid var(--linea);
  padding: 14px 0;
}
details summary {
  cursor: pointer;
  font-family: Figtree, sans-serif;
  font-weight: 600;
  list-style: none;
}
details summary::-webkit-details-marker { display: none; }
details summary::after { content: " +"; color: var(--oro); }
details[open] summary::after { content: " –"; }
details p { margin: 10px 0 0; color: var(--tinta-suave); }

@media (min-width: 620px) {
  .shots figure { flex: 1 1 0; max-width: none; }
}

/* ---- language switch + contact ---- */
header.site .brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--tinta); }
header.site .lang-switch {
  margin-left: auto;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--tinta-suave);
  border: 1px solid var(--linea);
  border-radius: 999px;
  padding: 6px 12px;
}
header.site .lang-switch:hover { color: var(--terracota); border-color: var(--terracota); }

form.contact { display: grid; gap: 12px; margin: 18px 0 8px; }
form.contact input, form.contact textarea {
  font: inherit;
  color: var(--tinta);
  background: var(--blanco);
  border: 1.5px solid var(--linea);
  border-radius: 14px;
  padding: 14px 16px;
  width: 100%;
}
form.contact textarea { min-height: 140px; resize: vertical; }
form.contact input:focus, form.contact textarea:focus { outline: 2px solid var(--terracota); outline-offset: 1px; }
form.contact button {
  font: inherit;
  font-weight: 600;
  background: var(--terracota);
  color: var(--blanco);
  border: 0;
  border-radius: 999px;
  padding: 14px 24px;
  cursor: pointer;
  justify-self: start;
}
form.contact button:disabled { opacity: 0.5; cursor: default; }
