/* Raiset — coming soon. Warm grey, sticky form column, coral accents. Written by hand. */

:root {
  --bg: #f4f2f0;
  --card: #ffffff;
  --ink: #1c1a18;
  --muted: #6f6862;
  --line: #e6e1dc;
  --coral: #e2624a;
  --coral-deep: #c44a34;
  --coral-soft: #fdeeea;
  --radius: 14px;
}

*, *::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.65;
  -webkit-font-smoothing: antialiased;
}

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

.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, 40px);
}
.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: 30px; height: 30px; border-radius: 8px;
  background: var(--coral); 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(--coral-deep); }

/* layout */
.split {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: clamp(26px, 4vw, 54px);
  align-items: start;
  padding-bottom: clamp(30px, 5vw, 52px);
}

.chip {
  display: inline-block; margin: 0 0 20px;
  padding: 5px 13px; border-radius: 999px;
  background: var(--coral-soft); color: var(--coral-deep);
  font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
}
h1 {
  margin: 0 0 20px;
  font-size: clamp(2rem, 5.4vw, 3.3rem);
  line-height: 1.05; letter-spacing: -.042em; font-weight: 800;
}
h1 span { color: var(--coral); }
.copy p { margin: 0 0 14px; color: #3f3a35; }
.copy p.quiet { color: var(--muted); }

.expect { margin: clamp(22px, 3.4vw, 32px) 0 0; }
.expect h2 {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: .7rem; letter-spacing: .18em; text-transform: uppercase;
}
.expect ul { list-style: none; margin: 0; padding: 0; }
.expect li {
  position: relative;
  padding: 11px 0 11px 26px;
  border-top: 1px solid var(--line);
  color: #3f3a35; font-size: .95rem;
}
.expect li:last-child { border-bottom: 1px solid var(--line); }
.expect li::before {
  content: ""; position: absolute; left: 4px; top: 19px;
  width: 8px; height: 8px; border-radius: 2px;
  background: var(--coral);
  transform: rotate(45deg);
}

/* sticky panel */
.aside { position: sticky; top: 26px; display: grid; gap: 16px; }
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 14px 34px rgba(28, 26, 24, .07);
  padding: clamp(20px, 3.2vw, 28px);
}
.card h2 { margin: 0 0 4px; font-size: 1.04rem; font-weight: 760; letter-spacing: -.02em; }
.card .hint { margin: 0 0 20px; color: var(--muted); font-size: .89rem; }

.field { margin-bottom: 14px; }
.field label {
  display: block; margin-bottom: 5px;
  font-size: .78rem; font-weight: 620; color: #3a3531;
}
.field input, .field textarea {
  width: 100%;
  padding: 11px 13px;
  font: inherit; font-size: .95rem;
  color: var(--ink);
  background: #fbfaf9;
  border: 1px solid var(--line);
  border-radius: 10px;
  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(--coral);
  box-shadow: 0 0 0 4px var(--coral-soft);
}
.field .invalid { border-color: #b23a2f; background: #fdf4f2; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 100%; min-height: 48px; padding: 0 22px;
  font: inherit; font-size: .94rem; font-weight: 750;
  color: #fff; background: var(--coral);
  border: 0; border-radius: 10px;
  cursor: pointer;
  box-shadow: 0 10px 22px rgba(226, 98, 74, .24);
  transition: transform .18s, background .18s;
}
.btn:hover { background: var(--coral-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: .87rem; }
.status.ok { color: #1f7a4d; font-weight: 600; }
.status.err { color: #b23a2f; font-weight: 600; }

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

/* footer */
.base {
  border-top: 1px solid var(--line);
  padding: 22px 0 40px;
  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(--coral-deep); }
.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 14px 34px rgba(28, 26, 24, .06);
  padding: clamp(24px, 4.2vw, 42px);
}
.doc h1 { margin: 14px 0 12px; font-size: clamp(1.85rem, 4.5vw, 2.45rem); letter-spacing: -.035em; }
.stamp {
  display: inline-block; margin: 0 0 28px;
  padding: 5px 13px; border-radius: 999px;
  background: var(--coral-soft); color: var(--coral-deep); font-size: .78rem;
}
.doc h2 {
  margin: 30px 0 10px;
  font-size: 1.03rem; font-weight: 760; letter-spacing: -.015em;
  text-transform: none; color: var(--ink);
}
.doc h2:first-of-type { margin-top: 0; }
.doc p, .doc li { color: #3f3a35; }
.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: var(--coral-soft); color: var(--coral-deep); box-shadow: none; }
.soft:hover { background: #fbe1da; box-shadow: none; }

@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; }
  .aside { position: static; }
}
@media (max-width: 540px) {
  .tiny > div { flex-direction: column; gap: 2px; }
  .tiny dd { text-align: left; }
  .base { flex-direction: column; }
}
