:root {
  --ink: #0f1a33;
  --ink-2: #3b4763;
  --muted: #68738c;
  --line: #e3e7ef;
  --bg: #ffffff;
  --bg-2: #f5f7fb;
  --brand: #138a9c;
  --brand-2: #0d6d7c;
  --brand-soft: #e3f5f7;
  --warm: #e08a4f;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(15, 26, 51, 0.08);
  --wrap: 1140px;
}
*,
*::before,
*::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font: 16px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  overflow-wrap: break-word;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand-2); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 0.5em; letter-spacing: -0.01em; }
h1 { font-size: clamp(2rem, 4.6vw, 3.3rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.muted { color: var(--muted); }
.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-2);
  margin-bottom: 0.8em;
}
.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: #fff;
  padding: 8px 14px;
  z-index: 100;
}
.skip:focus { left: 10px; top: 10px; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: saturate(160%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; gap: 24px; min-height: 64px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.15rem; color: var(--ink); }
.logo:hover { text-decoration: none; }
.logo svg { width: 30px; height: 30px; flex: none; }
.nav { display: flex; align-items: center; gap: 22px; margin-left: auto; }
.nav a { color: var(--ink-2); font-weight: 500; }
.nav a[aria-current="page"] { color: var(--brand-2); }
.nav a.btn { color: #fff; }
.menu-btn {
  display: none;
  margin-left: auto;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 10px;
  width: 42px;
  height: 42px;
  cursor: pointer;
}
.menu-btn span,
.menu-btn span::before,
.menu-btn span::after {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  margin: 0 auto;
  position: relative;
  content: "";
}
.menu-btn span::before { position: absolute; top: -6px; }
.menu-btn span::after { position: absolute; top: 6px; }
.btn {
  display: inline-block;
  padding: 11px 20px;
  border-radius: 10px;
  font-weight: 600;
  background: var(--brand-2);
  color: #fff;
  border: 1px solid var(--brand-2);
  cursor: pointer;
  font-size: 1rem;
}
.btn:hover { background: #0a5662; border-color: #0a5662; text-decoration: none; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { background: var(--bg-2); }
.btn-light { background: #fff; color: var(--ink); border-color: #fff; }
.btn-light:hover { background: var(--brand-soft); }
.hero {
  color: #fff;
  background: #0b1430 url("/assets/img/hero.webp") center / cover no-repeat;
  position: relative;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(8, 14, 34, 0.86) 0%, rgba(8, 14, 34, 0.55) 60%, rgba(8, 14, 34, 0.2) 100%);
}
.hero .wrap { position: relative; z-index: 1; padding-top: 96px; padding-bottom: 104px; }
.hero p { font-size: 1.15rem; max-width: 560px; color: #d7e4f2; }
.hero .eyebrow { color: #8fe0ea; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero .hero-note { margin-top: 18px; font-size: 0.9rem; color: #a9bdd3; }
.page-head { background: var(--bg-2); border-bottom: 1px solid var(--line); }
.page-head .wrap { padding-top: 64px; padding-bottom: 48px; }
.page-head p { max-width: 680px; font-size: 1.1rem; color: var(--ink-2); }
.section { padding: 80px 0; }
.section-alt { background: var(--bg-2); }
.section-head { max-width: 680px; margin-bottom: 40px; }
.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
}
.card .icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--brand-soft);
  color: var(--brand-2);
  display: grid;
  place-items: center;
  margin-bottom: 16px;
}
.card .icon svg { width: 22px; height: 22px; }
.shelf { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.shelf figure { margin: 0; border-radius: var(--radius); overflow: hidden; background: #fff; border: 1px solid var(--line); }
.shelf img { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }
.shelf figcaption { padding: 14px 16px; display: flex; justify-content: space-between; gap: 10px; font-weight: 600; }
.shelf figcaption span { color: var(--muted); font-weight: 400; font-size: 0.9rem; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.split img { border-radius: var(--radius); box-shadow: var(--shadow); }
.ticks { list-style: none; padding: 0; margin: 0 0 1em; }
.ticks li { padding-left: 28px; position: relative; margin-bottom: 10px; }
.ticks li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 0.55em;
  width: 10px;
  height: 6px;
  border-left: 2px solid var(--brand);
  border-bottom: 2px solid var(--brand);
  transform: rotate(-45deg);
}
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; text-align: center; }
.stats strong { display: block; font-size: 2rem; color: var(--brand-2); }
.quote { font-size: 1.1rem; }
.quote footer { margin-top: 12px; color: var(--muted); font-size: 0.95rem; }
.cta {
  background: linear-gradient(120deg, #0f1a33, #13445a);
  color: #fff;
  border-radius: 20px;
  padding: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.cta p { color: #c8d6e6; margin: 0; }
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; align-items: stretch; }
.plan { display: flex; flex-direction: column; }
.plan.featured { border-color: var(--brand); box-shadow: var(--shadow); }
.plan .price { font-size: 2.4rem; font-weight: 700; margin: 8px 0; }
.plan .price small { font-size: 1rem; font-weight: 400; color: var(--muted); }
.plan .ticks { flex: 1; }
.badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  background: var(--brand-soft);
  color: var(--brand-2);
  border-radius: 99px;
  padding: 3px 10px;
  align-self: flex-start;
  margin-bottom: 10px;
}
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
table { border-collapse: collapse; width: 100%; min-width: 560px; background: #fff; }
th, td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--line); }
th { background: var(--bg-2); font-weight: 600; }
tr:last-child td { border-bottom: 0; }
details { border: 1px solid var(--line); border-radius: 12px; padding: 16px 20px; background: #fff; margin-bottom: 12px; }
summary { font-weight: 600; cursor: pointer; }
details p { margin: 12px 0 0; color: var(--ink-2); }
.form { display: grid; gap: 16px; }
.form label { display: grid; gap: 6px; font-weight: 600; font-size: 0.95rem; }
.form input,
.form select,
.form textarea {
  font: inherit;
  padding: 11px 14px;
  border: 1px solid #cfd6e3;
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  width: 100%;
}
.form input:focus,
.form select:focus,
.form textarea:focus { outline: 2px solid var(--brand-soft); border-color: var(--brand); }
.form textarea { min-height: 140px; resize: vertical; }
.form-note { font-size: 0.9rem; color: var(--muted); }
.form-msg { display: none; border-radius: 10px; padding: 12px 14px; font-weight: 500; }
.form-msg.show { display: block; }
.form-msg.ok { background: #e6f6ec; color: #1d6b3a; }
.form-msg.err { background: #fdecec; color: #9b2c2c; }
.auth { min-height: calc(100vh - 64px); display: grid; place-items: center; background: var(--bg-2); padding: 48px 20px; }
.auth .card { width: 100%; max-width: 420px; box-shadow: var(--shadow); }
.auth-links { display: flex; justify-content: space-between; gap: 12px; font-size: 0.92rem; flex-wrap: wrap; }
.contact-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; }
.site-footer { background: #0f1a33; color: #b8c4d8; padding: 56px 0 28px; }
.site-footer a { color: #dfe7f3; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 28px; }
.footer-grid h3 { color: #fff; font-size: 0.95rem; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin-bottom: 8px; }
.footer-bottom { border-top: 1px solid #24314f; margin-top: 36px; padding-top: 20px; font-size: 0.9rem; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.site-footer .logo { color: #fff; }
.notfound { text-align: center; padding: 120px 0; }
.notfound .code { font-size: 5rem; font-weight: 800; color: var(--brand); line-height: 1; }
@media (max-width: 900px) {
  .grid-3, .shelf, .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split, .contact-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .grid-3 > :last-child:nth-child(odd),
  .plans > :last-child:nth-child(odd) { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .menu-btn { display: block; }
  .nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 64px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 20px 16px;
    margin: 0;
  }
  .nav.open { display: flex; }
  .nav a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav .btn { margin-top: 12px; text-align: center; border-bottom: 0; }
}
@media (max-width: 560px) {
  .grid-3, .grid-2, .shelf, .plans, .footer-grid { grid-template-columns: 1fr; }
  .section { padding: 56px 0; }
  .hero .wrap { padding-top: 64px; padding-bottom: 72px; }
  .cta { padding: 32px 24px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
