/* ==========================================================================
   胖企鹅 · 企业官网样式表
   设计语言：留白 / 细线 / 墨色 + 企鹅橙点缀
   ========================================================================== */

/* ---------- tokens ---------- */
:root {
  --ink: #15181d;
  --ink-2: #2b3138;
  --ink-soft: #454c55;
  --muted: #7b838e;
  --line: rgba(21, 24, 29, 0.09);
  --line-2: rgba(21, 24, 29, 0.16);
  --paper: #ffffff;
  --canvas: #f7f6f3;
  --canvas-2: #efede7;
  --accent: #c2602c;
  --accent-soft: #f4e9e0;
  --accent-ink: #8d4318;
  --radius: 2px;
  --shadow-sm: 0 1px 2px rgba(21, 24, 29, 0.04);
  --shadow-md: 0 18px 40px -24px rgba(21, 24, 29, 0.28);
  --shadow-lg: 0 40px 90px -50px rgba(21, 24, 29, 0.45);
  --ease: cubic-bezier(0.22, 0.7, 0.3, 1);
  --header-h: 76px;
  --maxw: 1180px;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "HarmonyOS Sans SC",
    "Microsoft YaHei", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 15.5px;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4, p, figure, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
::selection { background: var(--accent); color: #fff; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--ink); color: #fff; padding: 10px 18px; font-size: 13px;
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 12px; }

.container {
  width: min(var(--maxw), 100% - 64px);
  margin-inline: auto;
}

/* ---------- typography ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: currentColor;
  opacity: 0.6;
}
.eyebrow--plain::before { display: none; }

.h1 {
  font-size: clamp(38px, 5.1vw, 66px);
  line-height: 1.12;
  letter-spacing: -0.02em;
  font-weight: 600;
}
.h2 {
  font-size: clamp(27px, 3.1vw, 40px);
  line-height: 1.24;
  letter-spacing: -0.015em;
  font-weight: 600;
}
.h3 {
  font-size: 19px;
  line-height: 1.5;
  letter-spacing: -0.005em;
  font-weight: 600;
}
.lead {
  font-size: clamp(16px, 1.4vw, 18px);
  line-height: 1.85;
  color: var(--ink-soft);
}
.muted { color: var(--muted); }
.small { font-size: 13px; line-height: 1.75; }
.serif-num {
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.03em;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 52px;
  padding: 0 28px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  background: none;
  cursor: pointer;
  font-size: 14.5px;
  letter-spacing: 0.02em;
  white-space: nowrap;
  transition: background 0.25s var(--ease), color 0.25s var(--ease),
    border-color 0.25s var(--ease), transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.btn:disabled { opacity: 0.5; cursor: not-allowed; }
.btn__arrow { transition: transform 0.3s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(4px); }

.btn--primary { background: var(--ink); color: #fff; }
.btn--primary:hover:not(:disabled) { background: #000; transform: translateY(-1px); box-shadow: var(--shadow-md); }

.btn--line { border-color: var(--line-2); color: var(--ink); }
.btn--line:hover:not(:disabled) { border-color: var(--ink); }

.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover:not(:disabled) { background: var(--accent-soft); }

.btn--ghost-light { border-color: rgba(255, 255, 255, 0.32); color: #fff; }
.btn--ghost-light:hover:not(:disabled) { border-color: #fff; background: rgba(255, 255, 255, 0.08); }

.btn--sm { height: 42px; padding: 0 20px; font-size: 13.5px; }
.btn--block { width: 100%; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  border-bottom: 1px solid var(--line-2);
  padding-bottom: 4px;
  transition: border-color 0.25s var(--ease), gap 0.25s var(--ease);
}
.link-arrow:hover { border-color: var(--ink); gap: 12px; }

/* ---------- header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 90;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: background 0.35s var(--ease), border-color 0.35s var(--ease), backdrop-filter 0.35s;
  border-bottom: 1px solid transparent;
}
.site-header.is-stuck {
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom-color: var(--line);
}
.site-header__inner {
  width: min(var(--maxw), 100% - 64px);
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 40px;
}
.brand { display: inline-flex; align-items: center; gap: 11px; flex: none; }
.brand__mark { width: 30px; height: 30px; }
.brand__name {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0.14em;
}
.brand__tag {
  font-size: 10.5px;
  letter-spacing: 0.16em;
  color: var(--muted);
  padding-left: 11px;
  border-left: 1px solid var(--line-2);
  line-height: 1.2;
  text-transform: uppercase;
}

.nav { margin-left: auto; display: flex; align-items: center; gap: 34px; }
.nav a {
  position: relative;
  font-size: 14.5px;
  color: var(--ink-soft);
  padding: 6px 0;
  transition: color 0.2s var(--ease);
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.nav a:hover { color: var(--ink); }
.nav a:hover::after { transform: scaleX(1); }
.nav a.is-active { color: var(--ink); font-weight: 500; }
.nav a.is-active::after { transform: scaleX(1); }

.header-actions { display: flex; align-items: center; gap: 14px; flex: none; }

.user-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 42px;
  padding: 0 6px 0 6px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  cursor: pointer;
  transition: border-color 0.2s var(--ease);
}
.user-chip:hover { border-color: var(--line-2); }
.user-chip__avatar {
  width: 30px; height: 30px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--canvas-2);
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-soft);
  overflow: hidden;
}
.user-chip__name {
  max-width: 108px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 13.5px;
  padding-right: 10px;
}

.nav-toggle {
  display: none;
  width: 42px; height: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  cursor: pointer;
  padding: 0;
  place-items: center;
}
.nav-toggle span {
  display: block;
  width: 17px; height: 1px;
  background: var(--ink);
  position: relative;
}
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute; left: 0;
  width: 17px; height: 1px;
  background: var(--ink);
}
.nav-toggle span::before { top: -5px; }
.nav-toggle span::after { top: 5px; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  padding-top: calc(var(--header-h) + clamp(48px, 8vh, 92px));
  padding-bottom: clamp(56px, 8vh, 92px);
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background:
    radial-gradient(1100px 620px at 82% 16%, rgba(194, 96, 44, 0.09), transparent 62%),
    radial-gradient(900px 620px at 6% 96%, rgba(21, 24, 29, 0.05), transparent 60%),
    var(--canvas);
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(21, 24, 29, 0.035) 1px, transparent 1px);
  background-size: calc(min(var(--maxw), 100% - 64px) / 6) 100%;
  background-position: center;
  opacity: 0.7;
  mask-image: linear-gradient(to bottom, transparent, #000 22%, #000 74%, transparent);
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 22%, #000 74%, transparent);
}
.hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
  width: min(var(--maxw), 100% - 64px);
  margin-inline: auto;
}
.hero__title { margin-top: 22px; }
.hero__title em {
  font-style: normal;
  position: relative;
  white-space: nowrap;
}
.hero__title em::after {
  content: "";
  position: absolute;
  left: -2px; right: -2px; bottom: 6px;
  height: 0.42em;
  background: var(--accent-soft);
  z-index: -1;
}
.hero__lead {
  margin-top: 26px;
  max-width: 30em;
  color: var(--ink-soft);
  font-size: clamp(15.5px, 1.35vw, 17.5px);
  line-height: 1.9;
}
.hero__actions { margin-top: 38px; display: flex; flex-wrap: wrap; gap: 14px; }
.hero__meta {
  margin-top: 46px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 12px 40px;
  font-size: 12.5px;
  color: var(--muted);
}
.hero__meta li { display: inline-flex; align-items: center; gap: 8px; }
.hero__meta li::before {
  content: "";
  width: 4px; height: 4px;
  background: var(--accent);
  border-radius: 50%;
}
.hero__art {
  position: relative;
  display: grid;
  place-items: center;
}
.hero__art img, .hero__art svg { width: 100%; max-width: 540px; height: auto; }
.hero__art-float {
  animation: float 9s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
.hero__caption {
  position: absolute;
  right: 0; bottom: 2%;
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--muted);
  text-transform: uppercase;
  writing-mode: vertical-rl;
}

/* ---------- stats strip ---------- */
.stats {
  border-block: 1px solid var(--line);
  background: var(--paper);
}
.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.stat {
  padding: 38px 32px;
  border-left: 1px solid var(--line);
}
.stat:first-child { border-left: 0; padding-left: 0; }
.stat__num {
  font-size: clamp(26px, 2.6vw, 34px);
  font-weight: 500;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}
.stat__num small { font-size: 13px; font-weight: 400; margin-left: 4px; color: var(--muted); letter-spacing: 0; }
.stat__label { margin-top: 6px; font-size: 12.5px; color: var(--muted); letter-spacing: 0.02em; }

/* ---------- section ---------- */
.section { padding-block: clamp(64px, 8.5vw, 124px); }
.section--tight { padding-block: clamp(48px, 6vw, 84px); }
.section--canvas { background: var(--canvas); }
.section--line { border-top: 1px solid var(--line); }

.section-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px 64px;
  align-items: end;
  margin-bottom: clamp(36px, 5vw, 60px);
}
.section-head__right { justify-self: end; max-width: 34em; }
.section-head__title { margin-top: 16px; }
.section-head--stack { grid-template-columns: 1fr; }
.section-head--stack .section-head__right { justify-self: start; }

/* ---------- feature cards ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.feature {
  background: var(--paper);
  padding: 38px 30px 34px;
  transition: background 0.3s var(--ease);
}
.feature:hover { background: #fcfbf9; }
.feature__icon {
  width: 40px; height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  color: var(--accent);
  margin-bottom: 22px;
}
.feature__icon svg { width: 18px; height: 18px; }
.feature h3 { font-size: 16.5px; font-weight: 600; letter-spacing: 0.01em; }
.feature p { margin-top: 10px; font-size: 13.5px; line-height: 1.85; color: var(--muted); }

/* ---------- product cards ---------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--line);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
}
.product-card:hover {
  transform: translateY(-5px);
  border-color: var(--line-2);
  box-shadow: var(--shadow-md);
}
.product-card__media {
  position: relative;
  aspect-ratio: 4 / 4.6;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: linear-gradient(160deg, #f4f2ee, #ece9e2);
}
.product-card__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.6s var(--ease);
}
.product-card:hover .product-card__media img { transform: scale(1.035) rotate(-1deg); }
.product-card__badge {
  position: absolute;
  top: 16px; left: 16px;
  padding: 5px 11px;
  font-size: 11px;
  letter-spacing: 0.1em;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--line);
  backdrop-filter: blur(4px);
}
.product-card__body { padding: 26px 26px 24px; display: flex; flex-direction: column; flex: 1; }
.product-card__series {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.product-card__name { margin-top: 9px; font-size: 18px; font-weight: 600; letter-spacing: -0.01em; }
.product-card__tagline { margin-top: 8px; font-size: 13.5px; color: var(--muted); line-height: 1.7; flex: 1; }
.product-card__foot {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}
.price { font-size: 22px; font-weight: 500; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.price small { font-size: 12px; color: var(--muted); margin-left: 4px; font-weight: 400; }
.product-card__more {
  background: none;
  border: 0;
  padding: 0;
  font-size: 13px;
  color: var(--accent);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.product-card__more:hover { text-decoration: underline; text-underline-offset: 4px; }

.fav-btn {
  position: absolute;
  top: 14px; right: 14px;
  width: 36px; height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink-soft);
  cursor: pointer;
  opacity: 0;
  transform: translateY(-4px);
  transition: all 0.3s var(--ease);
}
.product-card:hover .fav-btn, .fav-btn.is-on { opacity: 1; transform: none; }
.fav-btn:hover { border-color: var(--accent); color: var(--accent); }
.fav-btn.is-on { color: var(--accent); border-color: rgba(194, 96, 44, 0.4); background: #fff; }
.fav-btn.is-on svg { fill: currentColor; }

.skeleton {
  background: linear-gradient(100deg, #f0eee9 20%, #f7f5f1 42%, #f0eee9 62%);
  background-size: 220% 100%;
  animation: shimmer 1.3s linear infinite;
}
@keyframes shimmer {
  from { background-position: 120% 0; }
  to { background-position: -40% 0; }
}
.product-card--skeleton { height: 460px; border: 1px solid var(--line); }

/* ---------- filter tabs ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filter {
  height: 40px;
  padding: 0 18px;
  border: 1px solid var(--line-2);
  background: transparent;
  border-radius: 999px;
  font-size: 13.5px;
  color: var(--ink-soft);
  cursor: pointer;
  transition: all 0.25s var(--ease);
}
.filter:hover { border-color: var(--ink); color: var(--ink); }
.filter.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }

/* ---------- statement ---------- */
.statement {
  position: relative;
  background: var(--ink);
  color: #fff;
  padding-block: clamp(72px, 9vw, 130px);
  overflow: hidden;
}
.statement::before {
  content: "";
  position: absolute;
  inset: -30% -10% auto auto;
  width: 60vw; height: 60vw;
  background: radial-gradient(circle, rgba(194, 96, 44, 0.22), transparent 62%);
  pointer-events: none;
}
.statement__inner {
  position: relative;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(28px, 6vw, 88px);
  align-items: start;
}
.statement .eyebrow { color: #e0a173; }
.statement__quote {
  font-size: clamp(24px, 3.2vw, 38px);
  line-height: 1.5;
  letter-spacing: -0.015em;
  font-weight: 500;
}
.statement__quote em { font-style: normal; color: #e6a878; }
.statement__body { color: rgba(255, 255, 255, 0.66); font-size: 15px; line-height: 1.95; max-width: 34em; }
.statement__list { margin-top: 30px; display: grid; gap: 16px; }
.statement__list li {
  display: flex;
  gap: 14px;
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.8);
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.statement__list span { color: rgba(255, 255, 255, 0.4); font-variant-numeric: tabular-nums; }

/* ---------- steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; counter-reset: step; }
.step { position: relative; padding-top: 26px; border-top: 1px solid var(--line-2); }
.step::before {
  counter-increment: step;
  content: "0" counter(step);
  position: absolute;
  top: -13px; left: 0;
  background: var(--paper);
  padding-right: 12px;
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--accent);
}
.section--canvas .step::before { background: var(--canvas); }
.step h3 { font-size: 15.5px; font-weight: 600; }
.step p { margin-top: 9px; font-size: 13.5px; color: var(--muted); line-height: 1.85; }

/* ---------- cta band ---------- */
.cta-band {
  border: 1px solid var(--line);
  padding: clamp(36px, 5vw, 64px);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  background: linear-gradient(120deg, #fdfcfa, #f4f1ea);
}
.cta-band h2 { max-width: 20em; }
.cta-band .btn-group { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- page hero ---------- */
.page-hero {
  padding-top: calc(var(--header-h) + clamp(56px, 9vh, 96px));
  padding-bottom: clamp(40px, 6vw, 64px);
  background: var(--canvas);
  border-bottom: 1px solid var(--line);
}
.page-hero__title { margin-top: 18px; max-width: 22em; }
.page-hero__lead { margin-top: 22px; max-width: 42em; color: var(--ink-soft); }
.breadcrumb { display: flex; gap: 8px; font-size: 12px; color: var(--muted); letter-spacing: 0.04em; }
.breadcrumb span { opacity: 0.5; }

/* ---------- about page ---------- */
.split {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(30px, 6vw, 80px);
  align-items: start;
}
.about-figure {
  position: relative;
  aspect-ratio: 4 / 4.4;
  background: linear-gradient(155deg, #23262c, #101215);
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 40px;
}
.about-figure::after {
  content: "PENGUIN EDU";
  position: absolute;
  left: 26px; bottom: 22px;
  font-size: 10.5px;
  letter-spacing: 0.24em;
  color: rgba(255, 255, 255, 0.42);
}
.about-figure img { width: 78%; height: auto; }
.about-copy p + p { margin-top: 18px; }
.about-copy p { color: var(--ink-soft); line-height: 1.95; }
.about-points { margin-top: 34px; display: grid; gap: 0; border-top: 1px solid var(--line); }
.about-points li {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 18px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}
.about-points b { font-weight: 600; font-size: 12.5px; color: var(--muted); letter-spacing: 0.06em; }

.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.value {
  padding: 34px 30px;
  border: 1px solid var(--line);
  background: var(--paper);
}
.value__idx { font-size: 12px; letter-spacing: 0.16em; color: var(--accent); }
.value h3 { margin-top: 16px; font-size: 18px; }
.value p { margin-top: 12px; font-size: 13.5px; line-height: 1.9; color: var(--muted); }

.timeline { border-top: 1px solid var(--line-2); }
.timeline__row {
  display: grid;
  grid-template-columns: 120px 1fr 1.1fr;
  gap: 28px;
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
}
.timeline__year { font-size: 22px; font-weight: 500; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.timeline__title { font-size: 16px; font-weight: 600; }
.timeline__desc { font-size: 13.5px; color: var(--muted); line-height: 1.85; }

.compare { border-top: 1px solid var(--line-2); }
.compare__row {
  display: grid;
  grid-template-columns: 0.7fr 1fr 1.2fr;
  gap: 24px;
  padding: 17px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  align-items: baseline;
}
.compare__row > div:first-child { color: var(--muted); font-size: 13px; }
.compare__row--head { padding: 14px 0; font-size: 12px; letter-spacing: .06em; }
.compare__row--head > div { color: var(--ink); font-weight: 600; }
.compare__row--head > div:first-child { color: var(--muted); font-weight: 500; }

.cred-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.cred {
  border: 1px solid var(--line);
  padding: 26px 22px;
  background: var(--paper);
  display: flex;
  align-items: center;
  gap: 14px;
}
.cred svg { width: 26px; height: 26px; color: var(--accent); flex: none; }
.cred div { font-size: 13px; line-height: 1.5; }
.cred span { display: block; font-size: 11.5px; color: var(--muted); margin-top: 2px; }

/* ---------- faq ---------- */
.faq { border-top: 1px solid var(--line); }
.faq details {
  border-bottom: 1px solid var(--line);
  padding: 22px 0;
}
.faq summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-size: 15.5px;
  font-weight: 500;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-size: 20px;
  font-weight: 300;
  color: var(--muted);
  transition: transform 0.3s var(--ease);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin-top: 14px; font-size: 13.8px; color: var(--muted); line-height: 1.9; max-width: 52em; }

/* ---------- contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(30px, 5vw, 72px);
  align-items: start;
}
.contact-list { border-top: 1px solid var(--line-2); }
.contact-item {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 18px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}
.contact-item dt { font-size: 12px; letter-spacing: 0.1em; color: var(--muted); padding-top: 3px; }
.contact-item dd { margin: 0; font-size: 15px; line-height: 1.7; }
.contact-item dd small { display: block; font-size: 12.5px; color: var(--muted); margin-top: 4px; }
.contact-item dd a:hover { color: var(--accent); }

.form-card {
  border: 1px solid var(--line);
  padding: clamp(26px, 3.4vw, 44px);
  background: var(--paper);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 20px; }
.field > label {
  display: block;
  font-size: 12.5px;
  color: var(--ink-soft);
  letter-spacing: 0.04em;
  margin-bottom: 9px;
}
.field > label .req { color: var(--accent); }
.input, .textarea, .select {
  width: 100%;
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  background: #fff;
  padding: 13px 14px;
  font-size: 14.5px;
  color: var(--ink);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
  font-family: inherit;
  line-height: 1.6;
}
.input::placeholder, .textarea::placeholder { color: #b3b8bf; }
.input:focus, .textarea:focus, .select:focus {
  outline: none;
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(21, 24, 29, 0.06);
}
.textarea { min-height: 132px; resize: vertical; }
.select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%237b838e' stroke-width='1.4' fill='none'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 38px; }
.field__error { display: none; margin-top: 7px; font-size: 12px; color: #b23b2e; }
.field.has-error .input, .field.has-error .textarea { border-color: #d4897f; }
.field.has-error .field__error { display: block; }
.form-note { margin-top: 14px; font-size: 12px; color: var(--muted); line-height: 1.7; }
.form-success {
  display: none;
  border: 1px solid rgba(46, 110, 82, 0.24);
  background: #f2f8f4;
  padding: 26px;
  text-align: center;
}
.form-success.is-on { display: block; }
.form-success h3 { color: #24614a; }
.form-success p { margin-top: 8px; font-size: 13.5px; color: #3f6d5b; }

.map-card {
  position: relative;
  border: 1px solid var(--line);
  background: var(--canvas);
  padding: 40px;
  overflow: hidden;
  display: grid;
  gap: 6px;
  align-content: center;
  min-height: 260px;
}
.map-card::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(21, 24, 29, 0.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(21, 24, 29, 0.06) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: radial-gradient(circle at 60% 40%, #000, transparent 78%);
  -webkit-mask-image: radial-gradient(circle at 60% 40%, #000, transparent 78%);
}
.map-card > * { position: relative; }
.map-pin {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  display: grid;
  place-items: center;
  margin-bottom: 14px;
  box-shadow: 0 0 0 8px rgba(21, 24, 29, 0.07), 0 0 0 18px rgba(21, 24, 29, 0.035);
}

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: rgba(255, 255, 255, 0.62); padding-top: clamp(48px, 6vw, 76px); }
.site-footer__top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.site-footer .brand__name { color: #fff; }
.site-footer .brand__tag { color: rgba(255, 255, 255, 0.42); border-color: rgba(255, 255, 255, 0.16); }
.site-footer__intro { margin-top: 20px; font-size: 13px; line-height: 1.9; max-width: 26em; }
.footer-col h4 {
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 600;
  margin-bottom: 16px;
}
.footer-col li { margin-bottom: 10px; font-size: 13.5px; }
.footer-col a { transition: color 0.2s var(--ease); }
.footer-col a:hover { color: #fff; }
.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  justify-content: space-between;
  padding-block: 26px;
  font-size: 11.5px;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.38);
}

/* ---------- auth modal ---------- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: none;
}
.modal.is-open { display: grid; place-items: center; padding: 24px; }
.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(14, 16, 19, 0.5);
  backdrop-filter: blur(3px);
  animation: fade 0.3s var(--ease);
}
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
.modal__panel {
  position: relative;
  width: min(440px, 100%);
  max-height: calc(100vh - 48px);
  overflow: auto;
  background: var(--paper);
  padding: 38px 36px 32px;
  box-shadow: var(--shadow-lg);
  animation: pop 0.34s var(--ease);
}
@keyframes pop {
  from { opacity: 0; transform: translateY(14px) scale(0.985); }
  to { opacity: 1; transform: none; }
}
.modal__close {
  position: absolute;
  top: 16px; right: 16px;
  width: 34px; height: 34px;
  border: 0;
  background: none;
  color: var(--muted);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  border-radius: 50%;
}
.modal__close:hover { background: var(--canvas); color: var(--ink); }
.modal__title { font-size: 23px; font-weight: 600; letter-spacing: -0.01em; }
.modal__sub { margin-top: 8px; font-size: 13px; color: var(--muted); line-height: 1.7; }

.auth-tabs { display: flex; gap: 26px; margin: 26px 0 22px; border-bottom: 1px solid var(--line); }
.auth-tab {
  position: relative;
  border: 0;
  background: none;
  padding: 0 0 12px;
  font-size: 14px;
  color: var(--muted);
  cursor: pointer;
}
.auth-tab.is-active { color: var(--ink); font-weight: 500; }
.auth-tab.is-active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 1px;
  background: var(--ink);
}
.auth-pane { display: none; }
.auth-pane.is-active { display: block; }
.code-row { display: flex; gap: 10px; }
.code-row .input { flex: 1; }
.btn-code {
  flex: none;
  height: 47px;
  padding: 0 16px;
  border: 1px solid var(--line-2);
  background: #fff;
  border-radius: var(--radius);
  font-size: 13px;
  cursor: pointer;
  white-space: nowrap;
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease);
}
.btn-code:hover:not(:disabled) { border-color: var(--ink); }
.btn-code:disabled { color: var(--muted); cursor: not-allowed; background: var(--canvas); }
.auth-alert {
  display: none;
  margin-bottom: 16px;
  padding: 10px 12px;
  font-size: 12.5px;
  line-height: 1.6;
  border: 1px solid rgba(178, 59, 46, 0.24);
  background: #fdf3f1;
  color: #99372c;
}
.auth-alert.is-on { display: block; }
.auth-divider {
  position: relative;
  text-align: center;
  margin: 24px 0 18px;
  font-size: 11.5px;
  color: var(--muted);
}
.auth-divider::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 50%;
  height: 1px;
  background: var(--line);
}
.auth-divider span { position: relative; background: #fff; padding: 0 12px; }
.auth-legal { margin-top: 20px; font-size: 11.5px; line-height: 1.7; color: var(--muted); text-align: center; }
.auth-legal a { border-bottom: 1px solid var(--line-2); }

/* ---------- toast ---------- */
.toast-wrap {
  position: fixed;
  left: 50%;
  bottom: 32px;
  transform: translateX(-50%);
  z-index: 200;
  display: grid;
  gap: 10px;
  pointer-events: none;
}
.toast {
  background: var(--ink);
  color: #fff;
  font-size: 13.5px;
  padding: 12px 20px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  animation: toastIn 0.3s var(--ease);
  max-width: 80vw;
}
.toast--error { background: #8f3a2d; }
@keyframes toastIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}

/* ---------- product detail modal ---------- */
.detail {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 0;
  width: min(880px, 100%);
}
.detail__media {
  background: linear-gradient(160deg, #f4f2ee, #eae7e0);
  display: grid;
  place-items: center;
  padding: 34px;
}
.detail__media img { max-height: 380px; width: auto; }
.detail__body { padding: 38px 40px 34px; }
.detail__name { font-size: 24px; font-weight: 600; letter-spacing: -0.015em; }
.detail__tagline { margin-top: 8px; color: var(--muted); font-size: 14px; }
.detail__price { margin-top: 18px; display: flex; align-items: baseline; gap: 10px; }
.detail__price .price { font-size: 26px; }
.spec-list { margin-top: 22px; border-top: 1px solid var(--line); }
.spec-list li {
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: 14px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}
.spec-list b { font-weight: 400; color: var(--muted); }
.hl-list { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 8px; }
.hl-list li {
  font-size: 12px;
  padding: 5px 11px;
  background: var(--canvas);
  border: 1px solid var(--line);
  color: var(--ink-soft);
}
.detail__actions { margin-top: 26px; display: flex; gap: 10px; flex-wrap: wrap; }

/* ---------- member ---------- */
.dash { display: grid; grid-template-columns: 260px 1fr; gap: 32px; align-items: start; }
.dash-side {
  border: 1px solid var(--line);
  padding: 26px 22px;
  background: var(--paper);
  position: sticky;
  top: calc(var(--header-h) + 20px);
}
.dash-side__avatar {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--canvas-2);
  display: grid;
  place-items: center;
  font-size: 22px;
  font-weight: 500;
  color: var(--ink-soft);
  overflow: hidden;
  margin-bottom: 14px;
}
.dash-side__avatar img { width: 100%; height: 100%; object-fit: cover; }
.dash-side__name { font-size: 16px; font-weight: 600; }
.dash-side__meta { font-size: 12px; color: var(--muted); margin-top: 4px; }
.dash-nav { margin-top: 22px; border-top: 1px solid var(--line); padding-top: 12px; display: grid; }
.dash-nav a {
  padding: 10px 0;
  font-size: 13.5px;
  color: var(--ink-soft);
  display: flex;
  justify-content: space-between;
  transition: color 0.2s var(--ease);
}
.dash-nav a:hover { color: var(--accent); }
.dash-main { display: grid; gap: 24px; }
.panel { border: 1px solid var(--line); background: var(--paper); padding: clamp(22px, 3vw, 32px); }
.panel__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 20px;
}
.panel__head h2 { font-size: 17px; font-weight: 600; }
.panel__head .small { color: var(--muted); }
.empty-state { text-align: center; padding: 34px 16px; color: var(--muted); font-size: 13.5px; }
.empty-state a { color: var(--accent); border-bottom: 1px solid currentColor; }

.list-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.list-row:last-child { border-bottom: 0; }
.list-row__main { flex: 1; min-width: 0; }
.list-row__title { font-size: 14px; font-weight: 500; }
.list-row__meta { font-size: 12px; color: var(--muted); margin-top: 2px; }
.list-row__text { font-size: 13px; color: var(--ink-soft); margin-top: 6px; line-height: 1.7; word-break: break-word; }
.icon-btn {
  width: 34px; height: 34px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: var(--radius);
  display: grid;
  place-items: center;
  cursor: pointer;
  color: var(--ink-soft);
  flex: none;
  transition: all 0.2s var(--ease);
}
.icon-btn:hover { border-color: var(--ink); color: var(--ink); }
.icon-btn--danger:hover { border-color: #b23b2e; color: #b23b2e; }
.dropzone {
  border: 1px dashed var(--line-2);
  padding: 26px;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}
.dropzone:hover, .dropzone.is-drag { border-color: var(--accent); background: #fdfaf7; }
.dropzone strong { display: block; font-size: 14px; font-weight: 500; }
.dropzone span { display: block; font-size: 12px; color: var(--muted); margin-top: 6px; }
.avatar-row { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.avatar-preview {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: var(--canvas-2);
  display: grid;
  place-items: center;
  overflow: hidden;
  font-size: 24px;
  color: var(--ink-soft);
}
.avatar-preview img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- reveal ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.85s var(--ease), transform 0.85s var(--ease);
  transition-delay: var(--d, 0ms);
}
.js .reveal.is-in { opacity: 1; transform: none; }

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

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .cred-grid { grid-template-columns: repeat(2, 1fr); }
  .value-grid { grid-template-columns: 1fr; }
  .dash { grid-template-columns: 1fr; }
  .dash-side { position: static; }
}

@media (max-width: 900px) {
  :root { --header-h: 66px; }
  .container, .hero__inner, .site-header__inner { width: calc(100% - 40px); }
  .brand__tag { display: none; }
  .nav-toggle { display: grid; }
  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto;
    background: #fff;
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px 20px 20px;
    display: none;
    box-shadow: var(--shadow-md);
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
  .nav a::after { display: none; }
  .hero { min-height: auto; }
  .hero__inner { grid-template-columns: 1fr; gap: 44px; }
  .hero__art { order: -1; }
  .hero__art img, .hero__art svg { max-width: 340px; }
  .hero__caption { display: none; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: 0; padding-left: 0; }
  .stat { border-top: 1px solid var(--line); }
  .stat:nth-child(-n+2) { border-top: 0; }
  .section-head { grid-template-columns: 1fr; align-items: start; }
  .section-head__right { justify-self: start; }
  .statement__inner { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 26px; }
  .split { grid-template-columns: 1fr; }
  .about-figure { aspect-ratio: 4 / 3; }
  .contact-grid { grid-template-columns: 1fr; }
  .site-footer__top { grid-template-columns: 1fr 1fr; }
  .timeline__row { grid-template-columns: 1fr; gap: 6px; }
  .detail { grid-template-columns: 1fr; }
  .detail__media { padding: 28px; }
  .detail__media img { max-height: 240px; }
}

@media (max-width: 640px) {
  body { font-size: 15px; }
  .product-grid { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .cta-band { flex-direction: column; align-items: stretch; }
  .cta-band .btn { width: 100%; }
  .modal__panel { padding: 30px 22px 26px; }
  .hero__actions .btn { width: 100%; }
  .stat { padding: 26px 18px; }
  .cred-grid { grid-template-columns: 1fr; }
  .site-footer__top { grid-template-columns: 1fr; gap: 28px; }
  .user-chip__name { display: none; }
  .header-actions { gap: 8px; }
  .brand__name { font-size: 15.5px; }
  .detail__body { padding: 26px 22px; }
  .compare__row { grid-template-columns: 0.8fr 1fr 1.1fr; gap: 12px; font-size: 12.5px; padding: 13px 0; }
  .compare__row > div:first-child { font-size: 12px; }
}
