:root {
  --bg: #0f1216;
  --panel: #171c23;
  --panel-2: #1e242e;
  --text: #e8ecf1;
  --muted: #9aa7b5;
  --accent: #2f9e8f;
  --accent-2: #38d39f;
  --copper: #b87333;
  --warn: #f5b14e;
  --danger: #ef6461;
  --radius: 12px;
  --maxw: 1080px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: "Noto Sans", -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: var(--bg); color: var(--text); line-height: 1.6;
}
.font-display { font-family: "Lilita One", "Noto Sans", sans-serif; font-weight: 400; }
.font-grotesk { font-family: "Figtree", "Noto Sans", sans-serif; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
.site-header {
  display: flex; justify-content: space-between; align-items: center;
  max-width: var(--maxw); margin: 0 auto; padding: 18px 20px;
}
.logo { font-weight: 700; font-size: 1.38rem; color: var(--text); }
.brand-tag { color: var(--muted); font-size: 1.02rem; margin-left: 18px; }
.logo:hover { text-decoration: none; }
.site-header nav a { color: var(--muted); margin-left: 18px; font-size: .95rem; }
.site-header nav a:hover { color: var(--text); }

.hero { text-align: center; padding: 40px 20px 20px; max-width: 1500px; margin: 0 auto; }
.hero-cta-row { display:flex; align-items:center; gap:22px; margin-top:28px; flex-wrap:wrap; }
.hero-cta-row .trust-strip { margin-top:0; }
.hero h1 { font-size: clamp(1.8rem, 4.5vw, 3rem); line-height: 1.2; }
.hero .sub { color: var(--muted); margin-top: 16px; font-size: 1.1rem; max-width: 640px; margin-inline: auto; }

.tools-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; padding: 24px 0 80px; }
.tool-card {
  display: block; background: var(--panel); border: 1px solid #2a3340;
  border-radius: var(--radius); padding: 28px; color: var(--text);
}
.tool-card:hover { border-color: var(--accent); text-decoration: none; }
.tool-card.coming { opacity: .55; }
.tool-card h2 { margin: 10px 0 8px; font-size: 1.25rem; }
.tool-card p { color: var(--muted); font-size: .95rem; }
.tool-card .cta { display: inline-block; margin-top: 14px; color: var(--accent); font-weight: 600; }
.badge {
  font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  background: rgba(56,211,159,.15); color: var(--accent-2);
  padding: 4px 10px; border-radius: 999px;
}
.badge.muted { background: rgba(154,167,181,.15); color: var(--muted); }

.site-footer {
  border-top: 1px solid #232b36; padding: 28px 20px; text-align: center;
  color: var(--muted); font-size: 1.1rem;
}
.site-footer a { color: var(--muted); }
.site-footer a:hover { color: var(--text); }

/* ---------- Resume landing ---------- */
.btn {
  display: inline-block; border: 0; border-radius: 10px; cursor: pointer;
  font-weight: 600; font-size: 1rem; padding: 14px 28px; text-align: center;
}
.btn-primary {
  background: linear-gradient(135deg, #2f9e8f, #1f6e63); color: #fff;
  border-bottom: 2px solid var(--copper);
}
.btn-primary:hover { filter: brightness(1.1); text-decoration: none; }
.btn-gold { background: linear-gradient(135deg, #f5b14e, #e8952e); color: #1a1207; }
.btn-gold:hover { filter: brightness(1.05); text-decoration: none; }
.btn-ghost { background: var(--panel-2); color: var(--text); border: 1px solid #2a3340; }
.section { padding: 30px 0; }
.section.wide { max-width: 1500px; }
.steps { display:grid; grid-template-columns:repeat(auto-fit,minmax(240px,1fr)); gap:18px; margin-top:18px; }
.step { background: var(--panel); border-radius: var(--radius); padding: 16px 20px; border: 1px solid #232b36; }
.steps-4 { grid-template-columns:repeat(4,1fr); }
@media (max-width: 980px) { .steps-4 { grid-template-columns:1fr 1fr; } }
@media (max-width: 560px) { .steps-4 { grid-template-columns:1fr; } }
.audit-cols { border:1px solid #232b36; border-radius:var(--radius); padding:18px 22px; margin-top:14px; columns:2; column-gap:40px; }
.audit-cols li { break-inside:avoid; margin-bottom:8px; }
@media (max-width: 700px) { .audit-cols { columns:1; } }
@media (max-width: 1020px) { p.lead[style*="nowrap"] { white-space:normal !important; } }
.section h2 { font-size: 1.6rem; margin-bottom: 14px; }
.section p.lead { color: var(--muted); max-width: 720px; }

.step .num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 50%;
  background: linear-gradient(135deg, #2f9e8f, #1f6e63);
  border: 1.5px solid var(--copper);
  color: #fff; font-weight: 800; font-size: 1.15rem;
}
.step .step-head { display:flex; align-items:center; gap:12px; margin-bottom:8px; }
.step .step-head h3 { margin: 0; }
.step h3 { margin: 6px 0 6px; font-size: 1.05rem; }
.step p { color: var(--muted); font-size: .9rem; }
.check-list { list-style: none; margin-top: 14px; }
.check-list li { padding: 8px 0 8px 28px; position: relative; color: var(--muted); }
.check-list li::before { content: "✓"; position: absolute; left: 0; color: var(--accent-2); font-weight: 700; }
.check-list li.dim::before { content: "🔒"; font-size: .8rem; }
.faq details { background: var(--panel); border: 1px solid #232b36; border-radius: var(--radius); padding: 16px 20px; margin-top: 12px; }
.faq summary { cursor: pointer; font-weight: 600; }
.faq details p { color: var(--muted); margin-top: 10px; font-size: .95rem; }
.trust-strip { display:flex; flex-wrap:wrap; gap:14px; justify-content:center; margin-top:34px; color:var(--muted); font-size:.85rem; }
.trust-strip span { background: var(--panel); border:1px solid #232b36; border-radius:999px; padding:6px 14px; }
.trust-strip .tk { font-style:normal; color:var(--accent-2); font-weight:800; }
.trust-strip.trust-rows { flex-direction:column; align-items:flex-start; gap:9px; margin-top:20px; }
.trust-strip.trust-rows span { padding:5px 12px; }

/* ---------- App ---------- */
.app-grid { display:grid; grid-template-columns: 1fr; gap:18px; padding: 24px 0 60px; }
.app-grid.single-col { max-width: 640px; margin: 0 auto; }
#resultsGrid.one-col { grid-template-columns: 1fr !important; }
#resultsGrid.one-col #checkCol { order: -1; }
.panel { background: var(--panel); border: 1px solid #232b36; border-radius: var(--radius); padding: 22px; transition: border-color .8s ease, box-shadow .8s ease; }
.panel.focus-glow { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(47,158,143,.25), 0 0 24px rgba(47,158,143,.15); }
.panel h2 { font-size: 1.1rem; margin-bottom: 12px; }
.panel .hint { color: var(--muted); font-size: .85rem; }
.dropzone {
  border: 2px dashed #37445a; border-radius: var(--radius); padding: 40px 20px;
  text-align: center; color: var(--muted); cursor: pointer; transition: .15s;
}
.dropzone:hover, .dropzone.drag { border-color: var(--accent); color: var(--text); background: rgba(79,140,255,.06); }
textarea {
  width: 100%; min-height: 180px; background: var(--panel-2); color: var(--text);
  border: 1px solid #2a3340; border-radius: 10px; padding: 12px; font: inherit; font-size: .9rem; resize: vertical;
}
.score-ring { display:flex; align-items:center; gap:20px; }
.ring { width:110px; height:110px; }
.ring text { fill: var(--text); font-weight: 700; }
.flag { display:flex; gap:10px; padding:10px 0; border-bottom:1px solid #232b36; font-size:.92rem; }
.flag:last-child { border-bottom: 0; }
.flag .ic { flex-shrink:0; }
.flag small { display:block; color:var(--muted); }
.ok { color: var(--accent-2); } .warn { color: var(--warn); } .info { color: var(--accent); }
.blurred { filter: blur(6px); user-select:none; pointer-events:none; }
.kw { display:inline-block; background:var(--panel-2); border:1px solid #2a3340; border-radius:8px; padding:3px 10px; margin:3px; font-size:.85rem; }
.tpl-preview { border:1px solid #2a3340; border-radius:10px; padding:14px; background:var(--panel-2); }
.tpl-frame { position:relative; width:150px; height:200px; overflow:hidden; border-radius:8px; border:1px solid #2a3340; background:#fff; margin:8px 0; user-select:none; }
.tpl-iframe { width:600px; height:800px; border:0; transform:scale(.25); transform-origin:0 0; pointer-events:none; }
.tpl-frame .wm {
  position:absolute; inset:0; display:flex; align-items:center; justify-content:center;
  transform:rotate(-28deg); color:rgba(140,50,40,.55); font-weight:800; font-size:.72rem;
  letter-spacing:.08em; text-align:center; pointer-events:none;
}
.tpl-preview h4 { font-size:.95rem; margin-bottom:6px; }
.tpl-preview p { font-size:.8rem; color:var(--muted); }
.doc-help { margin-top:8px; font-size:.85rem; text-align:left; }
.doc-help summary { cursor:pointer; color:var(--accent); text-decoration:underline; }
.doc-help summary:hover { opacity:.85; }
.doc-help[open] summary { margin-bottom:6px; }
/* parser output view */
.parse-pre {
  background:#0a0e14; border:1px solid #232b36; border-radius:8px;
  padding:14px; font-size:.78rem; line-height:1.5; color:#c9d1d9;
  max-height:280px; overflow:auto; white-space:pre-wrap; word-break:break-word;
}
.parse-pre mark.cliche { background:none; color:inherit; text-decoration:underline wavy rgba(245,177,78,.85); text-underline-offset:3px; }
/* keyword match sub-checks */
.sub-check { margin-top:14px; border-top:1px solid #232b36; padding-top:10px; }
.sub-check summary { cursor:pointer; font-size:.9rem; font-weight:600; color:var(--text); }
.kw-bar-row { display:grid; grid-template-columns:130px 1fr 26px; gap:8px; align-items:center; margin:4px 0; font-size:.8rem; }
.kw-bar-term { color:var(--text); overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.kw-bar-track { display:block; height:10px; background:#161c26; border-radius:5px; overflow:hidden; }
.kw-bar-fill { display:block; height:100%; background:#3a4354; border-radius:5px; }
.kw-bar-fill.hit { background:var(--accent-2); }
.kw-bar-n { color:var(--muted); text-align:right; font-size:.75rem; }
/* offer compare table */
.cmp-table { width:100%; border-collapse:collapse; font-size:.9rem; margin-top:10px; }
.cmp-table th, .cmp-table td { text-align:left; padding:8px 10px; border-bottom:1px solid #232b36; }
.cmp-table th { color:var(--muted); font-size:.78rem; text-transform:uppercase; letter-spacing:.05em; }
.cmp-table td.pos, .cmp-table .pos { color:#38d39f; }
.cmp-table td.neg, .cmp-table .neg { color:#ef6461; }
.cmp-total td { font-weight:700; border-top:2px solid #2a3340; }
/* cross-tool promo banner */
.promo-card {
  display:flex; align-items:center; gap:16px; flex-wrap:wrap;
  margin-top:18px; padding:16px 20px; text-decoration:none !important;
  background:
    radial-gradient(ellipse at 15% 20%, rgba(255,250,235,.5), transparent 55%),
    linear-gradient(160deg, #efe4c8, #ddc9a0);
  border: 1.5px dashed #8a6d3f; border-radius: 16px; color:#3d2f1d;
}
.promo-card div { flex:1; min-width:200px; font-size:.92rem; }
.promo-card .feat-cta { margin-left:auto; }
.locked-overlay { text-align:center; padding:20px 0; }
.price-tag { font-size:2rem; font-weight:800; }
.price-tag small { font-size:.9rem; color:var(--muted); font-weight:400; }
.plan-grid { display:grid; grid-template-columns:1fr; gap:14px; margin:10px 0; }

/* hero typography */
.hero .hero-h1 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); line-height: 1.18; }
.hero-wisp {
  font-size: clamp(1.05rem, 1.8vw, 1.3rem); font-weight: 400; font-style: italic;
  color: var(--muted); line-height: 1.35; margin-top: 12px;
  animation: ghost-wisp-in 2.4s ease-out 0.3s both, ghost-wisp-loop 4s ease-in-out 2.9s infinite;
}
@keyframes ghost-wisp-in {
  0%   { opacity: 0; filter: blur(16px); transform: translateY(10px) scale(1.04); letter-spacing: .12em; text-shadow: 0 0 30px rgba(180,220,210,.55); }
  55%  { opacity: .9; filter: blur(4px); }
  100% { opacity: 1; filter: blur(0); transform: none; letter-spacing: 0; text-shadow: none; }
}
@keyframes ghost-wisp-loop {
  0%, 100% { opacity: 1; filter: blur(0); text-shadow: none; }
  14%      { opacity: .45; filter: blur(5px); text-shadow: 0 0 22px rgba(180,220,210,.5); }
  28%      { opacity: 1; filter: blur(0); text-shadow: none; }
}
/* feature cards — bob motion (preserves per-card tilt via vars) */
.feat-card { animation: card-bob 3.4s ease-in-out 0.6s infinite; }
.feat-card:nth-child(2) { animation-delay: 1.0s; }
.feat-card:nth-child(3) { animation-delay: 1.4s; }
.feat-card:nth-child(4) { animation-delay: 1.8s; }
@keyframes card-bob {
  0%, 100% { transform: rotate(var(--rot,0deg)) translateY(var(--ty,0)) ; }
  50%      { transform: rotate(var(--rot,0deg)) translateY(calc(var(--ty,0px) - 9px)); box-shadow: 0 22px 40px rgba(0,0,0,.5), inset 0 0 40px rgba(140,110,60,.12); }
}
@media (prefers-reduced-motion: reduce) { .feat-card { animation: none; } }

/* feature cards — numbered flow 1→2→3→4 (counter reset lives on .feat-row) */
.feat-card { counter-increment: feat; }
.feat-card::before {
  content: counter(feat); position: absolute; top: 12px; right: 14px;
  width: 24px; height: 24px; border-radius: 50%; line-height: 24px; text-align: center;
  font-size: .8rem; font-weight: 800; color: #5c451f;
  background: rgba(120,90,40,.12); border: 1.5px dashed #8a6d3f;
}
/* feature row: two labeled groups + extra tool card */
.feat-row { display:grid; grid-template-columns:repeat(5,1fr); gap:18px; align-items:stretch; counter-reset: feat; }
.feat-group { display:flex; flex-direction:column; grid-column:span 2; }
.feat-group:last-child { grid-column:span 1; }
.feat-group .feat-grid, .feat-group .feat-extra { flex:1; }
.feat-card { height:100%; }
.feat-row .feat-grid { grid-template-columns:1fr 1fr; margin-top:0; }
.feat-group .feat-grid { margin-top:8px; }
.group-label {
  font-size:.9rem; font-weight:700; letter-spacing:.14em; text-transform:uppercase;
  color:#8a6d3f; text-align:center;
}
.feat-extra { border-style: dashed; }
@media (max-width: 900px) {
  .feat-row { grid-template-columns:1fr; }
  .feat-row .feat-grid { grid-template-columns:1fr 1fr; }
}
@media (max-width: 520px) { .feat-row .feat-grid { grid-template-columns:1fr; } }
@media (prefers-reduced-motion: reduce) { .hero-wisp { animation: none; } }
/* hero with mascot */
.hero-flex { display:grid; grid-template-columns:1fr; gap:30px; align-items:center; }
@media (min-width: 820px) { .hero-flex { grid-template-columns: 1.5fr 370px; gap:16px; text-align:left; } }
@media (min-width: 900px) { .subline1 { white-space: nowrap; } }
@media (max-width: 819px) { .hero-flex h2 { white-space: normal !important; } }
.hero-flex .sub { margin-inline: 0; }
.mascot-wrap { display:flex; flex-direction:column; align-items:center; gap:14px; }
.speech {
  background: var(--panel); border:1px solid #2a3340; border-radius: 14px;
  padding: 14px 18px; font-size: .95rem; color: var(--text); max-width: 300px;
  position: relative; text-align:left;
}
.speech::after {
  content:""; position:absolute; bottom:-9px; left:50%; transform:translateX(-50%);
  border:10px solid transparent; border-top-color:#2a3340; border-bottom:0;
}
.mascot-wrap svg { width:240px; height:auto; }
.hero-art {
  width: 100%; max-width: 480px; border-radius: 16px;
  margin: 0 auto; align-self: center;
  animation: hero-zoom-in 1.6s ease-out 0.2s both, hero-zoom-loop 4s ease-in-out 2s infinite;
}
@keyframes hero-zoom-in {
  0%   { opacity: 0; transform: scale(1.07); filter: blur(4px); }
  60%  { opacity: 1; filter: blur(0); }
  100% { opacity: 1; transform: scale(1); }
}
@keyframes hero-zoom-loop {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.06); }
}
@media (prefers-reduced-motion: reduce) { .hero-art { animation: none; } }
  border: 1px solid #2a3340;
  box-shadow: 0 16px 40px rgba(0,0,0,.45), 0 0 0 4px rgba(47,158,143,.08);
}
@media (max-width: 819px) { .hero-art { margin: 0 auto; width: 100%; } }

/* feature glance cards — expedition parchment style */
.feat-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(230px,1fr)); gap:18px; margin-top:28px; }
.feat-card {
  position:relative; overflow:hidden;
  display:block; min-height: 185px;
  text-decoration:none !important; cursor:pointer;
  background:
    radial-gradient(ellipse at 20% 15%, rgba(255,250,235,.55), transparent 55%),
    radial-gradient(ellipse at 85% 90%, rgba(160,130,80,.25), transparent 55%),
    linear-gradient(160deg, #efe4c8, #ddc9a0);
  border: 1.5px solid #b09a6e;
  /* irregular "hand-drawn" corners */
  border-radius: 255px 18px 225px 18px / 18px 225px 18px 255px;
  padding: 20px 18px; text-align:left; color:#3d2f1d;
  box-shadow: 0 14px 30px rgba(0,0,0,.4), inset 0 0 40px rgba(140,110,60,.12);
  transition: transform .3s ease, box-shadow .3s ease;
}
.feat-card:nth-child(2) {
  background:
    radial-gradient(ellipse at 80% 10%, rgba(255,250,235,.5), transparent 55%),
    linear-gradient(165deg, #e9dcbb, #d3bd8f);
  border-radius: 18px 225px 18px 255px / 255px 18px 255px 18px;
}
.feat-card:nth-child(3) {
  background:
    radial-gradient(ellipse at 15% 85%, rgba(255,250,235,.5), transparent 55%),
    linear-gradient(150deg, #f2e8ce, #dbc49a);
  border-radius: 225px 18px 255px 18px / 18px 255px 18px 225px;
}
.feat-card:nth-child(4) {
  background:
    radial-gradient(ellipse at 85% 20%, rgba(255,250,235,.5), transparent 55%),
    linear-gradient(170deg, #ece0c0, #d6c096);
  border-radius: 18px 255px 18px 225px / 225px 18px 255px 18px;
}
.feat-card:nth-child(odd) { --rot:-1.4deg; --ty:0px; transform: rotate(var(--rot)) translateY(var(--ty)); }
.feat-card:nth-child(even) { --rot:1.3deg; --ty:0px; transform: rotate(var(--rot)) translateY(var(--ty)); }
.feat-card:hover {
  transform: rotate(0deg) translateY(-5px) scale(1.02);
  box-shadow: 0 22px 44px rgba(0,0,0,.55);
}
.feat-card .ic {
  display:inline-flex; align-items:center; justify-content:center;
  width:44px; height:44px; border-radius:50%; font-size:1.35rem;
  background: rgba(120,90,40,.12); border:1.5px dashed #8a6d3f;
  filter: sepia(0.9) saturate(0.6);
}
.feat-card h3 { font-size: 1.05rem; margin: 12px 0 5px; color:#3d2f1d; }
.feat-card p { color:#6b5636; font-size: .85rem; }
.feat-card .tag {
  display:inline-block; margin-top:12px; font-size:.95rem; font-weight:800;
  letter-spacing:.08em; padding:6px 14px;
  border:2px solid #7a5c2e; border-radius:6px;
  transform: rotate(-3deg); color:#5c451f; background: rgba(120,90,40,.08);
}
.tag.paid { border-color:#8a4f1f; color:#7a4318; }
.feat-card .feat-cta {
  display:block; margin-top:10px; font-size:.85rem; font-weight:700;
  color:#1f6e63;
}
.feat-card:hover .feat-cta { text-decoration: underline; }

/* popular plan tag */
.plan-pop {
  display:inline-block; font-size:.68rem; font-weight:800; letter-spacing:.08em;
  background: linear-gradient(135deg,#2f9e8f,#1f6e63); color:#fff;
  padding:3px 12px; border-radius:999px; margin-bottom:8px;
}
.dim { opacity:.45; }

/* scroll reveal */
.reveal { opacity:0; transform:translateY(18px); transition:opacity .5s ease, transform .5s ease; }
.reveal.in { opacity:1; transform:none; }
@media (min-width: 520px) { .plan-grid { grid-template-columns:1fr 1fr; } }
@media (min-width: 900px) { .plan-grid-3 { grid-template-columns:1fr 1fr 1fr; } }
@media (min-width: 860px) {
  .app-grid.cols-70-30 { grid-template-columns: 7fr 3fr; }
  .app-grid.cols-50-50 { grid-template-columns: 1fr 1fr; }
}
