/* MyOzer landing — palette sampled verbatim from RecipAI
   (cookingapp/mobile/src/constants/theme.ts, Colors.light).
   Plum is the invariant MyOzer brand color: RecipAI's primary AND
   Studio Assistant's --brand-dot (fixed plum across every skin).
   Structural design borrowed from private-assistant/site/index.html
   (dark hero band, invite-only positioning) — adapted for TWO products.
   Do not "round" these hex values. Light mode only. */

:root {
  --brand-plum: #744577;
  --brand-plum-deep: #4A2B4E;
  --brand-plum-light: #B07EB6;
  --brand-plum-tint: #EFE4F0;

  --page: #F6F4EE;          /* warm bone — page + product cards */
  --surface: #EDE9DE;       /* dimmer bone — products section band */
  --card: #FBFAF6;          /* off-white — raised card interior */
  --ink: #16231C;
  --muted: #8B8575;
  --line: #DDD8CA;
  --on-primary: #FBFAF6;

  /* Dark hero band — the "committed dark" ground behind the hero + invite. */
  --hero-bg-1: #1D1424;
  --hero-bg-2: #120C17;
  --hero-glow: #3A1F42;
  --hero-text: #F1EAF3;
  --hero-muted: #B7A9C0;
  --hero-plum: #C79ECC;
  --hero-line: #3A2A44;

  --radius: 16px;
  --radius-sm: 10px;
  --maxw: 1160px;

  --font-serif: ui-serif, Georgia, "Times New Roman", "Frank Ruhl Libre", serif;
  --font-sans: system-ui, -apple-system, "Segoe UI", "Heebo", "Assistant", "Arial Hebrew", Arial, sans-serif;
  --font-wordmark: "Sora", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html, body {
  margin: 0; padding: 0;
  background: var(--page);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 2.5px solid var(--brand-plum); outline-offset: 3px; border-radius: 6px; }
img, svg { max-width: 100%; display: block; }

.wrap { max-width: var(--maxw); margin-inline: auto; padding-inline: clamp(20px, 5vw, 44px); }

/* --- Language toggle visibility --- */
[data-lang="he"] [data-lang-en],
[data-lang="en"] [data-lang-he] { display: none; }

/* --- Wordmark (matches the app's own markup) --- */
.wordmark {
  font-family: var(--font-wordmark);
  display: inline-flex;
  align-items: baseline;
  line-height: 1;
  letter-spacing: .02em;
  color: var(--ink);
  direction: ltr;
  user-select: none;
  font-size: 28px;
  font-weight: 400;
}
.wordmark .wm-my { font-weight: 300; }
.wordmark .wm-ozer { font-weight: 500; }
.wordmark .wm-dot {
  width: .24em; height: .24em;
  border-radius: 50%;
  background: var(--brand-plum);
  align-self: flex-end;
  margin-inline-start: .1em;
  margin-bottom: .03em;
  flex: 0 0 auto;
}
.wordmark.small { font-size: 18px; }

/* --- Sticky nav --- */
.nav {
  position: sticky; top: 0; z-index: 20;
  background: color-mix(in srgb, var(--page) 86%, transparent);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav .wrap {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.controls { display: flex; align-items: center; gap: 10px; }
.nav-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  padding: 6px 10px;
  border-radius: 8px;
}
.nav-link:hover { color: var(--brand-plum); }
.ctrl {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--ink);
  border-radius: var(--radius-sm);
  padding: 7px 11px;
  font: inherit;
  font-size: 13px;
  cursor: pointer;
  min-width: 42px;
  min-height: 36px;
  line-height: 1;
}
.ctrl:hover { border-color: var(--brand-plum); color: var(--brand-plum); }
@media (max-width: 640px) {
  .nav-link { display: none; }
}

/* --- Eyebrow --- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .7em;
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--brand-plum);
  direction: ltr;
}
[dir="rtl"] .eyebrow { direction: rtl; }
.eyebrow::before {
  content: "";
  width: 26px; height: 1.5px;
  background: var(--brand-plum);
  opacity: .8;
}

/* --- Hero --- */
.hero {
  position: relative;
  color: var(--hero-text);
  overflow: hidden;
  background:
    radial-gradient(120% 120% at 85% 0%, var(--hero-glow) 0%, var(--hero-bg-1) 42%, var(--hero-bg-2) 100%);
}
/* Soft plum halo tuned to the mark-stack area — pulls the eye without a hard shape. */
.hero::before {
  content: "";
  position: absolute; inset: 0;
  pointer-events: none;
  background: radial-gradient(38% 46% at 22% 62%, rgba(199, 158, 204, .28), transparent 70%);
}
/* Longer, smoother fade to the bone page below — replaces the earlier hard 7% band. */
.hero::after {
  content: "";
  position: absolute; inset: 0;
  pointer-events: none;
  background: linear-gradient(to bottom,
    transparent 78%,
    color-mix(in srgb, var(--page) 40%, transparent) 92%,
    var(--page) 100%);
}
/* Ambient plum-dust grid, kept quiet by the mask. Decorative — aria-hidden. */
.hero-grid {
  position: absolute; inset: 0;
  pointer-events: none;
  opacity: .06;
  background-image:
    linear-gradient(rgba(199, 158, 204, .5) 1px, transparent 1px),
    linear-gradient(90deg, rgba(199, 158, 204, .5) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(60% 80% at 30% 60%, black, transparent 75%);
  mask-image: radial-gradient(60% 80% at 30% 60%, black, transparent 75%);
}
.hero .wrap {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 48px;
  align-items: center;
  padding-block: clamp(64px, 10vw, 116px) clamp(36px, 6vw, 80px);
}
.hero .eyebrow { color: var(--hero-plum); }
.hero .eyebrow::before { background: var(--hero-plum); }
/* The hero eyebrow sits directly under the logo tile, so it reads as a caption for it --
   give it a rule at BOTH ends rather than the single leading one the section eyebrows use. */
.hero .eyebrow::after {
  content: "";
  width: 26px; height: 1.5px;
  background: var(--hero-plum);
  opacity: .8;
}
.hero h1 {
  margin: .5em 0 0;
  font-family: var(--font-serif);
  font-weight: 300;
  letter-spacing: -.02em;
  text-wrap: balance;
  font-size: clamp(2.4rem, 6.2vw, 4.2rem);
  line-height: 1.06;
  color: var(--hero-text);
}
.hero h1 b {
  display: block;
  font-weight: 600;
  color: #FFFFFF;
}
.hero .sub {
  margin: 1.3em 0 0;
  max-width: 36ch;
  color: var(--hero-muted);
  font-size: clamp(1.05rem, 2.1vw, 1.24rem);
  line-height: 1.55;
}
.hero .hero-cta {
  margin-top: 1.6em;
}
.hero .cta-note {
  margin-top: 1em;
  color: var(--hero-muted);
  font-size: .9rem;
}

/* Mail CTA — inline on the dark hero */
.btn-mail {
  display: inline-flex;
  align-items: center;
  gap: .55em;
  padding: 12px 22px;
  border-radius: 999px;
  background: var(--hero-plum);
  color: var(--hero-bg-1);
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: .01em;
  direction: ltr;
  transition: background .15s ease, transform .06s ease;
}
.btn-mail:hover { background: #DFC0E3; }
.btn-mail:active { transform: translateY(1px); }
.btn-mail::before {
  content: "✉";
  font-size: 1.1em;
  line-height: 1;
}

/* --- Hero mark-stack — empty plum square + MyOzer white tile,
       positioned so the plum square peeks out behind + right + down. --- */
.mark-stack {
  position: relative;
  justify-self: center;
  width: 100%;
  max-width: 340px;
  aspect-ratio: 1 / 1;
  direction: ltr; /* Composition is visual — lock so RTL doesn't flip positions. */
}
.mark-tile {
  position: absolute;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 24px 50px rgba(0, 0, 0, .35);
}
/* Spacing measured off the design bundle: both tiles ~83% of the container,
   plum flush top-left, white flush bottom-right → ~17% offset each axis,
   ~66% overlap. */
.mark-tile.mark-recipai {
  z-index: 1;
  width: 83%; aspect-ratio: 1 / 1;
  top: 0;
  left: 0;
  background: linear-gradient(135deg, var(--brand-plum-light), var(--brand-plum) 55%, var(--brand-plum-deep));
  border-radius: 0;
  animation: float 8s ease-in-out infinite;
}
.mark-tile.mark-myapp {
  z-index: 2;
  width: 83%; aspect-ratio: 1 / 1;
  bottom: 0;
  right: 0;
  background: #FFFFFF;
  border: 1px solid #DDD8CA;
  border-radius: 0;
  padding: 0;
  overflow: hidden;
  animation: float 9s ease-in-out infinite reverse;
}
.mark-tile.mark-myapp img { width: 100%; height: 100%; object-fit: cover; display: block; }

@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 40px; }
  .mark-stack { order: -1; max-width: 260px; margin-inline: auto; }
  /* Stacked layout: the eyebrow is now a caption sitting under the logo, so centre it on the
     same axis. inline-flex would hug its text at the start edge -- make it a full-width flex
     row and centre the contents, so the two rules sit symmetrically around the words. */
  .hero .eyebrow { display: flex; justify-content: center; text-align: center; }
}

/* --- Generic section --- */
section { padding-block: clamp(56px, 9vw, 100px); }
/* The band under the hero read as dead space: the hero's fade, its bottom padding and this
   section's top padding all stacked. The hero already separates itself visually, so the
   first section after it starts closer. */
.who { padding-block-start: clamp(32px, 5vw, 56px); }
/* Phones showed it worst -- the hero is nearly a full screen tall there, so the fade and the
   two paddings added up to a blank third of a scroll. */
@media (max-width: 640px) {
  .hero .wrap { padding-block-end: 24px; gap: 32px; }
  .who { padding-block-start: 26px; }
}
.sec-head { max-width: 62ch; }
.sec-head h2 {
  margin: .45em 0 0;
  font-family: var(--font-serif);
  font-weight: 500;
  letter-spacing: -.015em;
  text-wrap: balance;
  font-size: clamp(1.75rem, 3.6vw, 2.4rem);
  line-height: 1.14;
}
.sec-head p {
  margin: .8em 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.14rem);
  max-width: 54ch;
}

/* --- WHO --- */
.who .wrap { display: grid; gap: 28px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--ink);
  padding: .5em 1em .5em .8em;
  border-radius: 999px;
  font-size: .95rem;
  font-weight: 600;
}
.chip svg { width: 18px; height: 18px; color: var(--brand-plum); flex-shrink: 0; }
.chip.muted { color: var(--muted); font-weight: 500; }
.chip.muted svg { color: var(--muted); }

/* --- Products --- */
.products {
  background: var(--surface);
  border-block: 1px solid var(--line);
}
.product-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 40px;
}
@media (min-width: 900px) {
  .product-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
}
.product {
  background: var(--page);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 28px 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  overflow: hidden;
}
.product::before {
  content: "";
  position: absolute;
  inset-inline-start: 0; inset-block-start: 0;
  width: 100%; height: 3px;
  background: var(--brand-plum);
  opacity: .85;
}

.product-head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 4px;
}
.product-mark {
  width: 56px; height: 56px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.mark-recipai-inline {
  background: var(--brand-plum);
  color: var(--on-primary);
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 28px;
  letter-spacing: -.02em;
  gap: 2px;
}
.mark-recipai-inline .star {
  font-size: 14px;
  transform: translateY(-8px);
  color: var(--brand-plum-light);
}
.mark-myapp-inline {
  background: #FFFFFF;
  border: 1px solid #DDD8CA;
  border-radius: 0;
  padding: 0;
  overflow: hidden;
}
.mark-myapp-inline img { width: 100%; height: 100%; object-fit: cover; display: block; }


.product-kicker {
  display: block;
  font-size: .78rem;
  font-weight: 700;
  color: var(--brand-plum);
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 2px;
}
.product h3 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 1.6rem;
  margin: 0;
  color: var(--ink);
  letter-spacing: -.01em;
}
.product h3 .tld {
  color: var(--muted);
  font-weight: 400;
  font-size: .82em;
  margin-inline-start: 1px;
}
.product-tag {
  color: var(--muted);
  font-size: 15px;
  margin: 0 0 4px;
}

.bullets {
  list-style: none;
  padding: 0;
  margin: 6px 0 12px;
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-size: 15.5px;
}
.bullets li {
  padding-inline-start: 22px;
  position: relative;
  line-height: 1.5;
}
.bullets li::before {
  content: "";
  position: absolute;
  inset-inline-start: 4px;
  top: 0.6em;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--brand-plum);
  opacity: .8;
}

/* --- Product preview blocks --- */
.preview {
  margin: 4px -28px 0;
  padding: 22px 28px;
  background: linear-gradient(180deg, transparent, rgba(116, 69, 119, .06));
  border-top: 1px dashed var(--line);
  display: flex;
  justify-content: center;
  direction: ltr; /* preview compositions are visual — lock so RTL doesn't flip them */
}
[dir="rtl"] .preview .prev-my,
[dir="rtl"] .preview .prev-recipe,
[dir="rtl"] .preview .prev-step,
[dir="rtl"] .preview .rmeta,
[dir="rtl"] .preview .rsub { direction: rtl; }
.preview-frame {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px;
  width: 100%;
  max-width: 320px;
  box-shadow: 0 12px 30px -18px rgba(74, 43, 78, .35);
}
.prev-toolbar { display: flex; gap: 4px; margin-bottom: 10px; }
.prev-toolbar span {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--line);
}
.prev-toolbar span:first-child {
  background: color-mix(in srgb, var(--brand-plum) 40%, var(--line));
}

/* MyOzer.app preview — task rows */
.prev-my { display: grid; gap: 8px; }
.prev-my .row {
  display: grid;
  grid-template-columns: 18px 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 8px 10px;
  background: color-mix(in srgb, var(--brand-plum) 4%, var(--page));
  border: 1px solid color-mix(in srgb, var(--brand-plum) 12%, var(--line));
  border-radius: 8px;
}
.prev-my .row.done { opacity: .55; }
.prev-my .box {
  width: 14px; height: 14px; border-radius: 4px;
  border: 1.5px solid var(--brand-plum-light);
  background: transparent;
}
.prev-my .row.done .box {
  background: var(--brand-plum);
  border-color: var(--brand-plum);
  display: flex; align-items: center; justify-content: center;
  color: var(--card); font-size: 10px;
}
.prev-my .label {
  font-size: 12px;
  color: var(--ink);
  font-weight: 500;
}
.prev-my .row.done .label { text-decoration: line-through; }
.prev-my .tag {
  font-size: 10px;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 2px 7px;
  border-radius: 999px;
  background: var(--brand-plum-tint);
  color: var(--brand-plum-deep);
  font-weight: 700;
}

/* RecipAI preview — recipe strip + step */
.prev-recipe {
  display: flex;
  gap: 10px;
  background: color-mix(in srgb, var(--brand-plum) 4%, var(--page));
  border: 1px solid color-mix(in srgb, var(--brand-plum) 12%, var(--line));
  border-radius: 8px;
  padding: 10px;
  margin-bottom: 8px;
}
.prev-recipe .thumb {
  width: 56px; height: 56px; border-radius: 6px;
  background:
    radial-gradient(circle at 35% 30%, #C79ECC 0 20%, transparent 22%),
    linear-gradient(135deg, var(--brand-plum-light), var(--brand-plum) 70%, var(--brand-plum-deep));
  flex-shrink: 0;
}
.prev-recipe .rmeta { display: grid; gap: 4px; min-width: 0; }
.prev-recipe .rtitle {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 13px;
  color: var(--ink);
}
.prev-recipe .rsub {
  font-size: 11px;
  color: var(--muted);
  display: flex;
  gap: 6px;
}
.prev-recipe .rsub b {
  color: var(--brand-plum-deep);
  font-weight: 700;
}
.prev-step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  align-items: center;
  padding: 8px 10px;
  background: var(--brand-plum-tint);
  border-radius: 8px;
}
.prev-step .num {
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--brand-plum);
  color: var(--card);
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 700;
}
.prev-step .txt {
  font-size: 11.5px;
  color: var(--brand-plum-deep);
  font-weight: 500;
}

/* --- Security section --- */
.security { background: var(--page); }
.pillars {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 40px;
}
@media (min-width: 900px) {
  .pillars { grid-template-columns: repeat(4, 1fr); gap: 24px; }
}
@media (max-width: 560px) {
  .pillars { grid-template-columns: 1fr; }
}
.pillar {
  position: relative;
  overflow: hidden;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 22px 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
/* Distinct plum-family stripe per pillar so four things read as four, not one repeated. */
.pillar::before {
  content: "";
  position: absolute;
  inset-inline-start: 0; inset-block-start: 0;
  width: 100%; height: 4px;
  background: var(--pillar-stripe, var(--brand-plum));
}
.pillar.p1 { --pillar-stripe: var(--brand-plum-deep);  --pillar-tint: color-mix(in srgb, var(--brand-plum-deep) 14%, var(--card)); }
.pillar.p2 { --pillar-stripe: var(--brand-plum);       --pillar-tint: color-mix(in srgb, var(--brand-plum) 14%, var(--card)); }
.pillar.p3 { --pillar-stripe: var(--brand-plum-light); --pillar-tint: color-mix(in srgb, var(--brand-plum-light) 22%, var(--card)); }
/* p4: brass hint — echoes the studio-assistant brass skin without leaving the family. */
.pillar.p4 { --pillar-stripe: #96702F;                 --pillar-tint: #F1E4CB; }

.pillar-icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: var(--pillar-tint, var(--brand-plum-tint));
  color: var(--pillar-stripe, var(--brand-plum-deep));
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 4px;
}
.pillar-icon svg { width: 22px; height: 22px; }
.pillar h3 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 1.18rem;
  margin: 0;
  color: var(--ink);
  letter-spacing: -.005em;
}
.pillar p {
  margin: 0;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.5;
}

/* --- Invite / access --- */
.invite .wrap {
  background:
    radial-gradient(120% 140% at 90% 10%, var(--hero-glow), var(--hero-bg-1) 55%, var(--hero-bg-2));
  color: var(--hero-text);
  border-radius: 22px;
  padding: clamp(36px, 6vw, 64px);
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 32px;
  align-items: center;
}
.invite .eyebrow { color: var(--hero-plum); }
.invite .eyebrow::before { background: var(--hero-plum); }
.invite h2 {
  margin: .35em 0 0;
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(1.65rem, 3.6vw, 2.35rem);
  line-height: 1.12;
  color: #FFFFFF;
  text-wrap: balance;
}
.invite p {
  color: var(--hero-muted);
  margin: .8em 0 0;
  max-width: 44ch;
  font-size: clamp(1rem, 1.8vw, 1.08rem);
}
.how {
  background: rgba(255, 255, 255, .04);
  border: 1px solid var(--hero-line);
  border-radius: 14px;
  padding: 24px 22px;
  display: grid;
  gap: 14px;
  justify-items: start;
}
.btn-mail-dark {
  display: inline-flex;
  align-items: center;
  gap: .55em;
  padding: 12px 22px;
  border-radius: 999px;
  background: var(--hero-plum);
  color: var(--hero-bg-1);
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: .01em;
  direction: ltr;
  transition: background .15s ease, transform .06s ease;
}
.btn-mail-dark:hover { background: #DFC0E3; }
.btn-mail-dark:active { transform: translateY(1px); }
.btn-mail-dark::before {
  content: "✉";
  font-size: 1.1em;
  line-height: 1;
}
.how-text {
  color: var(--hero-muted);
  font-size: 14px;
  line-height: 1.55;
  margin: 1em 0 0;
}

/* --- Contact form (inside .invite dark card) --- */
.contact-form {
  padding: 26px 22px;
  gap: 14px;
  justify-items: stretch;
}
.contact-form .field {
  display: grid;
  gap: 6px;
  font-size: 13px;
  color: var(--hero-muted);
  font-weight: 600;
  letter-spacing: .02em;
  text-align: start;
}
.contact-form input,
.contact-form textarea {
  font: inherit;
  font-size: 15px;
  color: var(--hero-text);
  background: rgba(255, 255, 255, .06);
  border: 1px solid var(--hero-line);
  border-radius: 10px;
  padding: 10px 12px;
  outline: none;
  transition: border-color .15s ease, background .15s ease;
  font-family: var(--font-sans);
  width: 100%;
}
.contact-form textarea {
  resize: vertical;
  min-height: 96px;
  line-height: 1.5;
}
.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--hero-plum);
  background: rgba(255, 255, 255, .09);
}
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: rgba(183, 169, 192, .55); }
.contact-form button[type="submit"] {
  border: 0;
  cursor: pointer;
  justify-self: start;
  margin-top: 2px;
}
.contact-form button[type="submit"]::before { content: "→"; font-size: 1.05em; }
.contact-form button[type="submit"]:disabled {
  opacity: .55;
  cursor: default;
}
.form-status {
  margin: 0;
  min-height: 1.2em;
  font-size: 14px;
  color: var(--hero-muted);
}
.form-status[data-state="ok"]     { color: #B6E4B6; }
.form-status[data-state="error"]  { color: #F0B4B4; }
.form-status[data-state="sending"] { color: var(--hero-plum); }
.cf-turnstile { min-height: 65px; }
/* Placeholder sitekey -> hide the whole form. Prevents a fresh deploy from
   surfacing a contact form that cannot actually send. */
.contact-form.unconfigured { display: none; }

@media (max-width: 820px) {
  .invite .wrap { grid-template-columns: 1fr; }
}

/* --- Footer --- */
.site-footer {
  border-top: 1px solid var(--line);
  padding-block: 30px;
  color: var(--muted);
  font-size: 13.5px;
}
.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 24px;
  align-items: center;
  justify-content: space-between;
}

/* --- Motion --- */
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.rise { opacity: 0; animation: rise .7s cubic-bezier(.2, .7, .2, 1) forwards; }
.d1 { animation-delay: .05s; }
.d2 { animation-delay: .16s; }
.d3 { animation-delay: .27s; }
.d4 { animation-delay: .38s; }
.d5 { animation-delay: .5s; }
@media (prefers-reduced-motion: reduce) {
  .rise { animation: none; opacity: 1; }
  .mark-tile { animation: none; }
}
