/* Fonduet — coming soon. Dusty rose, a stack of pill rows, one big rounded panel. Written by hand. */

:root {
  --bg: #faf5f6;
  --card: #ffffff;
  --ink: #2a1f24;
  --muted: #7d6b72;
  --line: #ecdfe2;
  --rose: #a34b6b;
  --rose-deep: #83395a;
  --rose-soft: #f7e7ec;
  --radius: 26px;
}

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

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

body {
  margin: 0;
  background:
    radial-gradient(700px 320px at 90% -6%, rgba(163, 75, 107, .10), transparent 70%),
    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(--rose-deep); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--rose); outline-offset: 2px; border-radius: 8px; }

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

/* header */
.top {
  display: flex; align-items: center; justify-content: space-between;
  gap: 18px; flex-wrap: wrap;
  padding: 22px 0 clamp(24px, 4vw, 40px);
}
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--ink); font-weight: 790; letter-spacing: -.01em;
}
.brand:hover { text-decoration: none; }
.brand b {
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--rose); color: #fff;
  display: grid; place-items: center;
  font-size: .72rem; 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(--rose-deep); }

/* hero */
.hero { max-width: 40rem; margin-bottom: clamp(24px, 4vw, 38px); }
.chip {
  display: inline-block; margin: 0 0 18px;
  padding: 5px 14px; border-radius: 999px;
  background: var(--rose-soft); color: var(--rose-deep);
  font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
}
h1 {
  margin: 0 0 18px;
  font-size: clamp(2rem, 5.4vw, 3.2rem);
  line-height: 1.05; letter-spacing: -.042em; font-weight: 800;
}
h1 span { color: var(--rose); }
.lede { margin: 0 0 12px; color: #473a40; }
.lede.quiet { color: var(--muted); }

/* pill rows */
.pills { display: grid; gap: 10px; margin: 0 0 clamp(26px, 4vw, 38px); }
.pill {
  display: flex; align-items: center; justify-content: space-between;
  gap: 18px;
  padding: 15px 24px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 999px;
}
.pill dt {
  flex: none;
  color: var(--muted);
  font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
}
.pill dd { margin: 0; font-weight: 660; font-size: .95rem; text-align: right; word-break: break-word; }

/* the panel */
.panel {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 22px 50px rgba(42, 31, 36, .08);
  padding: clamp(24px, 4vw, 40px);
}
.panel h2 { margin: 0 0 4px; font-size: 1.1rem; font-weight: 780; letter-spacing: -.02em; }
.panel .hint { margin: 0 0 22px; color: var(--muted); font-size: .9rem; }

.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }

.field { margin-bottom: 16px; }
.field.full { grid-column: 1 / -1; }
.field label {
  display: block; margin-bottom: 6px;
  color: var(--muted);
  font-size: .7rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
}
.field input, .field textarea {
  width: 100%;
  padding: 13px 16px;
  font: inherit; font-size: .96rem;
  color: var(--ink);
  background: #fdfbfb;
  border: 1px solid var(--line);
  border-radius: 14px;
  transition: border-color .18s, box-shadow .18s, background .18s;
}
.field textarea { resize: vertical; min-height: 108px; }
.field input:focus, .field textarea:focus {
  outline: none; background: #fff;
  border-color: var(--rose);
  box-shadow: 0 0 0 4px var(--rose-soft);
}
.field .invalid { border-color: #a33; background: #fdf1f1; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 50px; padding: 0 30px;
  font: inherit; font-size: .94rem; font-weight: 750;
  color: #fff; background: var(--rose);
  border: 0; border-radius: 999px;
  cursor: pointer;
  box-shadow: 0 12px 24px rgba(163, 75, 107, .24);
  transition: transform .18s, background .18s;
}
.btn:hover { background: var(--rose-deep); 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: #a33; font-weight: 600; }

/* footer */
.base {
  margin-top: clamp(28px, 4vw, 44px);
  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(--rose-deep); }
.base p { margin: 0; }

/* legal */
.doc { max-width: 800px; margin: 0 auto; padding: 0 clamp(20px, 4vw, 36px) 40px; }
.doc .sheet {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 22px 50px rgba(42, 31, 36, .07);
  padding: clamp(24px, 4.2vw, 42px);
}
.doc h1 { margin: 16px 0 10px; font-size: clamp(1.8rem, 4.4vw, 2.4rem); }
.stamp {
  display: inline-block; margin: 0 0 26px;
  padding: 4px 12px; border-radius: 999px;
  background: var(--rose-soft); color: var(--rose-deep); font-size: .76rem;
}
.doc h2 {
  margin: 28px 0 8px;
  font-size: 1.03rem; font-weight: 780; letter-spacing: -.015em;
  text-transform: none; color: var(--ink);
}
.doc h2:first-of-type { margin-top: 0; }
.doc p, .doc li { color: #473a40; }
.doc ul { padding-left: 20px; }
.doc li { margin-bottom: .5em; }
.doc-actions {
  margin-top: 34px; padding-top: 18px;
  border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; gap: 12px; align-items: center;
}
.soft { background: var(--rose-soft); color: var(--rose-deep); box-shadow: none; }
.soft:hover { background: #f2dbe3; box-shadow: none; }

@media (max-width: 620px) {
  .grid2 { grid-template-columns: 1fr; }
  .pill { flex-direction: column; align-items: flex-start; gap: 3px; border-radius: 18px; }
  .pill dd { text-align: left; }
  .base { flex-direction: column; }
}
