:root {
  --paper: #f3f0e8;
  --card: #fffcf6;
  --ink: #14181d;
  --muted: #5a636c;
  --line: #ddd6c8;
  --green: #1b6b43;
  --green-bg: #e5f2ea;
  --serif: Georgia, "Iowan Old Style", Palatino, "Times New Roman", serif;
  --sans: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  --max: 1080px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
}
a { color: #0b4f9c; }
a:hover { color: var(--ink); }
:focus-visible { outline: 2px solid #0b4f9c; outline-offset: 2px; }
.skip {
  position: absolute; left: 12px; top: -40px; background: #fff; padding: 8px 12px; z-index: 20;
}
.skip:focus { top: 12px; }
.wrap { width: min(100% - 40px, var(--max)); margin-inline: auto; }
.narrow { width: min(100% - 40px, 760px); }

.top {
  position: sticky; top: 0; z-index: 10;
  background: rgba(243, 240, 232, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(8px);
}
.nav {
  min-height: 64px;
  display: flex;
  align-items: center;
  gap: 18px;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  color: var(--ink); text-decoration: none;
  font-family: var(--serif); font-size: 1.15rem;
  margin-right: auto;
}
.mark {
  width: 28px; height: 28px;
  display: grid; place-items: center;
  border: 1px solid var(--ink);
  font-family: var(--sans); font-size: 0.68rem; letter-spacing: 0.04em;
  background: var(--card);
}
.links { display: flex; gap: 18px; }
.links a { color: var(--ink); text-decoration: none; font-size: 0.92rem; }
.links a:hover { text-decoration: underline; }
.nav-fold { display: none; }
.nav-fold summary {
  list-style: none; cursor: pointer;
  border: 1px solid var(--line); border-radius: 8px;
  padding: 6px 10px; background: var(--card); font-size: 0.88rem;
}
.nav-fold summary::-webkit-details-marker { display: none; }

.googleLoginBtn {
  min-height: 40px; min-width: 210px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 0 16px 0 12px;
  background: #fff; color: #1f1f1f;
  border: 0; border-radius: 4px;
  outline: none; box-shadow: none;
  font: 500 14px/1 var(--sans); cursor: pointer;
}
.googleLoginBtn:empty::before {
  content: ""; width: 18px; height: 18px; flex: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Cpath fill='%23EA4335' d='M24 9.5c3.54 0 6.71 1.22 9.21 3.6l6.85-6.85C35.9 2.38 30.47 0 24 0 14.62 0 6.51 5.38 2.56 13.22l7.98 6.19C12.43 13.72 17.74 9.5 24 9.5z'/%3E%3Cpath fill='%234285F4' d='M46.98 24.55c0-1.57-.15-3.09-.38-4.55H24v9.02h12.94c-.58 2.96-2.26 5.48-4.78 7.18l7.73 6c4.51-4.18 7.09-10.36 7.09-17.65z'/%3E%3Cpath fill='%23FBBC05' d='M10.53 28.59c-.48-1.45-.76-2.99-.76-4.59s.27-3.14.76-4.59l-7.98-6.19C.92 16.46 0 20.12 0 24c0 3.88.92 7.54 2.56 10.78l7.97-6.19z'/%3E%3Cpath fill='%2334A853' d='M24 48c6.48 0 11.93-2.13 15.89-5.81l-7.73-6c-2.15 1.45-4.92 2.3-8.16 2.3-6.26 0-11.57-4.22-13.47-9.91l-7.98 6.19C6.51 42.62 14.62 48 24 48z'/%3E%3C/svg%3E") center / 18px no-repeat;
}
.g-nav .googleLoginBtn { min-width: 168px; min-height: 36px; font-size: 13px; }
.googleLoginBtn:empty::after { content: "Sign in with Google"; }
.g-how .googleLoginBtn:empty::after,
.g-close .googleLoginBtn:empty::after { content: "Continue with Google"; }
.g-est .googleLoginBtn:empty::after,
.g-faq .googleLoginBtn:empty::after { content: "Get the free review"; }
.googleLoginBtn:not(:empty)::before,
.googleLoginBtn:not(:empty)::after { display: none; }
.googleLoginBtn,
.googleLoginBtn * {
  border: 0 !important;
  outline: none !important;
  box-shadow: none !important;
}

.hero {
  display: grid; gap: 36px;
  padding: 48px 0 28px;
}
.pill {
  display: inline-block; margin: 0 0 14px;
  font-size: 0.78rem; letter-spacing: 0.02em; color: var(--muted);
  border: 1px solid var(--line); background: var(--card);
  border-radius: 999px; padding: 5px 10px;
}
h1 {
  margin: 0 0 14px;
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  line-height: 1.12; letter-spacing: -0.025em;
}
.sub { margin: 0 0 22px; max-width: 38em; font-size: 1.05rem; }
.cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; }
.cta.left { margin-top: 22px; }
.ghost { color: var(--ink); }
.fine { margin: 12px 0 0; font-size: 0.78rem; color: var(--muted); max-width: 46em; }
.fine.center { text-align: center; margin-inline: auto; }
.fine a, .legal a, .foot a { color: inherit; }

.stats {
  list-style: none; margin: 28px 0 0; padding: 16px 0 0;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px; border-top: 1px solid var(--ink);
}
.stats b { display: block; font-family: var(--serif); font-size: 1.35rem; font-weight: 400; }
.stats span { color: var(--muted); font-size: 0.82rem; }

.sheet {
  background: var(--card);
  border: 1px solid var(--ink);
  border-radius: 10px;
  padding: 18px 18px 16px;
  box-shadow: 8px 8px 0 #e4dece;
}
.sheet-top {
  display: flex; justify-content: space-between; gap: 8px;
  font-size: 0.72rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted);
}
.tag {
  background: var(--green-bg); color: var(--green);
  border-radius: 999px; padding: 2px 8px; letter-spacing: 0;
  text-transform: none; font-size: 0.75rem;
}
.sheet h2 { font-family: var(--serif); font-weight: 400; font-size: 1.45rem; margin: 12px 0 8px; }
.sheet-note { margin: 0 0 14px; color: var(--muted); font-size: 0.92rem; }
.sheet dl { margin: 0; }
.sheet dl div {
  display: flex; justify-content: space-between; gap: 12px;
  padding: 10px 0; border-top: 1px solid var(--line); font-size: 0.95rem;
}
.sheet dt { color: var(--muted); }
.sheet dd { margin: 0; font-family: var(--serif); font-size: 1.05rem; }
.sheet-foot { margin: 12px 0 0; font-size: 0.82rem; color: var(--green); }

.brands { padding: 18px 0 8px; }
.brands-line {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px;
  margin: 0 0 8px; color: #7b838b;
  font-family: var(--serif); font-size: 1.15rem;
}

.band { background: #ebe6db; border-block: 1px solid var(--line); }
.block, .band { padding: 64px 0; }
.head { margin-bottom: 26px; max-width: 40em; }
.kicker {
  margin: 0 0 6px; font-size: 0.72rem; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--green);
}
h2 {
  margin: 0 0 8px;
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(1.7rem, 3vw, 2.35rem); letter-spacing: -0.02em;
}
.d { margin: 0; color: var(--muted); }

.feats, .steps {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: 1px; background: var(--line);
  border: 1px solid var(--line); border-radius: 10px; overflow: hidden;
}
.feats li, .steps li { background: var(--card); padding: 20px; min-width: 0; }
.feats { grid-template-columns: 1fr; }
.feats li, .steps li { display: grid; grid-template-columns: auto 1fr; gap: 14px; }
.feats span, .steps span {
  font-family: var(--serif); color: var(--green);
}
.feats h3, .steps h3 { margin: 0 0 6px; font-size: 1.05rem; }
.feats p, .steps p { margin: 0; color: var(--muted); }

.est {
  display: grid; gap: 16px;
  background: var(--card); border: 1px solid var(--ink); border-radius: 10px; overflow: hidden;
}
.est form, .out { padding: 22px; }
.est label { display: block; margin-bottom: 18px; font-size: 0.92rem; }
.est label b { float: right; font-family: var(--serif); font-weight: 400; font-size: 1.05rem; }
input[type="range"] {
  width: 100%; margin-top: 10px; accent-color: var(--green);
}
.base { margin: 0; color: var(--muted); }
.out {
  background: var(--ink); color: #f6f1e6;
  display: flex; flex-direction: column; justify-content: center;
}
.out-k { margin: 0; letter-spacing: 0.14em; text-transform: uppercase; font-size: 0.72rem; color: #c9c2b4; }
.n { margin: 6px 0; font-family: var(--serif); font-size: clamp(2.4rem, 5vw, 3.4rem); line-height: 1; }
.out p { margin: 0 0 16px; color: #d9d2c6; }
.out .fine { color: #b7b0a4; }

.table-scroll { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; background: var(--card); min-width: 520px; }
th, td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); font-size: 0.95rem; }
th { font-size: 0.75rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
td:first-child, th:first-child { font-weight: 600; }
.sec td:nth-child(2) { background: var(--green-bg); }
.sec td:nth-child(3) { color: #7a4a3a; }

.quotes { display: grid; gap: 14px; }
figure {
  margin: 0; background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 18px 18px 14px;
}
blockquote {
  margin: 0 0 14px;
  font-family: var(--serif); font-size: 1.12rem; line-height: 1.4;
}
figcaption { font-size: 0.88rem; color: var(--muted); }
figcaption span {
  float: right; border: 1px solid var(--line); border-radius: 999px; padding: 1px 8px; font-size: 0.75rem;
}

.faq details { border-bottom: 1px solid var(--line); padding: 4px 0; }
.faq summary { cursor: pointer; padding: 12px 0; font-weight: 600; }
.faq p { margin: 0 0 14px; color: var(--muted); }

.close { background: var(--ink); color: #f6f1e6; padding: 48px 0; }
.close h2 { color: #f6f1e6; }
.close p { color: #cfc6b8; margin: 0 0 8px; }
.close .fine, .close a { color: #cfc6b8; }

.foot { padding: 28px 0 36px; }
.foot-grid { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.foot p { margin: 8px 0 0; color: var(--muted); font-size: 0.92rem; }
.foot nav { display: flex; gap: 14px; flex-wrap: wrap; }
.foot nav a { color: var(--ink); }
.legal { margin: 22px 0 0; font-size: 0.78rem; color: var(--muted); }

@media (max-width: 800px) {
  .desk { display: none; }
  .nav-fold { display: block; }
  .nav-fold[open] .links {
    position: absolute; right: 20px; top: 58px; z-index: 12;
    flex-direction: column; background: var(--card);
    border: 1px solid var(--line); border-radius: 8px; padding: 12px 14px;
  }
  .stats { grid-template-columns: 1fr; }
  .g-nav .googleLoginBtn, .g .googleLoginBtn { min-width: 0; }
  .sheet { box-shadow: none; }
}

@media (min-width: 801px) {
  .hero { grid-template-columns: 1.15fr 0.85fr; align-items: start; padding-top: 64px; gap: 48px; }
  .feats, .steps { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .steps li { display: block; }
  .feats li { display: block; }
  .est { grid-template-columns: 1.15fr 0.85fr; }
  .quotes { grid-template-columns: repeat(3, 1fr); }
  .close-inner { display: flex; justify-content: space-between; align-items: center; gap: 32px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
