:root {
  --ink: #173b56;
  --muted: #657985;
  --line: #dbe4e7;
  --navy: #123855;
  --gold: #e6ad47;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: #eef3f4;
  color: var(--ink);
  font:
    15px/1.6 system-ui,
    -apple-system,
    sans-serif;
}
header {
  max-width: 1080px;
  margin: auto;
  padding: 20px 26px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.brand {
  color: var(--ink);
  display: flex;
  gap: 10px;
  align-items: center;
  text-decoration: none;
}
.brand img {
  width: 54px;
  height: 66px;
  object-fit: contain;
  border-radius: 8px;
}
.brand span {
  font-size: 23px;
  font-weight: 700;
  letter-spacing: -0.04em;
}
.brand small {
  display: block;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--muted);
}
button,
input,
textarea,
select {
  font: inherit;
}
button,
a,
input,
textarea,
select {
  outline-offset: 4px;
}
button {
  cursor: pointer;
}
button:disabled {
  opacity: 0.6;
  cursor: wait;
}
button {
  border: 1px solid #cddce3;
  border-radius: 9px;
  min-height: 44px;
  background: white;
  color: var(--ink);
  padding: 9px 15px;
}
.primary {
  background: var(--navy);
  color: white;
  border: 0;
  font-weight: 600;
  min-height: 48px;
}
.full {
  width: 100%;
}
main {
  max-width: 1028px;
  margin: 14px auto 40px;
  padding: 0 25px;
}
.eyebrow {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #3882aa;
  margin: 0 0 12px;
}
h1 {
  font:
    400 41px/1.12 Georgia,
    serif;
  letter-spacing: -0.03em;
  margin: 0 0 16px;
}
h2 {
  font:
    400 26px/1.2 Georgia,
    serif;
  margin: 0 0 16px;
}
p {
  margin: 10px 0 22px;
}
.quiet {
  font-size: 12px;
  color: var(--muted);
}
.welcome {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 25px;
}
.welcome p {
  margin: 0;
}
.hero {
  background: var(--navy);
  color: white;
  border-radius: 18px;
  padding: 28px 30px;
  margin-bottom: 23px;
}
.hero .eyebrow {
  color: #b4d2e3;
}
.hero h2 {
  font-size: 32px;
}
.hero .quiet {
  color: #c3d5e1;
}
.grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.card {
  border: 1px solid var(--line);
  background: white;
  border-radius: 15px;
  padding: 26px;
  margin-bottom: 20px;
}
.paper {
  max-width: 600px;
  margin: 20px auto;
}
.paper.card {
  padding: 35px;
}
.action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  text-decoration: none;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 15px;
  width: 100%;
  text-align: left;
  margin: 12px 0;
  background: white;
}
.action b {
  font-size: 13px;
  display: block;
}
.action small {
  font-size: 11px;
  color: var(--muted);
  display: block;
  margin-top: 4px;
}
.action:hover {
  background: #f1f6f8;
}
.avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #eaf2f6;
  flex-shrink: 0;
  font-weight: 650;
  color: #285d7b;
}
.person {
  display: flex;
  gap: 13px;
  align-items: center;
  margin: 16px 0;
}
.person p {
  margin: 0;
}
.tag {
  font-size: 10px;
  border-radius: 20px;
  background: #eaf3ed;
  color: #33745d;
  padding: 4px 10px;
  display: inline-block;
}
.list {
  border-top: 1px solid var(--line);
  padding-top: 14px;
  margin-top: 16px;
}
.list p {
  margin: 5px 0;
  font-size: 13px;
}
label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin: 19px 0 7px;
}
input,
textarea,
select {
  width: 100%;
  border: 1px solid #cad9df;
  border-radius: 8px;
  padding: 12px;
  color: var(--ink);
  background: white;
}
textarea {
  min-height: 95px;
  resize: vertical;
}
fieldset {
  border: 0;
  margin: 25px 0;
  padding: 0;
}
legend {
  font-size: 14px;
  font-weight: 600;
  margin: 0 0 12px;
}
.ratings {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 6px;
}
.ratings label {
  border: 1px solid var(--line);
  border-radius: 9px;
  text-align: center;
  margin: 0;
  cursor: pointer;
  padding: 10px 2px;
  min-height: 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
}
.ratings input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}
.ratings label:has(input:focus-visible) {
  outline: 2px solid var(--navy);
  outline-offset: 3px;
}
.ratings label:has(input:checked) {
  background: var(--navy);
  color: white;
}
.ratings b {
  font-size: 21px;
  font-weight: 500;
}
.ratings small {
  font-size: 8px;
  line-height: 1.3;
}
.row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-weight: 400;
  font-size: 12px;
}
.check input {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
  margin-top: 3px;
}
.success {
  background: #e9f4ed;
  color: #286e53;
  padding: 15px;
  border-radius: 9px;
  font-size: 13px;
}
.error,
[role="alert"] {
  font-size: 12px;
  color: #a33c36;
}
.subtle {
  background: #e6eef2;
  padding: 14px 17px;
  border-radius: 10px;
  font-size: 12px;
  color: #4f6d80;
}
.link {
  text-decoration: underline;
  border: 0;
  background: none;
  padding: 8px 0;
  color: var(--muted);
  font-size: 12px;
}
dialog {
  border: 1px solid var(--line);
  border-radius: 17px;
  padding: 28px;
  max-width: 500px;
  width: calc(100% - 30px);
  color: var(--ink);
}
dialog::backdrop {
  background: #12385580;
}
.close {
  float: right;
  width: 34px;
  min-height: 34px;
  padding: 0;
  border-radius: 50%;
}
footer {
  text-align: center;
  font-size: 10px;
  color: var(--muted);
  padding: 0 20px 25px;
}
[hidden] {
  display: none !important;
}
@media (max-width: 650px) {
  header {
    padding: 16px 20px;
  }
  main {
    padding: 0 15px;
  }
  .grid,
  .row {
    grid-template-columns: 1fr;
  }
  .card {
    padding: 22px;
  }
  .paper.card {
    padding: 27px 20px;
  }
  h1 {
    font-size: 34px;
  }
  .hero {
    padding: 24px;
  }
  .hero h2 {
    font-size: 27px;
  }
  .welcome {
    display: block;
  }
  .welcome select {
    margin-top: 16px;
  }
  .ratings small {
    font-size: 8px;
  }
}

/* Birdhouse customer experience: shared warm surfaces and survey-first layout. */
:root { --paper:#fffdf8; --ink:#17344b; --muted:#647581; --line:#dde5e7; --gold:#e9ad46; }
body { background:#eef2f2; font-size:16px; line-height:1.55; }
header { max-width:1280px; padding:26px 36px; }
main { max-width:1208px; margin:10px auto 55px; padding:0 28px; }
.card { border-radius:17px; }
.paper { background:var(--paper); }
.brand-cross { font-weight:300; color:#95a7b2; padding:0 8px; }
.brand .dealer-brand { font-size:23px; font-weight:850; letter-spacing:-.05em; }
.brand .dealer-brand small { font-size:9px; letter-spacing:.22em; margin-top:6px; font-weight:600; }
.survey-layout { display:grid; grid-template-columns:360px minmax(0,1fr); align-items:start; gap:26px; }
.story { background:var(--navy); border-radius:20px; color:#f5f8fa; padding:38px 32px; position:sticky; top:24px; overflow:hidden; }
.story .eyebrow { color:#b4d1df; }
.story h2 { font:400 36px/1.15 Georgia,serif; margin:8px 0 18px; letter-spacing:-.02em; }
.story p { color:#c7d7e1; font-size:14px; line-height:1.75; }
.logowell { height:240px; display:flex; align-items:center; justify-content:center; margin:26px 0; }
.logowell img { height:240px; max-width:100%; object-fit:contain; border-radius:13px; }
.small-rule { height:1px; background:#ffffff26; margin:26px 0 21px; }
.story .footnote { font-size:12px; }
.gold { color:#f0c472; }
.survey-surface { background:var(--paper); padding:38px 40px; box-shadow:0 8px 35px #12385505; }
.topline { display:flex; align-items:center; justify-content:space-between; gap:16px; font-size:12px; color:var(--muted); margin-bottom:28px; }
.dot { display:inline-block; width:6px; height:6px; background:#3882aa; border-radius:50%; margin-right:6px; }
.survey-surface h1 { font-size:43px; }
.survey-surface > .quiet, .intro { font-size:14px; color:var(--muted); line-height:1.75; }
.survey-surface fieldset { margin:30px 0; }
.ratings label { background:white; }
.ratings label:has(input:checked) { color:var(--ink); background:#e9f2f7; border-color:#2879a8; box-shadow:0 0 0 1px #2879a8; }
.ratings label:has(input:focus-visible) { outline:2px solid var(--navy); outline-offset:3px; }
.checkmark { display:grid; place-items:center; width:48px; height:48px; border-radius:50%; background:#e8f4ed; color:#24765f; font-size:23px; margin:9px 0 24px; }
.next-card { border:1px solid var(--line); background:var(--paper); padding:24px; border-radius:13px; margin:28px 0 16px; }
.next-card h2 { margin:9px 0 12px; }
.next-card p { font-size:13px; color:var(--muted); }
.mini-brand { display:flex; align-items:center; gap:12px; }
.mini-brand img { height:66px; width:53px; object-fit:contain; border-radius:5px; }
.mini-brand span { font-size:11px; color:var(--muted); }
.benefits { padding:0; list-style:none; font-size:12px; display:grid; gap:10px; margin:22px 0; }
.benefits li:before { content:'✓'; color:#24765f; margin-right:9px; }
@media(max-width:900px) {
 .survey-layout { grid-template-columns:270px minmax(0,1fr); gap:18px; }
 .story { padding:28px 22px; } .story h2 { font-size:29px; }
 .survey-surface { padding:28px 24px; } .logowell,.logowell img { height:210px; }
}
@media(max-width:650px) {
 header { padding:23px 20px; } main { padding:0 14px; margin:6px auto 28px; }
 .brand { gap:10px; } .brand span { font-size:19px; } .brand .dealer-brand { font-size:21px; }
 .brand-cross { padding:0 3px; } .survey-layout { display:block; } .story { display:none; }
 .survey-surface { padding:26px 21px; border-radius:14px; }
 .topline { font-size:11px; margin-bottom:22px; align-items:flex-start; }
 .topline span:last-child { text-align:right; } .survey-surface h1 { font-size:34px; }
 .ratings { gap:5px; } .ratings label { padding:10px 2px; } .next-card { padding:21px; }
}
