:root {
  --bg:        #ffffff;
  --bg-soft:   #f7f7f5;
  --bg-card:   #ffffff;
  --border:    rgba(0,0,0,.08);
  --border2:   rgba(0,0,0,.14);
  --teal:      #00b890;
  --teal-dark: #009a7a;
  --green:     #39e84e;
  --blue:      #1a6fd4;
  --grad:      linear-gradient(135deg,#1a6fd4,#00b890,#39e84e);
  --text:      #0d0d0d;
  --text-2:    #444444;
  --text-3:    #888888;
  --text-4:    #bbbbbb;
  --r-bg:      rgba(220,38,38,.06);
  --r-bd:      rgba(220,38,38,.2);
  --r-tx:      #dc2626;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: "Figtree", "Inter", sans-serif;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  font-size: 16px;
  line-height: 1.6;
}

/* NAV */
nav {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
  position: sticky;
  top: 0;
  z-index: 100;
}
.logo-img { height: 44px; border-radius: 4px; }
.nav-link { font-size: .85rem; font-weight: 600; color: var(--text-2); text-decoration: none; letter-spacing: .01em; transition: color .15s; }
.nav-link:hover { color: var(--teal-dark); }

/* BANNER */
.banner { max-width: 720px; margin: 0 auto; padding: 2.5rem 2rem 2rem; border-bottom: 1px solid var(--border); }
.banner-badge { display: inline-flex; align-items: center; gap: .4rem; font-size: .65rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; color: var(--teal-dark); margin-bottom: .6rem; }
.badge-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--teal); animation: blink 2s ease infinite; }
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:.3} }
.banner-h { font-size: clamp(1.75rem,4vw,2.5rem); font-weight: 700; line-height: 1.15; color: var(--text); margin-bottom: .5rem; letter-spacing: -.02em; }
.banner-h span { background: var(--grad); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.banner-sub { font-size: .95rem; color: var(--text-2); line-height: 1.65; max-width: 520px; }

/* FORM WRAP */
.wrap { max-width: 720px; margin: 0 auto; padding: 2rem 2rem 5rem; }

/* SECTION HEADERS */
.sh { display: flex; align-items: center; gap: .65rem; margin: 2rem 0 1.1rem; }
.sh:first-child { margin-top: 0; }
.snum { width: 22px; height: 22px; border-radius: 50%; flex-shrink: 0; background: var(--text); color: #fff; display: flex; align-items: center; justify-content: center; font-size: .6rem; font-weight: 700; }
.stitle { font-size: .7rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; color: var(--text-3); }
.sline { flex: 1; height: 1px; background: var(--border); }

/* TYPE CARDS */
.tgrid { display: grid; grid-template-columns: repeat(3,1fr); gap: .75rem; margin-bottom: 1.25rem; }
.tcard { background: var(--bg-soft); border: 1.5px solid var(--border); border-radius: 10px; padding: 1rem .9rem; cursor: pointer; text-align: center; position: relative; transition: border-color .2s, background .2s; }
.tcard.on { border-color: var(--teal); background: rgba(0,184,144,.06); }
.tcard:hover:not(.on) { border-color: rgba(0,184,144,.4); }
.ticon { font-size: 1.3rem; display: block; margin-bottom: .4rem; }
.tname { font-size: .82rem; font-weight: 700; letter-spacing: .03em; color: var(--text); text-transform: uppercase; }
.tcard.on .tname { color: var(--teal-dark); }
.tnote { font-size: .65rem; color: var(--text-3); margin-top: .2rem; line-height: 1.35; }
.tdot { position: absolute; top: .55rem; right: .55rem; width: 14px; height: 14px; border-radius: 50%; background: var(--teal); color: #fff; font-size: .5rem; font-weight: 800; display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity .2s; }
.tcard.on .tdot { opacity: 1; }

/* TOGGLES */
.tog-row { display: flex; gap: .5rem; flex-wrap: wrap; margin-top: .35rem; }
.tog { font-size: .8rem; font-weight: 600; padding: .45rem 1.1rem; border-radius: 100px; border: 1.5px solid var(--border2); background: var(--bg); color: var(--text-2); cursor: pointer; transition: all .15s; user-select: none; }
.tog:hover { border-color: var(--teal); color: var(--teal-dark); }
.tog.on { border-color: var(--teal); background: rgba(0,184,144,.08); color: var(--teal-dark); }

/* CONDITIONAL */
.cond { display: none; }
.cond.show { display: block; }

/* INPUTS */
.field { display: flex; flex-direction: column; gap: .45rem; margin-bottom: 1rem; }
.r2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1rem; }
label { font-size: .85rem; font-weight: 600; color: var(--text-2); letter-spacing: .01em; }
.opt { font-weight: 400; color: var(--text-3); }
input[type=text], input[type=email], textarea, select {
  background: var(--bg);
  border: 1.5px solid var(--border2);
  border-radius: 8px;
  color: var(--text);
  font-family: "Figtree", "Inter", sans-serif;
  font-size: .95rem;
  padding: .75rem 1rem;
  outline: none;
  width: 100%;
  -webkit-appearance: none;
  appearance: none;
  transition: border-color .15s, box-shadow .15s;
}
input:focus, textarea:focus, select:focus { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(0,184,144,.12); }
input::placeholder, textarea::placeholder { color: var(--text-4); }
select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23888' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right .9rem center; padding-right: 2.25rem; cursor: pointer; }
select option { background: #fff; color: var(--text); }
textarea { resize: vertical; line-height: 1.65; }

/* UPLOAD */
.upload-zone { background: var(--bg-soft); border: 1.5px dashed var(--border2); border-radius: 8px; padding: 1.25rem 1rem; text-align: center; cursor: pointer; position: relative; transition: all .2s; }
.upload-zone:hover { border-color: var(--teal); background: rgba(0,184,144,.04); }
.upload-zone input[type=file] { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; height: 100%; }
.upload-main { font-size: .88rem; color: var(--text-2); margin-bottom: .3rem; }
.upload-main strong { color: var(--teal-dark); }
.upload-hint { font-size: .75rem; color: var(--text-3); line-height: 1.5; }
.upload-ok { font-size: .78rem; color: var(--teal-dark); margin-top: .4rem; font-weight: 600; min-height: 1.2em; }
.upload-meta { font-size: .65rem; color: var(--text-3); margin-top: .4rem; margin-bottom: .85rem; }

/* CHIPS */
.chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1rem; }
.chip { font-size: .78rem; font-weight: 500; padding: .38rem .9rem; border-radius: 100px; border: 1.5px solid var(--border2); background: var(--bg); color: var(--text-2); cursor: pointer; transition: all .15s; user-select: none; }
.chip:hover { border-color: var(--teal); }
.chip.on { border-color: var(--teal); background: rgba(0,184,144,.08); color: var(--teal-dark); font-weight: 600; }

/* SUBMIT */
.btn-submit { width: 100%; padding: .95rem; border: none; border-radius: 8px; font-family: "Figtree","Inter",sans-serif; font-size: 1rem; font-weight: 700; cursor: pointer; background: var(--text); color: #fff; transition: all .2s; margin-top: 1.5rem; display: block; letter-spacing: .01em; }
.btn-submit:hover { background: #222; transform: translateY(-1px); box-shadow: 0 4px 16px rgba(0,0,0,.15); }
.btn-submit:disabled { opacity: .4; cursor: not-allowed; transform: none; box-shadow: none; }
.submit-note { text-align: center; font-size: .72rem; color: var(--text-3); margin-top: .65rem; }
.err { display: none; margin-top: .75rem; padding: .8rem 1rem; border-radius: 8px; background: var(--r-bg); border: 1px solid var(--r-bd); color: var(--r-tx); font-size: .82rem; }
.err.show { display: block; }

/* LOADER — animated step list */
.loader { display: none; text-align: center; padding: 4rem 1rem; }
.loader.show { display: block; }
.spin { width: 40px; height: 40px; border: 2px solid var(--border2); border-top-color: var(--teal); border-radius: 50%; animation: spin .75s linear infinite; margin: 0 auto 1.25rem; }
@keyframes spin { to { transform: rotate(360deg); } }
.loader-h { font-size: 1.25rem; font-weight: 700; color: var(--text); margin-bottom: 1.5rem; }
.step-list { display: flex; flex-direction: column; gap: .65rem; max-width: 400px; margin: 0 auto; text-align: left; }
.step-item { display: flex; align-items: flex-start; gap: .75rem; font-size: .88rem; color: var(--text-3); transition: color .3s; }
.step-item.active { color: var(--text); }
.step-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--border2); flex-shrink: 0; margin-top: .35rem; transition: background .3s, transform .3s; }
.step-item.active .step-dot { background: var(--teal); transform: scale(1.3); }
.step-item.done .step-dot { background: var(--teal-dark); }
.step-item.done { color: var(--text-3); }

/* TEASER OUTPUT */
.teaser { display: none; }
.teaser.show { display: block; }
.teaser-header { text-align: center; padding: 1.5rem 0 2rem; }
.th-eyebrow { font-size: .7rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; color: var(--teal-dark); margin-bottom: .6rem; }
.th-name { font-size: 2rem; font-weight: 700; color: var(--text); margin-bottom: .25rem; letter-spacing: -.02em; }
.th-sub { font-size: .85rem; color: var(--text-3); }
.rcard { background: var(--bg-card); border: 1.5px solid var(--border); border-radius: 12px; padding: 1.5rem; margin-bottom: 1rem; position: relative; overflow: hidden; }
.rcard::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--grad); }
.rlabel { font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--teal-dark); margin-bottom: 1rem; }

/* SNAPSHOT: two sentences styled differently */
.snapshot-text { line-height: 1.8; }
.snapshot-text p { margin-bottom: .65rem; }
.snapshot-text p:last-child { margin-bottom: 0; }
#snapS1 { font-size: 1rem; color: var(--text-2); }
#snapS2.snap-sting {
  font-size: 1.02rem;
  color: var(--text);
  font-weight: 600;
  border-left: 3px solid var(--teal);
  padding-left: .85rem;
  margin-left: -.05rem;
}

/* GAPS + QUESTIONS */
.q-item { display: flex; gap: .9rem; align-items: flex-start; padding: .85rem 0; border-bottom: 1px solid var(--border); }
.q-item:first-child { padding-top: 0; }
.q-item:last-child { border-bottom: none; padding-bottom: 0; }
.q-num { font-size: 1.1rem; font-weight: 700; background: var(--grad); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; flex-shrink: 0; line-height: 1.2; min-width: 16px; }
.q-text { font-size: .92rem; color: var(--text-2); line-height: 1.7; font-style: italic; }
.gap-item { padding: .85rem 0; border-bottom: 1px solid var(--border); }
.gap-item:first-child { padding-top: 0; }
.gap-item:last-child { border-bottom: none; padding-bottom: 0; }
.gap-tag { display: inline-block; font-size: .68rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--r-tx); background: var(--r-bg); border: 1px solid var(--r-bd); padding: .22rem .65rem; border-radius: 4px; margin-bottom: .4rem; }
.gap-detail { font-size: .92rem; color: var(--text-2); line-height: 1.7; }

/* BLUR / GATE */
.blur-wrap { position: relative; margin-top: .75rem; border-radius: 8px; }
.blur-items { filter: blur(5px); pointer-events: none; user-select: none; opacity: .55; padding: .5rem 0; min-height: 60px; }
.blur-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .4rem; background: rgba(247,247,245,.7); }
.blur-lock { font-size: 1.25rem; }
.blur-msg { font-size: .8rem; font-weight: 700; color: var(--text); letter-spacing: .02em; }

/* CTA */
.cta { background: var(--bg-soft); border: 1.5px solid var(--border); border-radius: 14px; padding: 2.5rem 2rem; text-align: center; margin-top: 1rem; position: relative; overflow: hidden; }
.cta::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--grad); }
.cta-title { font-size: 1.7rem; font-weight: 700; color: var(--text); letter-spacing: -.02em; line-height: 1.2; margin-bottom: .75rem; }
.cta-hook-inline { font-weight: 700; color: var(--text); display: block; margin-bottom: .35rem; font-style: normal; }
.cta-hook-inline:empty { display: none; }
.cta-sub { font-size: .95rem; color: var(--text-2); line-height: 1.7; max-width: 420px; margin: 0 auto 1.75rem; }
.cta-btn { display: inline-block; padding: 1rem 2.5rem; background: var(--text); color: #fff; font-family: "Figtree","Inter",sans-serif; font-size: 1rem; font-weight: 700; text-decoration: none; border-radius: 8px; transition: all .2s; letter-spacing: .01em; }
.cta-btn:hover { background: #222; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,.15); }
.cta-meta { display: flex; justify-content: center; gap: 1.25rem; flex-wrap: wrap; margin-top: 1.1rem; }
.cta-meta-item { font-size: .72rem; color: var(--text-3); }

/* RESUME TIPS */
.rtip { padding: .85rem 0; border-bottom: 1px solid var(--border); }
.rtip:last-child { border-bottom: none; padding-bottom: 0; }
.rtip:first-child { padding-top: 0; }
.rtip-label { display: inline-block; font-size: .68rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--teal-dark); background: rgba(0,184,144,.08); border: 1px solid rgba(0,184,144,.25); padding: .22rem .65rem; border-radius: 4px; margin-bottom: .5rem; }
.rtip-obs { font-size: .92rem; color: var(--text-2); line-height: 1.7; margin-bottom: .5rem; }
.rtip-rewrite { font-size: .88rem; color: var(--text); background: var(--bg-soft); border-left: 3px solid var(--teal); padding: .65rem .85rem; border-radius: 0 6px 6px 0; line-height: 1.65; margin-bottom: .5rem; }
.rtip-bridge { font-size: .82rem; color: var(--text-3); font-style: italic; line-height: 1.6; }

/* SECTOR FOCUS */
.sfocus { padding: .5rem 0; }
.sfocus-headline { font-size: 1rem; font-weight: 600; color: var(--text); line-height: 1.5; margin-bottom: .5rem; }
.sfocus-rationale { font-size: .92rem; color: var(--text-2); line-height: 1.7; margin-bottom: .5rem; }
.sfocus-action { font-size: .88rem; color: var(--text); background: rgba(0,184,144,.06); border: 1px solid rgba(0,184,144,.2); padding: .7rem .9rem; border-radius: 6px; line-height: 1.65; }
.sfocus-action::before { content: "→ "; font-weight: 700; color: var(--teal-dark); }

/* RETRY PATH */
.retry-wrap { text-align: center; padding: 1.5rem 0 .5rem; }
.retry-msg { font-size: .82rem; color: var(--text-3); margin-bottom: .5rem; }
.retry-btn { background: none; border: 1.5px solid var(--border2); border-radius: 6px; padding: .55rem 1.25rem; font-size: .82rem; font-weight: 600; color: var(--text-2); cursor: pointer; transition: all .15s; font-family: "Figtree","Inter",sans-serif; }
.retry-btn:hover { border-color: var(--teal); color: var(--teal-dark); }

/* FOOTER */
.foot { border-top: 1px solid var(--border); padding: 1.5rem 2rem; display: flex; align-items: center; justify-content: space-between; max-width: 720px; margin: 0 auto; }
.flogo img { height: 36px; border-radius: 4px; }
.fnote { font-size: .72rem; color: var(--text-3); }
.fnote a { color: var(--text-2); text-decoration: none; }
.fnote a:hover { color: var(--teal-dark); }

/* RESPONSIVE */
@media(max-width: 560px) {
  nav { padding: 0 1.25rem; }
  .banner, .wrap { padding-left: 1.25rem; padding-right: 1.25rem; }
  .tgrid { grid-template-columns: 1fr 1fr; }
  .r2 { grid-template-columns: 1fr; }
  .cta { padding: 2rem 1.25rem; }
  .banner-h { font-size: 1.6rem; }
}
