/*
  Everything below the first screen.
  Base, the container (.wrap), top bar, first screen and the phone frame are inline in index.html.

  One system:
  - Every section's content sits in .wrap: max-width 1080px, 20px side padding, 32px from 768px.
  - All text is left-aligned. The only centered text is inside buttons, round number badges,
    and the small labels above the phone frames.
  - Text blocks are capped at 65ch and h2 at 20em.
*/

.band { background: var(--wash); }


.foot p { max-width: 65ch; }

/* Cards share one look */
.steps li, .price, .report, .qa, #look-form, .form-done {
  background: #fff;
  border-radius: 18px;
  box-shadow: var(--shadow);
}

/* Two columns on desktop: left column on the container's left edge,
   right column on its right edge, tops aligned. Stacked on phones. */
.g-grid, .ask { display: grid; gap: 28px; }


/* How it works: one column, each card its natural height */
.steps { counter-reset: step; display: grid; gap: 14px; max-width: 720px; align-items: start; }
.steps li {
  counter-increment: step;
  position: relative;
  max-width: none;
  padding: 20px 20px 20px 78px;
}
.steps li::before {
  content: counter(step);
  position: absolute; left: 18px; top: 18px;
  width: 44px; height: 44px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--yellow); color: var(--navy);
  font-weight: 800; font-size: 21px;
}
.steps h3 + p { margin-top: 6px; }
.steps p + p { margin-top: 10px; }

/* Example before and after */
.built { font-size: 18px; font-weight: 600; }
h2 + .built { margin-top: 12px; }
.note { font-size: 15px; color: var(--muted); margin-top: 10px; }
.ad-label { margin-top: 22px; font-size: 15.5px; font-weight: 700; }
.frames { display: grid; gap: 28px; margin-top: 22px; justify-items: start; }
.frame { width: 100%; max-width: 300px; }
.frame figcaption { font-weight: 800; font-size: 18px; margin-bottom: 12px; text-align: center; } /* small label above a phone frame */
.frames .phone { box-shadow: var(--shadow); }
.arrow { color: var(--navy); transform: rotate(90deg); margin-left: 128px; }
.before .screen { color: #5a6570; background: #f6f6f4; }
.before .f-nav { font-size: 10.5px; border-bottom: 1px solid #d9d9d5; padding-bottom: 8px; }
.before .f-tiny { font-size: 10.5px; }
.before .f-h { font-family: Georgia, "Times New Roman", serif; font-weight: 400; font-size: 21px; letter-spacing: 0; margin-top: 26px; }
.before .f-btn { background: #fff; color: #5a6570; border: 1px solid #c9c9c4; font-weight: 400; width: 62%; margin-top: 8px; }
.after-note { margin-top: 28px; font-size: 17px; font-weight: 600; }

/* Monday report */
.report { max-width: 440px; overflow: hidden; }
.report table { width: 100%; border-collapse: collapse; }
.report caption { text-align: left; padding: 0; }
.r-title { display: block; padding: 16px 22px; background: var(--navy); color: #fff; font-weight: 800; font-size: 18px; letter-spacing: -.01em; }
.r-note { display: block; padding: 14px 22px 4px; font-size: 14px; color: var(--muted); }
.report th, .report td { padding: 15px 22px; border-top: 1px solid var(--line); vertical-align: baseline; }
.report tr:first-child th, .report tr:first-child td { border-top: 0; }
.report th { text-align: left; font-weight: 500; padding-right: 8px; }
.report td { text-align: right; font-weight: 800; font-size: 21px; letter-spacing: -.02em; white-space: nowrap; font-variant-numeric: tabular-nums; }

/* Price */
.price-q { font-size: 18px; font-weight: 600; }
h2 + .price-q { margin-top: 12px; }
.prices { display: grid; gap: 14px; margin-top: 24px; }
.price { padding: 24px 22px; border: 1px solid var(--line); }
.price h3 { font-size: 22px; font-weight: 800; letter-spacing: -.02em; margin-bottom: 8px; }
.terms { margin-top: 22px; }
.sec .new {
  margin-top: 18px;
  max-width: 720px;
  padding: 20px 22px;
  background: #fff8dc;
  border-left: 6px solid var(--yellow);
  border-radius: 14px;
}

/* Guarantee */
.guarantee { background: radial-gradient(120% 120% at 0% 0%, var(--navy-2) 0%, var(--navy) 60%); }
.guarantee p { color: var(--on-navy); }
.seal {
  width: 124px; height: 124px; border-radius: 50%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: var(--yellow); color: var(--navy);
  box-shadow: 0 0 0 6px var(--navy), 0 0 0 9px var(--yellow);
  margin: 9px;
}
.seal-n { font-size: 54px; font-weight: 800; line-height: .95; letter-spacing: -.04em; }
.seal-t { font-size: 17px; font-weight: 800; }


/* Questions: one column, natural height, equal gaps */
.faq { display: grid; gap: 14px; max-width: 720px; align-items: start; }
.qa { padding: 20px 22px; }
.qa p { margin-top: 6px; }

/* Final call to action */
.cta { background: radial-gradient(120% 100% at 100% 0%, var(--navy-2) 0%, var(--navy) 60%); }
.spots { color: #fff; font-weight: 700; }
h2 + .spots { margin-top: 14px; }
.ask { margin-top: 24px; }
#look-form, .form-done { padding: 24px 20px; color: var(--ink); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.field + .field { margin-top: 16px; }
label { display: block; font-weight: 700; font-size: 16px; margin-bottom: 6px; }
input[type="text"] {
  display: block; width: 100%; min-height: 54px;
  padding: 12px 14px;
  font: inherit; font-size: 17px; /* 16px or more stops iOS zooming on focus */
  color: var(--ink); background: #fff;
  border: 2px solid #8c99a6;
  border-radius: 12px;
}
input[type="text"]::placeholder { color: #6b7885; }
input[aria-invalid="true"] { border-color: var(--error); }
.err { margin-top: 6px; color: var(--error); font-size: 15px; font-weight: 700; }
.form-fail {
  margin-top: 16px; padding: 12px 14px;
  border: 2px solid var(--error); border-radius: 12px;
  color: var(--error); font-weight: 700;
}
#look-form .btn { width: 100%; margin-top: 20px; }
#look-form .btn[disabled] { opacity: .7; cursor: default; }
.details { margin-top: 12px; font-size: 14.5px; color: var(--muted); }
.form-done { border-top: 8px solid var(--yellow); }
.form-done > * + * { margin-top: 10px; }
.form-done h3 { font-size: 26px; }
.next-steps { counter-reset: n; display: grid; gap: 16px; }
.next-steps li { counter-increment: n; position: relative; padding-left: 46px; color: #fff; min-height: 32px; }
.next-steps li::before {
  content: counter(n);
  position: absolute; left: 0; top: -2px;
  width: 32px; height: 32px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--yellow); color: var(--navy); font-weight: 800; font-size: 16px;
}
.talk { margin-top: 22px; color: var(--on-navy); }
.talk a { color: #fff; }
.talk a, .details a, .form-fail a { display: inline-block; padding: 12px 0; margin: -12px 0; font-weight: 700; }

.ps-sec { padding: 44px 0; }
.ps { font-size: 18px; }

/* Footer: one left-aligned block, one line per item on phones */
.foot { background: #071829; color: var(--on-navy); padding: 30px 0 100px; font-size: 16px; }
.foot strong { color: #fff; }
.foot a { display: inline-flex; align-items: center; min-height: 44px; color: #fff; }

/* Sticky bar, phones only */
.bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 10;
  display: grid; grid-template-columns: 1fr 1.4fr; gap: 10px;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  background: var(--navy);
  box-shadow: 0 -6px 20px rgba(11, 34, 57, .25);
}
.bar[hidden] { display: none; }
.bar a {
  display: flex; align-items: center; justify-content: center;
  min-height: 50px; border-radius: 12px;
  font-weight: 800; font-size: 17px; text-decoration: none;
}
.bar-call { border: 2px solid #fff; color: #fff; }
.bar-look { background: var(--yellow); color: var(--navy); }

/* From 768px: price cards side by side, who card in two columns, footer in one row */
@media (min-width: 768px) {
  .prices { grid-template-columns: 1fr 1fr; gap: 20px; }
  .photo { width: 96px; height: 96px; }
  .foot .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 28px; }
}

/* Desktop */
@media (min-width: 900px) {


  .g-grid { grid-template-columns: minmax(0, 1fr) auto; gap: 64px; align-items: start; }
  .g-grid > .seal { justify-self: end; }
  .report { width: 440px; }
  .g-grid > .text { order: 1; }
  .g-grid > .seal { order: 2; width: 190px; height: 190px; }
  .seal-n { font-size: 88px; }
  .seal-t { font-size: 24px; }

  .steps li { padding: 26px 28px 28px 92px; }
  .steps li::before { left: 26px; top: 24px; width: 48px; height: 48px; font-size: 23px; }

  .built, .price-q, .spots { font-size: 20px; }
  .frames { display: flex; justify-content: center; align-items: center; gap: 48px; margin-top: 36px; }
  .frame { width: 300px; }
  .arrow { transform: none; margin-left: 0; }
  .after-note { margin-top: 40px; font-size: 20px; }

  .prices { margin-top: 32px; }
  .price { padding: 32px 30px; }
  .price h3 { font-size: 26px; }
  .terms { margin-top: 28px; }
  .sec .new { padding: 24px 30px; }

  .qa { padding: 26px 30px; }

  .ask { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: start; margin-top: 36px; }
  #look-form, .form-done { padding: 36px; }
  .next-steps { gap: 22px; }

  .ps-sec { padding: 64px 0; }
  .ps { font-size: 20px; }
  .foot { padding: 28px 0; }
  .bar { display: none; }
}

/* Who I am: byline row, then one paragraph */
.byline { display: flex; align-items: center; gap: 14px; }
.photo { display: block; width: 72px; height: 72px; border-radius: 50%; object-fit: cover; object-position: center top; flex: none; }
.by-name { font-size: 18px; line-height: 1.3; }
.by-meta { color: var(--muted); line-height: 1.4; }
.who-lead { margin-top: 18px; }
@media (min-width: 768px) { .byline { gap: 18px; } .by-name { font-size: 20px; } }

.ps-label { margin-right: 4px; }

/* 1024px and wider: heading in a left column about one third wide,
   content in a right column about two thirds wide, ending on the container's right edge. */
@media (min-width: 1024px) {
  .two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); column-gap: 56px; align-items: start; }
  .two > h2 { font-size: 32px; line-height: 1.12; letter-spacing: -.025em; }
  .two > h2 + * { margin-top: 0; }
  .two > .col > :first-child { margin-top: 0; }
  .two > .col, .two > .steps, .two > .faq { max-width: none; width: 100%; }
  .two .steps li, .two .qa { max-width: none; }
  .two .sec-new, .two .new { max-width: none; }
  .two .col > p:not(.new) { max-width: none; }

  .sec .ps { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); column-gap: 56px; max-width: none; }
  .ps-label { font-size: 32px; line-height: 1.12; letter-spacing: -.025em; margin: 0; }
}
@media (min-width: 768px) { .photo { width: 96px; height: 96px; } }
