:root {
  --ink: #101c2b;
  --muted: #55677a;
  --line: #e4eaf1;
  --bg: #f5f8fb;
  --card: #ffffff;
  --brand: #0f4c81;
  --brand-deep: #0b3a63;
  --brand-2: #12a3a0;
  --accent: #5eead4;
  --ok: #157f4a;
  --warn: #9a3412;
  --radius: 14px;
  --shadow-sm: 0 1px 2px rgba(16, 28, 43, .05);
  --shadow: 0 1px 2px rgba(16, 28, 43, .04), 0 10px 28px -14px rgba(16, 28, 43, .28);
  --shadow-lg: 0 2px 4px rgba(16, 28, 43, .05), 0 22px 48px -20px rgba(16, 28, 43, .35);
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font: 16px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
a { color: var(--brand); }
a:hover { color: var(--brand-deep); }
:focus-visible { outline: 2px solid var(--brand-2); outline-offset: 2px; border-radius: 4px; }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 20px; }

/* Header */
header.site {
  background: rgba(255, 255, 255, .86);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 20;
}
header.site .wrap { display: flex; align-items: center; justify-content: space-between; gap: 14px; height: 68px; }
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: -0.01em;
  color: var(--brand-deep);
  text-decoration: none;
  white-space: nowrap;
}
.logo img { display: block; width: 30px; height: 30px; }
.logo-wrap { display: inline-flex; align-items: center; gap: 10px; min-width: 0; }
.logo-kit { font-weight: 500; color: var(--muted); text-decoration: none; font-size: 15px; white-space: nowrap; }
.logo-kit:hover { color: var(--brand); }
@media (max-width: 560px) { .logo-kit { display: none; } }

/* Hero */
.hero {
  padding: 72px 20px 44px;
  background:
    radial-gradient(900px 420px at 12% -18%, #e3f1fb 0%, rgba(227, 241, 251, 0) 70%),
    radial-gradient(700px 380px at 88% -10%, #e2f7f4 0%, rgba(226, 247, 244, 0) 70%);
}
.hero h1 {
  font-size: clamp(31px, 4.6vw, 47px);
  line-height: 1.12;
  margin: 0 0 18px;
  letter-spacing: -0.025em;
}
.hero p.lead { font-size: 19px; color: var(--muted); max-width: 680px; margin: 0 0 28px; }
.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--brand-2);
  margin-bottom: 14px;
}

/* Buttons */
.btn {
  display: inline-block;
  background: linear-gradient(180deg, #14598f 0%, var(--brand-deep) 100%);
  color: #fff;
  text-decoration: none;
  border: 0;
  border-radius: 10px;
  padding: 14px 24px;
  font-weight: 650;
  font-size: 16px;
  cursor: pointer;
  box-shadow: 0 8px 18px -8px rgba(15, 76, 129, .65);
  transition: transform .12s ease, box-shadow .12s ease, background .12s ease;
}
.btn:hover { background: linear-gradient(180deg, #17629c 0%, #0d4472 100%); color: #fff; transform: translateY(-1px); box-shadow: 0 12px 22px -10px rgba(15, 76, 129, .7); }
.btn:active { transform: translateY(0); }
.btn.secondary { background: #fff; color: var(--brand); border: 1px solid #c8d8e6; box-shadow: var(--shadow-sm); }
.btn.secondary:hover { background: #f3f8fc; color: var(--brand-deep); }
.btn[disabled] { opacity: .6; cursor: wait; transform: none; }
.row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }

/* Sections */
section { padding: 40px 0; }
h2 { font-size: clamp(23px, 2.6vw, 30px); margin: 0 0 18px; letter-spacing: -0.02em; }
h3 { letter-spacing: -0.01em; }

/* Cards */
.grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(248px, 1fr)); }
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  transition: transform .14s ease, box-shadow .14s ease;
}
.card:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.card h3 { margin: 0 0 10px; font-size: 18px; }
.card ul { margin: 10px 0 0; padding-left: 20px; }
.card ul li { margin: 6px 0; }
.price { font-size: 42px; font-weight: 700; margin: 10px 0; color: var(--brand-deep); letter-spacing: -0.03em; }
.price small { font-size: 15px; color: var(--muted); font-weight: 400; letter-spacing: 0; }
.card.featured { border: 1px solid var(--brand-2); box-shadow: 0 2px 6px rgba(18, 163, 160, .12), 0 24px 48px -24px rgba(15, 76, 129, .45); position: relative; overflow: hidden; }
.card.featured::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: linear-gradient(90deg, var(--brand) 0%, var(--brand-2) 100%); }

/* Lists */
ul.check { list-style: none; padding: 0; margin: 12px 0 20px; }
ul.check li { padding-left: 27px; position: relative; margin: 8px 0; }
ul.check li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  top: 1px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #e5f6f2;
  color: var(--ok);
  font-size: 11px;
  font-weight: 700;
  display: grid;
  place-items: center;
}
main ul li { margin: 7px 0; }

/* Numbered steps */
.steps { counter-reset: s; }
.steps .card::before {
  counter-increment: s;
  content: counter(s);
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(180deg, #14598f, var(--brand-deep));
  color: #fff;
  font-weight: 700;
  margin-bottom: 12px;
  box-shadow: 0 6px 14px -8px rgba(15, 76, 129, .8);
}

/* Notices, FAQ */
.notice { background: #fff8ed; border: 1px solid #fcd9a6; color: var(--warn); border-radius: var(--radius); padding: 15px 17px; font-size: 14px; }
details { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 15px 18px; margin: 10px 0; box-shadow: var(--shadow-sm); }
details[open] { box-shadow: var(--shadow); }
summary { font-weight: 650; cursor: pointer; }
summary::marker { color: var(--brand-2); }
details p { margin: 10px 0 0; color: var(--muted); }

/* Footer */
footer.site {
  border-top: 1px solid var(--line);
  padding: 30px 0 44px;
  color: var(--muted);
  font-size: 14px;
  background: var(--card);
  margin-top: 48px;
}

/* Forms */
form fieldset { border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); padding: 20px 22px 10px; margin: 0 0 20px; box-shadow: var(--shadow-sm); }
legend { font-weight: 700; padding: 0 8px; color: var(--brand-deep); }
label { display: block; font-weight: 600; font-size: 14px; margin: 12px 0 5px; }
.hint { font-weight: 400; color: var(--muted); }
input[type=text], input[type=email], input[type=tel], input[type=date], input[type=url], select {
  width: 100%;
  padding: 11px 12px;
  border: 1px solid #c8d3de;
  border-radius: 9px;
  font: inherit;
  background: #fff;
}
input:focus, select:focus { outline: 2px solid var(--brand-2); outline-offset: 1px; border-color: var(--brand-2); }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.three { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 0 16px; }
@media (max-width: 640px) { .two, .three { grid-template-columns: 1fr; } }
.opt { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; margin: 10px 0; }
.opt input { margin-top: 5px; }
.product-choice { display: grid; gap: 12px; grid-template-columns: 1fr 1fr; }
@media (max-width: 640px) { .product-choice { grid-template-columns: 1fr; } }
.product-choice label { border: 1px solid var(--line); border-radius: 11px; padding: 15px; margin: 0; cursor: pointer; font-weight: 400; transition: border-color .12s ease, background .12s ease; }
.product-choice label:hover { background: #f7fbfe; }
.product-choice input:checked + span { color: var(--brand); }
.product-choice label:has(input:checked) { border: 1px solid var(--brand-2); background: #f3fbfa; box-shadow: 0 0 0 1px var(--brand-2) inset; }
.errors { color: var(--warn); font-size: 14px; }

/* Document preview */
.preview { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; max-height: 420px; overflow: auto; position: relative; box-shadow: var(--shadow-sm); }
.preview h1 { font-size: 22px; }
.preview .caps { font-weight: 700; text-transform: uppercase; font-size: 13px; letter-spacing: .04em; }
.preview .sub { color: var(--muted); }
.doclist { columns: 2; font-size: 14px; }
@media (max-width: 640px) { .doclist { columns: 1; } }

.center { text-align: center; }
.muted { color: var(--muted); }
