/* Phone (760px and under). Same page, same house, same story; words smaller and on top, cards stacked or swiped,
   and the savings section becomes a normal scrolling page because it is too tall to hold still. */
@media (max-width:1199px) {
  .pad { padding-left:20px; padding-right:20px; }
  .nav { padding:12px 20px; }
  .nav { background:linear-gradient(180deg,rgba(4,6,14,.78),rgba(4,6,14,.35) 70%,rgba(4,6,14,0)); }
  .wm img { height:36px; }
  /* the shade sits top and bottom on a tall screen, where the words are */
  body::before { background:linear-gradient(180deg,rgba(4,6,14,.62) 0%,rgba(4,6,14,.25) 40%,rgba(4,6,14,0) 58%,rgba(4,6,14,.55) 100%); }
  body::after { height:96px; }
  .stage { height:100vh; height:100svh; min-height:0; }

  .big { font-size:40px; letter-spacing:-.03em; }
  .lede { font-size:18px; margin-top:14px; max-width:none; }
  .kicker { font-size:15px; margin-bottom:10px; }
  .terms { font-size:14px; }

  /* opening */
  .head { left:20px; right:20px; top:clamp(120px,17vh,190px); max-width:none; }
  .head h1 { font-size:56px; }
  .head p.l { margin-top:14px; font-size:18px; max-width:none; }
  .cue { bottom:22px; font-size:14px; text-align:center; width:max-content; max-width:80vw; }

  /* product screens */
  .prod-in { top:96px; left:0; right:0; max-width:none; }
  .more { margin-top:18px; }

  /* why us: two by two at the bottom */
  .how-head { top:92px; right:0; }
  #how .steps { bottom:20px; grid-template-columns:1fr 1fr; gap:10px; }
  #how .steps > li { min-height:0; padding:16px 16px 18px; border-radius:18px; }
  #how .steps h3 { font-size:11.5px; }
  #how .steps .fig { margin-top:8px; font-size:28px; }
  #how .steps p { padding-top:10px; font-size:13px; line-height:1.4; }
  #how .steps .tags { gap:4px; padding-top:10px; }
  #how .steps .tags span { font-size:11px; padding:3px 6px; }

  /* guides: all three on screen, stacked, nothing cut off */
  .learn .how-head { top:92px; bottom:auto; }
  #learn .steps { bottom:24px; display:grid; grid-template-columns:1fr; gap:10px; }
  #learn .steps > li { min-height:0; padding:16px 18px; display:grid; grid-template-columns:1fr auto; column-gap:12px; align-items:center; }
  #learn .steps .no { grid-column:1 / -1; font-size:11.5px; }
  #learn .steps h3 { grid-column:1; font-size:19px; margin-top:4px; max-width:none; }
  #learn .steps p { grid-column:1; font-size:13.5px; line-height:1.4; margin:6px 0 0; }
  #learn .steps .go { grid-column:2; grid-row:2 / span 2; margin:0; padding:12px 0 12px 8px; border:0; font-size:0; }
  #learn .steps .go span { font-size:22px; }

  /* savings: one column, a normal page */
  .plan.stage { height:auto; min-height:0; overflow:visible; display:block; padding-top:96px; padding-bottom:48px; }
  .plan-grid { margin-top:18px; grid-template-columns:1fr; gap:12px; }
  .pick { gap:10px; }
  .bill { grid-template-columns:1fr auto auto; gap:8px 10px; padding:14px 18px; }
  .bill label { grid-column:1 / -1; }
  .bill b { font-size:28px; min-width:0; }
  .bill > span { margin-left:-6px; font-size:13px; }
  .opts { grid-template-columns:1fr; grid-template-rows:none; row-gap:10px; }
  .opt { grid-row:auto; grid-template-rows:none; grid-template-columns:1fr auto; grid-template-areas:"n m" "d t" "w w"; column-gap:12px; padding:16px 18px; }
  #plan .opt[aria-checked="true"] { transform:none; }
  .o-sel { display:none; }
  .o-n { grid-area:n; font-size:18px; }
  .o-d { grid-area:d; font-size:13.5px; }
  .o-m { grid-area:m; grid-row:auto; justify-self:end; }
  .o-m b { font-size:30px; }
  .o-t { grid-area:t; grid-row:auto; justify-self:end; margin-top:3px; font-size:13px; }
  .o-w { grid-area:w; grid-row:auto; margin-top:12px; padding-top:10px; font-size:14px; }
  .adds { grid-template-columns:1fr; gap:8px; }
  #plan .add { padding:12px 14px; }
  #plan .bat { padding:8px 8px 8px 0; }
  .bat .b-main { padding-left:14px; }
  #plan .bat { flex-wrap:wrap; row-gap:10px; padding-bottom:10px; }
  .b-seg { width:auto; flex:0 0 calc(100% - 14px); margin-left:14px; }
  .sum { padding:20px 18px 18px; }
  .s-m b { font-size:32px; }
  .assume { font-size:11.5px; }

  /* contact */
  .contact { display:block; height:auto; padding-top:96px; padding-bottom:150px; }
  .contact form { margin-top:24px; padding:20px; border-radius:22px; }
  .row { grid-template-columns:1fr; }
  footer { flex-direction:column; gap:8px; font-size:12.5px; line-height:1.5; padding-top:20px; padding-bottom:24px; }
  /* critique pass */
  .nav { background:linear-gradient(180deg,rgba(4,6,14,.85),rgba(4,6,14,.55) 60%,rgba(4,6,14,0)); padding-bottom:22px; }
  .wm img { height:42px; }
  .how::after, .how.learn::after { -webkit-mask:linear-gradient(180deg,#000 80%,transparent); mask:linear-gradient(180deg,#000 80%,transparent); }
  .big, .lede, .kicker { text-shadow:0 2px 24px rgba(4,6,14,.6); }
  .prod-in { top:auto; bottom:calc(40px + env(safe-area-inset-bottom)); }
  body::before { background:linear-gradient(180deg,rgba(4,6,14,.72) 0%,rgba(4,6,14,.3) 42%,rgba(4,6,14,0) 60%,rgba(4,6,14,.55) 100%); }
  #how .steps { grid-auto-rows:1fr; }
  #how .steps p { font-size:12.5px; }
  .opts { grid-template-columns:minmax(0,1fr); }
  .o-m b { font-size:26px; }
  .o-d { margin-top:4px; }
  .opt[aria-checked="false"] > * { opacity:.72; }
  .plan.stage { padding-bottom:16px; }
  .contact { padding-top:64px; }
  .contact form { background:rgba(10,14,28,.72); }
  .contact form a { display:inline-block; padding:12px 4px; }
  footer { background:rgba(4,6,14,.8); }
  footer a { display:inline-block; padding:12px 0; }
  .cue { transition:opacity .2s; }
  .s-pay li { grid-template-columns:1fr auto 52px; gap:8px; }
}

/* tablet and small laptop: same stacked layout, but held to a readable width in the middle */
@media (min-width:761px) and (max-width:1199px) {
  .pad { padding-left:48px; padding-right:48px; }
  .nav { padding:14px 48px; }
  .head, .prod-in, .how-head, .learn .how-head { left:48px; right:auto; max-width:620px; }
  .prod-in { left:0; }
  #how .steps { max-width:720px; }
  #learn .steps { grid-template-columns:repeat(3,minmax(0,1fr)); left:0; right:0; width:auto; }
  #learn .steps > li { display:flex; flex-direction:column; align-items:flex-start; text-align:left; padding:20px; }
  #learn .steps .go { font-size:15px; margin:auto 0 0; padding:14px 0 0; }
  #learn .steps .go span { font-size:inherit; }
  #learn .steps h3 { font-size:21px; }
  .plan.stage > *, .contact > * { max-width:640px; margin-left:0; margin-right:0; }
  .how-head, .learn .how-head { left:0; }
  #how .steps { left:0; right:0; width:auto; max-width:none; }
  .big { font-size:58px; }
  .head h1 { font-size:88px; }
  .lede { font-size:20px; }
  .wm img { height:48px; }
}
