/* =========================================================
   MER · Yazılım Firması — refined dark mode
   ========================================================= */
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;500;600&family=Michroma&display=swap');

:root {
  /* MER brand palette — Marka Kılavuzu 2026 */
  --bg: #060D1F;               /* Uzay Laciverti — primary */
  --bg-2: #0c1730;
  --bg-3: #15244a;
  --fg: #FFFFFF;
  --fg-2: #9aa6be;
  --fg-3: #5d6a85;
  --line: rgba(160, 200, 255, 0.08);
  --line-2: rgba(160, 200, 255, 0.15);
  --accent: #74D2F4;           /* Camgöbeği — secondary accent */
  --accent-soft: #a5e0fd;
  --accent-bg: rgba(116,210,244,0.10);
  --amber: #E7A64C;            /* Güneş Amber — mark & dividers */
  --amber-soft: #f2c074;
  --moon: #1B2B50;             /* Ay Mavisi */
  --steel: #6e8cc4;
  --ok: #7ed8a8;

  --display: 'Space Grotesk', system-ui, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
  --body: 'Space Grotesk', system-ui, sans-serif;
  --logotype: 'Michroma', 'Space Grotesk', sans-serif;

  --container: 1240px;
  --pad: clamp(20px, 4vw, 40px);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { background: var(--bg); }
html, body {
  font-family: var(--body);
  color: var(--fg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
body { min-height: 100vh; background: transparent; }

a { color: inherit; text-decoration: none; }
button { font-family: inherit; background: none; border: none; cursor: pointer; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

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

/* ============== AMBIENT BACKDROP ============== */
.backdrop {
  position: fixed; inset: 0; z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 80% 60% at 15% -10%, rgba(125,211,252,0.06), transparent 60%),
    radial-gradient(ellipse 70% 50% at 90% 100%, rgba(110,140,196,0.05), transparent 60%);
}
.backdrop::before {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(180,210,255,0.04) 1px, transparent 0);
  background-size: 3px 3px;
  opacity: 0.4;
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
}

/* ============== CONTAINER ============== */
.wrap {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--pad);
}

/* ============== NAV ============== */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(6,13,31,0.82);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px var(--pad);
  max-width: var(--container);
  margin: 0 auto;
}
.brand-logo { height: 52px; width: auto; display: block; }
.brand-logo--footer { height: 74px; }
.brand {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--display);
  font-weight: 600;
  font-size: 17px;
  letter-spacing: -0.01em;
}
.brand-mark {
  width: 28px; height: 28px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--accent), #1e5878);
  position: relative;
  display: grid; place-items: center;
  color: #082338; font-weight: 700; font-size: 14px;
  font-family: var(--display);
  letter-spacing: -0.02em;
  box-shadow: 0 1px 0 rgba(255,255,255,0.25) inset, 0 6px 18px rgba(125,211,252,0.25);
}
.brand sub {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 400;
  color: var(--fg-3);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-left: 2px;
  vertical-align: middle;
}
.nav-links {
  display: flex; gap: 40px;
  margin-left: auto; margin-right: auto;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--fg-2);
}
/* ===== nav dropdown (Ürünler) ===== */
.nav-dd { position: relative; }
.nav-dd > a::after-icon { }
.nav-dd-trigger { cursor: pointer; }
.nav-dd-panel {
  position: absolute; top: calc(100% + 14px); left: 50%; transform: translateX(-50%) translateY(8px);
  min-width: 300px; padding: 10px;
  display: flex; flex-direction: column; gap: 2px;
  background: rgba(10,22,46,0.96); backdrop-filter: blur(16px);
  border: 1px solid var(--line-2); border-radius: 14px;
  box-shadow: 0 30px 60px -28px rgba(0,0,0,0.8);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity 0.22s, transform 0.22s, visibility 0s linear 0.22s;
  z-index: 200;
}
.nav-dd:hover .nav-dd-panel, .nav-dd:focus-within .nav-dd-panel {
  opacity: 1; visibility: visible; pointer-events: auto;
  transform: translateX(-50%) translateY(0);
  transition: opacity 0.22s, transform 0.22s;
}
.nav-dd-panel::before { content: ''; position: absolute; bottom: 100%; left: 0; right: 0; height: 16px; }
.dd-item {
  display: flex; align-items: center; gap: 13px;
  width: 100%;
  padding: 11px 12px; border-radius: 10px;
  transition: background 0.18s;
}
.dd-item:hover { background: rgba(125,211,252,0.08); }
.dd-item .g {
  width: 38px; height: 38px; flex-shrink: 0; border-radius: 9px;
  background: linear-gradient(135deg, var(--accent), #1e5878);
  color: #082338; font-weight: 700; font-size: 17px;
  display: grid; place-items: center; font-family: var(--display); letter-spacing: -0.03em;
}
.dd-item .tx { display: flex; flex-direction: column; gap: 1px; }
/* product app-logo inside glyph boxes */
.dd-item .g.has-logo, .ph-glyph.has-logo, .milestone-glyph.has-logo { background: none; padding: 0; overflow: hidden; }
.has-logo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.dd-item .tx b { font-size: 14.5px; font-weight: 600; color: var(--fg); letter-spacing: -0.01em; }
.dd-item .tx small { font-family: var(--mono); font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--fg-3); }
.nav-dd > a .caret { transition: transform 0.2s; display: inline-block; }
.nav-dd:hover > a .caret { transform: rotate(180deg); }

/* ===== legal / policy pages ===== */
.legal { padding: clamp(24px,4vw,48px) 0 clamp(72px,10vw,120px); }
.legal-wrap { max-width: 860px; margin: 0 auto; padding: 0 var(--pad); }
.legal-meta {
  display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: center;
  margin-bottom: 40px; padding-bottom: 24px; border-bottom: 1px solid var(--line);
  font-family: var(--mono); font-size: 12px; color: var(--fg-3); letter-spacing: 0.04em;
}
.legal-meta b { color: var(--accent); font-weight: 500; }
.legal-toc {
  background: var(--bg-2); border: 1px solid var(--line); border-radius: 14px;
  padding: 22px 26px; margin-bottom: 48px;
}
.legal-toc h4 { font-family: var(--mono); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--amber); margin-bottom: 14px; }
.legal-toc ol { list-style: none; counter-reset: toc; display: grid; gap: 8px; }
.legal-toc li { counter-increment: toc; }
.legal-toc a { color: var(--fg-2); font-size: 14.5px; display: flex; gap: 12px; transition: color 0.18s; }
.legal-toc a::before { content: counter(toc, decimal-leading-zero); color: var(--accent); font-family: var(--mono); font-size: 12px; }
.legal-toc a:hover { color: var(--fg); }
.legal-sec { margin-bottom: 44px; scroll-margin-top: 90px; }
.legal-sec h2 {
  font-family: var(--display); font-weight: 600; font-size: clamp(20px,2.6vw,28px);
  letter-spacing: -0.02em; margin-bottom: 18px; display: flex; align-items: baseline; gap: 14px;
}
.legal-sec h2 .n { font-family: var(--mono); font-size: 14px; color: var(--amber); font-weight: 500; }
.legal-sec h3 { font-family: var(--display); font-weight: 600; font-size: 17px; margin: 22px 0 10px; color: var(--fg); }
.legal-sec p { font-size: 15.5px; line-height: 1.72; color: var(--fg-2); margin-bottom: 14px; }
.legal-sec ul { display: grid; gap: 9px; margin: 6px 0 16px; padding-left: 0; }
.legal-sec ul li { position: relative; padding-left: 22px; font-size: 15px; line-height: 1.6; color: var(--fg-2); }
.legal-sec ul li::before { content: ''; position: absolute; left: 4px; top: 10px; width: 6px; height: 6px; border-radius: 2px; background: var(--amber); }
.legal-sec a { color: var(--accent); }
.legal-sec a:hover { text-decoration: underline; }
.legal-table { width: 100%; border-collapse: collapse; margin: 8px 0 18px; font-size: 14px; }
.legal-table th, .legal-table td { text-align: left; padding: 11px 14px; border: 1px solid var(--line); vertical-align: top; line-height: 1.5; }
.legal-table th { background: var(--bg-2); color: var(--fg); font-weight: 600; font-size: 12px; letter-spacing: 0.04em; text-transform: uppercase; }
.legal-table td { color: var(--fg-2); }
.legal-note { background: var(--bg-2); border: 1px solid var(--line); border-left: 3px solid var(--amber); border-radius: 10px; padding: 16px 20px; font-size: 14px; line-height: 1.6; color: var(--fg-2); margin: 16px 0; }
.footer .legal-cur { color: var(--accent); }

/* ===== product / simple page hero ===== */
.page-hero { padding: clamp(72px,11vw,140px) 0 clamp(40px,6vw,72px); position: relative; }
.page-hero .wrap { position: relative; z-index: 1; }
.ph-glyph {
  width: 76px; height: 76px; border-radius: 18px;
  background: linear-gradient(135deg, var(--accent), #1e5878);
  color: #082338; display: grid; place-items: center;
  font-family: var(--display); font-weight: 700; font-size: 38px; letter-spacing: -0.04em;
  margin-bottom: 26px; box-shadow: 0 12px 30px -10px rgba(125,211,252,0.4);
}
.ph-kind { font-family: var(--mono); font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
.page-hero h1 { font-family: var(--display); font-weight: 600; font-size: clamp(40px,6vw,76px); line-height: 0.98; letter-spacing: -0.03em; margin-bottom: 22px; }
.page-hero h1 em { color: var(--accent); font-style: normal; }
.page-hero .lede { font-size: clamp(17px,1.8vw,20px); line-height: 1.55; color: var(--fg-2); max-width: 52ch; margin-bottom: 32px; }
.ph-feats { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; }
.ph-feats span { font-family: var(--mono); font-size: 12px; color: var(--fg-2); padding: 9px 14px; border: 1px solid var(--line-2); border-radius: 999px; }
.ph-cta { display: flex; gap: 12px; flex-wrap: wrap; }

.nav-links { font-size: 16px; }

/* ===== Journey timeline (Hakkımızda) ===== */
.journey { position: relative; padding-top: 8px; }
.journey-line {
  position: absolute; left: 27px; top: 0; bottom: 0; width: 2px;
  background: linear-gradient(180deg, transparent, var(--line-2) 8%, var(--line-2) 92%, transparent);
}
.journey-line::after {
  content: ''; position: absolute; left: 0; top: 0; width: 100%; height: var(--prog, 0%);
  background: linear-gradient(180deg, var(--accent), var(--accent-soft));
}
.milestone {
  position: relative; padding: 0 0 clamp(28px, 4vw, 48px) 76px;
  opacity: 0; transform: translateY(28px);
  transition: opacity 0.6s cubic-bezier(0.22,1,0.36,1), transform 0.6s cubic-bezier(0.22,1,0.36,1);
}
.milestone.in { opacity: 1; transform: none; }
.milestone-dot {
  position: absolute; left: 16px; top: 6px;
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--bg); border: 2px solid var(--line-2);
  display: grid; place-items: center; z-index: 2;
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
}
.milestone-dot::after { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--line-2); transition: background 0.3s; }
.milestone.in .milestone-dot { border-color: var(--accent); }
.milestone.in .milestone-dot::after { background: var(--accent); }

.milestone-card {
  background: rgba(13,22,42,0.4);
  border: 1px solid var(--line); border-radius: 16px;
  padding: clamp(20px, 3vw, 30px);
  display: flex; gap: 22px; align-items: flex-start;
  transition: border-color 0.2s;
  cursor: default;
}
.milestone-card:hover {
  border-color: var(--accent);
}
.milestone-year {
  font-family: var(--mono); font-size: 13px; font-weight: 500; letter-spacing: 0.1em;
  color: var(--accent); margin-bottom: 16px; display: inline-block;
  padding: 5px 12px; border: 1px solid var(--line-2); border-radius: 999px;
}
.milestone-glyph {
  width: 56px; height: 56px; flex-shrink: 0; border-radius: 13px;
  background: linear-gradient(135deg, var(--accent), #1e5878);
  color: #082338; font-family: var(--display); font-weight: 700; font-size: 26px;
  letter-spacing: -0.04em; display: grid; place-items: center;
  transition: transform 0.32s cubic-bezier(0.34,1.56,0.64,1);
}
.milestone-card:hover .milestone-glyph { transform: none; }
.milestone-glyph.founder { background: rgba(125,211,252,0.1); color: var(--accent); font-size: 24px; }
.milestone-body h3 { font-family: var(--display); font-weight: 600; font-size: clamp(20px,2.4vw,26px); letter-spacing: -0.02em; margin-bottom: 8px; }
.milestone-body h3 em { color: var(--accent); font-style: normal; }
.milestone-body p { font-size: 15px; line-height: 1.6; color: var(--fg-2); max-width: 60ch; }
.milestone-tags { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 7px; }
.milestone-tags span { font-family: var(--mono); font-size: 11px; color: var(--fg-3); padding: 5px 11px; border: 1px solid var(--line); border-radius: 999px; }
@media (max-width: 640px){
  .milestone { padding-left: 60px; }
  .journey-line { left: 19px; }
  .milestone-dot { left: 8px; }
  .milestone-card { flex-direction: column; gap: 16px; }
}

/* ===== count-up stats band ===== */
.reached { margin-top: clamp(40px,6vw,72px); }
.reached-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.reached-stat {
  background: linear-gradient(180deg, rgba(125,211,252,0.06), transparent);
  border: 1px solid var(--line); border-radius: 16px; padding: 30px 26px;
  opacity: 0; transform: translateY(20px);
  transition: opacity 0.6s, transform 0.6s, border-color 0.3s;
}
.reached-stat.in { opacity: 1; transform: none; }
.reached-stat:hover { border-color: var(--accent); }
.reached-stat b { font-family: var(--display); font-weight: 600; font-size: clamp(40px,5vw,60px); letter-spacing: -0.04em; color: var(--accent); line-height: 1; display: block; }
.reached-stat small { display: block; margin-top: 12px; font-size: 13.5px; color: var(--fg-2); letter-spacing: 0.01em; }
@media (max-width: 760px){ .reached-grid { grid-template-columns: 1fr 1fr; } }
.product-feat-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
/* ===== journey timeline ===== */
.journey { position: relative; max-width: 900px; margin: 0 auto; padding-left: 0; }
.journey::before {
  content: ''; position: absolute; left: 27px; top: 8px; bottom: 60px; width: 2px;
  background: linear-gradient(180deg, var(--accent), rgba(125,211,252,0.15));
}
.tl-item { position: relative; display: grid; grid-template-columns: 56px 1fr; gap: 24px; align-items: start; padding-bottom: 22px; }
.tl-dot {
  width: 56px; height: 56px; border-radius: 14px; z-index: 1;
  background: var(--bg-2); border: 1px solid var(--line-2);
  display: grid; place-items: center;
  font-family: var(--display); font-weight: 700; font-size: 22px; letter-spacing: -0.03em;
  color: var(--accent); transition: all 0.3s cubic-bezier(0.22,1,0.36,1);
}
.tl-card {
  background: var(--bg-2); border: 1px solid var(--line);
  border-radius: 16px; padding: 22px 26px;
  transition: transform 0.3s cubic-bezier(0.22,1,0.36,1), border-color 0.3s, box-shadow 0.3s;
  transform-origin: left center;
}
.tl-year { font-family: var(--mono); font-size: 12px; letter-spacing: 0.14em; color: var(--accent); margin-bottom: 7px; }
.tl-card h3 { font-family: var(--display); font-weight: 600; font-size: 22px; letter-spacing: -0.02em; margin-bottom: 8px; }
.tl-card p { font-size: 14.5px; line-height: 1.55; color: var(--fg-2); }
.tl-item:hover .tl-card {
  transform: scale(1.035);
  border-color: var(--accent);
  box-shadow: 0 24px 50px -28px rgba(125,211,252,0.55);
}
.tl-item:hover .tl-dot {
  transform: scale(1.12); background: var(--accent); color: #082338;
  box-shadow: 0 0 26px rgba(125,211,252,0.55);
}
/* scroll reveal */
.tl-item { opacity: 0; transform: translateY(20px); transition: opacity 0.6s ease, transform 0.6s ease; }
.tl-item.in { opacity: 1; transform: none; }
@media (max-width: 600px){ .journey::before { left: 22px; } .tl-item { grid-template-columns: 46px 1fr; gap: 16px; } .tl-dot { width: 46px; height: 46px; font-size: 18px; } }

.product-feat-grid-x { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.product-feat-card {
  background: var(--bg-2); border: 1px solid var(--line); border-radius: 12px;
  padding: 24px 18px; display: flex; align-items: flex-end; min-height: 110px;
  transition: border-color 0.2s, transform 0.2s;
}
.product-feat-card:hover { border-color: var(--accent); transform: translateY(-3px); }
.product-feat-card b { font-family: var(--display); font-weight: 500; font-size: 16px; letter-spacing: -0.01em; line-height: 1.2; }
@media (max-width: 900px){ .product-feat-grid { grid-template-columns: 1fr 1fr; } }
.nav-links a {
  position: relative;
  display: inline-flex; align-items: center; gap: 7px;
  padding: 8px 2px;
  transition: color 0.2s;
}
.nav-links a::after {
  content: '';
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--amber);
  border-radius: 2px;
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.2s ease;
}
.nav-links a:hover { color: var(--fg); }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-cta {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 22px;
  border-radius: 9px;
  background: var(--amber);
  color: #1a1003;
  font-size: 15px;
  font-weight: 700;
  box-shadow: 0 6px 20px -8px rgba(231,166,76,0.6);
  transition: all 0.2s;
}
.nav-cta:hover { background: var(--amber-soft); transform: translateY(-1px); }

/* ============== HERO ============== */
.hero {
  position: relative;
  padding: clamp(72px, 12vw, 140px) 0 clamp(96px, 14vw, 160px);
  overflow: hidden;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: center;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  margin-bottom: 24px;
  padding: 6px 12px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: var(--accent-bg);
}
.eyebrow::before {
  content: ''; width: 6px; height: 6px;
  background: var(--amber); border-radius: 50%;
  box-shadow: 0 0 8px var(--amber);
  animation: blink 2s infinite;
}
@keyframes blink { 50% { opacity: 0.3; } }

.hero h1 em, .section h2 em, .cta h2 em, .core-side h2 em,
.store-hero h1 em, .callout h3 em {
  font-family: 'Space Grotesk', sans-serif;
  font-style: normal;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.hero h1 {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(40px, 5.4vw, 76px);
  line-height: 1.04;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}
.hero h1 em {
  font-style: normal;
  font-weight: 400;
  color: var(--amber);
}
.hero p {
  font-size: 18px;
  line-height: 1.6;
  color: var(--fg-2);
  max-width: 520px;
  margin-bottom: 36px;
}

.btn-row { display: flex; gap: 12px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 22px;
  border-radius: 10px;
  font-family: var(--display);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.005em;
  transition: all 0.2s;
}
.btn-primary {
  background: var(--amber);
  color: #1a1003;
  border: 1px solid var(--amber);
  box-shadow: 0 8px 24px -10px rgba(231,166,76,0.6);
}
.btn-primary:hover { background: var(--amber-soft); border-color: var(--amber-soft); transform: translateY(-1px); }
.btn-ghost {
  color: var(--fg);
  border: 1px solid var(--line-2);
}
.btn-ghost:hover { border-color: var(--fg-2); background: rgba(255,255,255,0.02); }
.btn-arrow { transition: transform 0.2s; }
.btn:hover .btn-arrow { transform: translateX(3px); }

/* hero visual — concentric thin orbits */
.hero-vis {
  position: relative;
  aspect-ratio: 1;
  width: 100%;
  max-width: 640px;
  margin-left: auto;
}
.hero-vis svg { width: 100%; height: 100%; overflow: visible; cursor: grab; touch-action: none; }
.hero-vis svg.dragging { cursor: grabbing; }
.orbit-ring {
  fill: none;
  stroke: var(--line-2);
  stroke-width: 1;
}
.orbit-ring--dash { stroke-dasharray: 4 6; }
.orbit-dot {
  fill: var(--accent);
  filter: drop-shadow(0 0 6px rgba(125,211,252,0.7));
}
.orbit-core {
  fill: url(#core-grad);
}
.orbit-glow {
  fill: var(--accent);
  opacity: 0.08;
  filter: blur(20px);
}
.spin-fast { animation: rotate 18s linear infinite; transform-origin: 50% 50%; }
.spin-med { animation: rotate 32s linear infinite; transform-origin: 50% 50%; }
.spin-slow { animation: rotate 60s linear infinite reverse; transform-origin: 50% 50%; }
@keyframes rotate { to { transform: rotate(360deg); } }

.hero-stat {
  position: absolute;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--fg-2);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: rgba(6,13,31,0.72);
  border: 1px solid var(--line-2);
  border-radius: 6px;
  padding: 8px 12px;
  backdrop-filter: blur(8px);
}
.hero-stat b { color: var(--fg); font-weight: 500; display: block; font-size: 14px; margin-top: 2px; }
.hero-stat.s1 { top: 8%; left: -8%; }
.hero-stat.s2 { top: 46%; right: -10%; }
.hero-stat.s3 { bottom: 6%; left: 10%; }

/* ============== TRUST STRIP ============== */
.strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 22px 0;
}
.strip-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--fg-3);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.strip-inner span b { color: var(--fg); font-weight: 500; }

/* ============== SECTION ============== */
.section {
  padding: clamp(80px, 12vw, 140px) 0;
}
.section-head {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 60px;
  align-items: end;
  margin-bottom: 64px;
}
.section-tag {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  display: flex; align-items: center; gap: 12px;
}
.section-tag::before {
  content: '';
  width: 22px; height: 1.3px;
  background: var(--amber);
}
.section h2 {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(32px, 4.4vw, 56px);
  line-height: 1.06;
  letter-spacing: -0.025em;
  max-width: 720px;
}
.section h2 em {
  font-style: normal;
  font-weight: 400;
  color: var(--amber);
}
.section-intro {
  font-size: 16px;
  color: var(--fg-2);
  line-height: 1.55;
  max-width: 420px;
  justify-self: end;
  text-align: right;
}

/* ============== ABOUT ============== */
.about {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 64px;
  align-items: start;
}
.about-text p {
  font-size: 18px;
  line-height: 1.65;
  color: var(--fg-2);
  margin-bottom: 18px;
}
.about-text p em {
  color: var(--fg);
  font-style: normal;
  font-weight: 500;
}
.stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}
.stat {
  background: var(--bg);
  padding: 28px 24px;
}
.stat b {
  font-family: var(--display);
  font-weight: 500;
  font-size: 40px;
  letter-spacing: -0.03em;
  color: var(--accent);
  display: block;
  line-height: 1;
}
.stat small {
  display: block;
  margin-top: 10px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--fg-3);
}

/* ============== PRODUCTS ============== */
.products {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.product {
  position: relative;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 32px;
  transition: all 0.25s;
  overflow: hidden;
}
.product:hover {
  border-color: var(--line-2);
  transform: translateY(-2px);
  background: var(--bg-3);
}
.product::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}
.product:hover::before { opacity: 1; }

.product-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 32px;
}
.product-mark {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: var(--bg-3);
  border: 1px solid var(--line-2);
  display: grid; place-items: center;
  font-family: var(--display);
  font-weight: 600;
  font-size: 20px;
  letter-spacing: -0.02em;
  color: var(--accent);
}
.product-kind {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--fg-3);
  display: flex; align-items: center; gap: 8px;
}
.product-kind::before {
  content: ''; width: 6px; height: 6px;
  background: var(--ok);
  border-radius: 50%;
}
.product h3 {
  font-family: var(--display);
  font-weight: 500;
  font-size: 26px;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}
.product p {
  color: var(--fg-2);
  font-size: 15px;
  line-height: 1.55;
  margin-bottom: 24px;
}
.product-feats {
  display: flex; flex-wrap: wrap; gap: 6px;
  margin-bottom: 28px;
}
.product-feats li {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.05em;
  color: var(--fg-2);
  padding: 5px 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(255,255,255,0.015);
}
.product-cta {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--display);
  font-size: 14px;
  font-weight: 500;
  color: var(--accent);
  padding-top: 20px;
  border-top: 1px solid var(--line);
  width: 100%;
  justify-content: space-between;
}
.product-cta-arrow { transition: transform 0.2s; }
.product:hover .product-cta-arrow { transform: translateX(4px); }

/* ============== PROCESS ============== */
.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 8px;
}
.step {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 28px 24px;
  transition: all 0.25s;
  position: relative;
}
.step:hover { border-color: var(--line-2); background: var(--bg-3); }
.step-n {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--accent);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  display: flex; align-items: center; gap: 8px;
  margin-bottom: 28px;
}
.step-n::after {
  content: '';
  flex: 1; height: 1px;
  background: var(--line);
}
.step h3 {
  font-family: var(--display);
  font-weight: 500;
  font-size: 20px;
  letter-spacing: -0.015em;
  margin-bottom: 10px;
}
.step p {
  color: var(--fg-2);
  font-size: 14px;
  line-height: 1.55;
}

/* ============== STORE CALL-OUT ============== */
.callout {
  position: relative;
  background: linear-gradient(135deg, var(--bg-2), var(--bg-3));
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: clamp(40px, 7vw, 64px);
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 60px;
  align-items: center;
  overflow: hidden;
}
.callout::before {
  content: '';
  position: absolute;
  top: -40%; right: -10%;
  width: 60%; height: 180%;
  background: radial-gradient(ellipse, rgba(255,106,61,0.12), transparent 60%);
  pointer-events: none;
}
.callout h3 {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(28px, 3.4vw, 42px);
  line-height: 1.1;
  letter-spacing: -0.025em;
  margin-bottom: 16px;
  position: relative;
}
.callout h3 em {
  font-style: normal;
  color: var(--accent);
  font-weight: 400;
}
.callout p {
  color: var(--fg-2);
  font-size: 16px;
  line-height: 1.55;
  margin-bottom: 24px;
  position: relative;
}
.callout .btn-row { position: relative; }
.callout-vis {
  position: relative;
  aspect-ratio: 1;
  width: 100%;
  max-width: 280px;
  margin-left: auto;
  display: grid; place-items: center;
  font-family: var(--mono);
  color: var(--fg-3);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.callout-vis svg { width: 100%; height: 100%; position: absolute; inset: 0; }

/* ============== CTA / CONTACT ============== */
.cta {
  text-align: center;
  padding: clamp(80px, 12vw, 140px) 0;
  position: relative;
  overflow: hidden;
}
.cta::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 80% at center, rgba(255,106,61,0.10), transparent 70%);
  pointer-events: none;
}
.cta-inner { position: relative; max-width: 760px; margin: 0 auto; }
.cta h2 {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(40px, 5vw, 72px);
  line-height: 1.04;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}
.cta h2 em { font-style: normal; color: var(--accent); font-weight: 400; }
.cta p {
  color: var(--fg-2);
  font-size: 18px;
  line-height: 1.55;
  margin-bottom: 40px;
  max-width: 560px;
  margin-left: auto; margin-right: auto;
}
.cta .btn-row { justify-content: center; }

.contact-meta {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  padding-top: 40px;
  border-top: 1px solid var(--line);
  text-align: left;
}
.contact-meta div small {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--fg-3);
  display: block;
  margin-bottom: 6px;
}
.contact-meta div b {
  font-family: var(--display);
  font-size: 16px;
  font-weight: 500;
  color: var(--fg);
}

/* ============== FOOTER ============== */
.footer {
  border-top: 1px solid var(--line);
  padding: 56px 0 28px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
}
.footer-brand p {
  margin-top: 16px;
  color: var(--fg-2);
  font-size: 14px;
  line-height: 1.6;
  max-width: 320px;
}
.footer h5 {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--fg-3);
  margin-bottom: 18px;
  font-weight: 500;
}
.footer ul li {
  padding: 6px 0;
  color: var(--fg-2);
  font-size: 14px;
  transition: color 0.2s;
}
.footer ul li:hover { color: var(--fg); }
.footer-bottom {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: flex; justify-content: space-between;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-3);
}

/* ============== STORE PAGE ============== */
.store-hero {
  padding: 80px 0 40px;
}
.store-hero h1 {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(40px, 5vw, 64px);
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin-bottom: 20px;
}
.store-hero h1 em { font-style: normal; color: var(--accent); font-weight: 400; }
.store-hero p {
  color: var(--fg-2); font-size: 17px; line-height: 1.55;
  max-width: 600px;
}

.cats {
  display: flex; gap: 10px; flex-wrap: wrap;
  margin: 40px 0 32px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 16px;
}
.cat {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--fg-2);
  cursor: pointer;
  transition: all 0.2s;
  text-transform: uppercase;
}
.cat:hover, .cat.active {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-bg);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding-bottom: 80px;
}
.pcard {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px;
  transition: all 0.25s;
  position: relative;
}
.pcard:hover { border-color: var(--line-2); transform: translateY(-2px); }
.pcard-tag {
  position: absolute; top: 16px; right: 16px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.15em;
  padding: 4px 8px;
  border-radius: 4px;
  background: var(--accent);
  color: #082338;
  text-transform: uppercase;
  font-weight: 600;
  z-index: 2;
}
.pcard-img {
  aspect-ratio: 1;
  background:
    radial-gradient(circle at 30% 30%, rgba(255,106,61,0.05), transparent 60%),
    var(--bg-3);
  border: 1px solid var(--line);
  border-radius: 10px;
  display: grid; place-items: center;
  font-family: var(--mono);
  font-size: 10px;
  color: var(--fg-3);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 16px;
  position: relative;
  overflow: hidden;
}
.pcard-img::after {
  content: '';
  position: absolute; inset: 25%;
  border: 1px dashed var(--line-2);
  border-radius: 50%;
}
.pcard-cat {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.15em;
  color: var(--fg-3);
  text-transform: uppercase;
  margin-bottom: 6px;
}
.pcard h4 {
  font-family: var(--display);
  font-weight: 500;
  font-size: 16px;
  letter-spacing: -0.015em;
  margin-bottom: 10px;
  min-height: 44px;
  line-height: 1.3;
}
.pcard-desc {
  font-size: 13px;
  color: var(--fg-2);
  line-height: 1.45;
  margin-bottom: 16px;
  min-height: 56px;
}
.pcard-foot {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 11px;
}
.pcard-foot span { color: var(--fg-3); }
.pcard-foot b { color: var(--accent); font-weight: 500; }

/* ============== MER CORE — featured chip ============== */
.core-feature {
  padding: clamp(60px, 9vw, 110px) 0 clamp(80px, 11vw, 130px);
  position: relative;
}
.core-inner {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 var(--pad);
}
.core-side .section-tag { margin-bottom: 22px; }
.core-side h2 {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(28px, 3.8vw, 48px);
  line-height: 1.08;
  letter-spacing: -0.025em;
  margin-bottom: 20px;
}
.core-side h2 em { font-style: normal; color: var(--accent); font-weight: 400; }
.core-side p {
  color: var(--fg-2);
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 22px;
}
.core-specs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  margin-top: 28px;
}
.core-spec {
  background: rgba(11,15,28,0.6);
  padding: 18px 20px;
  backdrop-filter: blur(8px);
}
.core-spec small {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--fg-3);
  display: block;
  margin-bottom: 8px;
}
.core-spec b {
  font-family: var(--display);
  font-weight: 600;
  font-size: 17px;
  letter-spacing: -0.015em;
  color: var(--accent);
  display: block;
}

/* ----- chip svg ----- */
.core-chip {
  position: relative;
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
  aspect-ratio: 1;
}
.core-chip svg { width: 100%; height: 100%; display: block; overflow: visible; }

.chip-bloom {
  position: absolute; inset: -15%;
  background: radial-gradient(circle at center, rgba(125,211,252,0.18), transparent 65%);
  pointer-events: none;
  z-index: -1;
}

/* chip elements */
.chip-frame      { fill: rgba(125,211,252,0.025); stroke: rgba(125,211,252,0.7); stroke-width: 1.5; }
.chip-frame-inner{ fill: rgba(125,211,252,0.04); stroke: rgba(125,211,252,0.45); stroke-width: 1; }
.chip-corner     { fill: #7dd3fc; }
.chip-pin        { stroke: rgba(125,211,252,0.7); stroke-width: 1.4; stroke-linecap: round; }
.chip-pin-pad    { fill: rgba(125,211,252,0.15); stroke: rgba(125,211,252,0.5); stroke-width: 0.6; }
.chip-grid       { stroke: rgba(125,211,252,0.12); stroke-width: 0.5; fill: none; }
.chip-trace      { stroke: rgba(125,211,252,0.55); stroke-width: 0.7; fill: none; stroke-linecap: round; }
.chip-trace-flow {
  stroke: #a5e0fd;
  stroke-width: 1.4;
  fill: none;
  stroke-linecap: round;
  stroke-dasharray: 8 32;
  filter: drop-shadow(0 0 4px rgba(125,211,252,0.7));
  animation: chip-flow 2.2s linear infinite;
}
@keyframes chip-flow { to { stroke-dashoffset: -40; } }
.chip-trace-flow.delay-1 { animation-delay: 0.5s; }
.chip-trace-flow.delay-2 { animation-delay: 1.0s; }
.chip-trace-flow.delay-3 { animation-delay: 1.5s; }
.chip-trace-flow.amber { stroke: #E7A64C; filter: drop-shadow(0 0 3px rgba(231,166,76,0.8)); }
.chip-pin-pad.amber { fill: rgba(231,166,76,0.18); stroke: rgba(231,166,76,0.6); }

.chip-mer-bg {
  fill: rgba(125,211,252,0.06);
  stroke: #7dd3fc;
  stroke-width: 1;
}
.chip-mer-text {
  font-family: var(--display);
  font-weight: 700;
  font-size: 38px;
  fill: #E7A64C;
  letter-spacing: -0.03em;
  text-anchor: middle;
  filter: drop-shadow(0 0 8px rgba(231,166,76,0.7));
}
.chip-mer-sub {
  font-family: 'JetBrains Mono', monospace;
  font-size: 7px;
  fill: rgba(125,211,252,0.7);
  letter-spacing: 0.32em;
  text-anchor: middle;
}
.chip-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 7.5px;
  fill: rgba(125,211,252,0.65);
  letter-spacing: 0.18em;
}
.chip-label-strong {
  font-family: 'JetBrains Mono', monospace;
  font-size: 8px;
  fill: #a5e0fd;
  letter-spacing: 0.16em;
  font-weight: 600;
}

.chip-led {
  fill: #a5e0fd;
  filter: drop-shadow(0 0 4px rgba(125,211,252,0.9));
  animation: chip-blink 1.4s infinite;
}
.chip-led-2 { animation-delay: 0.4s; fill: #E7A64C; filter: drop-shadow(0 0 4px rgba(231,166,76,0.95)); }
.chip-led-3 { animation-delay: 0.8s; }
@keyframes chip-blink { 50% { opacity: 0.25; } }

.chip-pulse-ring {
  fill: none;
  stroke: #a5e0fd;
  stroke-width: 1;
  transform-origin: center;
}
.chip-bar-track { fill: rgba(125,211,252,0.10); stroke: rgba(125,211,252,0.35); stroke-width: 0.5; }
.chip-bar-fill  { fill: #7dd3fc; transform-origin: left center; }

.chip-spin       { transform-origin: center; transform-box: fill-box; animation: chip-spin 14s linear infinite; }
@keyframes chip-spin { to { transform: rotate(360deg); } }

@media (max-width: 960px) {
  .core-inner { grid-template-columns: 1fr; }
  .core-chip  { max-width: 420px; }
  .core-specs { grid-template-columns: 1fr; }
}

@media (max-width: 1100px) {
  .hero-inner { grid-template-columns: 1fr 1fr; gap: 40px; }
  .hero-vis { max-width: 480px; }
}
@media (max-width: 960px) {
  .hero-inner, .about, .callout { grid-template-columns: 1fr; gap: 40px; }
  .hero-vis { max-width: 420px; margin: 0 auto; }
  .section-head { grid-template-columns: 1fr; gap: 16px; }
  .section-intro { justify-self: start; text-align: left; max-width: none; }
  .products, .process { grid-template-columns: 1fr 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .product-grid { grid-template-columns: 1fr 1fr; }
  .contact-meta { grid-template-columns: 1fr 1fr; gap: 16px; }
  .hero-stat.s1, .hero-stat.s2, .hero-stat.s3 { display: none; }
  .callout { padding: 36px 28px; }
  .strip-inner { gap: 14px 24px; font-size: 10px; }
  .nav-inner { padding: 14px 18px; }
  .brand { font-size: 15px; }
  .brand sub { display: none; }
  .nav-cta { padding: 8px 12px; font-size: 12px; }
  .nav-cta-text-long { display: none; }
}
@media (max-width: 640px) {
  :root { --pad: 18px; }
  .products, .process, .product-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .hero { padding: 56px 0 80px; }
  .hero p { font-size: 16px; }
  .btn { padding: 12px 18px; font-size: 13px; }
  .section { padding: 80px 0; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat { padding: 22px 18px; }
  .stat b { font-size: 34px; }
  .product { padding: 24px; }
  .step { padding: 24px 20px; }
  .callout { padding: 28px 22px; gap: 32px; }
  .callout-vis { display: none; }
  .contact-meta { grid-template-columns: 1fr; gap: 20px; padding-top: 28px; margin-top: 36px; }
  .footer-bottom { flex-direction: column; gap: 12px; align-items: flex-start; }
  .nav-inner { padding: 12px 16px; }
  .nav-cta { padding: 7px 12px; font-size: 11px; }
  .pcard { padding: 16px; }
  .cats { gap: 8px; }
  .cat { padding: 7px 12px; font-size: 11px; }
}
@media (max-width: 420px) {
  .nav-cta-text { display: none; }
  .nav-cta::after { content: '→'; }
  .hero-vis { max-width: 340px; }
  .strip-inner { justify-content: flex-start; }
}

/* ============== MOBILE NAV (hamburger + drawer) ============== */
.nav-toggle {
  display: none;
  width: 38px; height: 38px;
  flex-direction: column; justify-content: center; align-items: center; gap: 5px;
  margin-left: 10px;
  border: 1px solid var(--line-2); border-radius: 9px;
  background: rgba(10,22,46,0.5);
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
  z-index: 210;
  position: relative;
}
.nav-toggle:hover { background: rgba(125,211,252,0.08); border-color: var(--accent); }
.nav-toggle-bar {
  display: block; width: 18px; height: 2px; border-radius: 2px;
  background: var(--fg);
  transition: transform 0.25s ease, opacity 0.2s ease;
  transform-origin: center;
}
body.nav-open .nav-toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.nav-open .nav-toggle-bar:nth-child(2) { opacity: 0; }
body.nav-open .nav-toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-overlay {
  position: fixed; inset: 0;
  background: rgba(2,8,22,0.55);
  backdrop-filter: blur(3px);
  opacity: 0; visibility: hidden;
  transition: opacity 0.25s, visibility 0s linear 0.25s;
  z-index: 150;
}
body.nav-open .nav-overlay {
  opacity: 1; visibility: visible;
  transition: opacity 0.25s;
}
/* Lift the nav (and its child drawer) above the overlay when menu is open,
   so the overlay's backdrop-filter only blurs the page below, not the drawer. */
body.nav-open .nav { z-index: 200; }

@media (max-width: 960px) {
  .nav-toggle { display: flex; }

  .nav-links {
    position: fixed; top: 0; right: 0;
    height: 100vh; width: min(84vw, 340px);
    flex-direction: column; gap: 4px;
    margin: 0;
    padding: 88px 22px 32px;
    background: var(--bg);
    border-left: 1px solid var(--line-2);
    box-shadow: -24px 0 60px -20px rgba(0,0,0,0.7);
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.22,1,0.36,1);
    z-index: 180;
  }
  body.nav-open .nav-links { transform: translateX(0); }

  .nav-links > a,
  .nav-dd > .nav-dd-trigger {
    display: flex; align-items: center; justify-content: space-between;
    padding: 14px 12px;
    font-size: 16px; color: var(--fg);
    border-bottom: 1px solid var(--line);
  }
  .nav-links a::after { display: none; }

  .nav-dd { position: static; }
  .nav-dd-panel {
    position: static;
    transform: none;
    opacity: 1; visibility: visible; pointer-events: auto;
    min-width: 0; width: 100%;
    background: transparent;
    border: none; box-shadow: none; backdrop-filter: none;
    padding: 0; margin: 0;
    max-height: 0; overflow: hidden;
    transition: max-height 0.3s ease;
    display: block;
  }
  .nav-dd:hover .nav-dd-panel,
  .nav-dd:focus-within .nav-dd-panel {
    transform: none;
  }
  .nav-dd.is-open .nav-dd-panel {
    max-height: 500px;
    padding: 6px 0 10px;
  }
  .nav-dd .caret { transition: transform 0.25s; }
  .nav-dd.is-open .caret { transform: rotate(180deg); }
  .nav-dd-panel::before { display: none; }

  .dd-item {
    padding: 10px 14px 10px 22px;
    border-bottom: 1px solid var(--line);
  }
  .dd-item:last-child { border-bottom: none; }
}
