/* Rocket Way — coming soon. Light, violet-blue, a vertical timeline. Written by hand. */

:root {
  --bg: #f5f7fc;
  --card: #ffffff;
  --ink: #131a33;
  --muted: #616a86;
  --line: #e3e7f3;
  --violet: #5b53ff;
  --violet-deep: #423ad6;
  --violet-soft: #ebebff;
  --radius: 18px;
  --shadow: 0 18px 44px rgba(19, 26, 51, .08);
}

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

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

body {
  margin: 0;
  background:
    radial-gradient(680px 340px at 78% -6%, rgba(91, 83, 255, .14), 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(--violet-deep); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--violet); outline-offset: 2px; border-radius: 8px; }

.wrap { max-width: 940px; 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(26px, 5vw, 44px);
}
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--ink); font-weight: 780; letter-spacing: -.02em;
}
.brand:hover { text-decoration: none; }
.brand b {
  width: 32px; height: 32px;
  border-radius: 50% 50% 50% 4px;
  background: linear-gradient(140deg, var(--violet), #8f88ff);
  display: grid; place-items: center;
  color: #fff; font-size: .72rem; font-weight: 800;
}
.top nav { display: flex; gap: 22px; }
.top nav a { color: var(--muted); font-size: .87rem; }
.top nav a:hover, .top nav a.active { color: var(--violet-deep); }

/* hero */
.hero { max-width: 42rem; margin-bottom: clamp(30px, 5vw, 46px); }
.chip {
  display: inline-block; margin: 0 0 20px;
  padding: 5px 13px; border-radius: 999px;
  background: var(--violet-soft); color: var(--violet-deep);
  font-size: .73rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
}
h1 {
  margin: 0 0 18px;
  font-size: clamp(2.1rem, 5.8vw, 3.5rem);
  line-height: 1.04; letter-spacing: -.042em; font-weight: 790;
}
h1 span {
  background: linear-gradient(96deg, var(--violet), #9a7bff);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.tagline { margin: 0 0 14px; color: #333c5c; font-size: 1.07rem; }
.intro { margin: 0; color: var(--muted); }

/* timeline */
.steps {
  list-style: none; margin: 0 0 clamp(28px, 4vw, 42px); padding: 0;
  position: relative;
}
.steps::before {
  content: ""; position: absolute; left: 13px; top: 10px; bottom: 10px;
  width: 2px; background: linear-gradient(180deg, var(--violet), rgba(91, 83, 255, .12));
}
.steps li { position: relative; padding: 0 0 26px 48px; }
.steps li:last-child { padding-bottom: 0; }
.steps .dot {
  position: absolute; left: 4px; top: 4px;
  width: 20px; height: 20px; border-radius: 50%;
  background: #fff;
  border: 2px solid var(--violet);
  box-shadow: 0 0 0 4px rgba(91, 83, 255, .10);
}
.steps li:last-child .dot { background: var(--violet); }
.steps h2 {
  margin: 0 0 4px;
  font-size: 1.02rem; font-weight: 750; letter-spacing: -.015em;
}
.steps .when {
  display: block; margin-bottom: 4px;
  color: var(--violet-deep);
  font-size: .7rem; letter-spacing: .16em; text-transform: uppercase;
}
.steps p { margin: 0; color: var(--muted); font-size: .95rem; }

/* contact */
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: clamp(22px, 3.6vw, 34px);
}
.card h2 { margin: 0 0 4px; font-size: 1.1rem; font-weight: 760; 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: .8rem; font-weight: 600; color: #2f3856;
}
.field input, .field textarea {
  width: 100%;
  padding: 12px 15px;
  font: inherit; font-size: .96rem;
  color: var(--ink);
  background: #f8f9fe;
  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(--violet);
  box-shadow: 0 0 0 4px var(--violet-soft);
}
.field .invalid { border-color: #c0392b; background: #fff6f4; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 100%; min-height: 50px; padding: 0 26px;
  font: inherit; font-size: .95rem; font-weight: 720;
  color: #fff;
  background: linear-gradient(120deg, var(--violet), #7a6bff);
  border: 0; border-radius: 12px;
  cursor: pointer;
  box-shadow: 0 12px 26px rgba(91, 83, 255, .26);
  transition: transform .18s, box-shadow .18s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 16px 32px rgba(91, 83, 255, .32); }
.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; }

.side { display: flex; flex-wrap: wrap; gap: 8px 24px; margin: 18px 0 0; color: var(--muted); font-size: .89rem; }
.side dt { display: inline; }
.side dd { display: inline; margin: 0 0 0 6px; font-weight: 650; color: var(--ink); }

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

/* legal */
.doc { max-width: 800px; margin: 0 auto; padding: 0 clamp(20px, 4vw, 40px); }
.doc h1 { margin: 14px 0 12px; font-size: clamp(1.9rem, 4.8vw, 2.6rem); }
.stamp {
  display: inline-block; margin: 0 0 28px;
  padding: 5px 13px; border-radius: 999px;
  background: var(--violet-soft); color: var(--violet-deep); font-size: .78rem;
}
.doc h2 {
  margin: 30px 0 10px;
  font-size: 1.05rem; 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: #333c5c; }
.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(--violet-soft); color: var(--violet-deep); box-shadow: none; }
.soft:hover { background: #dedcff; box-shadow: none; }

@media (max-width: 540px) {
  .base { flex-direction: column; }
  .steps li { padding-left: 40px; }
}
