/* =====  THEME TOKENS  ===== */
  :root {
    /* Light theme — warm paper, deep ink, single confident accent */
    --bg:            #f0f4f8;
    --bg-elev:       #f7f9fc;
    --bg-card:       #ffffff;
    --ink:           #0f1824;
    --ink-soft:      #3d4e63;
    --ink-mute:      #7a8fa8;
    --line:          rgba(0,0,0,0.08);
    --line-soft:     rgba(0,0,0,0.05);
    --accent:        #00a87a;       /* emerald green */
    --accent-soft:   rgba(0,168,122,0.14);
    --accent-ink:    #ffffff;
    --good:          #00a87a;
    --shadow-sm:     0 1px 2px rgba(0,0,0,0.06), 0 2px 6px rgba(0,0,0,0.04);
    --shadow-md:     0 8px 24px rgba(0,0,0,0.08), 0 2px 6px rgba(0,0,0,0.05);
    --shadow-lg:     0 30px 80px rgba(0,0,0,0.13), 0 8px 24px rgba(0,0,0,0.07);
    --grain-opacity: 0.04;
  }

  @media (prefers-color-scheme: dark) {
    :root {
      --bg:          #0a0e14;
      --bg-elev:     #0f1520;
      --bg-card:     #141c2e;
      --ink:         #e2e8f0;
      --ink-soft:    #8892a4;
      --ink-mute:    #4a5568;
      --line:        rgba(255,255,255,0.07);
      --line-soft:   rgba(255,255,255,0.04);
      --accent:      #00c896;
      --accent-soft: rgba(0,200,150,0.14);
      --accent-ink:  #ffffff;
      --good:        #00c896;
      --shadow-sm:   0 1px 2px rgba(0,0,0,0.4), 0 2px 6px rgba(0,0,0,0.3);
      --shadow-md:   0 8px 24px rgba(0,0,0,0.45), 0 2px 6px rgba(0,0,0,0.3);
      --shadow-lg:   0 30px 80px rgba(0,0,0,0.55), 0 8px 24px rgba(0,0,0,0.4);
      --grain-opacity: 0.06;
    }
  }

  /* =====  RESET  ===== */
  *, *::before, *::after { box-sizing: border-box; }
  html { scroll-behavior: smooth; }
  body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font-family: 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 16px;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
  }

  /* Subtle paper grain */
  body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 1000;
    opacity: var(--grain-opacity);
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 0.6 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
    mix-blend-mode: multiply;
  }
  @media (prefers-color-scheme: dark) {
    body::before { mix-blend-mode: screen; }
  }

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

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

  /* =====  LAYOUT  ===== */
  .container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 32px;
  }
  @media (max-width: 640px) {
    .container { padding: 0 20px; }
  }

  /* =====  NAV  ===== */
  .nav {
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(20px) saturate(140%);
    -webkit-backdrop-filter: blur(20px) saturate(140%);
    background: color-mix(in srgb, var(--bg) 78%, transparent);
    border-bottom: 1px solid transparent;
    transition: border-color .3s ease, background .3s ease;
  }
  .nav.scrolled {
    border-bottom-color: var(--line);
  }
  .nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
  }
  .brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'IBM Plex Sans', sans-serif;
    font-weight: 600;
    font-size: 22px;
    letter-spacing: -0.02em;
  }
  .brand-mark {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    transform: rotate(-4deg);
    transition: transform .4s cubic-bezier(.34,1.56,.64,1);
    position: relative;
  }
  .brand-mark svg { display: block; }
  .brand:hover .brand-mark { transform: rotate(4deg) scale(1.05); }

  /* Logo theme switching — hardcoded, no CSS variables inside SVG */
  /* Default (light theme): show dark logo, hide light logo */
  .brand-mark .logo-dark,
  .post-footer-brand .logo-dark  { display: block; }
  .brand-mark .logo-light,
  .post-footer-brand .logo-light { display: none;  }

  /* Dark theme via manual toggle */
  [data-theme="dark"] .brand-mark .logo-dark,
  [data-theme="dark"] .post-footer-brand .logo-dark  { display: none;  }
  [data-theme="dark"] .brand-mark .logo-light,
  [data-theme="dark"] .post-footer-brand .logo-light { display: block; }

  /* Dark theme via system preference (no manual override) */
  @media (prefers-color-scheme: dark) {
    :root:not([data-theme]) .brand-mark .logo-dark,
    :root:not([data-theme]) .post-footer-brand .logo-dark  { display: none;  }
    :root:not([data-theme]) .brand-mark .logo-light,
    :root:not([data-theme]) .post-footer-brand .logo-light { display: block; }
  }
  .brand-dot { color: var(--accent); }

  .nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
    font-size: 14px;
    font-weight: 500;
  }

  .nav-links a {
    color: var(--ink-soft);
    transition: color .2s ease;
    position: relative;
  }
  .nav-links a:hover { color: var(--ink); }
  .nav-links a.active { color: var(--ink); }

  .lang-switch {
    display: inline-flex;
    background: var(--bg-card);
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 3px;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.05em;
  }
  .lang-switch button,
  .lang-switch a.lang-btn {
    padding: 6px 12px;
    border-radius: 999px;
    color: var(--ink-mute);
    transition: all .25s ease;
    text-decoration: none;
  }
  .lang-switch button.active,
  .lang-switch a.lang-btn.active {
    background: var(--ink);
    color: var(--bg);
  }

  .nav-cta {
    padding: 10px 18px;
    background: var(--accent);
    color: #ffffff; /* light theme: white text on muted green */
    border-radius: 999px;
    font-weight: 600;
    font-size: 14px;
    transition: transform .2s ease, box-shadow .25s ease, background .2s ease;
    box-shadow: 0 2px 8px color-mix(in srgb, var(--accent) 35%, transparent);
  }
  .nav-cta:hover {
    background: color-mix(in srgb, var(--accent) 85%, var(--ink));
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 4px 16px color-mix(in srgb, var(--accent) 50%, transparent);
  }
  /* Dark theme: dark text on bright green */
  [data-theme="dark"] .nav-cta,
  [data-theme="dark"] .nav-cta:hover { color: #0a0e14; }

  /* ── nav-actions: always-visible right side ───────────────── */
  .nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
  }

  /* ── hamburger: hidden on desktop ─────────────────────────── */
  .nav-hamburger {
    display: none;
    width: 40px; height: 40px;
    border-radius: 10px;
    background: var(--bg-card);
    border: 1px solid var(--line);
    color: var(--ink);
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background .2s, border-color .2s;
  }
  .nav-hamburger:hover { border-color: var(--accent); color: var(--accent); }

  /* ── mobile menu panel: hidden by default ─────────────────── */
  .mobile-menu {
    display: none;
  }

  /* =====  HERO  ===== */
  .hero {
    position: relative;
    padding: 80px 0 120px;
    overflow: hidden;
  }
  .hero::after {
    /* radiating accent glow behind device */
    content: "";
    position: absolute;
    right: -10%;
    top: 20%;
    width: 60%;
    height: 70%;
    background: radial-gradient(circle, color-mix(in srgb, var(--accent) 22%, transparent) 0%, transparent 60%);
    filter: blur(60px);
    pointer-events: none;
    z-index: 0;
  }
  .hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
  }
  @media (max-width: 980px) {
    .hero-grid { grid-template-columns: 1fr; gap: 60px; }
    .hero { padding: 48px 0 80px; }
  }

  .eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 12px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--ink-mute);
    margin-bottom: 28px;
    opacity: 0;
    animation: fadeUp .8s ease .1s forwards;
  }
  .eyebrow-dot {
    width: 8px; height: 8px; border-radius: 50%;
    background: var(--good);
    box-shadow: 0 0 0 4px color-mix(in srgb, var(--good) 25%, transparent);
    animation: pulse 2s ease-in-out infinite;
  }
  @keyframes pulse {
    0%, 100% { box-shadow: 0 0 0 4px color-mix(in srgb, var(--good) 25%, transparent); }
    50%      { box-shadow: 0 0 0 7px color-mix(in srgb, var(--good) 0%, transparent); }
  }

  .hero h1 {
    font-family: 'IBM Plex Sans', sans-serif;
    font-weight: 400;
    font-size: clamp(46px, 6.4vw, 84px);
    line-height: 0.98;
    letter-spacing: -0.02em;
    margin: 0 0 28px;
    color: var(--ink);
    opacity: 0;
    animation: fadeUp .9s ease .2s forwards;
  }
  .hero h1 em {
    font-style: italic;
    font-weight: 400;
    color: var(--accent);
  }
  .hero h1 .underline {
    position: relative;
    white-space: nowrap;
  }
  .hero h1 .underline::after {
    content: "";
    position: absolute;
    left: -2%; right: -2%; bottom: 4px;
    height: 14px;
    background: var(--accent-soft);
    z-index: -1;
    border-radius: 4px;
    opacity: 0.55;
  }

  .hero-lede {
    font-size: clamp(17px, 1.4vw, 19px);
    line-height: 1.55;
    color: var(--ink-soft);
    max-width: 540px;
    margin: 0 0 40px;
    opacity: 0;
    animation: fadeUp .9s ease .35s forwards;
  }

  .hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    opacity: 0;
    animation: fadeUp .9s ease .5s forwards;
  }
  .btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 26px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 15px;
    transition: all .25s ease;
  }
  .btn-primary {
    background: var(--ink);
    color: var(--bg);
    box-shadow: var(--shadow-md);
  }
  .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
  }
  .btn-secondary {
    background: transparent;
    color: var(--ink);
    border: 1px solid var(--line);
  }
  .btn-secondary:hover {
    border-color: var(--ink);
    background: var(--bg-card);
  }
  .btn svg { width: 16px; height: 16px; }

  .hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 28px;
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid var(--line);
    opacity: 0;
    animation: fadeUp .9s ease .7s forwards;
  }
  .hero-meta-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
  }
  .hero-meta-num {
    font-family: 'IBM Plex Sans', sans-serif;
    font-size: 28px;
    font-weight: 500;
    letter-spacing: -0.02em;
    color: var(--ink);
  }
  .hero-meta-label {
    font-size: 12px;
    color: var(--ink-mute);
    font-family: 'IBM Plex Mono', monospace;
    letter-spacing: 0.05em;
    text-transform: uppercase;
  }

  /* =====  PHONE MOCKUP  ===== */
  .device-stage {
    position: relative;
    display: grid;
    place-items: center;
    perspective: 1500px;
    opacity: 0;
    animation: fadeUp 1s ease .4s forwards;
  }

  .device-bg-shapes {
    position: absolute;
    inset: 0;
    pointer-events: none;
  }
  .device-bg-shapes::before,
  .device-bg-shapes::after {
    content: "";
    position: absolute;
    border-radius: 50%;
  }
  .device-bg-shapes::before {
    width: 320px; height: 320px;
    top: 10%; left: -10%;
    border: 1px dashed var(--line);
    animation: spin 60s linear infinite;
  }
  .device-bg-shapes::after {
    width: 180px; height: 180px;
    bottom: 5%; right: 8%;
    background: var(--accent);
    opacity: 0.08;
    filter: blur(30px);
  }
  @keyframes spin { to { transform: rotate(360deg); } }

  .phone {
    position: relative;
    width: 320px;
    height: 660px;
    background: var(--ink);
    border-radius: 48px;
    padding: 12px;
    box-shadow:
      0 0 0 2px color-mix(in srgb, var(--ink) 80%, var(--bg-card)),
      var(--shadow-lg);
    transform: rotate(-3deg);
    transition: transform .6s cubic-bezier(.22,1,.36,1);
  }
  .phone:hover { transform: rotate(0deg) translateY(-6px); }

  .phone::before {
    /* side button */
    content: "";
    position: absolute;
    right: -3px;
    top: 140px;
    width: 4px;
    height: 64px;
    background: color-mix(in srgb, var(--ink) 70%, var(--bg));
    border-radius: 0 2px 2px 0;
  }
  .phone::after {
    /* volume buttons */
    content: "";
    position: absolute;
    left: -3px;
    top: 120px;
    width: 4px;
    height: 100px;
    background: color-mix(in srgb, var(--ink) 70%, var(--bg));
    border-radius: 2px 0 0 2px;
    box-shadow: 0 -50px 0 color-mix(in srgb, var(--ink) 70%, var(--bg));
  }

  .phone-screen {
    width: 100%;
    height: 100%;
    background: var(--bg-elev);
    border-radius: 38px;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
  }

  .phone-notch {
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: 110px;
    height: 28px;
    background: var(--ink);
    border-radius: 999px;
    z-index: 10;
  }

  .chat-header {
    padding: 50px 18px 14px;
    border-bottom: 1px solid var(--line);
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--bg-elev);
  }
  .chat-avatar {
    width: 38px; height: 38px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), color-mix(in srgb, var(--accent) 60%, var(--ink)));
    display: grid;
    place-items: center;
    color: var(--accent-ink);
    font-family: 'IBM Plex Sans', sans-serif;
    font-weight: 600;
    font-size: 16px;
    flex-shrink: 0;
    position: relative;
  }
  .chat-avatar::after {
    content: "";
    position: absolute;
    bottom: 0; right: 0;
    width: 10px; height: 10px;
    background: var(--good);
    border-radius: 50%;
    border: 2px solid var(--bg-elev);
  }
  .chat-meta {
    flex: 1;
    min-width: 0;
  }
  .chat-name {
    font-weight: 600;
    font-size: 14px;
    color: var(--ink);
    margin-bottom: 2px;
  }
  .chat-status {
    font-size: 11px;
    color: var(--ink-mute);
    font-family: 'IBM Plex Mono', monospace;
  }
  .chat-icon-btn {
    width: 32px; height: 32px;
    display: grid;
    place-items: center;
    color: var(--ink-mute);
    border-radius: 8px;
    transition: background .2s;
  }
  .chat-icon-btn:hover { background: var(--line-soft); color: var(--ink); }

  .chat-body {
    flex: 1;
    overflow: hidden;
    padding: 16px 14px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    position: relative;
  }
  .chat-body::before {
    /* faint pattern background */
    content: "";
    position: absolute;
    inset: 0;
    background-image:
      radial-gradient(circle at 20% 30%, color-mix(in srgb, var(--accent) 10%, transparent) 0%, transparent 40%),
      radial-gradient(circle at 80% 70%, color-mix(in srgb, var(--good) 8%, transparent) 0%, transparent 40%);
    pointer-events: none;
    opacity: 0.5;
  }

  .msg {
    max-width: 78%;
    padding: 9px 13px;
    border-radius: 18px;
    font-size: 13.5px;
    line-height: 1.4;
    position: relative;
    z-index: 1;
    opacity: 0;
    transform: translateY(8px);
    animation: msgIn .4s cubic-bezier(.22,1,.36,1) forwards;
    word-wrap: break-word;
  }
  .msg.them {
    align-self: flex-start;
    background: var(--bg-card);
    color: var(--ink);
    border-bottom-left-radius: 6px;
    box-shadow: var(--shadow-sm);
  }
  .msg.me {
    align-self: flex-end;
    background: var(--accent);
    color: var(--accent-ink);
    border-bottom-right-radius: 6px;
  }
  .msg-time {
    font-size: 10px;
    opacity: 0.7;
    margin-top: 3px;
    display: flex;
    align-items: center;
    gap: 4px;
    justify-content: flex-end;
    font-family: 'IBM Plex Mono', monospace;
  }
  .msg.them .msg-time { justify-content: flex-start; }
  .msg-icon        { width: 11px; height: 11px; opacity: 0.75; flex-shrink: 0; display: inline-block; vertical-align: middle; }
  .msg-icon.msg-tick { width: 17px; }

  .typing {
    align-self: flex-start;
    background: var(--bg-card);
    padding: 12px 16px;
    border-radius: 18px;
    border-bottom-left-radius: 6px;
    display: flex;
    gap: 4px;
    box-shadow: var(--shadow-sm);
    opacity: 0;
    animation: msgIn .4s ease forwards;
  }
  .typing span {
    width: 6px; height: 6px;
    background: var(--ink-mute);
    border-radius: 50%;
    animation: typingBounce 1.2s ease-in-out infinite;
  }
  .typing span:nth-child(2) { animation-delay: .15s; }
  .typing span:nth-child(3) { animation-delay: .3s; }
  @keyframes typingBounce {
    0%, 60%, 100% { transform: translateY(0); opacity: 0.5; }
    30%           { transform: translateY(-5px); opacity: 1; }
  }
  @keyframes msgIn {
    to { opacity: 1; transform: translateY(0); }
  }

  .chat-input {
    padding: 12px 14px 18px;
    background: var(--bg-elev);
    border-top: 1px solid var(--line);
    display: flex;
    align-items: center;
    gap: 8px;
  }
  .chat-input-field {
    flex: 1;
    background: var(--bg-card);
    border-radius: 999px;
    padding: 10px 16px;
    font-size: 13px;
    color: var(--ink-mute);
    border: 1px solid var(--line);
  }
  .chat-input-btn {
    width: 38px; height: 38px;
    background: var(--accent);
    color: var(--accent-ink);
    border-radius: 50%;
    display: grid;
    place-items: center;
    flex-shrink: 0;
  }

  /* Floating side cards around the phone */
  .float-card {
    position: absolute;
    background: var(--bg-card);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 12px 16px;
    box-shadow: var(--shadow-md);
    font-size: 12px;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 10px;
  }
  .float-card-1 {
    top: 12%;
    left: -10%;
    transform: rotate(-6deg);
    animation: float 6s ease-in-out infinite;
  }
  .float-card-2 {
    bottom: 18%;
    right: -8%;
    transform: rotate(5deg);
    animation: float 6s ease-in-out infinite 3s;
  }
  @keyframes float {
    0%, 100% { transform: translateY(0) rotate(var(--rot, -6deg)); }
    50%      { transform: translateY(-10px) rotate(var(--rot, -6deg)); }
  }
  .float-card-1 { --rot: -6deg; }
  .float-card-2 { --rot: 5deg; }

  .float-icon {
    width: 32px; height: 32px;
    border-radius: 8px;
    display: grid;
    place-items: center;
    flex-shrink: 0;
  }
  .float-icon.lock { background: color-mix(in srgb, var(--good) 18%, transparent); color: var(--good); }
  .float-icon.shield { background: color-mix(in srgb, var(--accent) 18%, transparent); color: var(--accent); }

  .float-card-title { font-weight: 600; color: var(--ink); }
  .float-card-sub { color: var(--ink-mute); font-family: 'IBM Plex Mono', monospace; font-size: 10px; }

  @media (max-width: 980px) {
    .float-card-1 { left: 0; }
    .float-card-2 { right: 0; }
  }
  @media (max-width: 480px) {
    .phone { width: 280px; height: 580px; }
    .float-card { display: none; }
  }

  /* =====  SECTIONS  ===== */
  section { position: relative; padding: 100px 0; }
  @media (max-width: 768px) { section { padding: 72px 0; } }

  .section-head {
    margin-bottom: 64px;
    max-width: 700px;
  }
  .section-eyebrow {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 11px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
  }
  .section-eyebrow::before {
    content: "";
    width: 28px;
    height: 1px;
    background: var(--accent);
  }
  .section-title {
    font-family: 'IBM Plex Sans', sans-serif;
    font-weight: 400;
    font-size: clamp(36px, 4.5vw, 56px);
    line-height: 1.05;
    letter-spacing: -0.03em;
    margin: 0 0 20px;
    color: var(--ink);
  }
  .section-title em { font-style: italic; color: var(--accent); }
  .section-sub {
    font-size: 17px;
    color: var(--ink-soft);
    line-height: 1.6;
  }

  /* =====  FEATURES  ===== */
  .features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
    border-radius: 24px;
    overflow: hidden;
  }
  @media (max-width: 880px) { .features-grid { grid-template-columns: repeat(2, 1fr); } }
  @media (max-width: 560px) { .features-grid { grid-template-columns: 1fr; } }

  .feature {
    background: var(--bg);
    padding: 36px 32px;
    transition: background .25s ease;
    position: relative;
    display: flex;
    flex-direction: column;
  }
  .feature:hover { background: var(--bg-elev); }

  .feature-num {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 11px;
    color: var(--ink-mute);
    letter-spacing: 0.1em;
    margin-bottom: 24px;
  }
  .feature-icon {
    width: 44px; height: 44px;
    display: grid;
    place-items: center;
    background: var(--bg-card);
    border: 1px solid var(--line);
    border-radius: 12px;
    color: var(--ink);
    margin-bottom: 24px;
    transition: all .3s ease;
  }
  .feature:hover .feature-icon {
    background: var(--accent);
    color: var(--accent-ink);
    border-color: var(--accent);
    transform: rotate(-4deg);
  }
  .feature-icon svg { width: 22px; height: 22px; }

  .feature h3 {
    font-family: 'IBM Plex Sans', sans-serif;
    font-weight: 500;
    font-size: 22px;
    letter-spacing: -0.02em;
    margin: 0 0 10px;
    color: var(--ink);
  }
  .feature p {
    color: var(--ink-soft);
    line-height: 1.55;
    font-size: 14.5px;
    margin: 0;
    flex: 1;
  }
  .feature-link {
    color: var(--accent);
    font-size: 13px;
    font-weight: 500;
    margin-top: 20px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: gap .2s ease;
  }
  .feature-link:hover { gap: 10px; }

  /* =====  DOWNLOADS  ===== */
  .downloads-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }
  @media (max-width: 880px) { .downloads-grid { grid-template-columns: repeat(2, 1fr); } }
  @media (max-width: 560px) { .downloads-grid { grid-template-columns: 1fr; } }

  .download {
    background: var(--bg-card);
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 28px;
    transition: all .3s ease;
    position: relative;
    overflow: hidden;
  }
  .download::before {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 4px;
    background: var(--accent);
    transform: translateY(-4px);
    transition: transform .3s ease;
  }
  .download:hover {
    transform: translateY(-3px);
    border-color: var(--ink-mute);
    box-shadow: var(--shadow-md);
  }
  .download:hover::before { transform: translateY(0); }

  .download-os {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
  }
  .download-platform {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 11px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--ink-mute);
  }
  .download-platform-icon {
    display: inline-flex;
    align-items: center;
    color: var(--ink-mute);
    transition: color .25s ease;
  }
  .download:hover .download-platform-icon { color: var(--ink); }
  .download-platform-icon svg {
    width: 22px;
    height: 22px;
    display: block;
  }
  .download-os-icon {
    color: var(--ink);
  }
  .download h3 {
    font-family: 'IBM Plex Sans', sans-serif;
    font-weight: 500;
    font-size: 24px;
    margin: 0 0 8px;
    letter-spacing: -0.02em;
  }
  .download p {
    color: var(--ink-soft);
    font-size: 14px;
    line-height: 1.5;
    margin: 0 0 20px;
  }
  .download-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
  }
  .download-pill {
    font-size: 12px;
    padding: 6px 12px;
    border-radius: 999px;
    background: var(--bg);
    border: 1px solid var(--line);
    color: var(--ink-soft);
    transition: all .2s ease;
    font-weight: 500;
  }
  .download-pill:hover {
    background: var(--ink);
    color: var(--bg);
    border-color: var(--ink);
  }

  /* =====  TECH MARQUEE  ===== */
  .tech {
    padding: 60px 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    overflow: hidden;
  }
  .tech-label {
    text-align: center;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 11px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--ink-mute);
    margin-bottom: 32px;
  }
  .tech-track {
    display: flex;
    gap: 60px;
    animation: marquee 40s linear infinite;
    width: max-content;
  }
  @keyframes marquee {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
  }
  .tech-item {
    font-family: 'IBM Plex Sans', sans-serif;
    font-size: 28px;
    letter-spacing: -0.02em;
    color: var(--ink-soft);
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 60px;
  }
  .tech-item::after {
    content: "•";
    color: var(--accent);
  }

  /* =====  FOOTER  ===== */
  footer {
    padding: 80px 0 40px;
    border-top: 1px solid var(--line);
  }
  .footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 60px;
  }
  @media (max-width: 768px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-brand-col { grid-column: 1 / -1; }
  }

  .footer-tagline {
    color: var(--ink-soft);
    margin: 16px 0 24px;
    max-width: 360px;
    line-height: 1.6;
  }
  .footer-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
  }
  .footer-badge {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 10px;
    padding: 5px 10px;
    background: var(--bg-card);
    border: 1px solid var(--line);
    border-radius: 6px;
    color: var(--ink-soft);
    letter-spacing: 0.05em;
  }

  .footer-col h4 {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 11px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--ink-mute);
    margin: 0 0 20px;
    font-weight: 500;
  }
  .footer-col ul {
    list-style: none;
    padding: 0; margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
  }
  .footer-col a {
    color: var(--ink-soft);
    font-size: 14px;
    transition: color .2s;
  }
  .footer-col a:hover { color: var(--accent); }

  .footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 32px;
    border-top: 1px solid var(--line);
    font-size: 13px;
    color: var(--ink-mute);
    flex-wrap: wrap;
    gap: 16px;
  }
  .footer-heart {
    display: inline-block;
    vertical-align: middle;
    margin: 0 2px;
    position: relative;
    top: -1px;
    fill: var(--accent);
    flex-shrink: 0;
  }

  /* =====  ANIMATIONS  ===== */
  @keyframes fadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
  }

  .reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .8s ease, transform .8s cubic-bezier(.22,1,.36,1);
  }
  .reveal.visible {
    opacity: 1;
    transform: translateY(0);
  }

  /* Reduced motion */
  @media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
      animation-duration: .01ms !important;
      animation-iteration-count: 1 !important;
      transition-duration: .01ms !important;
    }
  }
/* =====================================================================
   ADDITIONS: theme toggle · scroll-to-top · QR card · obfuscated email
===================================================================== */

/* ── THEME TOKENS for data-theme override ─────────────────────────── */
[data-theme="dark"] {
  --bg:          #0a0e14;
  --bg-elev:     #0f1520;
  --bg-card:     #141c2e;
  --ink:         #e2e8f0;
  --ink-soft:    #8892a4;
  --ink-mute:    #4a5568;
  --line:        rgba(255,255,255,0.07);
  --line-soft:   rgba(255,255,255,0.04);
  --accent:      #00c896;
  --accent-soft: rgba(0,200,150,0.14);
  --accent-ink:  #ffffff;
  --good:        #00c896;
  --shadow-sm:   0 1px 2px rgba(0,0,0,0.4), 0 2px 6px rgba(0,0,0,0.3);
  --shadow-md:   0 8px 24px rgba(0,0,0,0.45), 0 2px 6px rgba(0,0,0,0.3);
  --shadow-lg:   0 30px 80px rgba(0,0,0,0.55), 0 8px 24px rgba(0,0,0,0.4);
}
[data-theme="light"] {
  --bg:            #f0f4f8;
  --bg-elev:       #f7f9fc;
  --bg-card:       #ffffff;
  --ink:           #0f1824;
  --ink-soft:      #3d4e63;
  --ink-mute:      #7a8fa8;
  --line:          rgba(0,0,0,0.08);
  --line-soft:     rgba(0,0,0,0.05);
  --accent:        #00a87a;
  --accent-soft:   rgba(0,168,122,0.14);
  --accent-ink:    #ffffff;
  --good:          #00a87a;
  --shadow-sm:     0 1px 2px rgba(0,0,0,0.06), 0 2px 6px rgba(0,0,0,0.04);
  --shadow-md:     0 8px 24px rgba(0,0,0,0.08), 0 2px 6px rgba(0,0,0,0.05);
  --shadow-lg:     0 30px 80px rgba(0,0,0,0.13), 0 8px 24px rgba(0,0,0,0.07);
}

/* ── THEME TOGGLE BUTTON ──────────────────────────────────────────── */
.theme-toggle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--line);
  color: var(--ink-soft);
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
  transition: border-color .2s, color .2s, transform .3s ease;
  flex-shrink: 0;
}
.theme-toggle:hover {
  color: var(--accent);
  border-color: var(--accent);
  transform: rotate(20deg);
}
.theme-toggle .icon-sun,
.theme-toggle .icon-moon {
  position: absolute;
  transition: transform .4s cubic-bezier(.34,1.56,.64,1), opacity .25s ease;
}
/* default (light / system-light): show sun, hide moon */
.theme-toggle .icon-sun  { opacity: 1; transform: translateY(0) rotate(0deg); }
.theme-toggle .icon-moon { opacity: 0; transform: translateY(160%) rotate(30deg); }

/* when dark theme is active: hide sun, show moon */
[data-theme="dark"] .theme-toggle .icon-sun  { opacity: 0; transform: translateY(-160%) rotate(-30deg); }
[data-theme="dark"] .theme-toggle .icon-moon { opacity: 1; transform: translateY(0) rotate(0deg); }

/* system-level dark (no manual override) */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) .theme-toggle .icon-sun  { opacity: 0; transform: translateY(-160%) rotate(-30deg); }
  :root:not([data-theme]) .theme-toggle .icon-moon { opacity: 1; transform: translateY(0) rotate(0deg); }
}

/* ── SCROLL TO TOP BUTTON ─────────────────────────────────────────── */
.scroll-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 90;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--accent);
  color: #ffffff; /* light theme: white arrow on muted green */
  display: grid;
  place-items: center;
  box-shadow: 0 4px 16px color-mix(in srgb, var(--accent) 40%, transparent);
  border: none;
  cursor: pointer;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .3s ease, transform .3s ease, box-shadow .2s ease;
  pointer-events: none;
}
/* Dark theme: dark arrow on bright green */
[data-theme="dark"] .scroll-top { color: #0a0e14; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) .scroll-top { color: #0a0e14; }
}
.scroll-top.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.scroll-top:hover {
  box-shadow: 0 6px 24px color-mix(in srgb, var(--accent) 55%, transparent);
  transform: translateY(-2px);
}
@media (max-width: 640px) {
  .scroll-top { bottom: 20px; right: 20px; width: 40px; height: 40px; }
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) .nav-cta,
  :root:not([data-theme]) .nav-cta:hover,
  :root:not([data-theme]) .mobile-menu-cta,
  :root:not([data-theme]) .mobile-menu-cta:hover { color: #0a0e14 !important; }
}

/* ── QR CODE CARD ─────────────────────────────────────────────────── */
.qr-wrap {
  width: 100%;
  display: flex;
  justify-content: center;
}

.qr-card {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 16px 20px;
  margin-top: 32px;
  box-shadow: var(--shadow-sm);
  max-width: 400px;
  transition: box-shadow .25s ease, transform .25s ease;
  /* center within the hero-text column */
  display: flex;
  margin-left: auto;
  margin-right: auto;
}
.qr-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
/* Both QR images share base sizing */
.qr-img {
  width: 144px;
  height: 144px;
  border-radius: 12px;
  flex-shrink: 0;
  display: block;
}

/* Dark QR: shown by default and in dark mode */
.qr-img-dark  { display: block; }
.qr-img-light { display: none;  }

/* Light theme override — manual toggle */
[data-theme="light"] .qr-img-dark  { display: none;  }
[data-theme="light"] .qr-img-light { display: block; }

/* Light theme override — system preference (no manual choice) */
@media (prefers-color-scheme: light) {
  :root:not([data-theme]) .qr-img-dark  { display: none;  }
  :root:not([data-theme]) .qr-img-light { display: block; }
}
.qr-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.qr-title {
  font-weight: 600;
  font-size: 14px;
  color: var(--ink);
}
.qr-sub {
  font-size: 12px;
  color: var(--ink-mute);
  font-family: 'IBM Plex Mono', monospace;
  line-height: 1.5;
}
@media (max-width: 480px) {
  .qr-wrap {
  width: 100%;
  display: flex;
  justify-content: center;
}

.qr-card { flex-direction: column; text-align: center; }
}

/* ── OBFUSCATED EMAIL ─────────────────────────────────────────────── */
/* Rendered by JS — styled to match existing footer links */
.obf-email a {
  color: var(--ink-soft);
  font-size: 14px;
  transition: color .2s;
}
.obf-email a:hover { color: var(--accent); }

/* ── CONTACT LIST ITEMS (footer) ─────────────────────────────────── */
.contact-item {
  display: flex;
  align-items: center;
  gap: 8px;
}
.contact-icon {
  flex-shrink: 0;
  color: var(--ink-mute);
  position: relative;
  top: 1px;
}

/* =====================================================================
   BLOG — list page, post cards, single post, pagination
   Card style mirrors "Get the apps" download cards exactly.
===================================================================== */

/* ── Blog hero ────────────────────────────────────────────────────── */
.blog-hero {
  padding: 80px 0 56px;
  position: relative;
  overflow: hidden;
}
.blog-hero::after {
  content: "";
  position: absolute;
  right: -10%; top: 0;
  width: 50%; height: 100%;
  background: radial-gradient(circle, color-mix(in srgb, var(--accent) 14%, transparent) 0%, transparent 60%);
  filter: blur(60px);
  pointer-events: none;
  z-index: 0;
}
.blog-hero .container { position: relative; z-index: 1; }

.blog-hero-title {
  font-family: 'IBM Plex Sans', sans-serif;
  font-weight: 600;
  font-size: clamp(40px, 5vw, 64px);
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin: 16px 0 16px;
  color: var(--ink);
  opacity: 0;
  animation: fadeUp .8s ease .1s forwards;
}
.blog-hero-title em { font-style: italic; color: var(--accent); }
.blog-hero-sub {
  font-size: 18px;
  color: var(--ink-soft);
  margin: 0;
  max-width: 560px;
  opacity: 0;
  animation: fadeUp .8s ease .25s forwards;
}

/* ── Post grid — identical to .downloads-grid ─────────────────────── */
.blog-list { padding: 24px 0 100px; }

.post-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
@media (max-width: 880px) { .post-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .post-grid { grid-template-columns: 1fr; } }

/* ── Post card — identical to .download ──────────────────────────── */
.post-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 28px;
  transition: all .3s ease;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.post-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 4px;
  background: var(--accent);
  transform: translateY(-4px);
  transition: transform .3s ease;
}
.post-card:hover {
  transform: translateY(-3px);
  border-color: var(--ink-mute);
  box-shadow: var(--shadow-md);
}
.post-card:hover::before { transform: translateY(0); }

.post-card-link {
  display: flex;
  flex-direction: column;
  flex: 1;
  color: inherit;
  text-decoration: none;
}

/* Platform label row — mirrors .download-os ──────────────────────── */
.post-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}
.post-date {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.post-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.post-tag {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.post-tag + .post-tag::before { content: "·"; margin-right: 6px; }

/* Title — mirrors .download h3 ───────────────────────────────────── */
.post-title {
  font-family: 'IBM Plex Sans', sans-serif;
  font-weight: 500;
  font-size: 22px;
  letter-spacing: -0.02em;
  margin: 0 0 8px;
  color: var(--ink);
  line-height: 1.25;
}

/* Excerpt — mirrors .download p ─────────────────────────────────── */
.post-excerpt {
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.5;
  margin: 0 0 20px;
  flex: 1;
}

/* Read more pill — mirrors .download-pill ────────────────────────── */
.post-readmore {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--bg);
  border: 1px solid var(--line);
  color: var(--ink-soft);
  transition: all .2s ease;
  font-weight: 500;
  align-self: flex-start;
}
.post-card:hover .post-readmore {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
}

/* ── Empty state ──────────────────────────────────────────────────── */
.blog-empty {
  text-align: center;
  padding: 80px 0;
  color: var(--ink-mute);
  font-size: 17px;
}

/* ── Pagination ───────────────────────────────────────────────────── */
.blog-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 64px;
  padding-top: 40px;
  border-top: 1px solid var(--line);
}
.blog-page-info {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  color: var(--ink-mute);
}

/* ── Single post layout ───────────────────────────────────────────── */
.post-full { padding: 48px 0 100px; }
.post-container { max-width: 900px; }

.post-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--bg);
  border: 1px solid var(--line);
  color: var(--ink-soft);
  font-weight: 500;
  margin-bottom: 40px;
  transition: all .2s ease;
  font-family: 'IBM Plex Mono', monospace;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.post-back:hover {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
}

.post-header { margin-bottom: 48px; }

/* Post meta on single page */
.post-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
}
.post-reading-time {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  color: var(--ink-mute);
  letter-spacing: 0.05em;
}

.post-full-title {
  font-family: 'IBM Plex Sans', sans-serif;
  font-weight: 600;
  font-size: clamp(30px, 4.5vw, 48px);
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 0 0 16px;
  color: var(--ink);
}
.post-full-desc {
  font-size: 19px;
  line-height: 1.6;
  color: var(--ink-soft);
  margin: 0 0 28px;
  font-style: italic;
}
.post-full-img {
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  margin-top: 28px;
}
.post-full-img img { width: 100%; height: auto; display: block; }

/* ── Post body typography ─────────────────────────────────────────── */
.post-content {
  font-size: 17px;
  line-height: 1.75;
  color: var(--ink-soft);
  border-top: 1px solid var(--line);
  padding-top: 40px;
  margin-bottom: 48px;
}
.post-content h2 {
  font-family: 'IBM Plex Sans', sans-serif;
  font-weight: 600;
  font-size: 26px;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin: 48px 0 16px;
}
.post-content h3 {
  font-family: 'IBM Plex Sans', sans-serif;
  font-weight: 600;
  font-size: 20px;
  color: var(--ink);
  margin: 36px 0 12px;
}
.post-content p { margin: 0 0 20px; }
.post-content a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.post-content a:hover { text-decoration: none; }
.post-content strong { color: var(--ink); font-weight: 600; }
.post-content em { font-style: italic; }
.post-content ul, .post-content ol { padding-left: 24px; margin: 0 0 20px; }
.post-content li { margin-bottom: 8px; }
.post-content blockquote {
  margin: 28px 0;
  padding: 16px 24px;
  border-left: 3px solid var(--accent);
  background: var(--bg-elev);
  border-radius: 0 12px 12px 0;
  font-style: italic;
  color: var(--ink);
}
.post-content blockquote p { margin: 0; }
.post-content code {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 14px;
  background: var(--bg-elev);
  padding: 2px 7px;
  border-radius: 5px;
  color: var(--accent);
  border: 1px solid var(--line);
}
.post-content pre {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 24px;
  overflow-x: auto;
  margin: 0 0 24px;
}
.post-content pre code { background: none; padding: 0; border: none; color: var(--ink); font-size: 14px; }
.post-content hr { border: none; border-top: 1px solid var(--line); margin: 40px 0; }
.post-content img { max-width: 100%; border-radius: 12px; margin: 8px 0 24px; display: block; }
.post-content table { width: 100%; border-collapse: collapse; margin: 0 0 24px; font-size: 15px; }
.post-content th, .post-content td { padding: 10px 14px; border: 1px solid var(--line); text-align: left; }
.post-content th { background: var(--bg-elev); font-weight: 600; color: var(--ink); }

/* ── Post footer line ─────────────────────────────────────────────── */
.post-footer-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-bottom: 48px;
  font-size: 13px;
  color: var(--ink-mute);
}
.post-footer-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--ink);
}

/* ── Prev / Next navigation ───────────────────────────────────────── */
.post-nav-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .post-nav-inner { grid-template-columns: 1fr; } }
.post-nav-item {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 24px 28px;
  transition: all .3s ease;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: inherit;
}
.post-nav-item::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 4px;
  background: var(--accent);
  transform: translateY(-4px);
  transition: transform .3s ease;
}
.post-nav-item:hover {
  transform: translateY(-3px);
  border-color: var(--ink-mute);
  box-shadow: var(--shadow-md);
}
.post-nav-item:hover::before { transform: translateY(0); }
.post-nav-next { text-align: right; }
.post-nav-label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-mute);
  display: flex;
  align-items: center;
  gap: 6px;
}
.post-nav-next .post-nav-label { justify-content: flex-end; }
.post-nav-title {
  font-family: 'IBM Plex Sans', sans-serif;
  font-weight: 500;
  font-size: 17px;
  letter-spacing: -0.02em;
  color: var(--ink);
  line-height: 1.25;
}


/* =====================================================================
   MOBILE NAV — responsive rules (outside all nesting)
===================================================================== */

@media (max-width: 880px) {
  /* Hide desktop nav links */
  .nav-links { display: none !important; }

  /* Show hamburger */
  .nav-hamburger { display: flex !important; }

  /* Hide lang-switch on mobile — it's in the mobile menu */
  .nav-actions .lang-switch { display: none; }

  /* Mobile menu panel */
  .mobile-menu {
    display: none;
    position: fixed;
    top: 72px;
    left: 0; right: 0;
    background: var(--bg);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    z-index: 99;
    overflow-y: auto;
    max-height: calc(100vh - 72px);
  }
  .mobile-menu.is-open {
    display: block;
  }
  .mobile-menu-inner {
    display: flex;
    flex-direction: column;
    padding: 16px 24px 32px;
    gap: 4px;
  }
  .mobile-menu-inner a {
    font-size: 18px;
    font-weight: 600;
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
    color: var(--ink);
    display: block;
    transition: color .2s, padding-left .2s;
  }
  .mobile-menu-inner a:hover {
    color: var(--accent);
    padding-left: 8px;
  }
  .mobile-menu-inner a:last-child {
    border-bottom: none;
  }
  .mobile-menu-cta {
    margin-top: 16px;
    display: inline-flex !important;
    align-items: center;
    padding: 10px 18px !important;
    background: var(--accent);
    color: #ffffff !important; /* light: white on muted green */
    border-radius: 999px;
    font-weight: 600;
    font-size: 14px;
    border-bottom: none !important;
    box-shadow: 0 2px 8px color-mix(in srgb, var(--accent) 35%, transparent);
    width: fit-content;
  }
  .mobile-menu-cta:hover {
    padding-left: 18px !important;
    color: #ffffff !important;
    background: color-mix(in srgb, var(--accent) 85%, var(--ink));
  }
  [data-theme="dark"] .mobile-menu-cta,
  [data-theme="dark"] .mobile-menu-cta:hover { color: #0a0e14 !important; }
}

/* Mobile lang-switch inside mobile menu */
.mobile-lang-switch {
  margin-top: 8px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 16px;
}
.mobile-lang-switch .lang-btn {
  font-size: 13px;
  padding: 6px 14px;
  border-bottom: none !important;
}
