/* ---------- Tokens ---------- */
:root[data-theme="dark"] {
  --bg: #0c0d10;
  --bg-elev: #14161b;
  --surface: #1a1d23;
  --surface-2: #21252d;
  --border: #2a2f3a;
  --text: #ECEDEE;
  --text-muted: #8a93a4;
  --text-faint: #5a6171;
  --accent: #fb923c;       /* warm orange — distinct from Vaulto teal */
  --accent-2: #f97316;
  --accent-soft: rgba(251, 146, 60, 0.15);
  --success: #22c55e;
  --shadow: 0 1px 0 rgba(255,255,255,0.04) inset, 0 0 0 0.5px var(--border);
}
:root[data-theme="light"] {
  --bg: #f6f7f9;
  --bg-elev: #ffffff;
  --surface: #ffffff;
  --surface-2: #f1f3f7;
  --border: #e5e8ee;
  --text: #0c0d10;
  --text-muted: #5a6171;
  --text-faint: #8a93a4;
  --accent: #ea580c;
  --accent-2: #c2410c;
  --accent-soft: rgba(234, 88, 12, 0.10);
  --success: #16a34a;
  --shadow: 0 1px 2px rgba(15,23,42,0.04), 0 0 0 0.5px var(--border);
}

* { box-sizing: border-box; }

/* ---------- Fonts (self-hosted Inter) ---------- */
@font-face {
  font-family: "Inter";
  src: url("../assets/fonts/InterVariable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../assets/fonts/InterVariable-Italic.woff2") format("woff2");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}

a {
  text-decoration: none;
  color: inherit;
}
html, body, #root { height: 100%; }
html { background: var(--bg); }
body {
  margin: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", system-ui, sans-serif;
  font-size: 15px;
  line-height: 1.5;
  color: var(--text);
  background:
    radial-gradient(1200px 600px at 80% -10%, var(--accent-soft) 0%, transparent 60%),
    radial-gradient(900px 500px at -10% 30%, rgba(120, 119, 198, 0.06) 0%, transparent 60%),
    var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* ---------- App ---------- */
.app { min-height: 100vh; padding-bottom: 80px; }
.content { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

/* ---------- Top bar ---------- */
.topbar {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; gap: 24px;
  padding: 14px 24px;
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  background: color-mix(in oklab, var(--bg) 80%, transparent);
  border-bottom: 0.5px solid var(--border);
}
.brand { display: flex; align-items: center; gap: 12px; min-width: 0; }
.brand-mark {
  width: 36px; height: 36px; border-radius: 10px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff; font-weight: 700; font-size: 13px;
  display: grid; place-items: center; letter-spacing: 0.5px;
  box-shadow: 0 6px 18px -8px var(--accent);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name { font-weight: 600; font-size: 14px; }
.brand-role { font-size: 12px; color: var(--text-muted); }
.tabs {
  display: flex; gap: 4px; margin-left: 28px;
  background: var(--surface-2);
  padding: 4px; border-radius: 12px;
  border: 0.5px solid var(--border);
}
.tab {
  position: relative;
  appearance: none; border: 0; background: transparent;
  color: var(--text-muted);
  padding: 7px 14px; font-size: 13.5px; font-weight: 500;
  border-radius: 8px; cursor: pointer;
  transition: color 0.15s;
}
.tab:hover { color: var(--text); }
.tab.active {
  color: var(--text);
  background: var(--bg-elev);
  box-shadow: var(--shadow);
}
.topbar-spacer { flex: 1; }

/* Bottom dock — visible on mobile only */
.dock {
  display: none;
  position: fixed; bottom: 14px; left: 14px; right: 14px; z-index: 60;
  padding: 8px;
  border-radius: 22px;
  background: color-mix(in oklab, var(--bg-elev) 85%, transparent);
  border: 0.5px solid var(--border);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
}
.dock-tab {
  flex: 1; appearance: none; background: transparent; border: 0;
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  padding: 6px 0; color: var(--text-muted); font-size: 10.5px; font-weight: 500;
}
.dock-tab.active { color: var(--accent); }

/* ---------- Pages ---------- */
.page { padding: 32px 0 64px; }
.page-head { padding: 16px 0 28px; }
.page-eyebrow {
  font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 10px;
}
.page-title {
  font-size: 44px; font-weight: 800; letter-spacing: -0.04em;
  margin: 0 0 10px; line-height: 1.0;
  font-style: italic;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.page-sub {
  font-size: 17px; color: var(--text-muted); margin: 0;
  max-width: 680px; text-wrap: pretty;
}

/* ---------- Hero ---------- */
.hero {
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px;
  padding: 56px 0 64px; align-items: center;
}
.hero-text { min-width: 0; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12.5px; font-weight: 500; color: var(--text-muted);
  background: var(--surface);
  border: 0.5px solid var(--border);
  padding: 6px 12px; border-radius: 999px;
  margin-bottom: 24px;
}
.hero-title {
  font-size: clamp(40px, 6vw, 72px); line-height: 0.95; letter-spacing: -0.04em;
  font-weight: 800; margin: 0 0 24px;
}
.hero-title em {
  font-style: italic;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-sub {
  font-size: 17px; color: var(--text-muted); max-width: 560px;
  margin: 0 0 28px; text-wrap: pretty;
}
.hero-actions { display: flex; gap: 12px; margin-bottom: 36px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 600;
  padding: 11px 18px; border-radius: 12px; border: 0; cursor: pointer;
  transition: transform 0.1s ease, box-shadow 0.15s ease;
  font-family: inherit;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 8px 22px -10px var(--accent); }
.btn-primary:hover { background: var(--accent-2); }
.btn-ghost { background: transparent; color: var(--text); border: 0.5px solid var(--border); }
.btn-ghost:hover { background: var(--surface); }

.hero-meta {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
  padding-top: 24px; border-top: 0.5px solid var(--border); max-width: 560px;
}
.meta-label { font-size: 11px; color: var(--text-faint); text-transform: uppercase; letter-spacing: 0.06em; }
.meta-value { font-size: 14px; color: var(--text); margin-top: 4px; font-weight: 500; }

/* ---------- Hero phone ---------- */
.hero-phone-wrap { position: relative; display: grid; place-items: center; min-height: 560px; }
.hero-phone-glow {
  position: absolute; inset: 10% 10%; border-radius: 50%;
  background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
  opacity: 0.18; filter: blur(40px); pointer-events: none;
}
.phone {
  position: relative; width: 280px; height: 570px;
  border-radius: 48px; padding: 6px;
  background: linear-gradient(135deg, #2a2d34, #15171c);
  box-shadow:
    0 50px 100px -30px rgba(0,0,0,0.6),
    0 0 0 1px rgba(255,255,255,0.04) inset,
    0 0 0 0.5px rgba(0,0,0,0.4);
  transform: rotate(-3deg);
}
.phone-screen {
  position: relative; width: 100%; height: 100%;
  background: #0c0d10; border-radius: 42px;
  overflow: hidden;
  display: flex; flex-direction: column;
}
.phone-notch {
  position: absolute; top: 8px; left: 50%; transform: translateX(-50%);
  width: 100px; height: 28px; background: #000; border-radius: 16px; z-index: 5;
  display: grid; place-items: center;
}
.phone-notch-inner { width: 8px; height: 8px; border-radius: 50%; background: #1f2228; }
.ph-status {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 22px 6px; color: #fff; font-size: 12px; font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.ph-status-right { display: flex; gap: 5px; align-items: center; color: #fff; }
.ph-app { padding: 22px 18px 12px; flex: 1; display: flex; flex-direction: column; gap: 14px; color: #ECEDEE; }
.ph-greeting { display: flex; align-items: center; gap: 12px; }
.ph-avatar { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; }
.ph-hi { font-weight: 600; font-size: 15px; }
.ph-sub { font-size: 12px; color: #8a93a4; }
.ph-card {
  background: #1a1d23; border-radius: 16px; padding: 14px;
  border: 0.5px solid #2a2f3a;
  position: relative; overflow: hidden;
}
.ph-hero-card { background: linear-gradient(135deg, #1f242c, #15181d); }
.ph-card-label { font-size: 10px; color: #8a93a4; text-transform: uppercase; letter-spacing: 0.07em; }
.ph-card-row { display: flex; align-items: center; justify-content: space-between; margin-top: 6px; }
.ph-airport { font-size: 22px; font-weight: 700; letter-spacing: -0.02em; }
.ph-city { font-size: 10px; color: #8a93a4; margin-top: 2px; }
.ph-plane { flex: 1; padding: 0 12px; }
.ph-card-foot {
  display: flex; gap: 14px; margin-top: 14px;
  padding-top: 12px; border-top: 0.5px dashed #2a2f3a;
}
.ph-tag { font-size: 9px; color: #8a93a4; text-transform: uppercase; letter-spacing: 0.07em; }
.ph-val { font-size: 13px; font-weight: 600; margin-top: 2px; }
.ph-blink { color: var(--accent); animation: blink 1.6s infinite; }
@keyframes blink { 0%,100%{opacity:1}50%{opacity:.5} }
.ph-mini-row { display: flex; gap: 8px; align-items: center; margin-bottom: 8px; }
.ph-mini-icon {
  width: 20px; height: 20px; border-radius: 6px;
  background: var(--accent-soft); color: var(--accent);
  display: grid; place-items: center;
}
.ph-mini-title { font-size: 12px; font-weight: 600; }
.ph-home-indicator {
  position: absolute; bottom: 8px; left: 50%; transform: translateX(-50%);
  width: 110px; height: 4px; background: #fff; border-radius: 2px; opacity: 0.3;
}

/* ---------- Card ---------- */
.card {
  background: var(--surface);
  border: 0.5px solid var(--border);
  border-radius: 18px;
  padding: 22px;
}

.section { padding: 16px 0 32px; }
.section-head {
  display: flex; align-items: end; justify-content: space-between;
  margin: 0 0 18px;
}
.section-head h2 {
  font-size: 22px; font-weight: 700; letter-spacing: -0.02em; margin: 0;
}
.link-btn {
  color: var(--accent);
  font-weight: 500;
  background: transparent;
  border: 0;
  cursor: pointer;
  font-family: inherit;
  font-size: 14px;
  padding: 0;
  transition: color 0.15s, gap 0.2s;
}
.link-btn:hover { color: var(--accent-2); }

.grid-2 { display: grid; grid-template-columns: 1.4fr 1fr; gap: 16px; }
.now-card .card-head { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.now-card h3 { margin: 0; font-size: 13px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-muted); font-weight: 600; }
.now-text { margin: 0; font-size: 16px; line-height: 1.55; text-wrap: pretty; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--success); display: inline-block; }
.dot.pulse { box-shadow: 0 0 0 0 currentColor; animation: dotPulse 2s infinite; color: var(--success); }
@keyframes dotPulse {
  0% { box-shadow: 0 0 0 0 rgba(34,197,94,0.5); }
  70% { box-shadow: 0 0 0 8px rgba(34,197,94,0); }
  100% { box-shadow: 0 0 0 0 rgba(34,197,94,0); }
}
.stats-card {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px;
}
.stat .stat-num { font-size: 32px; font-weight: 700; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.stat .stat-label { font-size: 12px; color: var(--text-muted); margin-top: 2px; }

/* ---------- Featured ---------- */
.featured-card {
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 32px;
  background: linear-gradient(135deg, var(--surface), var(--surface-2));
  border: 0.5px solid var(--border);
  border-radius: 24px; padding: 36px; cursor: pointer;
  transition: transform 0.2s, border-color 0.2s;
  align-items: center;
  min-height: 480px;
  color: inherit;
  text-decoration: none;
}
.featured-card,
.featured-card a,
.featured-card a:visited,
.featured-card a:hover,
.featured-card a:active {
  color: inherit;
  text-decoration: none;
}
.featured-card:hover { border-color: var(--accent); transform: translateY(-2px); }
.featured-eyebrow { font-size: 11px; color: var(--accent); font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; }
.featured-title { font-size: 40px; font-weight: 700; letter-spacing: -0.03em; margin: 8px 0 12px; color: var(--text); }
.featured-sub { color: var(--text-muted); margin: 0 0 16px; font-size: 15px; text-wrap: pretty; }
.featured-tags { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0; }
.featured-tags li {
  font-size: 11.5px; padding: 4px 10px; border-radius: 999px;
  background: var(--surface-2); border: 0.5px solid var(--border); color: var(--text-muted);
  font-weight: 500;
}
.featured-screens {
  display: flex; gap: 12px; justify-content: center; align-items: center;
  min-height: 420px;
  padding: 24px 28px;
}
.featured-screens .mockphone:nth-child(1) { transform: rotate(-6deg) translateX(20px); }
.featured-screens .mockphone:nth-child(2) { transform: translateY(-12px); z-index: 2; }
.featured-screens .mockphone:nth-child(3) { transform: rotate(6deg) translateX(-20px); }

/* ---------- Mock phone (reusable) ---------- */
.mockphone {
  width: 170px; height: 340px;
  border-radius: 28px; padding: 4px;
  background: linear-gradient(135deg, #2a2d34, #15171c);
  box-shadow: 0 30px 60px -20px rgba(0,0,0,0.5);
  flex-shrink: 0;
}
.mockphone-big { width: 220px; height: 440px; border-radius: 36px; }
.mp-screen {
  width: 100%; height: 100%; background: #0a1f20; border-radius: 24px;
  overflow: hidden; display: flex; flex-direction: column;
  color: #ECEDEE;
}
.mockphone-big .mp-screen { border-radius: 32px; }
.mp-content { padding: 4px 12px 12px; flex: 1; display: flex; flex-direction: column; gap: 8px; overflow: hidden; }
.mp-title { font-size: 16px; font-weight: 700; padding: 4px 0; }
.mockphone-big .mp-title { font-size: 20px; }
.mp-card {
  background: #1E3E40; border-radius: 14px; padding: 12px;
  position: relative; overflow: hidden;
}
.mp-balance { padding-left: 16px; }
.mp-bal-strip { position: absolute; top: 0; bottom: 0; left: 0; width: 4px; background: #0D7377; border-radius: 999px; }
.mp-bal-label { font-size: 10px; color: #5d8a8b; text-transform: uppercase; letter-spacing: 0.06em; }
.mp-bal-amt { font-size: 22px; font-weight: 700; letter-spacing: -0.02em; margin-top: 2px; font-variant-numeric: tabular-nums; }
.mockphone-big .mp-bal-amt { font-size: 28px; }
.mp-bal-meta { font-size: 11px; color: #14BDAC; margin-top: 2px; }
.mp-chart { width: 100%; height: 36px; margin-top: 6px; }
.mp-priv { padding-top: 14px; }
.mp-priv-strip { position: absolute; top: 0; left: 0; right: 0; height: 2px; background: #14BDAC; }
.mp-priv-row { display: flex; align-items: center; gap: 8px; font-size: 10.5px; color: #ECEDEE; padding: 3px 0; }
.mockphone-big .mp-priv-row { font-size: 12px; }

.mp-bubble {
  font-size: 11px; padding: 8px 10px; border-radius: 12px; max-width: 80%;
  line-height: 1.35;
}
.mockphone-big .mp-bubble { font-size: 12.5px; padding: 10px 12px; }
.mp-user { background: #0D7377; color: #fff; align-self: flex-end; border-bottom-right-radius: 4px; }
.mp-bot { background: #1E3E40; align-self: flex-start; border-bottom-left-radius: 4px; position: relative; padding-left: 12px; }
.mp-bot-strip { position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: #14BDAC; border-radius: 999px; }
.mp-bot-typing {
  align-self: flex-start; background: #1E3E40; border-radius: 12px;
  padding: 10px 12px; display: flex; gap: 4px;
}
.mp-bot-typing span {
  width: 6px; height: 6px; border-radius: 50%; background: #14BDAC;
  animation: typing 1.2s infinite;
}
.mp-bot-typing span:nth-child(2) { animation-delay: 0.2s; }
.mp-bot-typing span:nth-child(3) { animation-delay: 0.4s; }
@keyframes typing {
  0%, 100% { transform: scale(0.8); opacity: 0.5; }
  50% { transform: scale(1.4); opacity: 1; }
}
.mp-input {
  margin-top: auto; display: flex; align-items: center; gap: 6px;
  background: rgba(255,255,255,0.05); padding: 6px 6px 6px 12px;
  border-radius: 999px; font-size: 11px; color: #5d8a8b;
}
.mp-send {
  width: 24px; height: 24px; border-radius: 50%; background: #0D7377;
  display: grid; place-items: center; margin-left: auto;
}
.mp-tx-list { padding: 6px 0; }
.mp-tx { display: flex; align-items: center; gap: 8px; padding: 8px 12px; border-bottom: 0.5px solid rgba(93,138,139,0.2); }
.mp-tx:last-child { border-bottom: 0; }
.mp-tx-dot { width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0; }
.mp-tx-l { flex: 1; min-width: 0; }
.mp-tx-name { font-size: 11.5px; font-weight: 600; }
.mockphone-big .mp-tx-name { font-size: 13px; }
.mp-tx-cat { font-size: 10px; color: #5d8a8b; }
.mp-tx-amt { font-size: 11.5px; font-weight: 600; font-variant-numeric: tabular-nums; }
.mockphone-big .mp-tx-amt { font-size: 13px; }
.mp-tx-amt.income { color: #1D9E75; }

/* ---------- Career chart ---------- */
.chart-wrap { padding: 18px; }
.career-chart { width: 100%; height: auto; display: block; }
.chart-legend { padding-top: 12px; border-top: 0.5px solid var(--border); margin-top: 12px; min-height: 44px; }
.chart-tooltip { display: flex; align-items: center; gap: 10px; font-size: 13px; }
.chart-tt-dot { width: 10px; height: 10px; border-radius: 50%; }
.chart-tt-meta { color: var(--text-muted); }
.chart-hint { font-size: 13px; color: var(--text-muted); }

/* ---------- Skills ---------- */
.skills-tabs { display: flex; gap: 8px; margin-bottom: 18px; }
.chip {
  appearance: none; border: 0.5px solid var(--border); background: var(--surface-2);
  color: var(--text-muted); font-size: 13px; font-weight: 500;
  padding: 6px 14px; border-radius: 999px; cursor: pointer;
}
.chip:hover { color: var(--text); }
.chip-active { background: var(--accent); color: #fff; border-color: var(--accent); }
.skills-list { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 28px; }
.skill-row .skill-head { display: flex; justify-content: space-between; margin-bottom: 6px; }
.skill-row .skill-name { font-size: 13.5px; font-weight: 500; }
.skill-row .skill-num { font-size: 12px; color: var(--text-muted); font-variant-numeric: tabular-nums; }
.skill-bar { height: 4px; background: var(--surface-2); border-radius: 999px; overflow: hidden; }
.skill-bar-fill {
  height: 100%; background: linear-gradient(90deg, var(--accent), var(--accent-2));
  border-radius: 999px; transition: width 1.1s cubic-bezier(.2,.7,.2,1);
}

/* ---------- Awards ---------- */
.awards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.award-card { display: flex; align-items: center; gap: 16px; }
.award-icon { width: 56px; height: 56px; border-radius: 14px; background: var(--accent-soft); display: grid; place-items: center; flex-shrink: 0; }
.award-title { font-size: 16px; font-weight: 600; margin: 0 0 4px; }
.award-sub { font-size: 13px; color: var(--text-muted); margin: 0; text-wrap: pretty; }

/* ---------- Timeline ---------- */
.timeline { display: flex; flex-direction: column; gap: 0; padding: 12px 0; position: relative; }
.timeline::before {
  content: ""; position: absolute; left: 14px; top: 30px; bottom: 30px;
  width: 1px; background: var(--border);
}
.tl-item {
  display: grid; grid-template-columns: 32px 1fr; gap: 16px;
  margin-bottom: 16px;
  opacity: 0; transform: translateY(12px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.tl-item.shown { opacity: 1; transform: translateY(0); }
.tl-rail { position: relative; padding-top: 22px; }
.tl-dot {
  width: 10px; height: 10px; border-radius: 50%; margin-left: 9px;
  box-shadow: 0 0 0 4px var(--bg);
}
.tl-card { padding: 18px 22px; }
.tl-meta { display: flex; gap: 12px; font-size: 11.5px; color: var(--text-faint); text-transform: uppercase; letter-spacing: 0.05em; font-weight: 600; }
.tl-loc { color: var(--text-muted); text-transform: none; letter-spacing: 0; font-weight: 500; }
.tl-company { font-size: 18px; font-weight: 600; margin: 6px 0 2px; letter-spacing: -0.01em; }
.tl-sub { color: var(--text-muted); font-weight: 400; font-size: 14px; }
.tl-role { font-size: 13px; color: var(--accent); font-weight: 500; margin-bottom: 10px; }
.tl-bullets { margin: 0; padding: 0 0 0 18px; }
.tl-bullets li { font-size: 14px; color: var(--text); margin-bottom: 4px; line-height: 1.5; }

/* ---------- Vaulto page ---------- */
.vaulto-hero {
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center;
  padding: 24px 0 32px;
}
.kvs { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 24px; }
.kv .kv-l { font-size: 11px; color: var(--text-faint); text-transform: uppercase; letter-spacing: 0.06em; }
.kv .kv-v { font-size: 14px; font-weight: 500; margin-top: 4px; }
.vaulto-blurb { font-size: 16px; color: var(--text-muted); margin: 0 0 20px; text-wrap: pretty; }
.vaulto-pillars { display: flex; flex-direction: column; gap: 10px; }
.pillar { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 0.5px solid var(--border); border-radius: 14px; background: var(--surface); }
.pillar-icon { width: 36px; height: 36px; border-radius: 10px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; flex-shrink: 0; }
.pillar-title { font-size: 14px; font-weight: 600; }
.pillar-sub { font-size: 12.5px; color: var(--text-muted); }

.vaulto-screens { display: flex; gap: 12px; justify-content: center; align-items: center; padding: 16px 0; }
.vaulto-screens .mockphone:nth-child(1) { transform: rotate(-6deg) translateY(20px); }
.vaulto-screens .mockphone:nth-child(2) { transform: translateY(-10px); z-index: 2; }
.vaulto-screens .mockphone:nth-child(3) { transform: rotate(6deg) translateY(20px); }

.feat { display: flex; flex-direction: column; gap: 10px; }
.feat-icon { width: 44px; height: 44px; border-radius: 12px; background: var(--accent-soft); display: grid; place-items: center; }
.feat h4 { margin: 0; font-size: 16px; font-weight: 600; }
.feat p { margin: 0; color: var(--text-muted); font-size: 14px; line-height: 1.5; text-wrap: pretty; }

.lang-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.lang-tile {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 14px;
  background: var(--surface);
  border: 0.5px solid var(--border); border-radius: 14px;
  font-size: 14px; font-weight: 500;
}
.lang-flag { font-size: 22px; line-height: 1; flex-shrink: 0; }
.lang-soon { margin: 14px 0 0; text-align: center; font-size: 13px; color: var(--text-muted); }

.vaulto-cta {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: 14px;
}
.btn-appstore {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 9px 18px; border-radius: 12px;
  background: #000; color: #fff;
  text-decoration: none;
  border: 0.5px solid #000;
  transition: transform 0.1s ease, box-shadow 0.15s ease;
}
.btn-appstore:hover { transform: translateY(-1px); box-shadow: 0 10px 24px -12px rgba(0,0,0,0.55); }
.btn-appstore-glyph { margin-bottom: 2px; }
.btn-appstore-text { display: flex; flex-direction: column; line-height: 1.05; }
.btn-appstore-label { font-size: 10px; opacity: 0.85; text-transform: uppercase; letter-spacing: 0.04em; }
.btn-appstore-name { font-size: 17px; font-weight: 600; margin-top: 2px; }
.vaulto-link {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 16px; border-radius: 12px;
  background: var(--surface); color: var(--accent);
  border: 0.5px solid var(--border);
  font-size: 14px; font-weight: 500; text-decoration: none;
  transition: transform 0.1s ease, border-color 0.15s ease, color 0.15s ease;
}
.vaulto-link:hover { transform: translateY(-1px); border-color: var(--accent); color: var(--accent-2); }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 280px 1fr; gap: 24px; align-items: start; padding: 12px 0 24px; }
.about-photo-card { text-align: center; }
.about-photo {
  width: 100%; aspect-ratio: 1; border-radius: 14px; object-fit: cover;
  margin-bottom: 16px;
}
.about-name { font-size: 16px; font-weight: 600; }
.about-loc { font-size: 13px; color: var(--text-muted); margin-top: 2px; }
.about-text p { font-size: 15.5px; line-height: 1.65; color: var(--text); margin: 0 0 16px; text-wrap: pretty; }
.about-text p:last-child { margin-bottom: 0; }

.edu-card { display: flex; flex-direction: column; gap: 4px; }
.edu-school { font-size: 16px; font-weight: 600; }
.edu-degree { font-size: 13.5px; color: var(--accent); }
.edu-years { font-size: 13px; color: var(--text-muted); margin-top: 4px; }
.lang-card { display: flex; flex-direction: column; gap: 10px; }
.lang-row { display: flex; justify-content: space-between; padding: 6px 0; border-bottom: 0.5px solid var(--border); font-size: 14px; }
.lang-row:last-child { border-bottom: 0; }
.lang-level { color: var(--text-muted); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 14px; padding: 12px 0 24px; }
.contact-card {
  display: flex; align-items: center; gap: 14px; text-decoration: none; color: inherit;
  transition: transform 0.15s, border-color 0.15s;
}
.contact-card:hover { transform: translateY(-2px); border-color: var(--accent); }
.contact-icon { width: 44px; height: 44px; border-radius: 12px; background: var(--accent-soft); display: grid; place-items: center; flex-shrink: 0; }
.contact-label { font-size: 11px; color: var(--text-faint); text-transform: uppercase; letter-spacing: 0.06em; }
.contact-value { font-size: 14px; font-weight: 500; margin-top: 2px; }
.contact-arrow { margin-left: auto; color: var(--text-muted); }
.contact-card:hover .contact-arrow { color: var(--accent); }
.contact-foot {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  margin-top: 16px;
}
.contact-foot-eyebrow { font-size: 11px; color: var(--accent); text-transform: uppercase; letter-spacing: 0.08em; font-weight: 600; }
.contact-foot-title { font-size: 22px; font-weight: 700; letter-spacing: -0.02em; margin-top: 6px; }
.contact-foot-sub { color: var(--text-muted); font-size: 14px; margin-top: 4px; max-width: 540px; text-wrap: pretty; }
.contact-foot-r { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text-muted); flex-shrink: 0; }

/* ---------- Tweaks ---------- */
.tweaks {
  position: fixed; bottom: 24px; right: 24px; z-index: 100;
  width: 240px;
  background: var(--bg-elev);
  border: 0.5px solid var(--border);
  border-radius: 16px;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,0.5);
  overflow: hidden;
}
.tweaks-head { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; border-bottom: 0.5px solid var(--border); font-weight: 600; font-size: 13px; }
.tweaks-close { background: transparent; border: 0; color: var(--text-muted); font-size: 22px; cursor: pointer; line-height: 1; padding: 0 4px; }
.tweaks-body { padding: 14px 16px; }
.tweaks-label { font-size: 11px; color: var(--text-faint); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 8px; }
.tweaks-seg {
  display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 4px;
  background: var(--surface-2); padding: 4px; border-radius: 10px;
}
.tweaks-hint { font-size: 11px; color: var(--text-faint); margin-top: 8px; line-height: 1.4; }
.tweaks-seg button {
  appearance: none; border: 0; background: transparent; color: var(--text-muted);
  padding: 8px 0; font-size: 13px; font-weight: 500; border-radius: 7px;
  cursor: pointer; font-family: inherit;
}
.tweaks-seg button.on { background: var(--bg-elev); color: var(--text); box-shadow: var(--shadow); }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .tabs { display: none; }
  .dock { display: flex; }
  .topbar { padding: 12px 16px; }
  .content { padding: 0 16px; }
  .hero { grid-template-columns: 1fr; gap: 24px; padding: 28px 0 24px; }
  .hero-phone-wrap { min-height: 480px; }
  .grid-2, .stats-card, .awards, .skills-list, .vaulto-hero, .featured-card, .about-grid, .contact-grid {
    grid-template-columns: 1fr;
  }
  .lang-grid { grid-template-columns: repeat(2, 1fr); }
  .featured-screens { flex-wrap: wrap; }
  .vaulto-screens { transform: scale(0.85); }
  .page-title { font-size: 36px; }
  .contact-foot { flex-direction: column; align-items: flex-start; }
  .hero-meta { grid-template-columns: 1fr; gap: 12px; }
}
@media (max-width: 560px) {
  .stats-card { grid-template-columns: 1fr 1fr; }
  .skills-list { grid-template-columns: 1fr; }
  .featured-screens .mockphone { transform: none !important; }
  .featured-screens .mockphone:not(:first-child) { display: none; }
}

/* ---------- Multi-page additions ---------- */
.tabs a.tab { text-decoration: none; display: inline-flex; align-items: center; }
.dock { display: none; }
.dock a.dock-tab { text-decoration: none; }
@media (max-width: 980px) {
  .dock { display: flex; }
}
.tweaks-trigger {
  appearance: none; border: 0.5px solid var(--border); background: var(--surface);
  color: var(--text-muted); width: 36px; height: 36px; border-radius: 10px;
  display: grid; place-items: center; cursor: pointer; flex-shrink: 0;
}
.tweaks-trigger:hover { color: var(--text); }
.skills-list.hidden { display: none; }

/* ---------- Contact page (redesign) ---------- */
.contact-page .contact-hero { padding: 24px 0 36px; max-width: 760px; }
.contact-page .contact-eyebrow {
  font-size: 12px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 18px;
}
.contact-page .contact-headline {
  font-size: clamp(56px, 9vw, 96px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 0.95;
  margin: 0 0 22px;
  color: var(--text);
}
.contact-page .contact-headline em {
  font-style: italic;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.contact-page .contact-lede {
  font-size: 17px; line-height: 1.55; color: var(--text-muted);
  max-width: 560px; margin: 0; text-wrap: pretty;
}

.contact-page .contact-channels {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
  padding: 8px 0 24px;
}
.contact-page .channel-card {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column;
  min-height: 168px; padding: 22px 24px;
  border-radius: 18px;
  background: var(--surface);
  border: 1px solid var(--border);
  text-decoration: none; color: var(--text);
  transition: transform 0.18s ease, border-color 0.18s ease;
}
.contact-page .channel-card:hover {
  transform: translateY(-3px);
  border-color: var(--accent);
}
.contact-page .channel-watermark {
  position: absolute; top: 14px; right: 14px;
  width: 92px; height: 92px;
  color: var(--text);
  opacity: 0.07;
  transform: rotate(-8deg);
  transition: opacity 0.25s ease, transform 0.25s ease, color 0.25s ease;
  pointer-events: none;
}
.contact-page .channel-watermark svg { width: 100%; height: 100%; display: block; }
.contact-page .channel-card:hover .channel-watermark {
  opacity: 0.18;
  color: var(--accent);
  transform: rotate(0deg);
}
.contact-page .channel-top { display: flex; align-items: center; gap: 12px; position: relative; z-index: 1; }
.contact-page .channel-tile {
  width: 36px; height: 36px; border-radius: 10px;
  background: var(--accent-soft);
  display: grid; place-items: center; flex-shrink: 0;
}
.contact-page .channel-meta {
  font-size: 11px; font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--text-muted);
}
.contact-page .channel-handle {
  margin-top: 18px;
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
  font-size: 22px; font-weight: 600; letter-spacing: -0.01em;
  color: var(--text);
  position: relative; z-index: 1;
}
.contact-page .channel-cta {
  margin-top: auto;
  padding-top: 16px;
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13.5px; font-weight: 500;
  color: var(--text-muted);
  transition: color 0.18s ease, gap 0.18s ease;
  position: relative; z-index: 1;
}
.contact-page .channel-card:hover .channel-cta {
  color: var(--accent);
  gap: 14px;
}

.contact-page .info-strip {
  display: grid; grid-template-columns: repeat(3, 1fr);
  padding: 0;
  margin: 8px 0 32px;
  overflow: hidden;
}
.contact-page .info-cell {
  padding: 22px 24px;
  border-right: 1px solid var(--border);
  display: flex; flex-direction: column; gap: 8px;
}
.contact-page .info-cell:last-child { border-right: 0; }
.contact-page .info-label {
  font-size: 11px; font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--text-faint);
  display: inline-flex; align-items: center; gap: 8px;
}
.contact-page .info-label svg { color: var(--accent); }
.contact-page .info-value {
  font-size: 28px; font-weight: 600; letter-spacing: -0.02em;
  color: var(--text);
  font-variant-numeric: tabular-nums;
  display: inline-flex; align-items: center; gap: 10px;
}
.contact-page .info-value-text { font-size: 17px; font-weight: 500; letter-spacing: 0; }
.contact-page .lang-soft { color: var(--text-muted); }
.contact-page .info-foot {
  font-size: 13px; color: var(--text-muted); margin-top: 2px;
}

.contact-page .starters { padding: 16px 0 32px; }
.contact-page .starters-eyebrow {
  font-size: 12px; font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 10px;
}
.contact-page .starters-title {
  font-size: 28px; font-weight: 700; letter-spacing: -0.02em;
  margin: 0 0 18px; color: var(--text);
}
.contact-page .starters-list {
  list-style: none; padding: 0; margin: 0;
}
.contact-page .starters-list li {
  display: grid; grid-template-columns: 56px 1fr;
  align-items: center; gap: 16px;
  padding: 18px 4px;
  border-top: 1px solid var(--border);
  transition: transform 0.18s ease;
}
.contact-page .starters-list li:hover { transform: translateX(8px); }
.contact-page .starter-num {
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
  font-size: 13px; color: var(--text-faint); font-weight: 500;
  letter-spacing: 0.02em;
}
.contact-page .starter-text { font-size: 17px; color: var(--text); line-height: 1.5; }

@media (max-width: 720px) {
  .contact-page .contact-channels { grid-template-columns: 1fr; }
  .contact-page .info-strip { grid-template-columns: 1fr; }
  .contact-page .info-cell {
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }
  .contact-page .info-cell:last-child { border-bottom: 0; }
  .contact-page .starters-list li { grid-template-columns: 40px 1fr; gap: 12px; }
}

/* ---------- How I work now (Home) ---------- */
.ai-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid var(--border);
  background: linear-gradient(135deg, var(--bg-elev), var(--surface));
  padding: 44px 44px 36px;
}
.ai-bg {
  position: absolute; inset: 0;
  z-index: -1;
  pointer-events: none;
}
.ai-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, var(--border) 1px, transparent 1px),
    linear-gradient(to bottom, var(--border) 1px, transparent 1px);
  background-size: 32px 32px;
  opacity: 0.35;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 80% 20%, black 0%, transparent 70%);
          mask-image: radial-gradient(ellipse 70% 60% at 80% 20%, black 0%, transparent 70%);
}
.ai-glow {
  position: absolute;
  top: -160px; right: -160px;
  width: 480px; height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent-soft) 0%, transparent 70%);
  filter: blur(20px);
}
.ai-inner {
  position: relative;
  max-width: 920px;
}
.ai-eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}
.ai-headline {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: clamp(32px, 4.4vw, 48px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.05;
  margin: 0;
  color: var(--text);
  text-wrap: balance;
}
.ai-headline .ai-accent {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
}
.ai-lede {
  max-width: 720px;
  font-size: 17px;
  line-height: 1.55;
  color: var(--text-muted);
  text-wrap: pretty;
  margin: 22px 0 32px;
}
.ai-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.ai-pillar {
  padding: 20px 22px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  transition: transform 0.18s ease, border-color 0.18s ease;
}
.ai-pillar:hover {
  transform: translateY(-2px);
  border-color: var(--accent);
}
.ai-num {
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--accent);
  margin-bottom: 8px;
}
.ai-title {
  font-size: 17px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
}
.ai-body {
  font-size: 14px;
  line-height: 1.55;
  color: var(--text-muted);
  text-wrap: pretty;
  margin: 0;
}
.ai-stamp {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 28px;
  padding: 8px 14px;
  background: var(--accent-soft);
  border-radius: 999px;
  font-size: 13px;
  color: var(--text-muted);
}
.ai-stamp-strong {
  color: var(--accent);
  font-weight: 600;
}
.ai-stamp-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  animation: aiStampPulse 2.2s ease-in-out infinite;
}
@keyframes aiStampPulse {
  0%   { box-shadow: 0 0 0 0 rgba(251, 146, 60, 0.5); }
  100% { box-shadow: 0 0 0 8px rgba(251, 146, 60, 0); }
}

@media (max-width: 720px) {
  .ai-section { padding: 28px 22px 26px; }
  .ai-pillars { grid-template-columns: 1fr; }
}

