/* Norel Vista — coming soon. Sky gradient, a horizon line, serif headings. Written by hand. */

:root {
  --bg: #f7fafe;
  --card: #ffffff;
  --ink: #14202e;
  --muted: #5f7186;
  --line: #dbe4ef;
  --steel: #2b5f8f;
  --steel-deep: #1e4670;
  --sun: #f2b34b;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
  --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.64;
  -webkit-font-smoothing: antialiased;
}

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

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

/* sky */
.sky {
  position: relative;
  background: linear-gradient(180deg, #dfeafb 0%, #eef4fd 55%, var(--bg) 100%);
  padding: 22px 0 clamp(40px, 7vw, 72px);
  overflow: hidden;
}
.sky::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 1px; background: var(--line);
}
.sun {
  position: absolute; top: clamp(64px, 12vw, 120px); right: 12%;
  width: clamp(80px, 14vw, 140px); aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, rgba(242, 179, 75, .95), rgba(242, 179, 75, .12) 70%);
  filter: blur(1px);
  opacity: .8;
  pointer-events: none;
}
.sky .wrap { position: relative; z-index: 1; }

.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: baseline; gap: 9px;
  color: var(--ink);
  font-family: var(--serif); font-size: 1.16rem; letter-spacing: -.01em;
}
.brand:hover { text-decoration: none; }
.brand i { font-style: normal; color: var(--steel); }
.nav nav { display: flex; gap: 22px; }
.nav nav a { color: var(--muted); font-size: .86rem; }
.nav nav a:hover, .nav nav a.active { color: var(--steel-deep); }

.kicker {
  display: block; margin: 0 0 18px;
  color: var(--steel);
  font-size: .7rem; font-weight: 750; letter-spacing: .22em; text-transform: uppercase;
}
h1 {
  margin: 0 0 18px;
  max-width: 26ch;
  font-family: var(--serif);
  font-size: clamp(2.1rem, 5.6vw, 3.3rem);
  line-height: 1.1; letter-spacing: -.015em; font-weight: 400;
}
h1 em { font-style: italic; color: var(--steel); }
.lede { margin: 0; max-width: 58ch; color: #3d4d5e; }

/* content */
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 16px 36px rgba(20, 32, 46, .06);
  padding: clamp(22px, 3.6vw, 32px);
}
.card h2 {
  margin: 0 0 4px;
  font-family: var(--serif); font-size: 1.2rem; font-weight: 400; letter-spacing: -.01em;
}
.card .hint { margin: 0 0 20px; color: var(--muted); font-size: .89rem; }

.field { margin-bottom: 15px; }
.field label {
  display: block; margin-bottom: 6px;
  font-size: .7rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--muted);
}
.field input, .field textarea {
  width: 100%;
  padding: 12px 14px;
  font: inherit; font-size: .96rem;
  color: var(--ink);
  background: #fbfcfe;
  border: 1px solid var(--line);
  border-radius: 8px;
  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(--steel);
  box-shadow: 0 0 0 4px #e6eefa;
}
.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: 700;
  color: #fff; background: var(--steel);
  border: 0; border-radius: 8px;
  cursor: pointer;
  transition: background .18s, transform .18s;
}
.btn:hover { background: var(--steel-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: #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: 640; 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(--steel-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 16px 36px rgba(20, 32, 46, .06);
  padding: clamp(24px, 4.2vw, 42px);
}
.doc h1 { margin: 14px 0 10px; font-size: clamp(1.9rem, 4.6vw, 2.5rem); }
.stamp {
  display: block; margin: 0 0 26px;
  color: var(--muted);
  font-size: .7rem; letter-spacing: .18em; text-transform: uppercase;
}
.doc h2 {
  margin: 28px 0 8px;
  font-family: var(--serif); font-size: 1.14rem; font-weight: 400; letter-spacing: 0;
  text-transform: none; color: var(--ink);
}
.doc h2:first-of-type { margin-top: 0; }
.doc p, .doc li { color: #3d4d5e; }
.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: #e6eefa; color: var(--steel-deep); box-shadow: none; }
.soft:hover { background: #d7e4f7; box-shadow: none; }

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