:root {
  --lapis: #234a8c;
  --lapis-deep: #1d2a4d;
  --lapis-soft: #e3eaf6;
  --gold: #c8902e;
  --gold-light: #f0c46b;
  --gold-deep: #9a6a17;
  --sand: #f6efe2;
  --sand2: #ede2cc;
  --card: #fffaf1;
  --ink: #1d2433;
  --ink-soft: #4a5468;
  --green: #2f7d4f;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--ink);
  background: var(--sand);
  line-height: 1.6;
  font-size: 17px;
}
a { color: var(--lapis); }
.wrap { max-width: 920px; margin: 0 auto; padding: 0 16px; }
header.top { background: var(--lapis-deep); color: #fff; }
header.top .wrap { display: flex; align-items: center; gap: 12px; padding-top: 12px; padding-bottom: 12px; }
header.top a.brand { color: #fff; text-decoration: none; font-weight: 800; display: flex; align-items: center; gap: 10px; }
header.top img { width: 36px; height: 36px; border-radius: 9px; }
header.top nav { margin-left: auto; display: flex; gap: 14px; flex-wrap: wrap; font-size: 15px; }
header.top nav a { color: var(--gold-light); text-decoration: none; }
header.top nav a:hover { text-decoration: underline; }
.hero { padding: 40px 0 24px; display: grid; grid-template-columns: 1fr 220px; gap: 24px; align-items: center; }
.hero h1 { font-size: 38px; line-height: 1.15; margin: 0 0 8px; }
.hero .sub { font-size: 21px; font-weight: 700; color: var(--gold-deep); margin: 0 0 14px; }
.hero img { width: 100%; height: auto; }
.badge {
  display: inline-block; margin-top: 8px; padding: 12px 20px; border-radius: 14px;
  background: var(--lapis); color: #fff; font-weight: 800; text-decoration: none;
}
.badge.soon { background: var(--ink-soft); }
section { padding: 18px 0; }
h2 { font-size: 26px; margin: 8px 0 12px; }
h3 { font-size: 19px; margin: 18px 0 6px; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.card {
  background: var(--card); border: 1px solid var(--sand2); border-radius: 18px; padding: 16px 18px;
}
.card .em { font-size: 30px; }
.card h3 { margin-top: 6px; }
.card p { margin: 0; color: var(--ink-soft); }
ol.steps { padding-left: 22px; }
ol.steps li { margin-bottom: 8px; }
.price { background: var(--lapis-soft); border-radius: 18px; padding: 16px 18px; }
.cast { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.cast img { width: 120px; height: auto; }
.doc { background: var(--card); border: 1px solid var(--sand2); border-radius: 18px; padding: 8px 22px 22px; margin: 24px 0; }
.doc h1 { font-size: 30px; line-height: 1.2; }
.doc table { border-collapse: collapse; width: 100%; font-size: 15px; }
.doc td, .doc th { border: 1px solid var(--sand2); padding: 6px 8px; text-align: left; vertical-align: top; }
.kids { background: var(--lapis-soft); border-radius: 14px; padding: 4px 16px; }
.muted { color: var(--ink-soft); font-size: 15px; }
footer { border-top: 1px solid var(--sand2); margin-top: 28px; padding: 18px 0 30px; font-size: 14px; color: var(--ink-soft); }
footer a { color: var(--ink-soft); }
@media (max-width: 640px) {
  .hero { grid-template-columns: 1fr; padding-top: 24px; }
  .hero img { max-width: 130px; margin: 0 auto; display: block; }
  .hero { gap: 8px; }
  section { padding: 10px 0; }
  .hero h1 { font-size: 30px; }
  header.top nav { font-size: 14px; gap: 10px; }
}
button.btn {
  font: inherit; font-weight: 700; font-size: 18px; color: #fff; background: var(--lapis);
  border: 0; border-radius: 14px; padding: 14px 28px; cursor: pointer; margin: 8px 0 16px;
}
main.wrap p.brand { margin: 32px 0 0; font-weight: 800; color: var(--gold-deep); letter-spacing: .02em; }
.postcard { display: flex; gap: 16px; background: var(--card); border-radius: 16px; padding: 12px; margin: 16px 0; color: inherit; text-decoration: none; box-shadow: 0 1px 3px rgba(0,0,0,.06); }
.postcard img { width: 180px; height: 135px; object-fit: cover; border-radius: 12px; flex: none; }
.postcard h2 { margin: 0 0 6px; font-size: 20px; }
.postcard p { margin: 0 0 6px; }
.postcard span { color: var(--lapis); font-weight: 700; }
@media (max-width: 560px) { .postcard { flex-direction: column; } .postcard img { width: 100%; height: auto; aspect-ratio: 4/3; } }
article.post { max-width: 720px; margin: 0 auto; }
article.post figure { margin: 20px 0; }
article.post img { width: 100%; height: auto; border-radius: 16px; display: block; }
article.post h2 { margin-top: 32px; }
.related{margin:32px 0 8px;padding-top:16px;border-top:1px solid #e5dccb}
.related h2{font-size:1.1rem;margin:0 0 8px}
.related ul{margin:0;padding-left:20px}
.related li{margin:6px 0}
.sub-lead { font-size: 18px; color: var(--ink-soft); }
.agreement { background: #fff; border: 2px solid var(--gold); border-radius: 18px; padding: 6px 24px 18px; margin: 18px 0; }
.ag-title { text-align: center; color: var(--lapis-deep); }
.ag { padding-left: 22px; }
.ag li { margin-bottom: 10px; }
.blank { display: inline-block; min-width: 150px; border-bottom: 1px solid var(--ink-soft); height: 1.1em; vertical-align: baseline; }
.blank.s { min-width: 56px; }
.opt { white-space: nowrap; margin-right: 10px; }
.ag-sign { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 18px; font-size: 15px; }
.ag-sign .blank { display: block; width: 100%; height: 1.8em; }
.ag-foot { text-align: center; color: var(--ink-soft); font-size: 12px; margin: 6px 0 0; }
body.print .agreement { border: 0; padding: 0; margin: 0; }
body.print .ag li { margin-bottom: 8px; line-height: 2.1; }
body.print .ag-names { line-height: 2.4; margin: 18px 0 10px; }
body.print .ag-sign { margin-top: 26px; }
body.print .ag-foot { margin-top: 16px; }
@media (max-width: 640px) {
  .agreement { padding: 4px 14px 14px; }
  .ag-sign { grid-template-columns: 1fr; }
  .blank { min-width: 110px; }
  .opt { white-space: normal; }
}
@media print {
  header.top, footer, .noprint { display: none; }
  body { background: #fff; }
  .agreement { border: 0; padding: 0; }
}
.card.example { margin: 12px 0; }
.card.example p { margin: 8px 0; }
.facts { padding-left: 20px; }
.facts li { margin: 8px 0; }
.faq h3 { font-size: 17px; margin: 18px 0 4px; }
.faq p { margin: 0 0 8px; }
.pilot h1 { font-size: 32px; line-height: 1.2; margin: 28px 0 10px; }
.pilot .price h2 { font-size: 21px; margin: 0 0 6px; }
.pilot .price p { margin: 0; }
.pilot-form { background: var(--card); border: 1px solid var(--sand2); border-radius: 18px; padding: 6px 20px 12px; margin: 18px 0; }
.pilot-form fieldset { border: 0; border-top: 1px solid var(--sand2); margin: 0; padding: 12px 0; }
.pilot-form legend { font-weight: 700; padding: 0; }
.pilot-form .opt-row { display: flex; gap: 10px; align-items: flex-start; margin: 6px 0; }
.pilot-form .opt-row input { margin-top: 6px; flex: none; width: 18px; height: 18px; }
.pilot-form input[type=text], .pilot-form input[type=email] {
  font: inherit; width: 100%; max-width: 420px; padding: 10px 12px; border: 1px solid var(--ink-soft);
  border-radius: 10px; background: #fff; display: block; margin-top: 4px;
}
.pilot-form .field { display: block; margin: 6px 0 12px; }
.pilot-form p { margin: 4px 0; }
.pilot-form .hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.pilot ul.errors li { margin: 6px 0; color: #9b2c2c; }
@media (max-width: 640px) {
  .pilot h1 { font-size: 27px; }
  .pilot-form { padding: 4px 12px 10px; margin: 14px -4px; }
  .pilot-form .opt-row { padding: 4px 0; }
}
