/* ReplyRight — Direction A "Job-Site Bold"
   Navy #0E1B33 · Safety orange #FF6A13 · Burnt orange #B84300 · White · Light orange #FFF1E8
   Archivo Black (headlines) + Barlow (body), self-hosted. */

@font-face { font-family: "Archivo Black"; src: url("../fonts/archivo-black.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("../fonts/barlow-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("../fonts/barlow-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("../fonts/barlow-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("../fonts/barlow-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("../fonts/barlow-800.woff2") format("woff2"); font-weight: 800; font-style: normal; font-display: swap; }

:root {
  --navy: #0E1B33;
  --navy-2: #13254A;
  --navy-3: #1C3260;
  --orange: #FF6A13;
  --orange-dk: #B84300;
  --orange-tint: #FFF1E8;
  --white: #FFFFFF;
  --ink: #0E1B33;
  --muted: #46536B;
  --on-navy: #C9D3E6;
  --line: #D9DEE8;
  --danger: #B3261E;
  --font-head: "Archivo Black", "Arial Black", Impact, sans-serif;
  --font-body: "Barlow", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --max: 1160px;
  --radius: 14px;
  --radius-sm: 8px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--orange-dk); text-underline-offset: 3px; }
a:hover { color: var(--orange); }
h1, h2, h3, p { margin: 0; }
h1, h2 { font-family: var(--font-head); font-weight: 400; line-height: 1.02; letter-spacing: -0.01em; }
h3 { font-family: var(--font-body); font-weight: 800; line-height: 1.25; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }

.skip {
  position: absolute; left: 0.75rem; top: -4rem; z-index: 100;
  background: var(--orange); color: var(--navy); font-weight: 800;
  padding: 0.6rem 0.9rem; border-radius: var(--radius-sm); text-decoration: none;
}
.skip:focus { top: 0.75rem; }

.wrap { width: min(100% - 2.5rem, var(--max)); margin-inline: auto; }
.wrap-narrow { width: min(100% - 2.5rem, 820px); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  font-family: var(--font-body); font-weight: 800; font-size: 0.95rem;
  text-transform: uppercase; letter-spacing: 0.04em; line-height: 1.1;
  text-decoration: none; text-align: center;
  padding: 0.8rem 1.2rem; border-radius: 6px; border: 3px solid transparent;
  cursor: pointer; transition: transform .12s ease, box-shadow .12s ease, background .12s ease, color .12s ease;
}
.btn-primary { background: var(--orange); color: var(--navy); border-color: var(--orange); box-shadow: 0 5px 0 var(--orange-dk); }
.btn-primary:hover { color: var(--navy); transform: translateY(2px); box-shadow: 0 3px 0 var(--orange-dk); }
.btn-primary:active { transform: translateY(5px); box-shadow: 0 0 0 var(--orange-dk); }
.btn-primary:disabled { opacity: .6; cursor: wait; transform: none; }
.btn-secondary { background: transparent; color: var(--white); border-color: var(--white); }
.btn-secondary:hover { background: var(--white); color: var(--navy); }
.btn-lg { font-size: 1rem; padding: 1.05rem 1.4rem; }
.btn-full { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--navy); border-bottom: 1px solid rgba(255,255,255,.08);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1.25rem; min-height: 76px; }
.logo { display: inline-flex; align-items: center; flex: none; }
.logo img { height: 34px; width: auto; }
.nav { display: flex; gap: 1.9rem; }
.nav a {
  color: var(--on-navy); text-decoration: none; font-weight: 700; font-size: .9rem;
  text-transform: uppercase; letter-spacing: .07em;
}
.nav a:hover { color: var(--orange); }
.header-cta { font-size: .85rem; padding: .65rem 1rem; box-shadow: 0 4px 0 var(--orange-dk); }
.header-plain .nav { margin-left: auto; }

/* ---------- Hero ---------- */
.hero {
  position: relative; color: var(--white); overflow: hidden;
  padding: 3.5rem 0 5.5rem;
  background:
    radial-gradient(900px 520px at 85% 40%, rgba(255,106,19,.17), transparent 60%),
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px) 0 0 / 48px 48px,
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px) 0 0 / 48px 48px,
    var(--navy);
}
.hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 20px;
  background: repeating-linear-gradient(-45deg, var(--orange) 0 20px, var(--navy) 20px 40px);
}
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 3.5rem; align-items: center; }
.hero-grid > * { min-width: 0; }
.eyebrow {
  display: inline-block; background: var(--orange); color: var(--navy);
  font-weight: 800; text-transform: uppercase; letter-spacing: .08em; font-size: .85rem; line-height: 1.3;
  padding: .45rem .75rem; border-radius: 4px;
}
.hero h1 { font-size: clamp(2.6rem, 5.2vw, 4rem); text-transform: uppercase; line-height: .98; margin: 1.25rem 0 1.25rem; }
.hero h1 em { font-style: normal; color: var(--orange); }
.lede { font-size: 1.18rem; line-height: 1.55; color: var(--on-navy); max-width: 36rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 1.75rem; }
.hero-facts {
  list-style: none; margin: 1.6rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: .4rem 1.4rem;
  font-weight: 700; font-size: .92rem; text-transform: uppercase; letter-spacing: .05em;
}
.hero-facts li::before { content: "■"; color: var(--orange); margin-right: .5rem; font-size: .7rem; vertical-align: 2px; }

.hero-visual { position: relative; padding-top: 1.5rem; }
.hero-sticker {
  position: absolute; right: -.75rem; top: -.4rem; z-index: 2; transform: rotate(6deg);
  background: var(--orange); color: var(--navy); font-family: var(--font-head); font-size: .95rem;
  text-transform: uppercase; padding: .6rem .9rem; border-radius: 6px; border: 3px solid var(--navy); line-height: 1.1;
}
.review-card {
  background: var(--white); color: #1F2328; border-radius: var(--radius); padding: 1.4rem 1.4rem 1.3rem;
  border: 3px solid var(--white); box-shadow: 14px 14px 0 var(--orange);
}
.review-head { display: flex; align-items: center; gap: .75rem; }
.review-avatar { width: 40px; height: 40px; border-radius: 50%; background: #5B6B8C; color: #fff; display: grid; place-items: center; font-weight: 700; flex: none; }
.review-who { min-width: 0; line-height: 1.3; }
.review-who b { display: block; font-size: .95rem; font-weight: 700; }
.review-who small { display: block; font-size: .8rem; color: #6B7280; }
.review-tag {
  margin-left: auto; flex: none; background: var(--navy); color: #fff; font-size: .7rem; font-weight: 800;
  letter-spacing: .08em; text-transform: uppercase; padding: .3rem .55rem; border-radius: 6px;
}
.stars { display: inline-flex; gap: 2px; color: #FBBC04; }
.stars svg { width: 18px; height: 18px; }
.stars path { fill: currentColor; }
.stars .off path { fill: #D5D9DE; }
.review-rating { display: flex; align-items: center; gap: .6rem; margin: .9rem 0 .45rem; }
.review-when { font-size: .82rem; color: #6B7280; }
.review-quote { font-size: .98rem; line-height: 1.5; }
.review-reply { margin-top: 1rem; padding: .85rem 1rem; background: var(--orange-tint); border-left: 5px solid var(--orange); border-radius: 0 10px 10px 0; }
.review-reply p { font-size: .95rem; line-height: 1.5; }
.review-reply-head { display: flex; justify-content: space-between; gap: .75rem; font-size: .82rem !important; font-weight: 700; margin-bottom: .3rem; }
.review-by { color: var(--orange-dk); text-transform: uppercase; letter-spacing: .08em; font-size: .7rem; font-weight: 800; align-self: center; }
.review-flag {
  display: inline-flex; flex-wrap: wrap; align-items: center; gap: .4rem .75rem; margin-top: 1.9rem;
  padding: .7rem 1rem; background: var(--navy-2); border: 2px dashed var(--orange); border-radius: 10px;
  font-weight: 800; font-size: .85rem; text-transform: uppercase; letter-spacing: .04em; color: #fff;
}
.review-flag .stars .off path { fill: #3A4C70; }

/* ---------- Problem (orange band) ---------- */
.problem { background: var(--orange); color: var(--navy); padding: 4.5rem 0; }
.problem-inner { display: grid; grid-template-columns: 1.1fr 1fr; gap: 1.25rem 3.5rem; align-items: start; }
.problem h2 { grid-row: span 2; font-size: clamp(2rem, 3.6vw, 3rem); text-transform: uppercase; }
.problem p { font-size: 1.15rem; font-weight: 600; line-height: 1.55; }

/* ---------- Sections ---------- */
.section { padding: 5.5rem 0; }
.band { background: var(--orange-tint); }
.section-kicker {
  display: inline-flex; align-items: center; gap: .6rem;
  font-weight: 800; text-transform: uppercase; letter-spacing: .12em; font-size: .85rem; color: var(--orange-dk);
}
.section-kicker::before { content: ""; width: 28px; height: 4px; background: var(--orange); }
.section h2 { font-size: clamp(2rem, 3.8vw, 3.1rem); margin-top: .7rem; text-transform: uppercase; }
.section-intro { margin-top: 1rem; font-size: 1.15rem; color: var(--muted); max-width: 40rem; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 2.75rem; counter-reset: s; }
.step {
  background: var(--white); border: 3px solid var(--navy); border-radius: var(--radius);
  padding: 1.6rem 1.5rem 1.7rem; box-shadow: 8px 8px 0 var(--navy);
}
.step-num { display: inline-block; font-family: var(--font-head); font-size: 2.6rem; line-height: 1; color: var(--orange); }
.step h3 { font-size: 1.25rem; margin: .9rem 0 .5rem; }
.step p { color: var(--muted); }
.note {
  margin-top: 2.25rem; padding: 1rem 1.25rem; background: var(--navy); color: var(--white);
  border-radius: 10px; font-weight: 600; border-left: 6px solid var(--orange);
}

.benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 2.75rem; }
.benefit { border-top: 6px solid var(--orange); padding-top: 1.4rem; }
.benefit-icon { width: 52px; height: 52px; color: var(--white); background: var(--navy); border-radius: 12px; padding: 6px; }
.benefit-icon rect { display: none; }
.benefit-icon * { stroke-width: 2.2; }
.benefit h3 { font-size: 1.25rem; margin: 1rem 0 .5rem; }
.benefit p { color: var(--muted); }

/* ---------- Pricing (navy) ---------- */
#pricing { background: var(--navy); color: var(--white); position: relative; }
#pricing .section-kicker { color: var(--orange); }
#pricing .section-intro { color: var(--on-navy); }
.pricing-wrap { margin-top: 2.75rem; display: flex; }
.price-card {
  width: min(100%, 520px); background: var(--white); color: var(--ink);
  border-radius: var(--radius); padding: 2rem 2rem 2.1rem; box-shadow: 14px 14px 0 var(--orange);
}
.price-card h3 { font-family: var(--font-head); font-weight: 400; text-transform: uppercase; font-size: 1.15rem; letter-spacing: .02em; }
.price { display: flex; align-items: baseline; gap: .5rem; margin: .6rem 0 .8rem; }
.price-amt { font-family: var(--font-head); font-size: 4.5rem; line-height: 1; color: var(--navy); }
.price-per { font-weight: 800; font-size: 1.1rem; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.price-fine { font-size: .92rem; color: var(--muted); line-height: 1.5; }
.price-list { list-style: none; padding: 0; margin: 1.4rem 0 1.8rem; display: grid; gap: .65rem; }
.price-list li { position: relative; padding-left: 2rem; font-weight: 600; }
.price-list li::before {
  content: ""; position: absolute; left: 0; top: .2rem; width: 1.25rem; height: 1.25rem; border-radius: 4px;
  background: var(--orange) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3.2 3L15 6.5' fill='none' stroke='%230E1B33' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat;
}

/* ---------- FAQ ---------- */
.faq-list { margin-top: 2.5rem; display: grid; gap: .9rem; max-width: 52rem; }
.faq-list details { border: 3px solid var(--navy); border-radius: 10px; background: var(--white); }
.faq-list details[open] { box-shadow: 6px 6px 0 var(--orange); }
.faq-list summary {
  list-style: none; cursor: pointer; padding: 1.05rem 3.25rem 1.05rem 1.25rem; position: relative;
  font-weight: 800; font-size: 1.1rem;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+"; position: absolute; right: 1rem; top: 50%; transform: translateY(-50%);
  width: 1.8rem; height: 1.8rem; display: grid; place-items: center; border-radius: 6px;
  background: var(--orange); color: var(--navy); font-family: var(--font-head); font-size: 1.1rem; line-height: 1;
}
.faq-list details[open] summary::after { content: "–"; }
.faq-a { padding: 0 1.25rem 1.2rem; color: var(--muted); }

/* ---------- Forms ---------- */
.form-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 3.5rem; align-items: start; }
.form-grid > * { min-width: 0; }
.form-copy p:not(.section-kicker) { margin-top: 1rem; font-size: 1.12rem; color: var(--muted); }
.form-copy a { font-weight: 700; }
.form-card {
  background: var(--white); border: 3px solid var(--navy); border-radius: var(--radius);
  padding: 1.75rem; box-shadow: 12px 12px 0 var(--navy);
}
.form-status { display: none; margin: 0 0 1rem; padding: .8rem .95rem; border-radius: var(--radius-sm); font-size: .95rem; font-weight: 600; }
.form-status.is-visible { display: block; }
.form-status.is-ok { background: #E6F4EA; color: #1E5E33; border-left: 5px solid #2E7D46; }
.form-status.is-error { background: #FBE9E7; color: var(--danger); border-left: 5px solid var(--danger); }
.field { margin: 0 0 1.1rem; }
fieldset.field { border: 0; padding: 0; min-width: 0; }
.field label, .field legend { display: block; font-weight: 800; font-size: .95rem; margin-bottom: .4rem; padding: 0; }
.req { color: var(--orange-dk); }
.field input[type=text], .field input[type=email], .field input[type=url], .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
  padding: .8rem .9rem; border: 2px solid #AEB7C7; border-radius: var(--radius-sm); background: #fff;
}
.field textarea { resize: vertical; min-height: 96px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px rgba(255,106,19,.25); }
.field-hint { margin-top: .35rem; font-size: .88rem; color: var(--muted); }
.choices .field-hint { margin: -.1rem 0 .6rem; }
.choice-list { display: flex; flex-wrap: wrap; gap: .6rem; }
.field .choice {
  display: inline-flex !important; align-items: center; gap: .55rem; margin: 0 !important;
  padding: .65rem 1rem; border: 2px solid #AEB7C7; border-radius: var(--radius-sm);
  font-weight: 700 !important; cursor: pointer; background: #fff;
}
.choice:has(input:checked) { border-color: var(--orange); background: var(--orange-tint); }
.choice input { accent-color: var(--orange); width: 1.1rem; height: 1.1rem; margin: 0; }
.form-note { margin-top: .9rem; font-size: .88rem; color: var(--muted); text-align: center; }
.hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: var(--on-navy); padding: 3rem 0 2.5rem; position: relative; }
.site-footer::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 10px;
  background: repeating-linear-gradient(-45deg, var(--orange) 0 12px, var(--navy) 12px 24px);
}
.footer-grid { display: grid; grid-template-columns: auto 1fr auto; gap: 1.25rem 3rem; align-items: start; }
.footer-brand img { height: 28px; width: auto; }
.footer-meta { display: flex; flex-direction: column; gap: .25rem; font-size: .95rem; }
.footer-meta span:first-child { color: var(--white); font-weight: 700; }
.footer-meta a { color: var(--orange); font-weight: 700; }
.footer-address { font-size: .88rem; }
.legal { font-size: .88rem; }

/* ---------- Welcome page ---------- */
.welcome-hero { padding: 3.5rem 0 4.5rem; }
.welcome-hero h1 { font-size: clamp(2.5rem, 5vw, 3.75rem); }
.flow { list-style: none; padding: 0; margin: 3.25rem 0 0; position: relative; }
.flow::before { content: ""; position: absolute; left: 11px; top: 8px; bottom: 8px; width: 4px; background: var(--navy); border-radius: 2px; }
.flow-step { position: relative; padding: 0 0 2.75rem 3rem; }
.flow-step::before {
  content: ""; position: absolute; left: 0; top: 2px; width: 26px; height: 26px; border-radius: 6px;
  background: var(--orange); border: 4px solid var(--navy);
}
.flow-when {
  display: inline-block; background: var(--navy); color: var(--white); font-weight: 800; font-size: .8rem;
  text-transform: uppercase; letter-spacing: .1em; padding: .3rem .6rem; border-radius: 4px;
}
.flow-step h2 { font-family: var(--font-body); font-weight: 800; font-size: 1.5rem; line-height: 1.25; letter-spacing: 0; margin: .7rem 0 .55rem; }
.flow-step > p { color: var(--muted); }
.flow-step > .flow-when { color: var(--white); }
.howto { margin: 1rem 0 0; padding: 1.1rem 1.25rem 1.1rem 2.6rem; background: var(--orange-tint); border-radius: 10px; border-left: 5px solid var(--orange); font-weight: 600; }
.howto li { padding: .15rem 0; }
.howto li::marker { font-weight: 800; color: var(--orange-dk); }
.flow-note { margin-top: .9rem; font-weight: 700; color: var(--navy) !important; }
.tone-form { margin-top: 1.4rem; }
.privacy-note { margin: .5rem 0 4.5rem; padding: 1.1rem 1.25rem; background: var(--navy); color: var(--on-navy); border-radius: 10px; font-weight: 500; }
.privacy-note a { color: var(--orange); font-weight: 700; }


/* Desktop two-column layouts for pricing + FAQ */
@media (min-width: 901px) {
  #pricing .wrap, #faq .wrap { display: grid; grid-template-columns: 1fr 1.1fr; grid-template-rows: auto auto 1fr; column-gap: 4rem; align-items: start; }
  #pricing .wrap > :not(.pricing-wrap), #faq .wrap > :not(.faq-list) { grid-column: 1; }
  #pricing .section-kicker, #faq .section-kicker { justify-self: start; }
  .pricing-wrap { grid-column: 2; grid-row: 1 / span 3; margin-top: 0; justify-content: flex-end; }
  .faq-list { grid-column: 2; grid-row: 1 / span 3; margin-top: 0; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .nav { gap: 1.2rem; }
  .nav a { font-size: .82rem; }
}
@media (max-width: 900px) {
  .nav { display: none; }
  .header-plain .nav { display: flex; }
  .hero-grid, .form-grid, .problem-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .problem-inner { gap: 1rem; }
  .problem h2 { grid-row: auto; margin-bottom: .5rem; }
  .steps, .benefits { grid-template-columns: 1fr; }
  .hero-visual { max-width: 560px; }
}
@media (max-width: 560px) {
  body { font-size: 1rem; }
  .wrap, .wrap-narrow { width: min(100% - 2.5rem, var(--max)); }
  .site-header .wrap { min-height: 64px; gap: .75rem; }
  .logo img { height: 25px; }
  .header-cta { font-size: .72rem; padding: .55rem .7rem; box-shadow: 0 3px 0 var(--orange-dk); }
  .header-plain .nav { gap: .9rem; }
  .header-plain .nav a { font-size: .75rem; }
  .hero { padding: 2rem 0 4.5rem; }
  .hero h1 { font-size: 2.7rem; margin: 1rem 0; }
  .eyebrow { font-size: .78rem; }
  .lede { font-size: 1.06rem; }
  .hero-cta .btn { width: 100%; }
  .hero-visual { padding-top: 2rem; }
  .hero-sticker { right: .25rem; top: .4rem; font-size: .8rem; }
  .review-card { padding: 1.1rem; box-shadow: 8px 8px 0 var(--orange); }
  .review-who small { display: none; }
  .review-reply-head { flex-direction: column; gap: .1rem; }
  .review-by { align-self: flex-start; }
  .review-flag { font-size: .78rem; }
  .problem { padding: 3.25rem 0; }
  .section { padding: 4rem 0; }
  .step { box-shadow: 6px 6px 0 var(--navy); }
  .price-card { padding: 1.5rem; box-shadow: 8px 8px 0 var(--orange); }
  .price-amt { font-size: 3.75rem; }
  .form-card { padding: 1.25rem; box-shadow: 7px 7px 0 var(--navy); }
  .footer-grid { grid-template-columns: 1fr; }
  .flow-step { padding-left: 2.6rem; }
  .flow-step h2 { font-size: 1.3rem; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn { transition: none; } }
