:root {
  --steel: #12395a;
  --steel-dark: #0c2941;
  --steel-light: #1d5480;
  --accent: #c2703d;
  --accent-dark: #a35a2c;
  --ink: #1a1d21;
  --ink-soft: #4a5057;
  --ink-mute: #6f757c;
  --line: #dfe3e7;
  --line-soft: #ecf0f3;
  --bg: #ffffff;
  --bg-soft: #f6f8fa;
  --bg-steel: #eef2f6;
  --ok: #1d7a4f;
  --radius: 4px;
  --max: 1200px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: "Inter", "Segoe UI", -apple-system, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { font-weight: 600; line-height: 1.3; letter-spacing: -0.01em; }
h1 { font-size: 2.4rem; }
h2 { font-size: 1.75rem; }
h3 { font-size: 1.2rem; }
p { color: var(--ink-soft); }
a { color: var(--steel-light); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* ---------- header ---------- */
.topbar {
  background: var(--steel-dark);
  color: #b9c6d2;
  font-size: 0.8rem;
}
.topbar .wrap { display: flex; justify-content: space-between; padding-top: 7px; padding-bottom: 7px; }
.topbar a { color: #cfdae5; }

header.site {
  background: #fff;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 60;
}
header.site .wrap { display: flex; align-items: center; gap: 32px; height: 70px; }

.brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand-mark { width: 34px; height: 34px; flex-shrink: 0; }
.brand-name { font-size: 1.15rem; font-weight: 700; letter-spacing: -0.02em; color: var(--steel); }
.brand-name em { font-style: normal; color: var(--accent); }
.brand-sub { font-size: 0.7rem; color: var(--ink-mute); letter-spacing: 0.08em; text-transform: uppercase; display: block; margin-top: -3px; }

nav.main { display: flex; gap: 26px; margin-left: auto; }
nav.main a {
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 500;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
}
nav.main a:hover { text-decoration: none; border-bottom-color: var(--line); }
nav.main a.active { color: var(--steel); border-bottom-color: var(--accent); }

.btn {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  padding: 10px 20px;
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: background .15s;
}
.btn:hover { background: var(--accent-dark); text-decoration: none; color: #fff; }
.btn-outline {
  background: transparent;
  color: var(--steel);
  border: 1.5px solid var(--steel);
}
.btn-outline:hover { background: var(--steel); color: #fff; }
.btn-lg { padding: 13px 28px; font-size: 1rem; }

/* ---------- hero ---------- */
.hero {
  background: linear-gradient(180deg, var(--steel-dark) 0%, var(--steel) 100%);
  color: #fff;
  padding: 74px 0 0;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.045) 1px, transparent 1px);
  background-size: 46px 46px;
  pointer-events: none;
}
.hero .wrap { position: relative; z-index: 2; display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 52px; align-items: center; }
.hero h1 { color: #fff; font-size: 2.7rem; margin-bottom: 18px; }
.hero h1 span { color: #f0b982; }
.hero-lead { color: #cddae6; font-size: 1.08rem; max-width: 560px; margin-bottom: 28px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 34px; }
.hero-note { font-size: 0.82rem; color: #9db0c2; }

.hero-art { display: flex; justify-content: center; align-items: center; }

.spec-strip {
  background: var(--steel-dark);
  border-top: 1px solid rgba(255,255,255,0.12);
  position: relative;
  z-index: 2;
}
.spec-strip .wrap { display: grid; grid-template-columns: repeat(4, 1fr); }
.spec-strip div { padding: 20px 0; text-align: center; border-right: 1px solid rgba(255,255,255,0.1); }
.spec-strip div:last-child { border-right: none; }
.spec-strip .num { font-size: 1.5rem; font-weight: 700; color: #fff; display: block; }
.spec-strip .lbl { font-size: 0.76rem; color: #93a7ba; text-transform: uppercase; letter-spacing: 0.06em; }

/* ---------- sections ---------- */
section { padding: 66px 0; }
section.soft { background: var(--bg-soft); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.sec-head { max-width: 720px; margin-bottom: 38px; }
.sec-head h2 { margin-bottom: 12px; }
.eyebrow {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  transition: border-color .15s, box-shadow .15s;
}
.card:hover { border-color: #c3ccd4; box-shadow: 0 2px 12px rgba(18,57,90,0.07); }
.card h3 { margin-bottom: 10px; color: var(--steel); }
.card p { font-size: 0.93rem; }
.card .tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.check-list { list-style: none; margin-top: 14px; }
.check-list li {
  padding: 7px 0 7px 26px;
  position: relative;
  font-size: 0.94rem;
  color: var(--ink-soft);
  border-bottom: 1px dashed var(--line-soft);
}
.check-list li:last-child { border-bottom: none; }
.check-list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 15px;
  width: 11px;
  height: 6px;
  border-left: 2px solid var(--ok);
  border-bottom: 2px solid var(--ok);
  transform: rotate(-45deg);
}

/* ---------- table ---------- */
.tbl-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
table.spec { width: 100%; border-collapse: collapse; font-size: 0.93rem; }
table.spec caption {
  text-align: left;
  padding: 14px 18px;
  font-weight: 600;
  color: var(--steel);
  background: var(--bg-steel);
  border-bottom: 1px solid var(--line);
}
table.spec th, table.spec td { padding: 12px 18px; border-bottom: 1px solid var(--line-soft); text-align: left; }
table.spec th { width: 30%; font-weight: 600; color: var(--ink); background: #fcfdfe; }
table.spec td { color: var(--ink-soft); }
table.spec tr:last-child th, table.spec tr:last-child td { border-bottom: none; }
table.spec td .hi { color: var(--steel); font-weight: 600; }

/* ---------- process ---------- */
.steps { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; counter-reset: s; }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 16px; position: relative; }
.step::before {
  counter-increment: s;
  content: counter(s);
  position: absolute;
  top: -13px;
  left: 16px;
  width: 26px;
  height: 26px;
  background: var(--steel);
  color: #fff;
  border-radius: 50%;
  font-size: 0.8rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.step h4 { font-size: 0.95rem; margin-bottom: 6px; color: var(--steel); margin-top: 6px; }
.step p { font-size: 0.83rem; }

/* ---------- faq ---------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  padding: 16px 34px 16px 0;
  cursor: pointer;
  font-weight: 600;
  color: var(--ink);
  position: relative;
  font-size: 1rem;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 6px;
  top: 13px;
  font-size: 1.3rem;
  color: var(--accent);
  font-weight: 400;
}
.faq details[open] summary::after { content: "\2212"; }
.faq .answer { padding: 0 60px 18px 0; font-size: 0.93rem; }

/* ---------- forms ---------- */
.form-box { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 0.86rem; font-weight: 600; margin-bottom: 6px; color: var(--ink); }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 11px 13px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 0.94rem;
  font-family: inherit;
  background: #fdfefe;
  color: var(--ink);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--steel-light);
  box-shadow: 0 0 0 3px rgba(29,84,128,0.1);
}
.field textarea { min-height: 110px; resize: vertical; }
.field .hint { font-size: 0.79rem; color: var(--ink-mute); margin-top: 5px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.file-drop {
  border: 2px dashed var(--line);
  border-radius: var(--radius);
  padding: 26px;
  text-align: center;
  background: var(--bg-soft);
  cursor: pointer;
}
.file-drop:hover { border-color: var(--steel-light); background: #fff; }
.file-drop strong { display: block; color: var(--steel); margin-bottom: 4px; }
.file-drop span { font-size: 0.83rem; color: var(--ink-mute); }
.file-drop input { display: none; }

/* ---------- cta band ---------- */
.band {
  background: var(--steel);
  color: #fff;
  padding: 52px 0;
}
.band .wrap { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.band h2 { color: #fff; margin-bottom: 6px; }
.band p { color: #c2d1de; }

/* ---------- page header ---------- */
.pagehead {
  background: var(--steel);
  color: #fff;
  padding: 46px 0;
}
.pagehead h1 { color: #fff; font-size: 2.1rem; margin-bottom: 10px; }
.pagehead p { color: #c2d1de; max-width: 700px; }
.breadcrumb { font-size: 0.8rem; color: #93a7ba; margin-bottom: 12px; }
.breadcrumb a { color: #cddae6; }

/* ---------- footer ---------- */
footer.site { background: var(--steel-dark); color: #a9b8c6; padding: 52px 0 26px; font-size: 0.9rem; }
footer.site .grid-4 { gap: 34px; }
footer.site h4 { color: #fff; font-size: 0.86rem; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 15px; }
footer.site ul { list-style: none; }
footer.site li { padding: 4px 0; }
footer.site a { color: #a9b8c6; }
footer.site a:hover { color: #fff; }
footer.site .legal { border-top: 1px solid rgba(255,255,255,0.12); margin-top: 34px; padding-top: 20px; font-size: 0.82rem; color: #7d8f9f; }
footer.site .legal strong { color: #b9c6d2; font-weight: 600; }

/* ---------- blog / article ---------- */
.post-list { display: grid; gap: 0; border-top: 1px solid var(--line); }
.post-row {
  display: grid;
  grid-template-columns: 150px 1fr 190px;
  gap: 26px;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}
.post-row:hover { background: #fbfcfd; }
.post-row .meta { font-size: 0.78rem; color: var(--ink-mute); text-transform: uppercase; letter-spacing: 0.06em; padding-top: 4px; }
.post-row h3 { margin-bottom: 8px; font-size: 1.18rem; }
.post-row h3 a { color: var(--steel); }
.post-row p { font-size: 0.92rem; margin-bottom: 12px; }
.post-row .go { font-size: 0.86rem; text-align: right; padding-top: 4px; }
.tagpill {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--accent);
  background: #fdf3ec;
  border: 1px solid #f0dcc9;
  padding: 2px 9px;
  border-radius: 20px;
}

.article-wrap { display: grid; grid-template-columns: 1fr 268px; gap: 52px; align-items: start; }
.article-body { max-width: 760px; }
.post-head { font-size: 0.82rem; color: var(--ink-mute); margin-bottom: 14px; }
.post-head span { margin-right: 16px; }

.prose h2 { font-size: 1.42rem; color: var(--steel); margin: 40px 0 12px; }
.prose h3 { font-size: 1.06rem; color: var(--ink); margin: 28px 0 8px; }
.prose p { margin-bottom: 15px; }
.prose strong { color: var(--ink); }
.prose ul, .prose ol { margin: 0 0 18px 22px; }
.prose li { margin-bottom: 8px; color: var(--ink-soft); font-size: 0.96rem; }
.prose li strong { color: var(--ink); }
.prose .lead { font-size: 1.08rem; color: var(--ink); }
.prose a { text-decoration: underline; }

.pull {
  border-left: 3px solid var(--accent);
  background: #fff8f2;
  padding: 14px 20px;
  margin: 22px 0;
  font-size: 0.94rem;
  color: var(--ink-soft);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.pull strong { color: var(--ink); }

.side { position: sticky; top: 96px; }
.side-box { background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; margin-bottom: 20px; }
.side-box h4 { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.09em; color: var(--accent); margin-bottom: 12px; }
.side-box ul { list-style: none; }
.side-box li { padding: 6px 0 6px 15px; position: relative; font-size: 0.88rem; border-bottom: 1px dashed var(--line); }
.side-box li:last-child { border-bottom: none; }
.side-box li::before { content: "\203A"; position: absolute; left: 0; color: var(--accent); font-weight: 700; }
.side-box a { color: var(--ink-soft); }
.side-box a:hover { color: var(--steel); }

/* ---------- photo gallery ---------- */
.photo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.photo-grid figure { margin: 0; }
.photo-grid img {
  width: 100%; height: 280px; object-fit: cover; display: block;
  border-radius: 8px; border: 1px solid var(--line);
  background: #f2f5f8;
}
.photo-grid figcaption { font-size: .85rem; color: var(--ink-mute); margin-top: 8px; line-height: 1.5; }

/* ---------- misc ---------- */
.note-box {
  background: #fff8f2;
  border-left: 3px solid var(--accent);
  padding: 16px 20px;
  font-size: 0.9rem;
  color: var(--ink-soft);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.note-box strong { color: var(--ink); }
.align-center { text-align: center; }
.mt-30 { margin-top: 30px; }
.mb-30 { margin-bottom: 30px; }
.img-slot {
  background: var(--bg-steel);
  border: 1px dashed #c3ccd4;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-mute);
  font-size: 0.82rem;
  text-align: center;
  padding: 24px;
  min-height: 180px;
}

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 30px; }
  .hero-art { display: none; }
  .grid-3, .grid-4 { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .spec-strip .wrap { grid-template-columns: repeat(2, 1fr); }
  .spec-strip div:nth-child(2) { border-right: none; }
  .article-wrap { grid-template-columns: 1fr; gap: 34px; }
  .side { position: static; }
  .photo-grid { grid-template-columns: 1fr 1fr; }
  .photo-grid img { height: 220px; }
}
@media (max-width: 720px) {
  h1 { font-size: 1.9rem; }
  .hero h1 { font-size: 2rem; }
  nav.main { display: none; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .field-row { grid-template-columns: 1fr; }
  header.site .wrap { height: 62px; }
  .post-row { grid-template-columns: 1fr; gap: 10px; }
  .post-row .go { text-align: left; }
  .faq .answer { padding-right: 20px; }
  .photo-grid { grid-template-columns: 1fr; }
}
