/* =========================================================================
   忆苏电商 · 官网样式
   ========================================================================= */

:root {
  --ink: #0e1b23;
  --ink-2: #2b3d47;
  --muted: #6b7a83;
  --line: #e4e2db;
  --line-strong: #cfccc2;
  --bg: #ffffff;
  --soft: #f7f5f0;
  --soft-2: #efece4;
  --jade: #1d5c4e;
  --jade-deep: #123f36;
  --gold: #b3904f;
  --radius: 3px;
  --shadow-sm: 0 1px 2px rgba(14, 27, 35, 0.05), 0 8px 24px -16px rgba(14, 27, 35, 0.25);
  --shadow-md: 0 2px 4px rgba(14, 27, 35, 0.04), 0 24px 48px -28px rgba(14, 27, 35, 0.35);
  --max: 1180px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
input, textarea, select { font: inherit; color: inherit; }

::selection { background: var(--jade); color: #fff; }

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

/* ------------------------------------------------------------- typography */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--jade);
  font-weight: 600;
  margin: 0 0 20px;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: currentColor;
  opacity: 0.75;
}

h1, h2, h3, h4 { margin: 0; font-weight: 600; letter-spacing: -0.012em; line-height: 1.28; }

.display {
  font-size: clamp(38px, 5.2vw, 62px);
  line-height: 1.16;
  letter-spacing: -0.028em;
  font-weight: 600;
}

.section-title { font-size: clamp(28px, 3.2vw, 40px); }
.section-lead {
  margin: 18px 0 0;
  max-width: 620px;
  color: var(--muted);
  font-size: 16.5px;
  line-height: 1.85;
}
.section-lead.center { margin-left: auto; margin-right: auto; }
.center { text-align: center; }

/* ------------------------------------------------------------------ header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.site-header.scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 10px 30px -26px rgba(14, 27, 35, 0.55);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 78px;
}

.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand-mark { width: 38px; height: 38px; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name { font-size: 18px; font-weight: 600; letter-spacing: 0.06em; }
.brand-sub { font-size: 10.5px; letter-spacing: 0.26em; color: var(--muted); text-transform: uppercase; }

.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  position: relative;
  padding: 10px 16px;
  font-size: 15px;
  color: var(--ink-2);
  transition: color 0.25s var(--ease);
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 4px;
  height: 1.5px;
  background: var(--jade);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.32s var(--ease);
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after,
.nav-links a.active::after { transform: scaleX(1); }
.nav-links a.active { color: var(--ink); font-weight: 600; }

.nav-actions { display: flex; align-items: center; gap: 12px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 26px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: background 0.28s var(--ease), color 0.28s var(--ease),
    border-color 0.28s var(--ease), transform 0.28s var(--ease), box-shadow 0.28s var(--ease);
  white-space: nowrap;
}
.btn-primary { background: var(--jade); color: #fff; }
.btn-primary:hover { background: var(--jade-deep); transform: translateY(-1px); box-shadow: 0 14px 26px -18px rgba(18, 63, 54, 0.9); }
.btn-ghost { border-color: var(--line-strong); color: var(--ink); background: transparent; }
.btn-ghost:hover { border-color: var(--ink); background: rgba(14, 27, 35, 0.03); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--soft-2); }
.btn-outline-light { border-color: rgba(255, 255, 255, 0.45); color: #fff; }
.btn-outline-light:hover { border-color: #fff; background: rgba(255, 255, 255, 0.08); }
.btn-block { width: 100%; }
.btn-sm { padding: 9px 18px; font-size: 14px; }
.btn:disabled { opacity: 0.55; cursor: not-allowed; transform: none; box-shadow: none; }

.nav-user {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px 6px 6px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 14px;
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease);
}
.nav-user:hover { border-color: var(--line-strong); background: var(--soft); }
.avatar-sm {
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--jade); color: #fff;
  display: grid; place-items: center;
  font-size: 13px; font-weight: 600;
  overflow: hidden;
}
.avatar-sm img { width: 100%; height: 100%; object-fit: cover; }

.nav-toggle {
  display: none;
  width: 42px; height: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  align-items: center;
  justify-content: center;
}
.nav-toggle span { display: block; width: 18px; height: 1.5px; background: var(--ink); position: relative; }
.nav-toggle span::before,
.nav-toggle span::after {
  content: ""; position: absolute; left: 0; width: 18px; height: 1.5px; background: var(--ink);
  transition: transform 0.3s var(--ease), top 0.3s var(--ease);
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }

/* -------------------------------------------------------------------- hero */

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(1200px 600px at 82% -10%, rgba(29, 92, 78, 0.09), transparent 62%),
    radial-gradient(900px 520px at 4% 8%, rgba(179, 144, 79, 0.09), transparent 58%),
    linear-gradient(180deg, #fbfaf7 0%, #ffffff 72%);
  border-bottom: 1px solid var(--line);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(14, 27, 35, 0.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(14, 27, 35, 0.045) 1px, transparent 1px);
  background-size: 88px 88px;
  mask-image: radial-gradient(circle at 60% 30%, #000 10%, transparent 72%);
  -webkit-mask-image: radial-gradient(circle at 60% 30%, #000 10%, transparent 72%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 64px;
  align-items: center;
  padding: 104px 0 116px;
}
.hero-copy .display { margin-bottom: 26px; }
.hero-copy .display em { font-style: normal; color: var(--jade); }
.hero-desc {
  font-size: 17px;
  line-height: 1.9;
  color: var(--ink-2);
  max-width: 500px;
  margin: 0 0 36px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  margin-top: 52px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.hero-meta div strong { display: block; font-size: 26px; letter-spacing: -0.02em; }
.hero-meta div span { font-size: 13px; color: var(--muted); letter-spacing: 0.04em; }

/* hero visual — 业务矩阵卡片 */
.hero-visual { position: relative; }
.matrix {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.matrix-card {
  padding: 22px 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
}
.matrix-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--line-strong); }
.matrix-card:nth-child(2) { transform: translateY(22px); }
.matrix-card:nth-child(2):hover { transform: translateY(18px); }
.matrix-card:nth-child(4) { transform: translateY(22px); }
.matrix-card:nth-child(4):hover { transform: translateY(18px); }
.matrix-icon {
  width: 34px; height: 34px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--soft);
  color: var(--jade);
  margin-bottom: 16px;
}
.matrix-card h4 { font-size: 16px; margin-bottom: 6px; }
.matrix-card p { margin: 0; font-size: 13px; color: var(--muted); line-height: 1.7; }

/* ------------------------------------------------------------------ section */

.section { padding: 108px 0; }
.section.tight { padding: 78px 0; }
.section.soft { background: var(--soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; margin-bottom: 56px; }
.section-head.center { flex-direction: column; align-items: center; text-align: center; }

/* stats band */
.band {
  background: var(--ink);
  color: #fff;
  padding: 66px 0;
}
.band-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 34px; }
.band-item { padding-left: 22px; border-left: 1px solid rgba(255, 255, 255, 0.16); }
.band-item strong {
  display: block;
  font-size: clamp(30px, 3.4vw, 44px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.1;
}
.band-item strong span { font-size: 0.45em; font-weight: 500; margin-left: 4px; color: rgba(255, 255, 255, 0.7); }
.band-item p { margin: 10px 0 0; font-size: 13.5px; color: rgba(255, 255, 255, 0.66); letter-spacing: 0.04em; }

/* ------------------------------------------------------------- capability */

.cap-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); }
.cap {
  padding: 38px 34px 42px;
  border-bottom: 1px solid var(--line);
  border-right: 1px solid var(--line);
  position: relative;
  transition: background 0.35s var(--ease);
}
.cap:nth-child(3n) { border-right: none; }
.cap:hover { background: var(--soft); }
.cap-index {
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 18px;
  display: block;
}
.cap h3 { font-size: 19px; margin-bottom: 10px; }
.cap p { margin: 0; color: var(--muted); font-size: 14.5px; line-height: 1.8; }
.cap::after {
  content: "";
  position: absolute; left: 0; top: 0; width: 0; height: 2px;
  background: var(--jade);
  transition: width 0.45s var(--ease);
}
.cap:hover::after { width: 100%; }

/* --------------------------------------------------------------- services */

.service-block { padding: 56px 0; border-bottom: 1px solid var(--line); }
.service-block:last-child { border-bottom: none; }
.service-block-head { display: flex; align-items: baseline; gap: 18px; margin-bottom: 30px; }
.service-block-head .idx {
  font-size: 13px;
  color: var(--gold);
  letter-spacing: 0.16em;
  font-weight: 600;
}
.service-block-head h3 { font-size: clamp(22px, 2.4vw, 28px); }
.service-block-head p { margin: 0; color: var(--muted); font-size: 14.5px; }
.item-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 22px;
  background: #fff;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease), transform 0.3s var(--ease);
}
.item:hover { border-color: var(--line-strong); box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.item h4 { font-size: 16px; margin-bottom: 8px; display: flex; align-items: center; gap: 8px; }
.item h4 svg { color: var(--jade); flex: none; }
.item p { margin: 0; font-size: 13.5px; color: var(--muted); line-height: 1.75; }
.item-tag {
  display: inline-block;
  margin-top: 14px;
  font-size: 11.5px;
  letter-spacing: 0.08em;
  color: var(--jade);
  background: rgba(29, 92, 78, 0.07);
  padding: 3px 9px;
  border-radius: 2px;
}

/* --------------------------------------------------------------- process */

.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; counter-reset: step; }
.step { position: relative; padding-top: 30px; border-top: 1px solid var(--line-strong); }
.step::before {
  counter-increment: step;
  content: "0" counter(step);
  position: absolute; top: -1px; left: 0;
  transform: translateY(-100%);
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--gold);
  font-weight: 600;
  background: var(--bg);
  padding-bottom: 8px;
}
.step h4 { font-size: 17px; margin-bottom: 8px; }
.step p { margin: 0; font-size: 14px; color: var(--muted); }

/* ------------------------------------------------------------------ about */

.about-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 72px; align-items: start; }
.about-figure {
  position: relative;
  background: linear-gradient(160deg, #17303a 0%, #0e1b23 62%);
  border-radius: var(--radius);
  padding: 44px 40px;
  color: #fff;
  overflow: hidden;
}
.about-figure::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(180deg, #000, transparent 78%);
  -webkit-mask-image: linear-gradient(180deg, #000, transparent 78%);
}
.about-figure > * { position: relative; }
.about-figure .eyebrow { color: rgba(255, 255, 255, 0.7); }
.about-figure blockquote {
  margin: 0 0 30px;
  font-size: 24px;
  line-height: 1.6;
  letter-spacing: -0.01em;
  font-weight: 500;
}
.about-figure .fig-list { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.about-figure .fig-list li {
  display: flex; justify-content: space-between; gap: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 14px;
  color: rgba(255, 255, 255, 0.78);
}
.about-figure .fig-list b { color: #fff; font-weight: 500; }

.about-body p { color: var(--ink-2); line-height: 1.95; margin: 0 0 20px; font-size: 16px; }
.about-body p:last-child { margin-bottom: 0; }

.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 64px; }
.value {
  padding: 30px 26px;
  background: var(--soft);
  border-radius: var(--radius);
  border: 1px solid transparent;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.value:hover { background: #fff; border-color: var(--line); }
.value strong { display: block; font-size: 17px; margin-bottom: 10px; }
.value span { font-size: 11.5px; letter-spacing: 0.2em; color: var(--gold); font-weight: 600; display: block; margin-bottom: 14px; }
.value p { margin: 0; font-size: 14px; color: var(--muted); line-height: 1.8; }

/* timeline */
.timeline { border-top: 1px solid var(--line); }
.tl-row {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 40px;
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
  transition: background 0.3s var(--ease);
}
.tl-row:hover { background: var(--soft); }
.tl-year { font-size: 20px; font-weight: 600; letter-spacing: -0.01em; color: var(--jade); }
.tl-body h4 { font-size: 16.5px; margin-bottom: 6px; }
.tl-body p { margin: 0; color: var(--muted); font-size: 14.5px; }

/* ---------------------------------------------------------------- contact */

.contact-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 64px; align-items: start; }
.info-list { list-style: none; margin: 0; padding: 0; }
.info-list li {
  display: flex;
  gap: 18px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}
.info-list li:first-child { padding-top: 0; }
.info-icon {
  width: 38px; height: 38px; flex: none;
  border-radius: 50%;
  background: var(--soft);
  color: var(--jade);
  display: grid; place-items: center;
}
.info-list h4 { font-size: 14px; color: var(--muted); font-weight: 500; margin-bottom: 4px; letter-spacing: 0.02em; }
.info-list p { margin: 0; font-size: 16px; color: var(--ink); }
.info-list small { color: var(--muted); font-size: 13px; }

.card-form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow-sm);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 20px; }
.field label { display: block; font-size: 13px; color: var(--ink-2); margin-bottom: 8px; letter-spacing: 0.02em; }
.field label .req { color: var(--gold); margin-left: 3px; }
.field input, .field textarea, .field select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fdfdfc;
  font-size: 15px;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease);
}
.field textarea { min-height: 132px; resize: vertical; line-height: 1.7; }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  background: #fff;
  border-color: var(--jade);
  box-shadow: 0 0 0 3px rgba(29, 92, 78, 0.12);
}
.field .hint { font-size: 12.5px; color: var(--muted); margin-top: 6px; }
.form-note { font-size: 12.5px; color: var(--muted); margin: 16px 0 0; line-height: 1.7; }
.form-alert {
  display: none;
  padding: 12px 14px;
  border-radius: var(--radius);
  font-size: 14px;
  margin-bottom: 18px;
  border: 1px solid transparent;
}
.form-alert.show { display: block; }
.form-alert.error { background: #fdf1ef; border-color: #f3d3cd; color: #8a2d1d; }
.form-alert.ok { background: #eef6f2; border-color: #cfe5da; color: #17564a; }

/* --------------------------------------------------------------- cta band */

.cta {
  position: relative;
  overflow: hidden;
  background: linear-gradient(140deg, #123f36 0%, #0e1b23 78%);
  color: #fff;
  padding: 88px 0;
}
.cta::before {
  content: "";
  position: absolute; right: -80px; top: -80px;
  width: 460px; height: 460px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(179, 144, 79, 0.28), transparent 68%);
}
.cta-inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.cta h2 { font-size: clamp(26px, 3vw, 36px); margin-bottom: 12px; }
.cta p { margin: 0; color: rgba(255, 255, 255, 0.7); font-size: 15.5px; max-width: 560px; }

/* ------------------------------------------------------------------ auth */

.auth-wrap {
  min-height: calc(100vh - 78px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--bg);
}
.auth-aside {
  position: relative;
  overflow: hidden;
  background: linear-gradient(155deg, #123f36 0%, #0e1b23 70%);
  color: #fff;
  padding: 72px 64px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.auth-aside::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(circle at 70% 20%, #000, transparent 76%);
  -webkit-mask-image: radial-gradient(circle at 70% 20%, #000, transparent 76%);
}
.auth-aside > * { position: relative; }
.auth-aside h2 { font-size: clamp(26px, 2.8vw, 34px); margin-bottom: 20px; line-height: 1.4; }
.auth-aside p { color: rgba(255, 255, 255, 0.7); font-size: 15px; max-width: 400px; }
.auth-points { list-style: none; margin: 34px 0 0; padding: 0; display: grid; gap: 16px; }
.auth-points li { display: flex; gap: 12px; align-items: flex-start; font-size: 14.5px; color: rgba(255, 255, 255, 0.82); }
.auth-points svg { flex: none; margin-top: 4px; color: var(--gold); }

.auth-main { display: grid; place-items: center; padding: 64px 32px; }
.auth-card { width: 100%; max-width: 420px; }
.auth-card h1 { font-size: 30px; margin-bottom: 10px; }
.auth-card .sub { color: var(--muted); font-size: 14.5px; margin: 0 0 32px; }

.tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-bottom: 1px solid var(--line);
  margin-bottom: 28px;
}
.tab {
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  padding: 12px 0 14px;
  font-size: 15px;
  color: var(--muted);
  transition: color 0.25s var(--ease), border-color 0.25s var(--ease);
  margin-bottom: -1px;
}
.tab.active { color: var(--ink); font-weight: 600; border-bottom-color: var(--jade); }

/* --------------------------------------------------------------- account */

.account-head {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 40px 0 44px;
  border-bottom: 1px solid var(--line);
  flex-wrap: wrap;
}
.avatar-lg {
  width: 76px; height: 76px;
  border-radius: 50%;
  background: var(--jade);
  color: #fff;
  display: grid; place-items: center;
  font-size: 26px; font-weight: 600;
  overflow: hidden;
  flex: none;
}
.avatar-lg img { width: 100%; height: 100%; object-fit: cover; }
.account-head h1 { font-size: 26px; margin-bottom: 6px; }
.account-head p { margin: 0; color: var(--muted); font-size: 14px; }
.account-head .spacer { flex: 1; }

.account-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 44px; padding: 48px 0 96px; }
.panel { border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; background: #fff; }
.panel h3 { font-size: 17px; margin-bottom: 6px; }
.panel .panel-sub { color: var(--muted); font-size: 13.5px; margin: 0 0 24px; }

.msg-list { list-style: none; margin: 0; padding: 0; }
.msg-list li { padding: 20px 0; border-top: 1px solid var(--line); }
.msg-list li:first-child { border-top: none; padding-top: 0; }
.msg-meta { display: flex; justify-content: space-between; gap: 16px; font-size: 12.5px; color: var(--muted); margin-bottom: 8px; }
.msg-topic { color: var(--jade); font-weight: 600; letter-spacing: 0.02em; }
.msg-list p { margin: 0; font-size: 14.5px; color: var(--ink-2); line-height: 1.8; }
.empty { color: var(--muted); font-size: 14px; padding: 24px 0; }

.kv { display: grid; gap: 16px; margin: 0; }
.kv div { display: flex; justify-content: space-between; gap: 16px; font-size: 14px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.kv div:last-child { border-bottom: none; padding-bottom: 0; }
.kv dt { color: var(--muted); margin: 0; }
.kv dd { margin: 0; color: var(--ink); font-weight: 500; }

/* -------------------------------------------------------------- page hero */

.page-hero {
  position: relative;
  padding: 88px 0 76px;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(900px 420px at 88% -20%, rgba(29, 92, 78, 0.08), transparent 60%),
    linear-gradient(180deg, #fbfaf7, #ffffff);
}
.page-hero .display { font-size: clamp(32px, 4vw, 48px); margin-bottom: 20px; max-width: 780px; }
.page-hero p { margin: 0; max-width: 640px; color: var(--muted); font-size: 16.5px; line-height: 1.9; }
.crumbs { display: flex; gap: 8px; align-items: center; font-size: 13px; color: var(--muted); margin-bottom: 26px; }
.crumbs a:hover { color: var(--jade); }
.crumbs span { opacity: 0.5; }

/* ---------------------------------------------------------------- footer */

.site-footer { background: var(--ink); color: rgba(255, 255, 255, 0.72); padding: 72px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: 48px; padding-bottom: 56px; }
.footer-brand .brand-name { color: #fff; }
.footer-brand .brand-sub { color: rgba(255, 255, 255, 0.45); }
.footer-brand p { margin: 20px 0 0; font-size: 13.5px; line-height: 1.9; max-width: 320px; color: rgba(255, 255, 255, 0.55); }
.footer-col h4 { color: #fff; font-size: 14px; margin-bottom: 18px; letter-spacing: 0.06em; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.footer-col a, .footer-col li { font-size: 13.5px; color: rgba(255, 255, 255, 0.6); transition: color 0.25s var(--ease); }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 22px 0 26px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.42);
}

/* ------------------------------------------------------------------ misc */

.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.no-anim .reveal { opacity: 1; transform: none; transition: none; }

.divider { height: 1px; background: var(--line); border: none; margin: 0; }

.toast {
  position: fixed;
  left: 50%;
  bottom: 32px;
  transform: translate(-50%, 20px);
  background: var(--ink);
  color: #fff;
  padding: 12px 22px;
  border-radius: 999px;
  font-size: 14px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
  z-index: 200;
  box-shadow: var(--shadow-md);
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

.loading-dots::after {
  content: "";
  animation: dots 1.2s steps(4, end) infinite;
}
@keyframes dots { 0% { content: ""; } 25% { content: "."; } 50% { content: ".."; } 75% { content: "..."; } }

/* ------------------------------------------------------------ responsive */

@media (max-width: 1040px) {
  .hero-inner { grid-template-columns: 1fr; gap: 56px; padding: 84px 0 96px; }
  .hero-visual { max-width: 560px; }
  .cap-grid { grid-template-columns: repeat(2, 1fr); }
  .cap:nth-child(3n) { border-right: 1px solid var(--line); }
  .cap:nth-child(2n) { border-right: none; }
  .about-grid { grid-template-columns: 1fr; gap: 44px; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .account-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .auth-wrap { grid-template-columns: 1fr; }
  .auth-aside { display: none; }
  .band-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .process { grid-template-columns: repeat(2, 1fr); gap: 34px; }
  .item-grid { grid-template-columns: repeat(2, 1fr); }
  .value-grid { grid-template-columns: 1fr; }
}

@media (max-width: 820px) {
  .wrap { padding: 0 20px; }
  .nav { height: 66px; }
  .nav-links {
    position: absolute;
    top: 66px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: 8px 20px 18px;
    display: none;
    box-shadow: 0 24px 40px -30px rgba(14, 27, 35, 0.5);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 13px 0; border-bottom: 1px solid var(--line); }
  .nav-links a::after { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav-actions .btn-label { display: none; }
  .section { padding: 72px 0; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 20px; margin-bottom: 40px; }
  .section-head.center { align-items: center; }
  .band-grid { grid-template-columns: 1fr 1fr; }
  .cap-grid { grid-template-columns: 1fr; }
  .cap { border-right: none !important; }
  .item-grid { grid-template-columns: 1fr; }
  .process { grid-template-columns: 1fr; }
  .tl-row { grid-template-columns: 1fr; gap: 10px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .card-form { padding: 26px 22px; }
  .cta { padding: 64px 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 34px; }
  .page-hero { padding: 56px 0 48px; }
  .hero-meta { gap: 24px; }
  .account-head { gap: 16px; }
  .account-head .spacer { flex-basis: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}
