/* ====== TOKENS ====== */
:root {
  --accent: #C85A3C;       /* terracotta from CV */
  --wa-green: #25D366;
  --wa-green-dk: #128C7E;
  --wa-green-darker: #075E54;

  --bg: #FBF7F2;
  --bg-2: #F4EEE5;
  --ink: #15110E;
  --ink-2: #4A4541;
  --ink-3: #8A847E;
  --line: #E8E0D4;
  --card: #FFFFFF;

  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 22px;
  --r-xl: 28px;

  --shadow-sm: 0 2px 8px rgba(20, 14, 10, 0.05);
  --shadow-md: 0 12px 32px rgba(20, 14, 10, 0.08);
  --shadow-lg: 0 30px 70px rgba(20, 14, 10, 0.14);

  --font-display: "Bricolage Grotesque", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "ss01", "cv11";
  line-height: 1.5;
}
a { color: inherit; text-decoration: none; }
button, input { font-family: inherit; }
img { max-width: 100%; display: block; }

/* ====== HEADER ====== */
.hdr {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 247, 242, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.hdr-inner {
  max-width: 1240px; margin: 0 auto;
  padding: 14px 28px;
  display: flex; align-items: center; gap: 24px;
}
.logo { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 17px; letter-spacing: -0.01em; }
.logo-mark {
  width: 28px; height: 28px; border-radius: 8px;
  display: grid; place-items: center;
  background: var(--accent);
  box-shadow: 0 4px 10px color-mix(in srgb, var(--accent) 40%, transparent);
}
.logo-mark-sm { width: 22px; height: 22px; border-radius: 6px; background: var(--accent); }
.logo-word { font-family: var(--font-display); font-weight: 600; }
.hdr-nav { display: flex; gap: 24px; margin-left: auto; font-size: 14px; color: var(--ink-2); }
.hdr-nav a:hover { color: var(--ink); }

/* language switcher */
.lang-switcher { position: relative; }
.lang-btn {
  display: flex; align-items: center; gap: 8px;
  background: white; border: 1px solid var(--line);
  padding: 8px 12px; border-radius: 999px;
  font-size: 13px; font-weight: 500; color: var(--ink);
  cursor: pointer;
}
.lang-btn:hover { border-color: var(--ink-3); }
.lang-caret { font-size: 10px; color: var(--ink-3); }
.lang-menu {
  position: absolute; top: calc(100% + 6px); right: 0;
  background: white; border: 1px solid var(--line); border-radius: 14px;
  padding: 6px; min-width: 180px;
  box-shadow: var(--shadow-md);
  z-index: 60;
  display: flex; flex-direction: column;
}
.lang-item {
  text-align: left; background: transparent; border: 0;
  padding: 9px 12px; border-radius: 8px;
  font-size: 13.5px; cursor: pointer; color: var(--ink-2);
}
.lang-item:hover { background: var(--bg-2); color: var(--ink); }
.lang-item.active { background: color-mix(in srgb, var(--accent) 12%, transparent); color: var(--accent); font-weight: 600; }

/* ====== BUTTONS ====== */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer; transition: transform 120ms ease, box-shadow 120ms ease, background 120ms ease;
  white-space: nowrap;
}
.btn-sm { padding: 9px 16px; font-size: 13.5px; }
.btn-lg { padding: 14px 22px; font-size: 15px; }
.btn-xl { padding: 18px 30px; font-size: 17px; }
.btn-primary {
  background: var(--wa-green); color: white;
  box-shadow: 0 8px 18px rgba(37, 211, 102, 0.32);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 12px 24px rgba(37, 211, 102, 0.4); background: #1FBE5A; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { background: white; }
.btn-white {
  background: white; color: var(--ink);
  box-shadow: 0 12px 30px rgba(0,0,0,0.18);
}
.btn-white:hover { transform: translateY(-1px); }

/* ====== HERO ====== */
.hero {
  position: relative; overflow: hidden;
  padding: 56px 28px 100px;
}
.hero-glow {
  position: absolute; inset: -80px -10% auto -10%;
  height: 520px; pointer-events: none;
  background:
    radial-gradient(60% 80% at 70% 30%, color-mix(in oklch, var(--accent) 18%, transparent), transparent 70%),
    radial-gradient(50% 70% at 20% 60%, rgba(255, 201, 64, 0.3), transparent 70%);
  filter: blur(20px);
  z-index: 0;
}
.hero-inner {
  position: relative; z-index: 1;
  max-width: 1280px; margin: 0 auto;
  display: grid; gap: 48px;
  grid-template-columns: 0.85fr 1.15fr;
  align-items: center;
}

.kicker {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; border-radius: 999px;
  background: white; border: 1px solid var(--line);
  font-size: 12.5px; font-weight: 500; color: var(--ink-2);
}
.kicker-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }

.h1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.02;
  letter-spacing: -0.025em;
  margin: 18px 0 22px;
  color: var(--ink);
  text-wrap: balance;
}
.lede {
  font-size: 18px; line-height: 1.55;
  color: var(--ink-2);
  max-width: 520px;
  text-wrap: pretty;
}

/* FREE badge — emphasis */
.free-badge { margin-top: 26px; }
.free-badge-stamp {
  display: inline-flex; flex-direction: column;
  background: var(--ink); color: white;
  padding: 14px 22px;
  border-radius: 14px;
  position: relative;
  transform: rotate(-1.5deg);
  box-shadow: 0 10px 24px rgba(0,0,0,0.12);
  border: 2px dashed rgba(255,255,255,0.25);
}
.free-badge-stamp::before {
  content: "";
  position: absolute; inset: -2px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--accent), #F2A03C);
  z-index: -1;
}
.free-big {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 26px;
  letter-spacing: 0.02em;
  line-height: 1;
}
.free-sub {
  font-size: 12.5px;
  opacity: 0.85;
  margin-top: 4px;
  letter-spacing: 0.02em;
}

.hero-ctas { display: flex; gap: 12px; margin-top: 18px; flex-wrap: wrap; }

/* hero visual: phone -> arrow -> CV */
.hero-visual { position: relative; }
.hero-flow {
  display: grid;
  grid-template-columns: auto auto auto;
  gap: 18px;
  align-items: center;
  justify-content: center;
}
.flow-col { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.flow-label {
  font-size: 12.5px; font-weight: 600;
  color: var(--ink-2);
  background: white;
  padding: 0 14px; border-radius: 999px;
  border: 1px solid var(--line);
  letter-spacing: 0.01em;
  white-space: nowrap;
  height: 30px;
  display: inline-flex; align-items: center;
  line-height: 1;
  box-sizing: border-box;
}
.flow-arrow {
  display: grid; place-items: center;
}
.flow-arrow-circle {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: white;
  border: 2px solid var(--accent);
  display: grid; place-items: center;
  box-shadow: 0 8px 18px color-mix(in srgb, var(--accent) 25%, transparent);
}
.cv-tilt { transform: none; }

/* phone (Android) */
.phone {
  width: 270px; height: 555px;
  background: #1a1a1a;
  border-radius: 32px;
  padding: 6px;
  box-shadow:
    0 0 0 2px #2a2a2a inset,
    var(--shadow-lg);
  position: relative;
}
.phone-punch {
  position: absolute; top: 14px; left: 50%; transform: translateX(-50%);
  width: 11px; height: 11px; border-radius: 50%; background: #000; z-index: 5;
}
.phone-screen {
  width: 100%; height: 100%;
  border-radius: 26px; overflow: hidden;
  background: #ECE5DD;
  position: relative;
}
.phone-gesture {
  position: absolute; bottom: 14px; left: 50%; transform: translateX(-50%);
  width: 90px; height: 4px; border-radius: 2px; background: rgba(255,255,255,0.5); z-index: 5;
  pointer-events: none;
}

/* ====== CHAT MOCKUP ====== */
.cm-screen {
  display: flex; flex-direction: column; height: 100%;
  background: #ECE5DD;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(0,0,0,0.025) 1px, transparent 1px),
    radial-gradient(circle at 70% 70%, rgba(0,0,0,0.025) 1px, transparent 1px);
  background-size: 26px 26px;
}
.cm-statusbar {
  height: 22px; padding: 0 12px;
  display: flex; align-items: center; justify-content: space-between;
  color: white; font-size: 10px; font-weight: 500;
}
.cm-time-status { font-size: 10px; }
.cm-status-icons { display: flex; align-items: center; gap: 4px; }

.cm-topbar { padding: 8px 10px; display: flex; align-items: center; justify-content: space-between; }
.cm-topbar-android { color: white; }
.cm-topbar-left { display: flex; align-items: center; gap: 8px; flex: 1; min-width: 0; }
.cm-avatar { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; flex-shrink: 0; }
.cm-title-block { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
.cm-name-android { display: block; font-weight: 600; font-size: 13px; color: white; }
.cm-presence { display: block; font-size: 10px; color: rgba(255,255,255,0.85); }
.cm-topbar-actions { display: flex; align-items: center; gap: 12px; padding: 0 4px; }

.cm-thread {
  flex: 1;
  padding: 10px 8px;
  overflow: hidden;
  display: flex; flex-direction: column; gap: 6px;
  min-height: 0;
}
.cm-row { display: flex; }
.cm-row-in { justify-content: flex-start; }
.cm-row-out { justify-content: flex-end; }
.cm-bubble {
  max-width: 88%;
  padding: 7px 9px 5px;
  border-radius: 8px;
  font-size: 10.5px;
  line-height: 1.35;
  position: relative;
  color: #111;
  box-shadow: 0 1px 0.5px rgba(0,0,0,0.13);
}
.cm-bubble p { margin: 0 0 4px; }
.cm-bubble p:last-of-type { margin-bottom: 4px; }
.cm-in { background: white; border-top-left-radius: 2px; }
.cm-out { background: #DCF8C6; border-top-right-radius: 2px; }
.cm-emoji { display: inline-block; font-size: 11px; }
.cm-line { font-size: 10.5px; }
.cm-time { font-size: 9px; color: #8a8d91; float: right; margin-left: 6px; display: inline-flex; align-items: center; gap: 3px; }
.cm-ticks { display: inline-block; }
.cm-cta {
  border-top: 1px solid #ECECEC;
  margin: 6px -9px -5px;
  padding: 6px 0 4px;
  text-align: center;
  font-size: 11px;
  color: #111;
}
.cm-out-text { font-weight: 500; }

/* ====== CV PREVIEW (matches mock-full-cv.pdf) ====== */
.cv-doc {
  width: 392px;
  aspect-ratio: 1 / 1.414;
  background: white;
  border-radius: 4px;
  padding: 18px 22px 14px;
  font-size: 8px;
  color: #2A2521;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
  display: flex; flex-direction: column;
  overflow: hidden;
  font-feature-settings: "ss01";
}

.cv-head { padding-bottom: 8px; border-bottom: 1px solid #E8E0D4; }
.cv-name {
  font-family: var(--font-display);
  font-size: 16px; margin: 0;
  letter-spacing: 0.06em; font-weight: 700;
  color: #1F1B17;
}
.cv-role {
  font-size: 8px; text-transform: uppercase;
  letter-spacing: 0.22em; font-weight: 600;
  margin-top: 2px;
}
.cv-contact { font-size: 7.5px; color: #4A4541; margin-top: 6px; }
.cv-dot { margin: 0 4px; color: #8A847E; }
.cv-meta-row {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 3px 12px;
  margin-top: 6px;
  font-size: 7px; color: #4A4541;
}
.cv-meta-row strong { color: #2A2521; font-weight: 600; }

.cv-section { padding: 7px 0 6px; border-bottom: 1px solid #F0EBE2; }
.cv-section:last-of-type { border-bottom: none; }
.cv-h {
  font-family: var(--font-display);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.22em;
  margin-bottom: 5px;
}
.cv-p { margin: 0; line-height: 1.45; font-size: 7.5px; color: #2A2521; }

.cv-job { display: grid; grid-template-columns: 78px 1fr; gap: 10px; margin-bottom: 6px; }
.cv-job-meta { font-size: 7px; color: #4A4541; line-height: 1.4; }
.cv-current {
  display: inline-block;
  color: white;
  font-size: 6.5px; font-weight: 700;
  padding: 2px 6px;
  border-radius: 3px;
  letter-spacing: 0.1em;
  margin-bottom: 2px;
}
.cv-loc { color: #8A847E; }
.cv-job-body {}
.cv-job-title { font-size: 8.5px; font-weight: 700; color: #1F1B17; }
.cv-job-co { font-size: 7.5px; color: #4A4541; margin-bottom: 3px; }
.cv-bullets { list-style: none; margin: 0; padding: 0; }
.cv-bullets li {
  font-size: 7px; line-height: 1.45;
  color: #2A2521;
  padding-left: 8px; position: relative;
  margin-bottom: 1px;
}
.cv-bullets li::before {
  content: "–"; position: absolute; left: 0; color: #8A847E;
}

.cv-edu { display: grid; grid-template-columns: 60px 1fr; gap: 10px; margin-bottom: 4px; font-size: 7px; }
.cv-edu-label { color: #8A847E; font-style: italic; }
.cv-edu-title { font-weight: 700; color: #1F1B17; font-size: 7.5px; }
.cv-edu-sub { color: #4A4541; font-size: 7px; }
.cv-check { color: #3DBE66; font-weight: 600; font-size: 7px; margin-left: 4px; }

.cv-skills { display: flex; flex-wrap: wrap; gap: 0; font-size: 7px; color: #2A2521; }
.cv-skills span { padding: 1px 8px; border-right: 1px solid #E8E0D4; }
.cv-skills span:last-child { border-right: none; }
.cv-skills span:first-child { padding-left: 0; }

.cv-langs { display: flex; gap: 14px; flex-wrap: wrap; font-size: 7.5px; }
.cv-langs strong { color: #1F1B17; }
.cv-lang-level { color: #4A4541; margin-left: 4px; }

.cv-foot {
  margin-top: auto; padding-top: 6px;
  border-top: 1px solid #F0EBE2;
  font-size: 6.5px; color: #8A847E;
  display: flex; justify-content: space-between;
  font-family: var(--font-mono);
}

/* ====== SECTIONS ====== */
.section { padding: 80px 28px; }
.section-inner { max-width: 1240px; margin: 0 auto; }
.section-head { text-align: center; margin-bottom: 48px; }
.eyebrow {
  display: inline-block;
  font-size: 12px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.16em;
  color: var(--accent);
  margin-bottom: 14px;
}
.h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.4vw, 44px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin: 0;
  text-wrap: balance;
}
.lede2 { font-size: 17px; color: var(--ink-2); line-height: 1.55; max-width: 480px; margin-top: 18px; }

/* HOW */
.how { background: var(--bg-2); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.step {
  background: white; border-radius: var(--r-lg);
  padding: 32px 28px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.step-num { font-family: var(--font-mono); font-size: 13px; font-weight: 600; letter-spacing: 0.05em; color: var(--accent); }
.step-t { font-family: var(--font-display); font-size: 22px; margin: 14px 0 8px; font-weight: 600; letter-spacing: -0.01em; }
.step-d { color: var(--ink-2); margin: 0; line-height: 1.55; font-size: 15px; }

/* SAMPLE */
.sample-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.ticks { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 12px; }
.ticks li { display: flex; align-items: center; gap: 12px; font-size: 15px; color: var(--ink-2); }
.tick { width: 22px; height: 22px; border-radius: 50%; background: var(--accent); color: white; display: grid; place-items: center; font-size: 12px; font-weight: 700; flex-shrink: 0; }
.sample-card {
  background: white; border-radius: var(--r-xl);
  padding: 14px 14px 30px;
  border: 1px solid var(--line); box-shadow: var(--shadow-md);
}
.sample-tab {
  display: inline-block;
  background: var(--bg-2);
  padding: 6px 14px;
  border-radius: 8px 8px 0 0;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-2);
  margin-bottom: 12px;
}
.sample-frame {
  background: var(--bg);
  border-radius: var(--r-md);
  padding: 30px;
  display: grid; place-items: center;
}
.sample-frame .cv-doc { width: 100%; max-width: 500px; padding: 28px 32px 22px; font-size: 11px; }
.sample-frame .cv-name { font-size: 22px; }
.sample-frame .cv-role { font-size: 10px; }
.sample-frame .cv-contact { font-size: 10px; }
.sample-frame .cv-meta-row { font-size: 9px; }
.sample-frame .cv-h { font-size: 12px; }
.sample-frame .cv-p { font-size: 10px; }
.sample-frame .cv-job { grid-template-columns: 110px 1fr; }
.sample-frame .cv-job-meta { font-size: 9px; }
.sample-frame .cv-current { font-size: 8.5px; }
.sample-frame .cv-job-title { font-size: 11px; }
.sample-frame .cv-job-co { font-size: 10px; }
.sample-frame .cv-bullets li { font-size: 9.5px; }
.sample-frame .cv-edu { grid-template-columns: 80px 1fr; font-size: 9.5px; }
.sample-frame .cv-edu-title { font-size: 10px; }
.sample-frame .cv-edu-sub { font-size: 9.5px; }
.sample-frame .cv-skills { font-size: 9.5px; }
.sample-frame .cv-langs { font-size: 10px; }
.sample-frame .cv-foot { font-size: 9px; }

/* CTA BLOCK */
.cta-block { padding: 0 28px 100px; }
.cta-card {
  position: relative; overflow: hidden;
  border-radius: var(--r-xl);
  max-width: 1240px; margin: 0 auto;
  padding: 76px 28px;
  text-align: center;
  color: white;
  background: var(--accent);
  box-shadow: 0 30px 80px color-mix(in srgb, var(--accent) 35%, transparent);
}
.cta-bg { position: absolute; inset: 0; }
.cta-inner { position: relative; }
.cta-h {
  font-family: var(--font-display);
  font-size: clamp(34px, 4.4vw, 52px);
  font-weight: 600; letter-spacing: -0.02em; line-height: 1.05;
  margin: 0 0 14px;
  text-wrap: balance;
}
.cta-p { font-size: 18px; opacity: 0.95; margin: 0 0 30px; }
.cta-foot { margin-top: 18px; font-size: 13px; opacity: 0.85; }

/* FOOTER */
.ftr { background: var(--ink); color: #C9C2BB; padding: 50px 28px; }
.ftr-inner {
  max-width: 1240px; margin: 0 auto;
  display: grid; gap: 24px;
  grid-template-columns: 1fr 2fr 1fr;
  align-items: center;
}
.ftr-brand { display: flex; align-items: center; gap: 10px; color: #f0eae3; font-weight: 500; font-size: 14px; }
.ftr-links { display: flex; gap: 24px; justify-content: center; flex-wrap: wrap; font-size: 14px; }
.ftr-links a:hover { color: white; }
.ftr-meta { font-size: 12.5px; color: #8a8480; text-align: right; }

/* ====== RESPONSIVE ====== */
@media (max-width: 1180px) {
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .sample-grid { grid-template-columns: 1fr; gap: 40px; }
  .ftr-inner { grid-template-columns: 1fr; text-align: center; }
  .ftr-meta { text-align: center; }
}
@media (max-width: 860px) {
  .hdr-nav { display: none; }
  .hdr-inner { padding: 12px 14px; gap: 8px; }
  .lang-btn { padding: 7px 10px; font-size: 12.5px; }
  .lang-btn span:not(.lang-caret) { max-width: 70px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .btn-sm { padding: 8px 14px; font-size: 12.5px; }
  .logo-word { font-size: 15px; }

  .section { padding: 56px 18px; }
  .hero { padding: 28px 18px 56px; }
  .h1 { font-size: 32px; line-height: 1.05; margin: 14px 0 16px; }
  .h2 { font-size: 28px; }
  .lede { font-size: 16px; }
  .steps { grid-template-columns: 1fr; gap: 14px; }
  .step { padding: 24px 22px; }
  .step-t { font-size: 19px; }
  .step-d { font-size: 14.5px; }

  /* mobile flow: phone, arrow, CV stacked vertically — each col already has its own pill */
  .hero-flow {
    grid-template-columns: 1fr;
    gap: 14px;
    justify-items: center;
  }
  .flow-col { gap: 10px; }
  .flow-arrow {
    padding-top: 0;
    transform: rotate(90deg);
    margin: 4px 0;
  }
  .flow-arrow-circle { width: 44px; height: 44px; }

  .phone { width: 260px; height: 535px; }
  .cv-doc { width: 280px; padding: 16px 18px 12px; }

  /* sample */
  .sample-frame { padding: 16px; }
  .sample-frame .cv-doc { max-width: 100%; padding: 18px 20px 14px; font-size: 9px; }
  .sample-frame .cv-name { font-size: 17px; }
  .sample-frame .cv-h { font-size: 10px; }
  .sample-frame .cv-p, .sample-frame .cv-bullets li, .sample-frame .cv-edu, .sample-frame .cv-skills, .sample-frame .cv-langs { font-size: 8.5px; }
  .sample-frame .cv-job { grid-template-columns: 80px 1fr; gap: 8px; }
  .sample-frame .cv-job-title { font-size: 9.5px; }
  .sample-frame .cv-job-co, .sample-frame .cv-job-meta { font-size: 8.5px; }

  /* CTA */
  .cta-block { padding: 0 18px 64px; }
  .cta-card { padding: 56px 22px; }
  .cta-h { font-size: 32px; }
  .cta-p { font-size: 16px; }
  .btn-xl { padding: 16px 24px; font-size: 16px; }

  /* footer */
  .ftr { padding: 36px 18px; }
  .ftr-links { gap: 14px 18px; font-size: 13.5px; }

  /* hero CTAs full-width on mobile */
  .hero-ctas { width: 100%; }
  .hero-ctas .btn { flex: 1; justify-content: center; }
}
@media (max-width: 400px) {
  .hdr-nav { display: none; }
  .lang-btn span:not(.lang-caret) { display: none; }
  .lang-btn { padding: 8px 10px; }
  .h1 { font-size: 28px; }
  .phone { width: 240px; height: 495px; }
  .cv-doc { width: 260px; }
}
