/* ==========================================================================
   Easy Resume Help
   Single stylesheet. No build step, no external dependencies.
   ========================================================================== */

/* --------------------------------------------------------------- tokens --- */

:root {
  color-scheme: light dark;

  --brand:        #1d5c8f;
  --brand-dark:   #123d61;
  --brand-darker: #0e2f4b;
  --brand-tint:   #e8f1f8;
  --accent:       #c2410c;
  --accent-dark:  #9a330a;

  --bg:          #ffffff;
  --surface:     #f6f8fa;
  --surface-alt: #eef3f7;
  --text:        #1b2733;
  --text-muted:  #56687a;
  --border:      #dce4eb;
  --border-soft: #e9eef3;

  --shadow-sm: 0 1px 2px rgb(16 32 46 / 6%), 0 1px 3px rgb(16 32 46 / 8%);
  --shadow-md: 0 4px 12px rgb(16 32 46 / 8%), 0 2px 4px rgb(16 32 46 / 6%);
  --shadow-lg: 0 12px 32px rgb(16 32 46 / 12%), 0 4px 8px rgb(16 32 46 / 6%);

  --radius:    10px;
  --radius-lg: 16px;

  --shell:   1140px;
  --gutter:  20px;

  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
          Arial, "Noto Sans", sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --brand:        #6fb2e6;
    --brand-dark:   #4e93c9;
    --brand-darker: #0b1a26;
    --brand-tint:   #16303f;
    --accent:       #f08a4b;
    --accent-dark:  #d97035;

    --bg:          #0b1a26;
    --surface:     #122636;
    --surface-alt: #16303f;
    --text:        #e6edf3;
    --text-muted:  #9fb2c2;
    --border:      #23415a;
    --border-soft: #1b3448;

    --shadow-sm: 0 1px 2px rgb(0 0 0 / 40%);
    --shadow-md: 0 4px 12px rgb(0 0 0 / 45%);
    --shadow-lg: 0 12px 32px rgb(0 0 0 / 55%);
  }
}

/* ---------------------------------------------------------------- reset --- */

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; height: auto; display: block; }

a {
  color: var(--brand);
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}
a:hover { color: var(--brand-dark); }

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
  border-radius: 3px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  padding: 12px 18px;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  border-radius: 0 0 var(--radius) 0;
}
.skip-link:focus {
  left: 0;
  color: #fff;
}

.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* -------------------------------------------------------------- masthead -- */

.masthead {
  background: linear-gradient(135deg, var(--brand-dark) 0%, var(--brand) 55%, #3f86bd 100%);
  color: #fff;
  box-shadow: var(--shadow-md);
  position: relative;
  z-index: 20;
}

@media (prefers-color-scheme: dark) {
  .masthead {
    background: linear-gradient(135deg, #0d2233 0%, #143a56 55%, #1b4e72 100%);
  }
}

.masthead__inner {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 84px;
  flex-wrap: wrap;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  text-decoration: none;
  margin-right: auto;
  padding: 12px 0;
}
.brand:hover { color: #fff; }

.brand__mark {
  width: 34px;
  height: 44px;
  flex: none;
  color: rgb(255 255 255 / 92%);
}

.brand__words {
  display: grid;
  line-height: 1.05;
}
.brand__easy {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.brand__resume {
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.brand__help {
  font-size: 1rem;
  font-style: italic;
  font-weight: 400;
  color: rgb(255 255 255 / 80%);
}

/* nav ---------------------------------------------------------------------- */

.nav {
  display: flex;
  align-items: center;
  gap: 8px 24px;
  flex-wrap: wrap;
}

.nav__list {
  display: flex;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}

.nav__link {
  display: block;
  padding: 9px 13px;
  border-radius: var(--radius);
  color: rgb(255 255 255 / 88%);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.15s ease, color 0.15s ease;
}
.nav__link:hover,
.nav__link:focus-visible {
  background: rgb(255 255 255 / 14%);
  color: #fff;
}
.nav__link.is-current {
  background: rgb(255 255 255 / 20%);
  color: #fff;
}

.nav__phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.15s ease;
}
.nav__phone:hover { background: var(--accent-dark); color: #fff; }
.nav__phone svg { width: 17px; height: 17px; }

.nav-toggle {
  display: none;
  align-items: center;
  gap: 9px;
  padding: 10px 14px;
  border: 1px solid rgb(255 255 255 / 35%);
  border-radius: var(--radius);
  background: rgb(255 255 255 / 10%);
  color: #fff;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
}

.nav-toggle__bars,
.nav-toggle__bars::before,
.nav-toggle__bars::after {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
}
.nav-toggle__bars {
  position: relative;
}
.nav-toggle__bars::before,
.nav-toggle__bars::after {
  content: "";
  position: absolute;
  left: 0;
}
.nav-toggle__bars::before { top: -6px; }
.nav-toggle__bars::after  { top:  6px; }

@media (max-width: 860px) {
  .masthead__inner { min-height: 72px; }
  .nav-toggle { display: inline-flex; }
  .nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    padding-bottom: 16px;
  }
  .nav.is-open { display: flex; }
  .nav__list { flex-direction: column; gap: 2px; }
  .nav__link { padding: 11px 14px; }
  .nav__phone { justify-content: center; margin-top: 6px; }
}

/* ---------------------------------------------------------------- layout -- */

.layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 48px;
  align-items: start;
  padding-block: 44px 64px;
}

.layout--wide { grid-template-columns: minmax(0, 1fr); }

.layout--wide .content { max-width: 78ch; margin-inline: auto; }

@media (max-width: 980px) {
  .layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
    padding-block: 32px 48px;
  }
}

main { flex: 1 0 auto; }

.sidebar { min-width: 0; }

@media (max-width: 980px) {
  .sidebar {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    align-items: start;
  }
  .sidebar .card { margin-bottom: 0; }
}

/* ---------------------------------------------------------------- typography */

.page-title {
  margin: 0 0 16px;
  font-size: clamp(1.75rem, 1.3rem + 1.9vw, 2.6rem);
  line-height: 1.18;
  letter-spacing: -0.02em;
  font-weight: 800;
  color: var(--brand-dark);
  text-wrap: balance;
}
@media (prefers-color-scheme: dark) {
  .page-title { color: var(--text); }
}

.lede {
  margin: 0 0 28px;
  font-size: 1.2rem;
  line-height: 1.55;
  color: var(--text-muted);
  text-wrap: pretty;
}

.content h2 {
  margin: 44px 0 14px;
  font-size: 1.55rem;
  line-height: 1.25;
  letter-spacing: -0.01em;
  font-weight: 700;
  color: var(--brand-dark);
}
@media (prefers-color-scheme: dark) {
  .content h2 { color: var(--text); }
}

.content h3 {
  margin: 32px 0 10px;
  font-size: 1.2rem;
  font-weight: 700;
}

.content p { margin: 0 0 18px; }

.content ul, .content ol { margin: 0 0 20px; padding-left: 1.3em; }
.content li { margin-bottom: 9px; }
.content li::marker { color: var(--brand); }

.content strong { font-weight: 700; }

hr {
  height: 1px;
  border: 0;
  margin: 36px 0;
  background: var(--border);
}

.highlight {
  background: linear-gradient(transparent 82%, rgb(194 65 12 / 28%) 82%);
  font-weight: 600;
  padding-bottom: 1px;
}

address { font-style: normal; }

/* ------------------------------------------------------------------ hero -- */

.hero {
  background: linear-gradient(160deg, var(--brand-tint) 0%, var(--bg) 70%);
  border-bottom: 1px solid var(--border-soft);
}

.hero__inner { padding-block: 56px 48px; }

.hero__eyebrow {
  display: inline-block;
  margin: 0 0 14px;
  padding: 5px 13px;
  border-radius: 999px;
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--brand);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ----------------------------------------------------------------- cards -- */

.card {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 22px 24px;
  margin-bottom: 24px;
}

.card--accent {
  background: var(--brand-tint);
  border-color: transparent;
}

.card__title {
  margin: 0 0 10px;
  font-size: 1.08rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--brand-dark);
}
@media (prefers-color-scheme: dark) {
  .card__title { color: var(--text); }
}

.card__intro {
  margin: 0 0 16px;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.card p { margin: 0 0 14px; font-size: 0.97rem; }

.card__more {
  margin: 14px 0 0;
  font-size: 0.92rem;
  font-weight: 600;
}

/* ---------------------------------------------------------------- quotes -- */

.quote {
  margin: 0 0 20px;
  padding: 0 0 0 18px;
  border-left: 3px solid var(--brand);
}

.quote blockquote {
  margin: 0 0 7px;
  font-size: 1.02rem;
  line-height: 1.6;
  color: var(--text);
}
.quote blockquote::before { content: "\201C"; }
.quote blockquote::after  { content: "\201D"; }

.quote figcaption {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-muted);
}
.quote figcaption::before { content: "\2014\00a0"; }

.quote--sm blockquote { font-size: 0.94rem; line-height: 1.55; }

.quote--feature {
  padding: 24px 26px;
  border-left: 4px solid var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0;
  background: var(--surface);
}
.quote--feature blockquote { font-size: 1.12rem; }

/* --------------------------------------------------------------- buttons -- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border: 0;
  border-radius: var(--radius);
  background: var(--accent);
  color: #fff;
  font: inherit;
  font-size: 1.02rem;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: background-color 0.15s ease, transform 0.1s ease, box-shadow 0.15s ease;
}
.btn:hover {
  background: var(--accent-dark);
  color: #fff;
  box-shadow: var(--shadow-md);
}
.btn:active { transform: translateY(1px); }

.btn--block { width: 100%; }

.btn--secondary {
  background: transparent;
  border: 2px solid var(--brand);
  color: var(--brand);
  box-shadow: none;
}
.btn--secondary:hover {
  background: var(--brand);
  color: #fff;
}

.btn--lg { padding: 17px 34px; font-size: 1.12rem; }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  margin: 0 0 24px;
}

/* ------------------------------------------------------------------ form -- */

.signup {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 28px;
  margin: 0 0 32px;
  box-shadow: var(--shadow-sm);
  scroll-margin-top: 24px;
}

.signup__title {
  margin: 0 0 6px;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--brand-dark);
}
@media (prefers-color-scheme: dark) {
  .signup__title { color: var(--text); }
}

.signup__intro {
  margin: 0 0 22px;
  color: var(--text-muted);
  font-size: 0.98rem;
}

.field { margin-bottom: 18px; }

.field label {
  display: block;
  margin-bottom: 6px;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.field input {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg);
  color: var(--text);
  font: inherit;
  font-size: 1rem;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.field input::placeholder { color: var(--text-muted); opacity: 0.7; }
.field input:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgb(29 92 143 / 16%);
  outline: none;
}

.field--invalid input {
  border-color: #c0392b;
  background: rgb(192 57 43 / 4%);
}
.field--invalid input:focus {
  box-shadow: 0 0 0 3px rgb(192 57 43 / 18%);
}

.field__error {
  display: block;
  margin-top: 6px;
  color: #c0392b;
  font-size: 0.88rem;
  font-weight: 600;
}
@media (prefers-color-scheme: dark) {
  .field__error { color: #ff8b7d; }
}

/* Honeypot: off-screen, never shown, never announced. */
.field--trap {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-note {
  margin: 16px 0 0;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.alert {
  padding: 14px 18px;
  border-radius: var(--radius);
  border-left: 4px solid;
  margin: 0 0 22px;
  font-size: 0.96rem;
}
.alert--error {
  background: rgb(192 57 43 / 8%);
  border-color: #c0392b;
  color: #8f2a1f;
}
.alert--success {
  background: rgb(22 120 78 / 8%);
  border-color: #16784e;
  color: #12603e;
}
@media (prefers-color-scheme: dark) {
  .alert--error   { color: #ffb0a5; }
  .alert--success { color: #7fd8ad; }
}
.alert p { margin: 0; }
.alert ul { margin: 8px 0 0; padding-left: 1.2em; }

/* ------------------------------------------------------------- CTA panel -- */

.cta {
  margin: 40px 0;
  padding: 32px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--brand-dark), var(--brand));
  color: #fff;
  text-align: center;
  box-shadow: var(--shadow-md);
}

.cta h2 {
  margin: 0 0 10px !important;
  color: #fff !important;
  font-size: 1.5rem;
}

.cta p {
  margin: 0 0 22px;
  color: rgb(255 255 255 / 88%);
  font-size: 1.04rem;
}

.cta__phone {
  display: inline-block;
  font-size: clamp(1.7rem, 1.2rem + 2.2vw, 2.3rem);
  font-weight: 800;
  letter-spacing: -0.01em;
  color: #fff;
  text-decoration: none;
}
.cta__phone:hover { color: #fff; text-decoration: underline; }

.cta__note {
  margin: 14px 0 0 !important;
  font-size: 0.9rem !important;
  color: rgb(255 255 255 / 75%) !important;
}

.cta a:not(.cta__phone):not(.btn) {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.cta a:not(.cta__phone):not(.btn):hover {
  text-decoration-thickness: 2px;
}

/* --------------------------------------------------------------- feature -- */

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 20px;
  margin: 0 0 32px;
  padding: 0;
  list-style: none;
}

.features li {
  margin: 0;
  padding: 22px 22px 24px;
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
}

.features h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--brand-dark);
}
@media (prefers-color-scheme: dark) {
  .features h3 { color: var(--text); }
}

.features p { margin: 0; font-size: 0.96rem; color: var(--text-muted); }

.features__icon {
  width: 34px;
  height: 34px;
  margin-bottom: 12px;
  color: var(--accent);
}

/* ------------------------------------------------------------------- faq -- */

.faq-index {
  margin: 0 0 36px;
  padding: 20px 24px 20px 42px;
  background: var(--surface);
  border-radius: var(--radius-lg);
}
.faq-index li { margin-bottom: 8px; }

.faq-item {
  padding: 24px 0;
  border-top: 1px solid var(--border-soft);
  scroll-margin-top: 20px;
}
.faq-item:last-child { border-bottom: 1px solid var(--border-soft); }

.faq-item h2 {
  margin: 0 0 10px !important;
  font-size: 1.18rem !important;
}

.faq-item p:last-child { margin-bottom: 0; }

/* ----------------------------------------------------------------- table -- */

.data-table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 24px;
  font-size: 0.97rem;
}
.data-table th,
.data-table td {
  padding: 11px 14px;
  text-align: left;
  border-bottom: 1px solid var(--border-soft);
}
.data-table th { font-weight: 700; width: 34%; }

/* ---------------------------------------------------------------- footer -- */

.footer {
  margin-top: auto;
  background: var(--brand-darker);
  color: rgb(255 255 255 / 80%);
  padding-top: 44px;
}
@media (prefers-color-scheme: dark) {
  .footer {
    background: #071118;
    border-top: 1px solid var(--border);
  }
}

.footer a { color: #fff; text-decoration: none; }
.footer a:hover { color: #fff; text-decoration: underline; }

.footer__inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 36px;
}

@media (max-width: 720px) {
  .footer__inner { grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer__brand { grid-column: 1 / -1; }
}

.footer__name {
  margin: 0 0 8px;
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
}

.footer__address { margin: 0 0 12px; font-size: 0.94rem; line-height: 1.6; }

.footer__brand p { margin: 0 0 6px; font-size: 0.94rem; }

.footer__heading {
  margin: 0 0 12px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: rgb(255 255 255 / 55%);
}

.footer__nav ul { margin: 0; padding: 0; list-style: none; }
.footer__nav li { margin-bottom: 9px; font-size: 0.94rem; }

.footer__legal {
  padding-block: 18px;
  border-top: 1px solid rgb(255 255 255 / 12%);
}
.footer__legal p { margin: 0; font-size: 0.86rem; color: rgb(255 255 255 / 60%); }

/* Sticky footer */
body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* ----------------------------------------------------------------- print -- */

@media print {
  .masthead, .footer, .sidebar, .nav-toggle, .skip-link, .cta, .signup { display: none !important; }
  .layout { display: block; padding: 0; }
  body { color: #000; background: #fff; font-size: 11pt; }
  a { color: #000; text-decoration: underline; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 9pt; }
}
