/* Wimber — coming soon. Mint band with a wave edge, then a white page. Written by hand. */

:root {
  --bg: #f4fbf9;
  --card: #ffffff;
  --ink: #0f2a26;
  --muted: #5d7c76;
  --line: #dbeee9;
  --mint: #17a589;
  --mint-deep: #0e7a63;
  --mint-soft: #dff5ee;
  --radius: 18px;
}

*, *::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(--mint-deep); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--mint); outline-offset: 2px; border-radius: 7px; }

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

/* wave band */
.band {
  position: relative;
  background: linear-gradient(150deg, var(--mint), var(--mint-deep));
  color: #eafaf5;
  padding: 22px 0 clamp(56px, 9vw, 96px);
}
.band .wrap { position: relative; z-index: 1; }
.band svg {
  position: absolute; left: 0; right: 0; bottom: -1px;
  width: 100%; height: clamp(40px, 7vw, 80px);
  display: block;
}

.nav {
  display: flex; align-items: center; justify-content: space-between;
  gap: 18px; flex-wrap: wrap;
  padding-bottom: clamp(30px, 5vw, 54px);
}
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  color: #eafaf5; font-weight: 800; letter-spacing: -.01em;
}
.brand:hover { text-decoration: none; }
.brand b {
  width: 30px; height: 30px; border-radius: 50%;
  background: #eafaf5; color: var(--mint-deep);
  display: grid; place-items: center;
  font-size: .72rem; font-weight: 800;
}
.nav nav { display: flex; gap: 22px; }
.nav nav a { color: rgba(234, 250, 245, .82); font-size: .86rem; }
.nav nav a:hover, .nav nav a.active { color: #fff; }

.band h1 {
  margin: 0 0 18px;
  max-width: 22ch;
  font-size: clamp(2.1rem, 5.6vw, 3.4rem);
  line-height: 1.05; letter-spacing: -.042em; font-weight: 800;
}
.band h1 span { color: #c8f7e6; }
.band .lede { margin: 0; max-width: 56ch; color: rgba(234, 250, 245, .86); }

/* page body */
main { padding: clamp(26px, 4vw, 42px) 0 clamp(30px, 5vw, 48px); }

.columns { display: grid; grid-template-columns: 1.1fr .9fr; gap: 18px; align-items: start; }
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 18px 40px rgba(15, 42, 38, .07);
  padding: clamp(22px, 3.6vw, 32px);
}
.card h2 { margin: 0 0 4px; font-size: 1.06rem; font-weight: 770; letter-spacing: -.02em; }
.card .hint { margin: 0 0 20px; color: var(--muted); font-size: .9rem; }

.field { margin-bottom: 15px; }
.field label {
  display: block; margin-bottom: 6px;
  font-size: .79rem; font-weight: 620; color: #22443d;
}
.field input, .field textarea {
  width: 100%;
  padding: 12px 14px;
  font: inherit; font-size: .96rem;
  color: var(--ink);
  background: #f8fdfc;
  border: 1px solid var(--line);
  border-radius: 11px;
  transition: border-color .18s, box-shadow .18s, background .18s;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field textarea:focus {
  outline: none; background: #fff;
  border-color: var(--mint);
  box-shadow: 0 0 0 4px var(--mint-soft);
}
.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(--mint-deep);
  border: 0; border-radius: 11px;
  cursor: pointer;
  box-shadow: 0 10px 22px rgba(14, 122, 99, .24);
  transition: transform .18s, background .18s;
}
.btn:hover { background: #0a6350; 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: #0e7a63; font-weight: 600; }
.status.err { color: #b23a2f; font-weight: 600; }

.facts { margin: 0; }
.facts > div {
  display: flex; justify-content: space-between; gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.facts > div:last-child { border-bottom: 0; padding-bottom: 0; }
.facts dt { color: var(--muted); font-size: .84rem; }
.facts dd { margin: 0; text-align: right; font-weight: 660; font-size: .92rem; word-break: break-word; }

/* footer */
.base {
  border-top: 1px solid var(--line);
}
.base .wrap {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding-top: 20px; padding-bottom: 38px;
  color: var(--muted); font-size: .83rem;
}
.base nav { display: flex; gap: 20px; }
.base a { color: var(--muted); }
.base a:hover { color: var(--mint-deep); }
.base p { margin: 0; }

/* legal */
.doc { max-width: 800px; margin: 0 auto; padding: 0 clamp(20px, 4vw, 40px) 44px; }
.doc .sheet {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 18px 40px rgba(15, 42, 38, .06);
  padding: clamp(24px, 4.2vw, 42px);
}
.doc h1 { margin: 16px 0 10px; font-size: clamp(1.9rem, 4.6vw, 2.5rem); }
.stamp {
  display: inline-block; margin: 0 0 26px;
  padding: 4px 12px; border-radius: 999px;
  background: var(--mint-soft); color: var(--mint-deep); font-size: .76rem;
}
.doc h2 {
  margin: 28px 0 8px;
  font-size: 1.03rem; 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: #22443d; }
.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(--mint-soft); color: var(--mint-deep); box-shadow: none; }
.soft:hover { background: #cdeee3; box-shadow: none; }

@media (max-width: 820px) {
  .columns { grid-template-columns: 1fr; }
}
@media (max-width: 540px) {
  .facts > div { flex-direction: column; gap: 2px; }
  .facts dd { text-align: left; }
  .base .wrap { flex-direction: column; }
}
