/* The Grandpa test in CSS: one column, big type, big targets, gray scheme. */
:root {
  --ink: #2b2b2b; --paper: #faf9f7; --slate: #3d4451; --line: #ddd9d2;
}
* { box-sizing: border-box; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: 'Noto Serif', Georgia, serif; font-size: 20px; line-height: 1.4;
  display: flex; flex-direction: column; min-height: 100vh;
}
header {
  display: flex; align-items: center; gap: 14px; padding: 18px 24px;
  border-bottom: 1px solid var(--line);
}
.mark {
  font-family: Helvetica, Arial, sans-serif; font-weight: 700; font-size: 18px;
  letter-spacing: 1px; color: var(--paper); background: var(--slate);
  padding: 6px 10px; border-radius: 6px; text-decoration: none;
}
.wordmark { font-size: 18px; color: var(--slate); }
main { flex: 1; width: 100%; max-width: 620px; margin: 0 auto; padding: 40px 24px 60px; }
footer {
  padding: 18px 24px; color: #8a867f; font-size: 15px;
  border-top: 1px solid var(--line);
}
h1 { font-size: 34px; line-height: 1.2; margin: 0 0 18px; }
.lead { font-size: 22px; }
.stepnum { color: #8a867f; margin: 0 0 6px; font-size: 16px; }
p { margin: 0 0 18px; }
form { margin-top: 8px; }
label { display: block; margin: 0 0 16px; font-size: 18px; }
input[type=text], input[type=tel], input[type=email], input[type=password], input[type=number] {
  display: block; width: 100%; font: inherit; font-size: 22px; padding: 14px 16px;
  margin-top: 8px; border: 2px solid var(--slate); border-radius: 10px; background: #fff;
}
input[readonly] { background: #f1efeb; border-color: var(--line); }
.row { display: flex; gap: 16px; }
.row label { flex: 1; }
button {
  display: block; width: 100%; font: inherit; font-size: 22px; padding: 16px;
  margin: 18px 0 0; border: 0; border-radius: 10px; cursor: pointer;
  background: var(--slate); color: #fff;
}
button.big { font-size: 26px; padding: 20px; }
button.quiet {
  background: transparent; color: var(--slate); border: 2px solid var(--slate);
  font-size: 18px; padding: 10px;
}
.tiles button { margin-top: 14px; text-align: left; padding: 22px 20px; font-size: 24px; }
.choice {
  display: flex; align-items: center; gap: 14px; font-size: 22px; padding: 14px 4px;
}
.choice input { width: 26px; height: 26px; }
.total { font-size: 26px; font-weight: 700; margin-top: 10px; }
.err { color: #a33; }
.fineprint { color: #8a867f; font-size: 16px; }
.status { font-size: 24px; font-weight: 700; }
.chip {
  font-family: Helvetica, Arial, sans-serif; font-size: 12px; background: var(--line);
  color: var(--ink); border-radius: 999px; padding: 3px 10px; margin-left: 8px;
}
table.price { width: 100%; border-collapse: collapse; margin: 8px 0 18px; }
table.price td { padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 22px; }
table.price td:last-child { text-align: right; }
table.price tr.sum td { font-weight: 700; border-bottom: 0; font-size: 26px; }
.cardrow { display: flex; flex-direction: column; gap: 18px; margin-top: 20px; }
.adcard {
  position: relative; width: 100%; aspect-ratio: 1200/628; border-radius: 12px;
  display: flex; flex-direction: column; justify-content: center; text-align: left;
  padding: 0 36px; border: 0; cursor: pointer;
}
.adcard.shown { cursor: default; display: flex; }
.adheadline { font-size: 30px; font-weight: 700; line-height: 1.15; display: block; margin-bottom: 10px; }
.admessage { font-size: 18px; display: block; }
.adbadge {
  position: absolute; right: 16px; bottom: 14px; font-family: Helvetica, Arial, sans-serif;
  font-weight: 700; font-size: 13px; letter-spacing: 1px; border: 2px solid currentColor;
  padding: 3px 7px; border-radius: 5px; opacity: .9;
}

.adcard.split, .adcard.band, .adcard.only { padding: 0; overflow: hidden; justify-content: flex-start; }
.adphoto { display: block; position: absolute; inset: 0; background-size: cover; background-position: center; }
.adcard.split .adphoto { right: 50%; }
.adcard.split .adtext { position: absolute; left: 50%; top: 0; bottom: 0; right: 0; display: flex; flex-direction: column; justify-content: center; padding: 0 22px; }
.adcard.split .adheadline { font-size: 24px; }
.adcard.band .adtext { position: absolute; left: 0; right: 0; bottom: 0; padding: 14px 22px 18px; background: rgba(30,36,48,.86); }
.adcard.band .adheadline { font-size: 22px; margin-bottom: 4px; }
.adcard.band .admessage { font-size: 15px; }
.adcard.only .adphoto { background-size: contain; background-repeat: no-repeat; }
label.upload { display: block; margin-top: 12px; }
label.upload input[type=file] { display: block; margin-top: 6px; font-size: 16px; }
details.edit { margin-top: 22px; border-top: 1px solid var(--line); padding-top: 14px; }
details.edit summary { font-size: 20px; cursor: pointer; color: var(--slate); margin-bottom: 14px; }
details.edit label { margin-top: 10px; }
button.go { background: #2e7d4f; }

/* AI.FRED's other wordings under the three cards (the copy half of 1.1). */
p.versions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 16px 0 0; }
p.versions .fineprint { margin-right: 4px; }
button.chip {
  display: inline-block; width: auto; margin: 0; font: inherit; font-size: 18px;
  padding: 8px 18px; border-radius: 999px; background: transparent;
  color: var(--slate); border: 2px solid var(--slate);
}
button.chip.on { background: var(--slate); color: #fff; }
