/* Fondbite — coming soon. Warm light, a tall colour block beside the text. Written by hand. */

:root {
  --bg: #fbf6f0;
  --card: #ffffff;
  --ink: #241a14;
  --muted: #7d6a5d;
  --line: #ece0d4;
  --warm-1: #c1552f;
  --warm-2: #e0a15c;
  --radius: 20px;
}

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

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.64;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--warm-1); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--warm-1); outline-offset: 2px; border-radius: 8px; }

.wrap { max-width: 1000px; margin: 0 auto; padding: 0 clamp(20px, 4vw, 40px); }

/* header */
.top {
  display: flex; align-items: center; justify-content: space-between;
  gap: 18px; flex-wrap: wrap;
  padding: 22px 0 clamp(24px, 4vw, 42px);
}
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--ink); font-weight: 790; letter-spacing: -.02em;
}
.brand:hover { text-decoration: none; }
.brand b {
  width: 32px; height: 32px; border-radius: 50% 50% 6px 50%;
  background: linear-gradient(140deg, var(--warm-1), var(--warm-2));
  display: grid; place-items: center;
  color: #fff; font-size: .74rem; font-weight: 800;
}
.top nav { display: flex; gap: 22px; }
.top nav a { color: var(--muted); font-size: .86rem; }
.top nav a:hover, .top nav a.active { color: var(--warm-1); }

/* main split: a tall block beside the copy */
.split {
  display: grid;
  grid-template-columns: minmax(220px, 34%) 1fr;
  gap: clamp(24px, 4vw, 52px);
  align-items: start;
  padding-bottom: clamp(30px, 5vw, 50px);
}
.slab {
  border-radius: 130px 130px var(--radius) var(--radius);
  background:
    radial-gradient(120% 60% at 50% 0%, rgba(255, 255, 255, .34), transparent 60%),
    linear-gradient(165deg, var(--warm-1), var(--warm-2));
  min-height: clamp(300px, 40vw, 460px);
  display: flex; align-items: flex-end;
  padding: 26px;
  color: #fff;
}
.slab p {
  margin: 0;
  font-size: .92rem;
  letter-spacing: .04em;
  color: rgba(255, 255, 255, .9);
}

.chip {
  display: inline-block; margin: 0 0 18px;
  padding: 5px 13px; border-radius: 999px;
  background: #f7e6d9; color: #a8431f;
  font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
}
h1 {
  margin: 0 0 18px;
  font-size: clamp(2rem, 5.2vw, 3.2rem);
  line-height: 1.05; letter-spacing: -.042em; font-weight: 800;
}
h1 span { color: var(--warm-1); }
.lede { margin: 0 0 14px; color: #43352c; }
.lede.quiet { color: var(--muted); }

/* menu-like rows */
.menu { margin: clamp(22px, 3.4vw, 32px) 0 0; }
.menu > div {
  display: flex; align-items: baseline; gap: 12px;
  padding: 12px 0;
  border-bottom: 1px dotted var(--line);
}
.menu dt { flex: none; color: var(--muted); font-size: .88rem; }
.menu .leader { flex: 1; border-bottom: 1px dotted #e0d2c4; transform: translateY(-4px); }
.menu dd { margin: 0; font-weight: 680; font-size: .93rem; text-align: right; }

/* form card */
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 16px 40px rgba(36, 26, 20, .07);
  padding: clamp(22px, 3.6vw, 34px);
}
.card h2 { margin: 0 0 4px; font-size: 1.08rem; font-weight: 770; letter-spacing: -.02em; }
.card .hint { margin: 0 0 22px; color: var(--muted); font-size: .9rem; }

.field { margin-bottom: 15px; }
.field label {
  display: block; margin-bottom: 6px;
  font-size: .79rem; font-weight: 620; color: #4a382d;
}
.field input, .field textarea {
  width: 100%;
  padding: 12px 15px;
  font: inherit; font-size: .96rem;
  color: var(--ink);
  background: #fdfaf7;
  border: 1px solid var(--line);
  border-radius: 12px;
  transition: border-color .18s, box-shadow .18s, background .18s;
}
.field textarea { resize: vertical; min-height: 112px; }
.field input:focus, .field textarea:focus {
  outline: none; background: #fff;
  border-color: var(--warm-1);
  box-shadow: 0 0 0 4px #f7e6d9;
}
.field .invalid { border-color: #b23a2f; background: #fff6f4; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 100%; min-height: 50px; padding: 0 24px;
  font: inherit; font-size: .95rem; font-weight: 750;
  color: #fff; background: var(--warm-1);
  border: 0; border-radius: 12px;
  cursor: pointer;
  box-shadow: 0 10px 22px rgba(193, 85, 47, .24);
  transition: transform .18s, background .18s;
}
.btn:hover { background: #a8431f; transform: translateY(-1px); }
.btn:disabled { opacity: .6; cursor: default; transform: none; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.status { margin: 12px 0 0; min-height: 1.2em; font-size: .88rem; }
.status.ok { color: #1f7a4d; font-weight: 600; }
.status.err { color: #b23a2f; font-weight: 600; }

/* footer */
.base {
  margin-top: clamp(28px, 4vw, 46px);
  padding: 22px 0 40px;
  border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  color: var(--muted); font-size: .83rem;
}
.base nav { display: flex; gap: 20px; }
.base a { color: var(--muted); }
.base a:hover { color: var(--warm-1); }
.base p { margin: 0; }

/* legal */
.doc { max-width: 800px; margin: 0 auto; padding: 0 clamp(20px, 4vw, 40px); }
.doc .sheet {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 16px 40px rgba(36, 26, 20, .06);
  padding: clamp(26px, 4.4vw, 44px);
}
.doc h1 { margin: 14px 0 12px; font-size: clamp(1.9rem, 4.8vw, 2.55rem); }
.stamp {
  display: inline-block; margin: 0 0 28px;
  padding: 5px 13px; border-radius: 999px;
  background: #f7e6d9; color: #a8431f; font-size: .78rem;
}
.doc h2 {
  margin: 30px 0 10px;
  font-size: 1.05rem; font-weight: 770; letter-spacing: -.015em;
  text-transform: none; color: var(--ink);
}
.doc h2:first-of-type { margin-top: 0; }
.doc p, .doc li { color: #43352c; }
.doc ul { padding-left: 20px; }
.doc li { margin-bottom: .5em; }
.doc-actions {
  margin-top: 38px; padding-top: 20px;
  border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; gap: 12px;
}
.doc-actions .btn { width: auto; min-width: 165px; }
.soft { background: #f7e6d9; color: #a8431f; box-shadow: none; }
.soft:hover { background: #f2dbca; box-shadow: none; }

@media (max-width: 820px) {
  .split { grid-template-columns: 1fr; }
  .slab { min-height: 190px; border-radius: 90px 90px var(--radius) var(--radius); }
}
@media (max-width: 540px) {
  .menu > div { flex-wrap: wrap; gap: 4px; }
  .menu .leader { display: none; }
  .menu dd { text-align: left; width: 100%; }
  .base { flex-direction: column; }
}
