:root {
  --bg: #E7ECF0;
  --ink: #1C2A32;
  --soft: #4A5B66;
  --bar: #243B4A;
  --accent: #4A7C59;
  --card: #F8FAFB;
  --line: #C5D0D7;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: auto; }

body {
  font-family: "Segoe UI Semilight", "Segoe UI", "Microsoft YaHei", sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.7;
}

svg { display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

.top {
  background: var(--bar);
  position: sticky;
  top: 0;
  z-index: 8;
}

.wide {
  width: min(1320px, calc(100% - 48px));
  margin: 0 auto;
}

.top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  gap: 24px;
}

.mark {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #F3F7F4;
  font-size: 17px;
  font-weight: 600;
}

.mark:hover { text-decoration: none; color: #fff; }
.mark svg { width: 32px; height: 32px; }

.pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.pills a {
  color: #E8F0EA;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 13px;
}

.pills a:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  text-decoration: none;
}

.hero {
  padding: 56px 0 28px;
}

.hero h1 {
  font-size: clamp(30px, 3.4vw, 44px);
  font-weight: 600;
  max-width: 16em;
  margin-bottom: 16px;
  line-height: 1.3;
}

.hero p {
  font-size: 18px;
  color: var(--soft);
  max-width: 50em;
  margin-bottom: 10px;
}

.sec { padding: 18px 0 42px; }

.sec h2 {
  font-size: 28px;
  font-weight: 600;
  margin-bottom: 10px;
}

.note {
  color: var(--soft);
  max-width: 52em;
  margin-bottom: 18px;
}

.periods {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.period {
  background: var(--card);
  border-radius: 18px;
  padding: 24px 22px;
  min-height: 280px;
  box-shadow: 0 10px 0 rgba(36, 59, 74, 0.06);
}

.period svg { width: 42px; height: 42px; margin-bottom: 12px; }
.period h3 { font-size: 20px; margin-bottom: 10px; }
.period p { color: var(--soft); margin-bottom: 10px; }

.grid2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.box {
  background: var(--card);
  border-radius: 16px;
  padding: 22px;
}

.box h3 { margin-bottom: 10px; }
.box p { color: var(--soft); margin-bottom: 10px; }

table.cmp {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: var(--card);
  border-radius: 16px;
  overflow: hidden;
}

.cmp th,
.cmp td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.cmp th { background: var(--bar); color: #fff; font-weight: 600; }
.cmp td:first-child { width: 22%; font-weight: 600; }

.flow {
  display: flex;
  gap: 12px;
  align-items: stretch;
}

.flow-item {
  flex: 1;
  background: var(--card);
  border-radius: 14px;
  padding: 18px 16px;
  position: relative;
}

.flow-item::after {
  content: "";
  position: absolute;
  right: -10px;
  top: 46%;
  width: 8px;
  height: 8px;
  border-top: 2px solid var(--accent);
  border-right: 2px solid var(--accent);
  transform: rotate(45deg);
}

.flow-item:last-child::after { display: none; }

.flow-item .n {
  color: var(--accent);
  font-size: 13px;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}

.flow-item h3 { font-size: 17px; margin-bottom: 8px; }
.flow-item p { color: var(--soft); font-size: 15px; }

.atts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.att {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 18px 16px;
}

.att svg { width: 36px; height: 36px; margin-bottom: 10px; }
.att h3 { font-size: 17px; margin-bottom: 8px; }
.att p { color: var(--soft); font-size: 15px; }

.choice {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-radius: 18px;
  overflow: hidden;
}

.choice > div { padding: 26px 24px; }
.choice .on { background: #DCE8DF; }
.choice .off { background: #243B4A; color: #E7EEE9; }
.choice .off p { color: #C5D4CA; }
.choice h3 { margin-bottom: 10px; }
.choice p { margin-bottom: 10px; }

.checks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 28px;
  background: var(--card);
  border-radius: 16px;
  padding: 22px 24px;
}

.checks li {
  list-style: none;
  padding-left: 22px;
  position: relative;
  color: var(--soft);
  margin-bottom: 8px;
}

.checks li::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  position: absolute;
  left: 0;
  top: 8px;
}

.app-band {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 24px;
  align-items: start;
  background: var(--card);
  border-radius: 16px;
  padding: 24px;
}

.app-band svg { width: 72px; height: 72px; }

.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.qa {
  background: var(--card);
  border-radius: 14px;
  padding: 16px 18px;
  border-top: 3px solid var(--accent);
}

.qa h3 { font-size: 17px; margin-bottom: 8px; }
.qa p { color: var(--soft); font-size: 15px; margin-bottom: 8px; }

.site-foot {
  background: var(--bar);
  color: #D5DEE4;
  padding: 32px 0;
  margin-top: 20px;
}

.site-foot p { margin-bottom: 8px; font-size: 14px; }

@media (max-width: 1100px) {
  .periods, .atts, .faq-grid { grid-template-columns: 1fr 1fr; }
  .flow { flex-direction: column; }
  .flow-item::after { display: none; }
  .app-band { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .periods, .atts, .faq-grid, .grid2, .choice, .checks { grid-template-columns: 1fr; }
  .top-row { flex-direction: column; align-items: flex-start; padding: 14px 0; }
}
