/* ============================================================
   万格智元 ONE TOKEN — 全站样式
   ============================================================ */
/* 自托管像素字体(国内可访问,不依赖 Google Fonts) */
@font-face {
  font-family: "Press Start 2P";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/press-start-2p.woff2") format("woff2");
}
:root {
  --bg: #000000;
  --bg-soft: #0a0a0a;
  --panel: rgba(255, 255, 255, 0.04);
  --panel-strong: rgba(255, 255, 255, 0.07);
  --line: rgba(255, 255, 255, 0.12);
  --line-soft: rgba(255, 255, 255, 0.07);
  --text: #ffffff;
  --muted: #8a8a8f;
  --muted-2: #b6b6bb;
  --term-green: #c9c9cf;
  --radius: 16px;
  --maxw: 1180px;
  font-synthesis: none;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, -apple-system, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
::selection { background: #fff; color: #000; }

/* ---------- Ambient ---------- */
.grid-overlay {
  position: fixed; inset: 0; z-index: -1;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(circle at 50% 20%, #000 0%, transparent 75%);
  pointer-events: none;
}
.glow {
  position: fixed; top: -200px; left: 50%; transform: translateX(-50%);
  width: 900px; height: 600px; z-index: -1; pointer-events: none;
  background: radial-gradient(ellipse at center, rgba(255,255,255,0.10), transparent 65%);
}

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
section { padding: 120px 0; position: relative; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; letter-spacing: 0.26em; text-transform: uppercase;
  color: var(--muted-2); font-weight: 600; margin-bottom: 20px;
}
.eyebrow::before { content: ""; width: 26px; height: 1px; background: var(--muted); display: inline-block; }

h2.section-title {
  font-size: clamp(28px, 4vw, 46px); font-weight: 800;
  letter-spacing: -0.03em; line-height: 1.15; margin-bottom: 18px;
}
.section-lead { color: var(--muted-2); font-size: 17px; max-width: 620px; }

/* ---------- Logo (SVG) ---------- */
.ot-mark { display: block; }
.ot-mark .door { fill: currentColor; }
.ot-mark .dot { fill: currentColor; }

/* ---------- Nav ---------- */
header.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  backdrop-filter: blur(16px);
  background: rgba(0,0,0,0.5);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background .3s;
}
header.nav.scrolled { border-bottom: 1px solid var(--line); background: rgba(0,0,0,0.82); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; color: #fff; }
.brand .ot-mark { color: #fff; }
.brand-name { font-family: "SF Mono", ui-monospace, monospace; font-weight: 700; font-size: 16px; letter-spacing: 0.18em; }
nav.links { display: flex; gap: 36px; }
nav.links a { color: var(--muted); font-family: "SF Mono", ui-monospace, monospace; font-size: 13px; font-weight: 500; letter-spacing: 0.16em; transition: color .2s; position: relative; }
nav.links a:hover { color: #fff; }
nav.links a.active { color: #fff; }
nav.links a.active::after { content: ""; position: absolute; left: 50%; transform: translateX(-50%); bottom: -9px; width: 16px; height: 2px; background: #fff; }

.nav-right { display: flex; align-items: center; gap: 18px; }
.join-btn { font-family: "SF Mono", ui-monospace, monospace; font-size: 13px; letter-spacing: 0.18em; color: #fff; padding: 12px 22px; cursor: pointer; transition: background .2s; }
.join-btn:hover { background-color: rgba(255,255,255,0.08); }

/* Mobile menu toggle */
.nav-toggle {
  display: none; width: 40px; height: 40px; border: 1px solid var(--line);
  background: var(--panel); border-radius: 10px; cursor: pointer;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.nav-toggle span { width: 18px; height: 2px; background: #fff; border-radius: 2px; transition: transform .25s, opacity .25s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none; position: fixed; top: 72px; left: 0; right: 0; z-index: 99;
  background: rgba(0,0,0,0.96); border-bottom: 1px solid var(--line);
  padding: 16px 24px 24px; flex-direction: column; gap: 4px;
  backdrop-filter: blur(16px);
}
.mobile-menu.open { display: flex; }
.mobile-menu a { padding: 14px 8px; font-size: 17px; color: var(--muted-2); border-bottom: 1px solid var(--line-soft); }
.mobile-menu a.active { color: #fff; }
.mobile-menu .btn { margin-top: 14px; justify-content: center; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 11px 22px; border-radius: 999px;
  font-weight: 700; font-size: 15px; cursor: pointer; border: none;
  transition: transform .2s, box-shadow .2s, background .2s, color .2s, border-color .2s;
}
.btn-primary { background: #fff; color: #000; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 34px rgba(255,255,255,0.18); }
.btn-ghost { background: transparent; color: #fff; border: 1px solid var(--line); }
.btn-ghost:hover { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.3); transform: translateY(-2px); }
.btn[disabled] { opacity: .55; cursor: default; transform: none; box-shadow: none; }

/* ---------- Pixel base map (homepage 底图) ---------- */
body {
  background-color: var(--bg);
  background-image: radial-gradient(rgba(255,255,255,0.05) 1.4px, transparent 1.4px);
  background-size: 10px 10px;
  background-attachment: fixed;
}
.grid-overlay { display: none; }

/* ---------- Pixel field (hero canvas) ---------- */
.pixel-field { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }

/* ---------- Intro lead (信息层级) ---------- */
.intro-lead {
  font-size: clamp(16px, 2.2vw, 21px); line-height: 1.75;
  color: var(--muted-2); max-width: 780px; margin-top: 6px;
}
.intro-lead b { color: #fff; font-weight: 700; }

/* ---------- Pixel-font accents (all pages) ---------- */
.eyebrow {
  font-family: "Press Start 2P", ui-monospace, "SF Mono", monospace;
  font-size: 9px; letter-spacing: 0.08em; line-height: 1.9; color: var(--muted-2);
}
.eyebrow::before { width: 18px; }

/* ---------- Hero ---------- */
.hero { padding-top: 168px; padding-bottom: 86px; text-align: center; position: relative; overflow: hidden; }
.hero .wrap { position: relative; z-index: 2; }
.hero .pill {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 16px; border-radius: 999px;
  background: var(--panel); border: 1px solid var(--line);
  font-size: 13px; color: var(--muted-2); margin-bottom: 32px;
}
.hero .pill b { color: #fff; font-weight: 600; }
.dot-live { width: 7px; height: 7px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 0 rgba(255,255,255,0.7); animation: pulse 2s infinite; }
@keyframes pulse { 0%{box-shadow:0 0 0 0 rgba(255,255,255,0.5);} 70%{box-shadow:0 0 0 8px rgba(255,255,255,0);} 100%{box-shadow:0 0 0 0 rgba(255,255,255,0);} }

.hero-logo { margin: 0 auto 26px; color: #fff; width: 64px; height: 64px; }
.hero-logo.float { animation: floaty 5s ease-in-out infinite; }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.hero .kicker {
  font-family: "Press Start 2P", ui-monospace, "SF Mono", monospace;
  font-size: clamp(15px, 3vw, 26px); letter-spacing: 0.12em; color: #fff;
  margin-bottom: 18px; line-height: 1;
}
.hero h1.scramble { font-family: "SF Mono", ui-monospace, "Roboto Mono", Menlo, Consolas, monospace; text-transform: none; word-break: break-word; }
.hero h1 {
  font-size: clamp(26px, 4.4vw, 50px); font-weight: 800;
  letter-spacing: -0.03em; line-height: 1.05; margin-bottom: 22px;
}
.hero h1 .muted-word { color: var(--muted); }
.hero p.sub { font-size: clamp(14px, 1.8vw, 17px); color: var(--muted-2); max-width: 560px; margin: 0 auto 36px; }
.hero-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero .cred { margin-top: 34px; color: var(--muted); font-size: 14px; letter-spacing: 0.02em; }

.typer {
  font-family: "SF Mono", ui-monospace, "Roboto Mono", Menlo, Consolas, monospace;
  font-size: clamp(13px, 1.8vw, 16px); color: var(--muted-2);
  margin: 6px auto 30px; min-height: 24px; letter-spacing: 0.02em;
}
.typer .caret-prompt { color: #fff; opacity: .55; }
.typer #typer { color: #fff; }
.caret { display: inline-block; color: #fff; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

.hero-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; max-width: 800px; margin: 78px auto 0; }
.stat { text-align: center; }
.stat .num { font-size: clamp(28px, 4vw, 42px); font-weight: 800; letter-spacing: -0.03em; }
.stat .label { color: var(--muted); font-size: 14px; margin-top: 4px; }

/* ---------- Values (团队文化:仅三词) ---------- */
.values { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 48px; }
.value {
  flex: 1; min-width: 200px; padding: 46px 28px; text-align: center;
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  transition: border-color .25s, transform .25s, background .25s;
}
.value:hover { border-color: rgba(255,255,255,0.3); transform: translateY(-4px); background: var(--panel-strong); }
.value .vi { font-family: "SF Mono", ui-monospace, monospace; font-size: 12px; color: var(--muted); display: block; margin-bottom: 16px; letter-spacing: 0.12em; }
.value b { font-size: clamp(22px, 3vw, 30px); font-weight: 800; letter-spacing: 0.05em; }

/* ---------- Credibility strip ---------- */
.cred-strip { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 48px; }
.cred-strip .cred-item {
  flex: 1; min-width: 200px; padding: 24px 28px;
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
}
.cred-strip .cred-item b { display: block; font-size: clamp(18px, 2.4vw, 24px); font-weight: 800; letter-spacing: -0.01em; }
.cred-strip .cred-item span { color: var(--muted); font-size: 13px; margin-top: 4px; display: block; }

/* ---------- Page header (内页小 Hero) ---------- */
.page-head { padding: 160px 0 40px; }
.page-head h1 { font-size: clamp(34px, 5.5vw, 60px); font-weight: 850; letter-spacing: -0.04em; line-height: 1.05; margin-bottom: 16px; }
.page-head p { color: var(--muted-2); font-size: 18px; max-width: 620px; }
.breadcrumb { display: flex; gap: 8px; align-items: center; color: var(--muted); font-size: 14px; margin-bottom: 20px; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb .sep { opacity: .5; }

/* ============================================================
   HUD HERO (参考图风格:终端 / 蓝图 / 设备星座)
   ============================================================ */
.hero.hud { text-align: left; padding-top: 150px; padding-bottom: 64px; min-height: 100vh; display: flex; align-items: center; }
.hero.hud .wrap { width: 100%; }
.hero-grid { display: grid; grid-template-columns: 1.02fr 1fr; gap: 36px; align-items: center; }
.hero-left { max-width: 640px; }

/* corner-bracket frame utility */
.hud-frame {
  --len: 12px; --th: 2px; --col: rgba(255,255,255,.55);
  background-repeat: no-repeat;
  background-image:
    linear-gradient(var(--col),var(--col)), linear-gradient(var(--col),var(--col)),
    linear-gradient(var(--col),var(--col)), linear-gradient(var(--col),var(--col)),
    linear-gradient(var(--col),var(--col)), linear-gradient(var(--col),var(--col)),
    linear-gradient(var(--col),var(--col)), linear-gradient(var(--col),var(--col));
  background-size:
    var(--len) var(--th), var(--th) var(--len), var(--len) var(--th), var(--th) var(--len),
    var(--len) var(--th), var(--th) var(--len), var(--len) var(--th), var(--th) var(--len);
  background-position:
    left top, left top, right top, right top,
    left bottom, left bottom, right bottom, right bottom;
}

.term-line { font-family: "SF Mono", ui-monospace, monospace; font-size: 13px; letter-spacing: 0.2em; color: var(--muted-2); margin-bottom: 16px; }
.term-line .tg, .tg { color: var(--term-green); }

.boot { display: flex; align-items: center; gap: 14px; margin-bottom: 38px; max-width: 400px; }
.boot-track { flex: 1; height: 24px; border: 1px solid var(--line); padding: 3px; }
.boot-bar { height: 100%; width: 0; background-image: repeating-linear-gradient(90deg, #fff 0 9px, transparent 9px 13px); }
.boot-pct { font-family: "SF Mono", ui-monospace, monospace; font-size: 13px; color: var(--muted-2); min-width: 42px; }

.hud-title {
  font-family: "Press Start 2P", ui-monospace, monospace;
  font-size: clamp(21px, 3.9vw, 50px); line-height: 1.2; letter-spacing: 0; margin-bottom: 26px;
  text-transform: none;
}
.hud-title .cursor { color: #fff; animation: blink 1.05s steps(1) infinite; }

.hero-zh { font-size: clamp(15px, 1.9vw, 19px); line-height: 1.7; color: #fff; margin-bottom: 16px; }
.hero-zh.dim { color: var(--muted-2); margin-bottom: 32px; }

.hero.hud .hero-cta { justify-content: flex-start; margin-bottom: 0; }
.hero.hud .btn { border-radius: 2px; font-weight: 700; }
.hero.hud .btn-ghost.hud-frame { background-color: transparent; border-color: transparent; }

.scroll-hint { margin-top: 46px; font-family: "SF Mono", ui-monospace, monospace; font-size: 12px; letter-spacing: 0.22em; color: var(--muted); display: flex; align-items: center; gap: 10px; }
.scroll-hint .arr { display: inline-block; animation: bobble 1.6s ease-in-out infinite; }
@keyframes bobble { 0%,100% { transform: translateY(0); } 50% { transform: translateY(5px); } }

/* device constellation */
.hero-right { display: flex; justify-content: center; align-items: center; }
.constellation { position: relative; width: min(42vw, 560px); aspect-ratio: 1 / 1; overflow: visible; transform: translateX(-30px); }
.globe-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hub {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%);
  width: 88px; height: 88px; border-radius: 50%; background: #000;
  border: 1px solid rgba(255,255,255,.5); display: grid; place-items: center; z-index: 3;
  box-shadow: 0 0 28px rgba(255,255,255,.2);
}
.hub .ot-mark { width: 44px; height: 44px; color: #fff; }
.node { position: absolute; transform: translate(-50%,-50%); z-index: 3; display: flex; flex-direction: column; align-items: center; gap: 7px; }
.node .ico { width: 44px; height: 44px; display: grid; place-items: center; background-color: #000; }
.node .ico svg { width: 21px; height: 21px; stroke: #fff; fill: none; stroke-width: 1.6; }
.node label { font-family: "SF Mono", ui-monospace, monospace; font-size: 10px; letter-spacing: 0.12em; color: #fff; white-space: nowrap; text-align: center; }
.node label i { display: block; font-style: normal; color: var(--term-green); font-size: 8px; letter-spacing: 0.1em; margin-top: 3px; }

/* bottom-right terminal callout */
.hud-callout { position: absolute; right: 24px; bottom: 36px; padding: 16px 22px; max-width: 330px; background-color: rgba(0,0,0,.4); }
.hud-callout p { font-family: "SF Mono", ui-monospace, monospace; font-size: 12px; letter-spacing: 0.06em; line-height: 1.8; color: var(--muted-2); }
.hud-callout .term-green { color: var(--term-green); }

@media (max-width: 1160px) {
  .hero-grid { grid-template-columns: 1fr; gap: 30px; }
  .hero-left { max-width: 100%; }
  .constellation { width: min(78vw, 460px); transform: none; }
  .node { position: absolute; }
  .hud-callout { display: none; }
  .hero.hud { min-height: 0; padding-top: 130px; }
}
@media (max-width: 900px) {
  .node { display: none; }   /* 窄屏只保留地球,设备节点框不再环绕 */
}

/* ---------- Cards ---------- */
.card {
  background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 30px;
  transition: transform .25s, border-color .25s, background .25s;
}
.card:hover { transform: translateY(-4px); border-color: rgba(255,255,255,0.3); background: var(--panel-strong); }

/* ---------- Why grid ---------- */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 56px; }
.why-grid .icon {
  width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; font-size: 21px;
  background: #fff; color: #000; margin-bottom: 18px;
}
.why-grid h3 { font-size: 19px; margin-bottom: 10px; font-weight: 700; }
.why-grid p { color: var(--muted-2); font-size: 15px; }

/* ---------- Jobs ---------- */
.filters { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin: 44px 0 24px; }
.chip {
  padding: 8px 18px; border-radius: 999px;
  background: var(--panel); border: 1px solid var(--line);
  color: var(--muted); font-size: 14px; cursor: pointer; transition: all .2s;
}
.chip:hover { color: #fff; border-color: rgba(255,255,255,0.3); }
.chip.active { background: #fff; color: #000; border-color: #fff; }

.search-box { position: relative; flex: 1; min-width: 200px; max-width: 320px; margin-left: auto; }
.search-box input {
  width: 100%; background: rgba(255,255,255,0.03); border: 1px solid var(--line);
  border-radius: 999px; padding: 9px 16px 9px 40px; color: #fff; font-size: 14px;
  font-family: inherit; outline: none; transition: border-color .2s, background .2s;
}
.search-box input::placeholder { color: #5d5d63; }
.search-box input:focus { border-color: rgba(255,255,255,0.45); background: rgba(255,255,255,0.05); }
.search-box .ico { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); color: var(--muted); font-size: 15px; }

.result-count { color: var(--muted); font-size: 14px; margin-bottom: 20px; }

.jobs-list { display: flex; flex-direction: column; gap: 12px; }
.job {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 24px 28px; background: var(--panel); border: 1px solid var(--line);
  border-radius: 14px; transition: border-color .25s, transform .25s, background .25s; cursor: pointer;
}
.job:hover { border-color: rgba(255,255,255,0.35); transform: translateX(4px); background: var(--panel-strong); }
.job .info h4 { font-size: 18px; font-weight: 700; margin-bottom: 7px; }
.job .meta { display: flex; gap: 8px; flex-wrap: wrap; }
.job .meta span {
  font-size: 12.5px; color: var(--muted-2);
  padding: 3px 11px; border-radius: 6px;
  background: rgba(255,255,255,0.05); border: 1px solid var(--line-soft);
}
.job .arrow {
  width: 42px; height: 42px; flex: none; border-radius: 50%;
  display: grid; place-items: center; border: 1px solid var(--line);
  color: #fff; font-size: 18px; transition: background .2s, color .2s, transform .2s;
}
.job:hover .arrow { background: #fff; color: #000; transform: rotate(-45deg); }
.job.hide { display: none; }

.empty-state { text-align: center; padding: 60px 20px; color: var(--muted); border: 1px dashed var(--line); border-radius: var(--radius); }
.empty-state b { display: block; color: #fff; font-size: 18px; margin-bottom: 6px; }

/* ---------- Job detail ---------- */
.detail-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 28px; align-items: start; margin-top: 40px; }
.detail-main .tag-row { display: flex; gap: 8px; flex-wrap: wrap; margin: 18px 0 28px; }
.detail-main .tag-row span { font-size: 13px; color: var(--muted-2); padding: 5px 13px; border-radius: 7px; background: rgba(255,255,255,0.05); border: 1px solid var(--line-soft); }
.detail-block { margin-bottom: 34px; }
.detail-block h3 { font-size: 20px; font-weight: 800; margin-bottom: 16px; }
.detail-block p { color: var(--muted-2); font-size: 16px; }
.detail-block ul { list-style: none; display: flex; flex-direction: column; gap: 11px; }
.detail-block ul li { display: flex; gap: 12px; color: var(--muted-2); font-size: 15.5px; line-height: 1.6; }
.detail-block ul li::before { content: ">"; flex: none; color: var(--muted); font-family: "SF Mono", ui-monospace, monospace; font-size: 14px; }

/* ============================================================
   内页 HUD 统一(轻度):括号角框 + 方角(复用首屏 HUD 语言)
   ============================================================ */
.card, .job, .value, .cred-item, .apply-mail, .search-box, .chip {
  --hl: 11px; --ht: 2px; --hc: rgba(255,255,255,0.4);
  background-repeat: no-repeat;
  background-image:
    linear-gradient(var(--hc),var(--hc)), linear-gradient(var(--hc),var(--hc)),
    linear-gradient(var(--hc),var(--hc)), linear-gradient(var(--hc),var(--hc)),
    linear-gradient(var(--hc),var(--hc)), linear-gradient(var(--hc),var(--hc)),
    linear-gradient(var(--hc),var(--hc)), linear-gradient(var(--hc),var(--hc));
  background-size:
    var(--hl) var(--ht), var(--ht) var(--hl), var(--hl) var(--ht), var(--ht) var(--hl),
    var(--hl) var(--ht), var(--ht) var(--hl), var(--hl) var(--ht), var(--ht) var(--hl);
  background-position:
    left top, left top, right top, right top,
    left bottom, left bottom, right bottom, right bottom;
}
.card:hover, .job:hover { --hc: rgba(255,255,255,0.72); }
.card, .job, .value, .cred-item, .apply-mail, .search-box, .chip, .btn { border-radius: 2px; }

.detail-aside { position: sticky; top: 96px; display: flex; flex-direction: column; gap: 16px; }
.apply-card { background: var(--panel-strong); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.apply-card h4 { font-size: 17px; margin-bottom: 6px; }
.apply-card p { color: var(--muted); font-size: 14px; margin-bottom: 18px; }
.apply-card .btn { width: 100%; justify-content: center; margin-bottom: 10px; }
.similar h4 { font-size: 14px; color: var(--muted); margin-bottom: 12px; letter-spacing: 0.04em; }
.similar a { display: block; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; margin-bottom: 8px; transition: border-color .2s, background .2s; }
.similar a:hover { border-color: rgba(255,255,255,0.35); background: var(--panel); }
.similar a b { display: block; font-size: 15px; }
.similar a span { color: var(--muted); font-size: 13px; }

/* ---------- Culture ---------- */
.culture { display: grid; grid-template-columns: 1.1fr 1fr; gap: 20px; align-items: stretch; margin-top: 56px; }
.culture-main {
  background: var(--panel-strong); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 44px;
  display: flex; flex-direction: column; justify-content: center; position: relative; overflow: hidden;
}
.culture-main h3 { font-size: clamp(22px, 3vw, 32px); font-weight: 800; line-height: 1.3; margin-bottom: 16px; position: relative; }
.culture-main p { color: var(--muted-2); font-size: 16px; position: relative; }
.culture-side { display: grid; grid-template-rows: repeat(3, 1fr); gap: 12px; }
.culture-side .mini { padding: 22px 24px; display: flex; gap: 16px; align-items: center; }
.culture-side .mini .e { font-size: 24px; }
.culture-side .mini b { display: block; font-size: 16px; margin-bottom: 2px; }
.culture-side .mini span { color: var(--muted); font-size: 13.5px; }

/* ---------- Benefits ---------- */
.benefits-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 56px; }
.benefit { text-align: center; padding: 30px 18px; }
.benefit .e { font-size: 28px; margin-bottom: 12px; }
.benefit b { font-size: 15.5px; display: block; margin-bottom: 5px; }
.benefit span { color: var(--muted); font-size: 13px; }

/* ---------- Process ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 56px; }
.step { position: relative; padding-top: 14px; }
.step .n {
  width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center;
  font-weight: 800; font-size: 16px; background: #fff; color: #000; margin-bottom: 16px;
}
.step h4 { font-size: 17px; margin-bottom: 7px; }
.step p { color: var(--muted-2); font-size: 14px; }
.step::after { content: ""; position: absolute; top: 33px; left: 52px; right: -9px; height: 1px; background: linear-gradient(90deg, var(--line), transparent); }
.step:last-child::after { display: none; }

/* ---------- Timeline (about) ---------- */
.timeline { margin-top: 56px; border-left: 1px solid var(--line); padding-left: 30px; display: flex; flex-direction: column; gap: 34px; }
.tl-item { position: relative; }
.tl-item::before { content: ""; position: absolute; left: -36px; top: 4px; width: 12px; height: 12px; border-radius: 50%; background: #fff; }
.tl-item .yr { font-size: 14px; color: var(--muted); font-weight: 700; letter-spacing: 0.08em; }
.tl-item h4 { font-size: 19px; margin: 4px 0 6px; }
.tl-item p { color: var(--muted-2); font-size: 15px; max-width: 620px; }

/* ---------- Quotes (about / team) ---------- */
.quotes-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 56px; }
.quote { display: flex; flex-direction: column; gap: 18px; }
.quote p { color: var(--muted-2); font-size: 15.5px; line-height: 1.7; }
.quote .who { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.quote .who .av { width: 40px; height: 40px; border-radius: 50%; background: linear-gradient(135deg, #2a2a2a, #555); flex: none; }
.quote .who b { display: block; font-size: 14px; }
.quote .who span { color: var(--muted); font-size: 12.5px; }

/* ---------- Apply form ---------- */
.apply-wrap { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 24px; align-items: stretch; margin-top: 56px; }
.apply-aside {
  background: var(--panel-strong); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 40px; position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between;
}
.apply-aside h3 { font-size: clamp(22px, 3vw, 30px); font-weight: 850; letter-spacing: -0.02em; line-height: 1.3; margin-bottom: 14px; position: relative; }
.apply-aside p { color: var(--muted-2); font-size: 15px; position: relative; }
.apply-points { list-style: none; margin-top: 26px; position: relative; }
.apply-points li { display: flex; gap: 10px; align-items: center; color: var(--muted-2); font-size: 14px; padding: 7px 0; }
.apply-points li::before { content: "→"; color: #fff; }

form.apply {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 36px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
}
form.apply .full { grid-column: 1 / -1; }
.field label { display: block; font-size: 13px; color: var(--muted-2); margin-bottom: 7px; font-weight: 500; }
.field label .req { color: #fff; }
.field input, .field select, .field textarea {
  width: 100%; background: rgba(255,255,255,0.03); border: 1px solid var(--line);
  border-radius: 10px; padding: 12px 14px; color: #fff; font-size: 15px;
  font-family: inherit; transition: border-color .2s, background .2s; outline: none;
}
.field input::placeholder, .field textarea::placeholder { color: #5d5d63; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: rgba(255,255,255,0.45); background: rgba(255,255,255,0.05); }
.field select { appearance: none; cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%238a8a8f' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 38px; }
.field select option { background: #0a0a0a; }
.field textarea { resize: vertical; min-height: 96px; }
form.apply .submit-row { grid-column: 1 / -1; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 4px; }
form.apply .submit-row .note { color: var(--muted); font-size: 13px; }
.form-success {
  grid-column: 1 / -1; display: none; align-items: center; gap: 14px;
  padding: 18px 20px; border-radius: 12px; background: rgba(255,255,255,0.06); border: 1px solid var(--line);
}
.form-success.show { display: flex; }
.form-success .check { width: 34px; height: 34px; flex: none; border-radius: 50%; background: #fff; color: #000; display: grid; place-items: center; font-weight: 800; }
.form-success b { display: block; font-size: 15px; }
.form-success span { color: var(--muted-2); font-size: 13px; }

/* ---------- Apply (email) ---------- */
.apply-mail { display: flex; flex-direction: column; justify-content: center; padding: 40px; }
.apply-mail .mail-label { font-size: 12px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.apply-mail .mail-addr {
  font-family: "SF Mono", ui-monospace, "Roboto Mono", Menlo, Consolas, monospace;
  font-size: clamp(22px, 4vw, 34px); font-weight: 700; letter-spacing: -0.01em;
  border-bottom: 1px solid var(--line); padding-bottom: 14px; transition: border-color .2s;
}
.apply-mail .mail-addr:hover { border-color: rgba(255,255,255,0.5); }
.apply-mail .mail-tip { color: var(--muted-2); font-size: 14.5px; margin: 18px 0 26px; }
.apply-mail .mail-cta { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- CTA ---------- */
.cta-final {
  text-align: center; background: var(--panel-strong);
  border: 1px solid var(--line); border-radius: 24px;
  padding: 76px 30px; position: relative; overflow: hidden;
}
.cta-final h2 { font-size: clamp(28px, 4.5vw, 48px); font-weight: 850; letter-spacing: -0.03em; margin-bottom: 16px; position: relative; }
.cta-final p { color: var(--muted-2); font-size: 18px; margin-bottom: 32px; position: relative; }
.cta-final .hero-cta { position: relative; }

/* ---------- Footer ---------- */
footer { border-top: 1px solid var(--line); padding: 54px 0 40px; color: var(--muted); margin-top: 40px; }
.foot-inner { display: flex; justify-content: space-between; align-items: flex-start; gap: 30px; flex-wrap: wrap; }
.foot-col h5 { color: #fff; font-size: 14px; margin-bottom: 14px; font-weight: 700; }
.foot-col a { display: block; font-size: 14px; margin-bottom: 9px; transition: color .2s; }
.foot-col a:hover { color: #fff; }
.foot-bottom { margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 13px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  nav.links { display: none; }
  .nav-right .btn-primary { display: none; }
  .nav-toggle { display: flex; }
  .why-grid, .benefits-grid, .steps, .quotes-grid { grid-template-columns: repeat(2, 1fr); }
  .culture { grid-template-columns: 1fr; }
  .apply-wrap { grid-template-columns: 1fr; }
  .detail-grid { grid-template-columns: 1fr; }
  .detail-aside { position: static; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 30px; }
  .step::after { display: none; }
  section { padding: 90px 0; }
  .page-head { padding: 130px 0 30px; }
}
@media (max-width: 560px) {
  .why-grid, .benefits-grid, .steps, .hero-stats, .quotes-grid { grid-template-columns: 1fr; }
  form.apply { grid-template-columns: 1fr; padding: 26px; }
  .search-box { margin-left: 0; max-width: none; }
}
