/* =====================================================
   BeauCV — Liquid Glass design system
   Light-mode marketing site for a resume generator
   ===================================================== */

:root {
  /* Surfaces */
  --bg-0: #f5f1e8;       /* warm cream */
  --bg-1: #ece6d6;
  --bg-2: #e3dcc8;

  /* Ink */
  --ink-0: #14121c;      /* deep violet-black */
  --ink-1: #2b2738;
  --ink-2: #5a5468;
  --ink-3: #8e8896;

  /* Liquid glass — translucent layers over color bloom */
  --glass-1: rgba(255, 255, 255, 0.42);
  --glass-2: rgba(255, 255, 255, 0.62);
  --glass-3: rgba(255, 255, 255, 0.78);
  --glass-border: rgba(255, 255, 255, 0.85);
  --glass-border-dim: rgba(255, 255, 255, 0.55);
  --glass-stroke: rgba(20, 18, 28, 0.08);
  --glass-shadow:
    0 1px 0 rgba(255, 255, 255, 0.95) inset,
    0 -1px 0 rgba(255, 255, 255, 0.25) inset,
    0 10px 30px -10px rgba(20, 18, 28, 0.18),
    0 30px 60px -30px rgba(20, 18, 28, 0.22);

  /* Refraction palette (the color light "splits" into through the glass) */
  --hue-violet: #8b5cf6;
  --hue-fuchsia: #ec4899;
  --hue-peach: #fb923c;
  --hue-amber: #fbbf24;
  --hue-cyan: #06b6d4;
  --hue-lime: #84cc16;

  /* Brand gradient */
  --grad-brand: linear-gradient(135deg, #8b5cf6 0%, #ec4899 45%, #fb923c 100%);
  --grad-brand-soft: linear-gradient(135deg, #c4b5fd 0%, #fbcfe8 50%, #fed7aa 100%);
  --grad-text: linear-gradient(110deg, #6d28d9 0%, #db2777 55%, #ea580c 100%);

  /* Type */
  --font-sans: "Geist", "Inter Tight", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "Geist Mono", "JetBrains Mono", ui-monospace, monospace;

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --radius-xl: 28px;
  --radius-2xl: 36px;

  --container: 1240px;
}

/* Reset --------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
img, svg { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
input, textarea, select { font: inherit; color: inherit; }

html {
  font-family: var(--font-sans);
  color: var(--ink-0);
  background: var(--bg-0);
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body {
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}

/* Background bloom — colorful blurred orbs behind glass */
.bloom {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, #fff6e8 0%, transparent 60%),
    linear-gradient(180deg, #f5f1e8 0%, #ede6d2 100%);
}
.bloom::before,
.bloom::after,
.bloom .b3,
.bloom .b4,
.bloom .b5 {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.55;
}
.bloom::before {
  width: 620px; height: 620px;
  background: radial-gradient(circle, #c4b5fd 0%, transparent 70%);
  top: -160px; left: -120px;
}
.bloom::after {
  width: 720px; height: 720px;
  background: radial-gradient(circle, #fbcfe8 0%, transparent 70%);
  top: 5%; right: -200px;
}
.bloom .b3 {
  width: 540px; height: 540px;
  background: radial-gradient(circle, #fed7aa 0%, transparent 70%);
  top: 45%; left: 35%;
}
.bloom .b4 {
  width: 480px; height: 480px;
  background: radial-gradient(circle, #a5f3fc 0%, transparent 70%);
  top: 60%; right: 5%;
  opacity: 0.42;
}
.bloom .b5 {
  width: 420px; height: 420px;
  background: radial-gradient(circle, #d9f99d 0%, transparent 70%);
  bottom: -120px; left: 10%;
  opacity: 0.45;
}

/* Subtle grain over bloom */
.grain {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.08;
  mix-blend-mode: multiply;
  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'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 0.45 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

/* Container ----------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}

/* Type ---------------------------------------------- */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.eyebrow .dot {
  display: inline-block;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--hue-fuchsia);
  margin-right: 8px;
  vertical-align: 2px;
  box-shadow: 0 0 0 3px rgba(236,72,153,0.18);
}
h1, h2, h3, h4 { margin: 0; font-weight: 600; letter-spacing: -0.025em; line-height: 1.04; }
h1 { font-size: clamp(48px, 7vw, 96px); letter-spacing: -0.035em; }
h2 { font-size: clamp(36px, 4.5vw, 64px); letter-spacing: -0.03em; }
h3 { font-size: clamp(22px, 2vw, 28px); letter-spacing: -0.02em; }
p { margin: 0; line-height: 1.55; color: var(--ink-1); }
.lede { font-size: clamp(18px, 1.4vw, 22px); color: var(--ink-1); line-height: 1.5; max-width: 640px; }
.mono { font-family: var(--font-mono); }
.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.gradient-text {
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Glass primitives ---------------------------------- */
.glass {
  background: var(--glass-1);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(22px) saturate(160%);
  -webkit-backdrop-filter: blur(22px) saturate(160%);
  box-shadow: var(--glass-shadow);
  border-radius: var(--radius-lg);
  position: relative;
}
.glass::before {
  /* top highlight */
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(255,255,255,0.6) 0%, rgba(255,255,255,0) 18%, rgba(255,255,255,0) 82%, rgba(255,255,255,0.18) 100%);
}
.glass-2 { background: var(--glass-2); }
.glass-3 { background: var(--glass-3); }

/* Buttons ------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 500;
  font-size: 15px;
  letter-spacing: -0.01em;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s;
  white-space: nowrap;
  position: relative;
  isolation: isolate;
}
.btn svg { width: 16px; height: 16px; }
.btn:hover { transform: translateY(-1px); }

.btn-primary {
  background: var(--grad-brand);
  color: white;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.5) inset,
    0 -2px 0 rgba(0,0,0,0.12) inset,
    0 10px 24px -8px rgba(236, 72, 153, 0.5),
    0 4px 8px -2px rgba(139, 92, 246, 0.35);
}
.btn-primary:hover {
  box-shadow:
    0 1px 0 rgba(255,255,255,0.6) inset,
    0 -2px 0 rgba(0,0,0,0.14) inset,
    0 14px 30px -8px rgba(236, 72, 153, 0.6),
    0 6px 12px -2px rgba(139, 92, 246, 0.45);
}

.locale-switch {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border-radius: 999px;
  background: rgba(20,18,28,0.05);
  border: 1px solid rgba(20,18,28,0.08);
}

.locale-link {
  min-width: 32px;
  padding: 5px 8px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  color: var(--ink-2);
  text-align: center;
  transition: background 0.15s, color 0.15s;
}

.locale-link:hover {
  color: var(--ink-0);
  background: rgba(255,255,255,0.55);
}

.locale-link.active {
  background: var(--ink-0);
  color: white;
}

/* === Animated primary CTA ===
   Shimmer sweep + flowing gradient + soft glow pulse.
   Applied via `.btn-primary.animated` */
.btn-primary.animated {
  background:
    linear-gradient(135deg,
      #8b5cf6 0%,
      #ec4899 25%,
      #fb923c 50%,
      #ec4899 75%,
      #8b5cf6 100%);
  background-size: 300% 300%;
  animation: btn-grad-shift 6s ease-in-out infinite, btn-glow-pulse 2.8s ease-in-out infinite;
  overflow: hidden;
  position: relative;
  z-index: 0;
}
.btn-primary.animated::before {
  /* shimmer sweep */
  content: "";
  position: absolute;
  top: 0; left: -60%;
  width: 50%; height: 100%;
  background: linear-gradient(105deg,
    transparent 20%,
    rgba(255,255,255,0.6) 50%,
    transparent 80%);
  transform: skewX(-18deg);
  animation: btn-shimmer 3.4s ease-in-out infinite;
  pointer-events: none;
  z-index: -1;
}
.btn-primary.animated::after {
  /* subtle rotating conic outline glow */
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  padding: 2px;
  background: conic-gradient(from 0deg,
    rgba(139,92,246,0) 0deg,
    rgba(236,72,153,0.6) 90deg,
    rgba(251,146,60,0.6) 180deg,
    rgba(236,72,153,0.6) 270deg,
    rgba(139,92,246,0) 360deg);
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  opacity: 0;
  animation: btn-ring-spin 5s linear infinite, btn-ring-fade 5s ease-in-out infinite;
  z-index: -1;
  pointer-events: none;
}
.btn-primary.animated:hover {
  animation: btn-grad-shift 3s ease-in-out infinite, btn-glow-pulse 1.6s ease-in-out infinite;
  transform: translateY(-1px);
}
.btn-primary.animated:hover::before { animation-duration: 1.5s; }

@keyframes btn-grad-shift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}
@keyframes btn-shimmer {
  0% { left: -60%; }
  60%, 100% { left: 120%; }
}
@keyframes btn-glow-pulse {
  0%, 100% {
    box-shadow:
      0 1px 0 rgba(255,255,255,0.55) inset,
      0 -2px 0 rgba(0,0,0,0.14) inset,
      0 10px 24px -8px rgba(236, 72, 153, 0.55),
      0 4px 8px -2px rgba(139, 92, 246, 0.4),
      0 0 0 0 rgba(236, 72, 153, 0.3);
  }
  50% {
    box-shadow:
      0 1px 0 rgba(255,255,255,0.65) inset,
      0 -2px 0 rgba(0,0,0,0.16) inset,
      0 14px 32px -8px rgba(236, 72, 153, 0.7),
      0 6px 14px -2px rgba(139, 92, 246, 0.55),
      0 0 0 6px rgba(236, 72, 153, 0);
  }
}
@keyframes btn-ring-spin {
  to { transform: rotate(360deg); }
}
@keyframes btn-ring-fade {
  0%, 100% { opacity: 0; }
  50% { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .btn-primary.animated,
  .btn-primary.animated::before,
  .btn-primary.animated::after { animation: none !important; }
  .btn-primary.animated { background-position: 50% 50%; }
}

.btn-glass {
  background: rgba(255,255,255,0.55);
  border: 1px solid rgba(255,255,255,0.9);
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  color: var(--ink-0);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.9) inset,
    0 -1px 0 rgba(0,0,0,0.04) inset,
    0 6px 18px -6px rgba(20, 18, 28, 0.18);
}
.btn-glass:hover { background: rgba(255,255,255,0.72); }

.btn-ghost {
  color: var(--ink-1);
  padding: 10px 14px;
}
.btn-ghost:hover { color: var(--ink-0); }

.btn-sm { padding: 9px 16px; font-size: 14px; }
.btn-lg { padding: 16px 26px; font-size: 16px; }

/* Header -------------------------------------------- */
.site-header {
  position: sticky;
  top: 16px;
  z-index: 50;
  margin: 16px auto 0;
  padding: 0 28px;
  max-width: calc(var(--container) + 56px);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px 10px 20px;
  border-radius: 999px;
  background: rgba(255,255,255,0.5);
  border: 1px solid rgba(255,255,255,0.85);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.9) inset,
    0 -1px 0 rgba(0,0,0,0.04) inset,
    0 12px 30px -10px rgba(20, 18, 28, 0.14);
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  font-weight: 600;
  letter-spacing: -0.02em;
  font-size: 18px;
}
.brand-mark {
  width: 28px; height: 28px;
  border-radius: 8px;
  background: var(--grad-brand);
  position: relative;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.6) inset,
    0 -1px 0 rgba(0,0,0,0.15) inset,
    0 4px 10px -2px rgba(236, 72, 153, 0.5);
}
.brand-mark::after {
  content: "";
  position: absolute;
  inset: 4px;
  border-radius: 4px;
  background: linear-gradient(160deg, rgba(255,255,255,0.7), rgba(255,255,255,0) 60%);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.nav-links a {
  display: inline-block;
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--ink-1);
  font-size: 14.5px;
  font-weight: 450;
  transition: background 0.15s, color 0.15s;
}
.nav-links a:hover { background: rgba(255,255,255,0.55); color: var(--ink-0); }
.nav-links a.active { background: rgba(255,255,255,0.7); color: var(--ink-0); }

.nav-cta { display: flex; align-items: center; gap: 8px; }
.nav-cta .cmdk-pill {
  min-width: 168px;
  justify-content: space-between;
}

.menu-btn { display: none; }

@media (max-width: 900px) {
  .nav-links { display: none; }
  .menu-btn {
    display: inline-flex;
    width: 40px; height: 40px;
    border-radius: 999px;
    background: rgba(255,255,255,0.6);
    align-items: center; justify-content: center;
  }
}

/* Footer -------------------------------------------- */
.site-footer {
  margin-top: 24px;
  padding: 32px 28px 24px;
}
.footer-inner {
  max-width: var(--container);
  margin: 0 auto;
  border-radius: var(--radius-2xl);
  padding: 56px 56px 28px;
  background: rgba(255,255,255,0.45);
  border: 1px solid rgba(255,255,255,0.85);
  backdrop-filter: blur(22px) saturate(160%);
  -webkit-backdrop-filter: blur(22px) saturate(160%);
  box-shadow: var(--glass-shadow);
  position: relative;
  overflow: hidden;
}
.footer-inner::before {
  content: "";
  position: absolute;
  inset: -40% -10% auto auto;
  width: 60%; height: 200%;
  background: radial-gradient(closest-side, rgba(251,146,60,0.35), transparent);
  filter: blur(40px);
  pointer-events: none;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(4, 1fr);
  gap: 48px;
  position: relative;
}
.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-2);
  margin-bottom: 16px;
  font-weight: 500;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-col a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  color: var(--ink-1);
  font-size: 14.5px;
}
.footer-col a:hover { color: var(--ink-0); }
.toc a {
  min-height: 40px;
  align-items: center;
}
.footer-brand p { font-size: 14px; color: var(--ink-2); margin-top: 14px; max-width: 280px; }
.footer-bottom {
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px solid rgba(20,18,28,0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--ink-2);
  font-family: var(--font-mono);
}
.status-ok { color: #15803d; }
@media (max-width: 900px) {
  .footer-inner { padding: 40px 28px 24px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 12px; }
}
@media (max-width: 640px) {
  .footer-col ul { gap: 6px; }
  .footer-col a { min-height: 40px; }
}

/* Section ------------------------------------------- */
section { padding: 64px 0; position: relative; }
.section-head { max-width: 760px; margin: 0 auto 40px; text-align: center; }
.section-head h2 { margin-top: 14px; }
.section-head p { margin-top: 18px; color: var(--ink-2); font-size: 18px; }
.page-hero { padding: 56px 0 28px; text-align: center; }
.page-hero h1 { font-size: clamp(56px, 7vw, 88px); max-width: 900px; margin: 22px auto 0; }
.page-hero p { margin: 20px auto 0; max-width: 620px; color: var(--ink-2); font-size: 19px; }
.final-cta {
  text-align: center;
  padding: 64px 32px;
  border-radius: var(--radius-2xl);
  background:
    radial-gradient(ellipse at 20% 0%, rgba(139,92,246,0.28), transparent 60%),
    radial-gradient(ellipse at 80% 100%, rgba(251,146,60,0.26), transparent 62%),
    rgba(255,255,255,0.55);
  border: 1px solid rgba(255,255,255,0.95);
  backdrop-filter: blur(22px) saturate(160%);
  -webkit-backdrop-filter: blur(22px) saturate(160%);
  box-shadow: var(--glass-shadow);
  position: relative;
  overflow: hidden;
}
.final-cta-eyebrow { margin-bottom: 18px; }
.final-cta h2 { max-width: 760px; margin: 0 auto; }
.final-cta p { margin: 18px auto 30px; max-width: 560px; color: var(--ink-1); font-size: 18px; }
.final-cta-actions { justify-content: center; }
@media (max-width: 640px) {
  .final-cta { padding: 48px 22px; }
}

/* Chip ---------------------------------------------- */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.6);
  border: 1px solid rgba(255,255,255,0.9);
  font-size: 12.5px;
  color: var(--ink-1);
  font-family: var(--font-sans);
  font-weight: 500;
  letter-spacing: 0;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.chip .pulse {
  width: 6px; height: 6px; border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 3px rgba(34,197,94,0.2);
  animation: pulse 1.8s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(34,197,94,0.2); }
  50% { box-shadow: 0 0 0 6px rgba(34,197,94,0); }
}

/* Floats: animated tiny drift */
@keyframes drift {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-14px) rotate(-1.5deg); }
}
@keyframes drift2 {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(10px) rotate(1.5deg); }
}
.drift { animation: drift 9s ease-in-out infinite; }
.drift2 { animation: drift2 11s ease-in-out infinite; }

/* Utility ------------------------------------------- */
.row { display: flex; gap: 12px; align-items: center; }
.stack { display: flex; flex-direction: column; gap: 12px; }
.center { display: flex; align-items: center; justify-content: center; }
.hide-mobile { }
@media (max-width: 720px) {
  .hide-mobile { display: none !important; }
}

/* Faux resume preview card (used across pages) */
.resume-card {
  width: 100%;
  max-width: 520px;
  aspect-ratio: 8.5 / 11;
  background: white;
  border-radius: 14px;
  padding: 36px 32px;
  box-shadow:
    0 1px 0 rgba(255,255,255,1) inset,
    0 20px 40px -10px rgba(20,18,28,0.18),
    0 40px 80px -20px rgba(20,18,28,0.18);
  font-size: 11px;
  color: var(--ink-0);
  position: relative;
  overflow: hidden;
}
.resume-card .rh {
  display: flex; justify-content: space-between; align-items: end;
  border-bottom: 1px solid rgba(20,18,28,0.1);
  padding-bottom: 12px; margin-bottom: 14px;
}
.resume-card .name { font-size: 22px; font-weight: 600; letter-spacing: -0.02em; }
.resume-card .role { font-family: var(--font-mono); font-size: 10px; color: var(--ink-2); letter-spacing: 0.08em; text-transform: uppercase; }
.resume-card .meta { font-size: 10px; color: var(--ink-2); text-align: right; line-height: 1.5; }
.resume-card h5 {
  font-size: 10px; font-family: var(--font-mono); letter-spacing: 0.1em;
  text-transform: uppercase; margin: 18px 0 8px; color: var(--ink-2); font-weight: 500;
}
.resume-card .job { margin-bottom: 12px; }
.resume-card .job-head { display: flex; justify-content: space-between; }
.resume-card .job-title { font-weight: 600; font-size: 12px; }
.resume-card .job-date { font-family: var(--font-mono); font-size: 9.5px; color: var(--ink-2); }
.resume-card .job-co { font-size: 11px; color: var(--ink-1); margin-bottom: 4px; }
.resume-card .bullet { font-size: 10.5px; color: var(--ink-1); line-height: 1.5; }
.resume-card .bullet::before { content: "—  "; color: var(--ink-3); }
.resume-card .skills { display: flex; flex-wrap: wrap; gap: 6px; }
.resume-card .skill {
  font-family: var(--font-mono);
  font-size: 9.5px;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(20,18,28,0.06);
  color: var(--ink-1);
}

/* Avatar / monogram */
.mono-avatar {
  width: 44px; height: 44px;
  border-radius: 14px;
  background: var(--grad-brand);
  color: white;
  display: flex; align-items: center; justify-content: center;
  font-weight: 600;
  font-size: 16px;
  letter-spacing: -0.01em;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.5) inset,
    0 -1px 0 rgba(0,0,0,0.15) inset;
}

/* Form controls (auth pages) */
.field { display: flex; flex-direction: column; gap: 8px; }
.field label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-2);
  font-weight: 500;
}
.input {
  appearance: none;
  width: 100%;
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(255,255,255,0.7);
  border: 1px solid rgba(255,255,255,0.95);
  box-shadow:
    0 1px 0 rgba(255,255,255,1) inset,
    0 0 0 1px rgba(20,18,28,0.06),
    0 4px 12px -4px rgba(20,18,28,0.08);
  font-size: 15px;
  outline: none;
  transition: box-shadow 0.18s;
}
.input:focus {
  box-shadow:
    0 1px 0 rgba(255,255,255,1) inset,
    0 0 0 3px rgba(139, 92, 246, 0.25),
    0 0 0 1px rgba(139, 92, 246, 0.6),
    0 4px 12px -4px rgba(139, 92, 246, 0.25);
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-status {
  margin: 12px 0 0;
  color: #15803d;
  font-size: 14px;
}
.form-status[data-state="error"] {
  color: #b91c1c;
}
.is-submitted button[type="submit"] {
  cursor: default;
}

/* Tag (used in features) */
.tag {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 11px;
  padding: 4px 9px;
  border-radius: 6px;
  letter-spacing: 0.04em;
  background: rgba(139, 92, 246, 0.12);
  color: #6d28d9;
}
.tag.green { background: rgba(34, 197, 94, 0.14); color: #15803d; }
.tag.amber { background: rgba(251, 146, 60, 0.16); color: #c2410c; }
.tag.cyan  { background: rgba(6, 182, 212, 0.14); color: #0e7490; }
.tag.pink  { background: rgba(236, 72, 153, 0.14); color: #be185d; }
