/* Resume Helper - shell styles. Palette: navy #2F4059, cream #F7F3E8, sand #E8E4D9, gold #D4AF37 */
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; padding: 0; }
body { font-family: Inter, system-ui, -apple-system, sans-serif; background: #F7F3E8; color: #22314A; font-size: 16px; }
button { font-family: inherit; }

/* Top navigation: fixed bar, content always starts below it */
.topnav { position: fixed; top: 0; left: 0; right: 0; height: 56px; z-index: 50;
  background: #2F4059; display: flex; align-items: center; gap: 8px; padding: 0 10px;
  box-shadow: 0 2px 8px rgba(34,49,74,.3); }
.backbtn { display: flex; align-items: center; gap: 2px; min-height: 40px; cursor: pointer;
  background: rgba(245,245,220,.14); border: 1.5px solid rgba(245,245,220,.55); color: #F5F5DC;
  border-radius: 999px; padding: 8px 14px 8px 9px; font-size: 14px; font-weight: 700;
  transition: transform .15s, background .2s, opacity .25s; }
.backbtn:active { transform: scale(.93); background: rgba(245,245,220,.3); }
.backbtn.hidden { opacity: 0; pointer-events: none; transform: translateX(-8px); }
.backbtn .chev { font-size: 20px; line-height: 1; font-weight: 800; }
.apptitle { color: #F5F5DC; font-family: Georgia, serif; font-size: 16px; flex: 1; text-align: center; white-space: nowrap; overflow: hidden; }
.langbtn { background: transparent; border: 1.5px solid rgba(245,245,220,.55); color: #F5F5DC;
  border-radius: 999px; min-height: 40px; padding: 6px 11px; font-weight: 700; font-size: 13px; cursor: pointer; }
.stepdots { display: flex; gap: 4px; }
.stepdots i { width: 6px; height: 6px; border-radius: 50%; background: rgba(245,245,220,.35); transition: all .3s; }
.stepdots i.on { background: #D4AF37; transform: scale(1.4); }

/* Screens slide below the top bar, above the tab bar */
main { padding: 72px 16px 84px; max-width: 520px; margin: 0 auto; }
.screen { display: none; }
.screen.on { display: block; animation: slidein .36s cubic-bezier(.22,1.15,.36,1); }
@keyframes slidein { from { opacity: 0; transform: translateX(30px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }

.kick { font-size: 11px; letter-spacing: .09em; text-transform: uppercase; color: #B08A2E; font-weight: 800; }
h1 { font-family: Georgia, serif; font-size: 24px; color: #2F4059; margin: 3px 0 6px; }
.sub { font-size: 14px; color: #5A6577; line-height: 1.45; margin: 0 0 12px; }

.btn { display: block; width: 100%; min-height: 50px; background: #2F4059; color: #F5F5DC; border: none;
  border-radius: 13px; padding: 13px; font-weight: 700; font-size: 15px; margin: 9px 0; cursor: pointer;
  position: relative; overflow: hidden; transition: transform .15s, box-shadow .2s; }
.btn:hover { box-shadow: 0 6px 16px rgba(47,64,89,.3); }
.btn:active { transform: scale(.96); }
.btn.google { background: #fff; color: #22314A; border: 1.5px solid #c9c2a6; }
.btn2 { display: block; width: 100%; min-height: 46px; background: #fff; border: 1.5px solid #2F4059; color: #2F4059;
  border-radius: 13px; padding: 11px; font-weight: 700; font-size: 14px; margin: 7px 0; cursor: pointer; transition: transform .15s; }
.btn2:active { transform: scale(.96); }

.card { background: #fff; border: 1px solid #DDD3B8; border-radius: 13px; padding: 12px; margin: 8px 0;
  cursor: pointer; transition: transform .22s cubic-bezier(.22,1.4,.36,1), box-shadow .22s; }
.card:hover { transform: translateY(-3px); box-shadow: 0 8px 18px rgba(47,64,89,.16); }
.card:active { transform: scale(.97); }
.card b { display: block; font-size: 14px; }
.card span { font-size: 12.5px; color: #6B7280; }
.card.static { cursor: default; } .card.static:hover { transform: none; box-shadow: none; }

.lbl { font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: #B08A2E; margin: 14px 0 5px; }
.seg { display: flex; gap: 6px; background: #E8E4D9; border-radius: 999px; padding: 3px; }
.seg button { flex: 1; border: none; background: transparent; padding: 10px 0; border-radius: 999px;
  font-size: 13.5px; font-weight: 700; color: #5A6577; cursor: pointer; transition: all .25s; }
.seg button.on { background: #2F4059; color: #F5F5DC; box-shadow: 0 3px 8px rgba(47,64,89,.3); }
.input, textarea.input, input.input { width: 100%; background: #fff; border: 1.5px solid #DDD3B8; border-radius: 12px;
  padding: 13px; font-size: 15px; color: #22314A; margin: 7px 0; font-family: inherit; }
.dash { border-style: dashed; border-color: #B3A77F; text-align: center; color: #6B7280; }
.chip { display: inline-block; padding: 5px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; margin: 2px 1px; }
.g { background: #DCEAD8; color: #2E5D2A; } .a { background: #F3E2B8; color: #7A5510; } .x { background: #E5E7EB; color: #6B7280; text-decoration: line-through; }
.trust { background: #DCEAD8; border-radius: 11px; padding: 10px 12px; font-size: 13px; color: #2E5D2A; font-weight: 600; margin: 10px 0; }

/* Bottom tabs: exactly 3 */
.tabbar { position: fixed; left: 0; right: 0; bottom: 0; height: 60px; z-index: 50; background: #F7F3E8;
  border-top: 1px solid #DDD3B8; display: flex; }
.tabbar button { flex: 1; background: none; border: none; font-size: 12px; font-weight: 700; color: #9A9DA5; cursor: pointer; }
.tabbar button.on { color: #2F4059; }
.tabbar.hidden { display: none; }
