/* ==========================================================================
   K2 Renew landowner ad pages, "b" style — /ad-legacy-b, /ad-mission-b,
   /ad-proof-b
   --------------------------------------------------------------------------
   The same three pages as ad-page.css serves, in a second look: warm paper
   and cream rather than a dark photograph, a serif for every heading, forest
   green as the primary and a brick red for the one button. A style test for
   the same three ads — the copy, the form, the FAQ and the contact details
   are the generator's and are shared with the originals, so the only thing
   that differs between /ad-legacy and /ad-legacy-b is this file and the
   template that references it.

   Ported from the design file "K2 Renew Landing Page.html" (September 2026)
   with three changes: the hosted Google Fonts link became the vendored
   fonts.css (no third-party origins, same rule as every other page here);
   the design's preview-only variant switcher is gone, since a page ships one
   variant; and the rules the shared form script depends on — [hidden], the
   honeypot, the thank-you panel — are carried over from ad-page.css.

   Class names are the design file's, not the design system's (.k2-btn etc.),
   because the two are different systems: this one is set in Source Serif 4
   and Public Sans on a cream ground, and giving its button the name of the
   orange one would only invite the wrong stylesheet onto the wrong page.
   ========================================================================== */

@import url("/landing-pages/shared/css/fonts.css");

:root {
  --cream: #f6f1e7;
  --cream-2: #efe7d6;
  --paper: #fbf7ee;
  --ink: #1e2a24; /* deep forest-ink */
  --ink-2: #3b4842;
  --muted: #6b7168;
  --rule: #d9cfb8;
  --forest: #204734; /* primary */
  --forest-2: #163828;
  --brick: #a8412b; /* warm accent, the button */
  --brick-2: #8c3421;
  --gold: #b98328; /* subtle highlight */
  --wheat: #e9c46a; /* check marks and eyebrows on the forest ground */
  --shadow: 0 1px 0 rgba(30, 42, 36, 0.04), 0 8px 24px rgba(30, 42, 36, 0.06);
  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --sans: "Public Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* ==========================================================================
   Base
   ========================================================================== */

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 19px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

a {
  color: var(--forest);
  text-decoration: underline;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--brick);
}

h1,
h2,
h3,
h4 {
  font-family: var(--serif);
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.01em;
  line-height: 1.15;
  margin: 0 0 0.5em 0;
}

p {
  margin: 0;
}

img {
  max-width: 100%;
}

/* Load-bearing, not tidiness: `hidden` is a UA `display: none`, and any class
   rule that sets display outranks it. landing-form.js toggles `hidden` on the
   form and on the thank-you panel, and this is what makes that stick. */
[hidden] {
  display: none !important;
}

::selection {
  background: var(--cream-2);
  color: var(--forest-2);
}

:where(button, a, input, textarea, summary, [tabindex]):focus-visible {
  outline: 2px solid var(--forest);
  outline-offset: 3px;
}

/* Every CTA is a jump link to the form at the foot of the page; keyboard and
   screen-reader users get the same jump, one tab in. */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: var(--ink);
  color: var(--cream);
  padding: 12px 20px;
  border-radius: 0 0 4px 0;
  font-weight: 600;
  text-decoration: none;
}

.skip-link:focus {
  left: 0;
  color: var(--cream);
}

.wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 28px;
}

.wrap-narrow {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 28px;
}

/* ==========================================================================
   Header
   ========================================================================== */

.site-header {
  background: var(--paper);
  border-bottom: 1px solid var(--rule);
  padding: 12px 0;
  position: sticky;
  top: 0;
  z-index: 50;
}

.site-header .row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo img {
  height: 60px;
  width: auto;
  display: block;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 22px;
}

.header-phone {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--sans);
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  font-size: 17px;
}

.header-phone:hover {
  color: var(--forest);
}

.header-phone .ph-label {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
  display: block;
  line-height: 1.2;
}

.header-phone .ph-num {
  display: block;
  line-height: 1.2;
}

.header-phone svg {
  color: var(--forest);
  flex: 0 0 auto;
}

/* ==========================================================================
   The button
   ========================================================================== */

.btn {
  display: inline-block;
  background: var(--brick);
  color: #fff8ec;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 17px;
  padding: 14px 22px;
  border: none;
  border-radius: 4px;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s;
  line-height: 1.2;
}

.btn:hover {
  background: var(--brick-2);
  color: #fff8ec;
}

.btn:active {
  background: var(--brick-2);
  transform: translateY(1px);
}

.btn[disabled] {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.btn-lg {
  padding: 18px 28px;
  font-size: 18px;
}

.btn-sm {
  padding: 10px 16px;
  font-size: 15px;
}

/* ==========================================================================
   Hero — the one section that differs per page, by photograph and copy only
   ========================================================================== */

.hero {
  background: var(--paper);
  padding: 72px 0 84px;
  border-bottom: 1px solid var(--rule);
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 64px;
  align-items: center;
}

.hero h1 {
  font-size: 58px;
  line-height: 1.05;
  margin-bottom: 24px;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

.hero h1 em {
  font-style: italic;
  color: var(--forest);
  font-weight: 500;
}

.hero .sub {
  font-size: 20px;
  color: var(--ink-2);
  line-height: 1.55;
  max-width: 560px;
  margin-bottom: 32px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}

.hero-phone {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink-2);
  text-decoration: none;
  font-weight: 500;
}

.hero-phone svg {
  color: var(--forest);
}

.hero-phone .num {
  color: var(--ink);
  font-weight: 600;
}

.hero-phone:hover .num {
  color: var(--brick);
}

.hero-image {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  box-shadow: var(--shadow);
  background: var(--cream-2);
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ==========================================================================
   Trust bar
   ========================================================================== */

.trust-bar {
  background: var(--forest);
  color: var(--cream-2);
  padding: 22px 0;
}

.trust-bar .row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  text-align: center;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 17px;
}

.trust-bar .cell {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.trust-bar svg {
  color: var(--wheat);
  flex: 0 0 auto;
}

/* ==========================================================================
   Sections
   ========================================================================== */

section.pad {
  padding: 96px 0;
}

.eyebrow {
  display: inline-block;
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brick);
  font-weight: 600;
  margin-bottom: 18px;
}

.section-title {
  font-size: 42px;
  line-height: 1.1;
  max-width: 22ch;
  margin-bottom: 20px;
}

.section-title em {
  font-style: italic;
}

.section-title em.is {
  color: var(--forest);
}

.section-title em.isnt {
  color: var(--brick);
}

.section-lede {
  font-size: 20px;
  color: var(--ink-2);
  max-width: 62ch;
  margin: 0;
}

/* How it works */
.how {
  background: var(--cream);
}

.how-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 56px;
}

.how-step {
  background: var(--paper);
  border: 1px solid var(--rule);
  padding: 34px 30px 32px;
  border-radius: 4px;
  position: relative;
}

.how-step .num {
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 600;
  color: var(--brick);
  letter-spacing: 0.12em;
  margin-bottom: 14px;
  display: block;
}

.how-step h3 {
  font-size: 24px;
  margin-bottom: 12px;
}

.how-step p {
  margin: 0;
  color: var(--ink-2);
  font-size: 17px;
  line-height: 1.6;
}

/* Why K2 */
.why {
  background: var(--paper);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 44px 56px;
  margin-top: 48px;
}

.why-point h3 {
  font-size: 24px;
  margin-bottom: 10px;
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.why-point h3::before {
  content: "";
  width: 24px;
  height: 2px;
  background: var(--brick);
  display: inline-block;
  transform: translateY(-6px);
  flex: 0 0 auto;
}

.why-point p {
  margin: 0;
  color: var(--ink-2);
  font-size: 17.5px;
  line-height: 1.6;
  padding-left: 36px;
}

/* This is / this isn't */
.compare {
  background: var(--cream);
}

.compare-table {
  margin-top: 48px;
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
}

.compare-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 20px;
  border-bottom: 1px solid var(--rule);
}

.compare-header > div {
  padding: 18px 24px;
}

.compare-header .is {
  color: var(--forest);
}

.compare-header .isnt {
  color: var(--brick);
  border-left: 1px solid var(--rule);
}

.compare-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-bottom: 1px solid var(--rule);
}

.compare-row:last-child {
  border-bottom: none;
}

.compare-row > div {
  padding: 22px 24px;
  font-size: 18px;
  line-height: 1.55;
}

.compare-row .isnt {
  border-left: 1px solid var(--rule);
  color: var(--ink-2);
}

.compare-row .is strong,
.compare-row .isnt strong {
  font-weight: 600;
  color: var(--ink);
}

.check,
.cross {
  display: inline-block;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  margin-right: 10px;
  vertical-align: -3px;
}

.check {
  background: var(--forest);
  position: relative;
}

.check::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 8px;
  width: 4px;
  height: 8px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.cross {
  background: transparent;
  border: 2px solid var(--brick);
  position: relative;
}

.cross::before,
.cross::after {
  content: "";
  position: absolute;
  left: 3px;
  top: 6px;
  width: 8px;
  height: 2px;
  background: var(--brick);
}

.cross::before {
  transform: rotate(45deg);
}

.cross::after {
  transform: rotate(-45deg);
}

/* Testimonials — the markup is written and returns nothing until there are
   real, permissioned quotes (see renderTestimonials in the generator). */
.proof {
  background: var(--paper);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 52px;
}

.quote-card {
  background: var(--cream);
  border: 1px solid var(--rule);
  padding: 30px 28px;
  border-radius: 4px;
  margin: 0;
}

.quote-card p {
  font-family: var(--serif);
  font-size: 19px;
  line-height: 1.5;
  color: var(--ink);
  margin: 0 0 20px 0;
  font-style: italic;
}

.quote-card p::before {
  content: "\201C";
  margin-right: 2px;
}

.quote-card p::after {
  content: "\201D";
}

.quote-card figcaption {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-2);
  letter-spacing: 0.02em;
}

/* Mission */
.mission {
  background: var(--forest);
  color: #f0e8d6;
  padding: 0;
  overflow: hidden;
}

.mission-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  align-items: stretch;
  min-height: 460px;
}

.mission-copy {
  padding: 88px 56px 88px 0;
}

.mission-copy .wrap-inner {
  max-width: 500px;
  margin-left: auto;
  padding-right: 24px;
  padding-left: 28px;
}

.mission h2 {
  color: #fff8ec;
  font-size: 40px;
  line-height: 1.1;
  margin-bottom: 22px;
}

.mission .eyebrow {
  color: var(--wheat);
}

.mission p {
  font-size: 19px;
  color: #e7dec9;
  line-height: 1.6;
  margin: 0;
}

.mission-image {
  position: relative;
  min-height: 460px;
  background: #0f2119;
}

.mission-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* FAQ */
.faq {
  background: var(--cream);
}

.faq-list {
  margin-top: 48px;
  border-top: 1px solid var(--rule);
}

.faq-item {
  border-bottom: 1px solid var(--rule);
}

.faq-item summary {
  list-style: none;
  padding: 24px 8px 24px 0;
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-family: var(--sans);
  font-weight: 400;
  font-size: 30px;
  color: var(--forest);
  line-height: 1;
  flex: 0 0 auto;
}

.faq-item[open] summary::after {
  content: "\2013";
}

.faq-item .answer {
  padding: 0 8px 24px 0;
  font-size: 18px;
  color: var(--ink-2);
  line-height: 1.6;
  max-width: 68ch;
}

/* ==========================================================================
   Final CTA and the form
   ========================================================================== */

.final {
  background: var(--paper);
  padding: 100px 0;
  border-top: 1px solid var(--rule);
}

.final-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: start;
}

.final h2 {
  font-size: 46px;
  line-height: 1.05;
  margin-bottom: 16px;
}

.final .lede {
  font-size: 20px;
  color: var(--ink-2);
  line-height: 1.55;
  margin-bottom: 28px;
  max-width: 42ch;
}

.final-phone {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 22px 24px;
  background: var(--cream);
  border: 1px solid var(--rule);
  border-radius: 4px;
  text-decoration: none;
  color: var(--ink);
  margin-top: 12px;
  width: fit-content;
}

.final-phone:hover {
  border-color: var(--forest);
  color: var(--ink);
}

.final-phone .fp-icon {
  width: 44px;
  height: 44px;
  background: var(--forest);
  color: #fff8ec;
  display: grid;
  place-items: center;
  border-radius: 50%;
  flex: 0 0 auto;
}

.final-phone .fp-label {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
  display: block;
}

.final-phone .fp-num {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 600;
  color: var(--ink);
  display: block;
  line-height: 1.1;
}

.lead-form {
  background: var(--cream);
  padding: 36px 34px;
  border: 1px solid var(--rule);
  border-radius: 4px;
  position: relative;
}

.lead-form h3 {
  font-size: 24px;
  margin-bottom: 6px;
}

.lead-form .form-sub {
  color: var(--ink-2);
  font-size: 16px;
  margin: 0 0 24px 0;
}

.reqnote {
  font-size: 13px;
  color: var(--muted);
  margin: 0 0 16px 0;
}

.req {
  color: var(--brick);
  margin-left: 0.15em;
}

.field {
  margin-bottom: 16px;
}

.field label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 6px;
  letter-spacing: 0.01em;
}

.field label .opt {
  font-weight: 400;
  color: var(--muted);
  font-size: 13px;
  margin-left: 4px;
}

.field .help {
  display: block;
  font-size: 13px;
  color: var(--muted);
  margin-top: 6px;
}

.field input,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  font-family: var(--sans);
  font-size: 17px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid #c9bb98;
  border-radius: 3px;
  outline: none;
  transition:
    border-color 0.15s,
    box-shadow 0.15s;
  -webkit-appearance: none;
  appearance: none;
}

.field input::placeholder,
.field textarea::placeholder {
  color: var(--muted);
}

.field input:focus,
.field textarea:focus {
  border-color: var(--forest);
  box-shadow: 0 0 0 3px rgba(32, 71, 52, 0.14);
}

.field textarea {
  resize: vertical;
  min-height: 80px;
}

.lead-form .btn {
  width: 100%;
  text-align: center;
  margin-top: 6px;
}

.consent {
  font-size: 13px;
  color: var(--ink-2);
  line-height: 1.5;
  margin-top: 14px;
}

.consent a {
  color: var(--forest);
}

/* The honeypot: a real input, positioned where nobody can see or tab to it.
   A bot that fills every field in gets a 201 and writes nothing. */
.hp {
  position: absolute;
  left: -9999px;
  top: -9999px;
}

/* The panel that replaces the form once a lead is stored (landing-form.js). */
.thanks {
  text-align: center;
  padding: 24px 0;
}

.thanks:focus {
  outline: none;
}

.thanks h3 {
  font-size: 26px;
  margin-bottom: 10px;
}

.thanks p {
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink-2);
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  background: var(--ink);
  color: #c9c3b4;
  padding: 56px 0 40px;
  font-size: 15px;
}

.site-footer .row {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.site-footer .logo {
  margin-bottom: 12px;
}

.site-footer .logo img {
  height: 64px;
}

.site-footer .tag {
  color: #a9a392;
  font-size: 15px;
  margin: 0;
  line-height: 1.6;
}

.site-footer h4 {
  color: var(--cream);
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 14px;
}

.site-footer p,
.site-footer address {
  font-style: normal;
  color: #c9c3b4;
  line-height: 1.65;
  margin: 0;
}

.site-footer a {
  color: #e7dec9;
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--cream);
  text-decoration: underline;
}

.foot-bottom {
  margin-top: 42px;
  padding-top: 22px;
  border-top: 1px solid rgba(246, 241, 231, 0.12);
  display: flex;
  justify-content: space-between;
  color: #8f8a7c;
  font-size: 13px;
}

.foot-bottom .links {
  display: flex;
  gap: 22px;
}

/* ==========================================================================
   Narrow screens — most of this traffic arrives from a phone
   ========================================================================== */

@media (max-width: 900px) {
  body {
    font-size: 18px;
  }

  .hero {
    padding: 44px 0 56px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .hero h1 {
    font-size: 40px;
  }

  .hero .sub {
    font-size: 18px;
  }

  section.pad {
    padding: 64px 0;
  }

  .section-title {
    font-size: 32px;
  }

  .how-grid,
  .why-grid,
  .proof-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  /* One column: each row stacks its IS over its NOT, so the pairs stay
     adjacent and the check and cross say which is which. The two column
     headings would stack into a pair of labels above everything, attached to
     nothing, so they go — the column-header roles stay in the markup for a
     screen reader. */
  .compare-header {
    position: absolute;
    left: -9999px;
    top: -9999px;
  }

  .compare-row {
    grid-template-columns: 1fr;
  }

  .compare-row .isnt {
    border-left: none;
    border-top: 1px solid var(--rule);
  }

  .mission-grid {
    grid-template-columns: 1fr;
  }

  .mission-image {
    min-height: 300px;
    order: -1;
  }

  .mission-copy {
    padding: 56px 24px;
  }

  .mission-copy .wrap-inner {
    max-width: none;
    padding: 0;
    margin: 0;
  }

  .final {
    padding: 64px 0;
  }

  .final-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .final h2 {
    font-size: 32px;
  }

  .site-footer .row {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .header-right .btn {
    display: none;
  }

  .header-phone .ph-label {
    display: none;
  }

  .foot-bottom {
    flex-direction: column;
    gap: 10px;
  }
}

@media (max-width: 520px) {
  .wrap,
  .wrap-narrow {
    padding: 0 20px;
  }

  .hero h1 {
    font-size: 34px;
  }

  /* A full-width thumb target for the primary action. */
  .hero-actions .btn {
    width: 100%;
    text-align: center;
  }

  .trust-bar .row {
    grid-template-columns: 1fr;
    gap: 10px;
    font-size: 15px;
  }

  .trust-bar .cell {
    justify-content: flex-start;
  }

  .header-phone .ph-num {
    font-size: 15px;
  }

  .logo img {
    height: 48px;
  }

  .lead-form {
    padding: 26px 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
