/* Landing page (getmeprepped.com, signed out). Mobile first; 720px and 1024px add room.
   Brand: navy, gold, cream; DM Serif Display for headings, Libre Franklin for text. */

@font-face {
  font-family: "DM Serif Display";
  src: url("fonts/dm-serif-display-latin.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Libre Franklin";
  src: url("fonts/libre-franklin-latin-var.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  color-scheme: light;
  --navy: #1F2E4F;
  --navy-2: #2B3E66;
  --gold: #D9A441;
  --gold-text: #8A6516;     /* gold dark enough for text on cream */
  --cream: #F7F3EA;
  --surface: #FFFDF8;
  --border: #E2DCCD;
  --text: #1F2E4F;
  --text-2: #4A5468;
  --serif: "DM Serif Display", Georgia, "Times New Roman", serif;
  --sans: "Libre Franklin", Arial, Helvetica, sans-serif;
  --gutter: 16px;
}
@media (min-width: 720px) { :root { --gutter: 32px; } }

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--cream); color: var(--text); font: 400 17px/1.55 var(--sans); }
img { max-width: 100%; height: auto; }
a { color: var(--navy); text-underline-offset: 3px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.12; margin: 0 0 .5rem; }
h1 { font-size: 2.6rem; }
h2 { font-size: 1.9rem; }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1rem; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.l-wrap { max-width: 1100px; margin: 0 auto; padding: 0 var(--gutter); }
.l-narrow { max-width: 640px; }

/* Header */
.l-top { background: var(--surface); border-bottom: 1px solid var(--border); }
.l-top-inner { display: flex; align-items: center; justify-content: space-between; min-height: 64px; }
.l-brand { display: flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--navy); min-height: 44px; }
.l-brand span { font-family: var(--serif); font-size: 1.7rem; line-height: 1; }
.l-brand img { width: 36px; height: 36px; }
.l-signin { display: inline-flex; align-items: center; min-height: 44px; padding: 0 .4rem; font-weight: 600; }

/* Hero */
.l-hero { background: var(--navy); color: var(--cream); padding: 40px 0 44px; }
.l-hero-inner { display: grid; gap: 28px; }
.l-kicker { color: var(--gold); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; font-size: .85rem; margin-bottom: .6rem; }
.l-hero h1 { color: var(--cream); }
.l-lede { font-size: 1.15rem; color: #E6E1D5; max-width: 34rem; }
.l-moose { margin: 0; display: flex; align-items: center; gap: 16px; }
.l-moose img { width: 96px; height: 96px; border-radius: 14px; border: 3px solid var(--gold); background: var(--cream); flex: none; }
.l-moose figcaption { color: #E6E1D5; font-size: .95rem; }
@media (min-width: 1024px) {
  .l-hero { padding: 72px 0 80px; }
  .l-hero-inner { grid-template-columns: 1.4fr 1fr; align-items: center; gap: 56px; }
  h1 { font-size: 4rem; }
  .l-moose { flex-direction: column; text-align: center; }
  .l-moose img { width: 256px; height: 256px; border-radius: 22px; }
}

/* Signup form: fields stack on phones; from 480px the email takes a row, company and code share one. */
.l-form { display: grid; gap: 10px; max-width: 30rem; margin-top: 1.4rem; }
.l-form input {
  width: 100%; min-height: 52px; padding: .7rem .9rem; border-radius: 10px; border: 1px solid #CFC7B5;
  background: var(--surface); color: var(--text); font: 400 16px var(--sans);
}
.l-form input:focus { outline: 3px solid var(--gold); outline-offset: 1px; }
.l-form button {
  min-height: 52px; padding: 0 1.4rem; border: 0; border-radius: 10px; cursor: pointer;
  background: var(--gold); color: var(--navy); font: 700 1.05rem var(--sans);
}
.l-form button:hover { background: #E3B356; }
.l-form button[disabled] { opacity: .7; cursor: progress; }
.l-error { grid-column: 1 / -1; margin: 0; font-weight: 600; color: #A33A2C; background: #FDECEA; border-radius: 8px; padding: .5rem .75rem; }
@media (min-width: 480px) {
  .l-form { grid-template-columns: 1.6fr 1fr; }
  .l-form .l-email, .l-form button { grid-column: 1 / -1; }
}

/* Sections */
.l-section { padding: 48px 0; }
@media (min-width: 1024px) { .l-section { padding: 72px 0; } }
.l-gets { display: grid; gap: 18px; margin-top: 1.2rem; }
@media (min-width: 900px) { .l-gets { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
.l-get { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 22px; display: flex; flex-direction: column; }
.l-get > p { color: var(--text-2); }
.l-num {
  display: inline-grid; place-items: center; width: 1.7rem; height: 1.7rem; margin-right: .3rem; border-radius: 50%;
  background: var(--navy); color: var(--cream); font: 700 .9rem var(--sans); vertical-align: 3px;
}
.l-note { color: var(--text-2); font-size: .9rem; margin: 1rem 0 0; }

/* Samples drawn in the brief's own style (Georgia headings, Arial text, the gold "take"). */
.l-sample {
  margin-top: auto; background: #fff; border: 1px solid var(--border); border-radius: 10px; padding: 16px 18px;
  font-family: Arial, Helvetica, sans-serif; font-size: 15px; line-height: 1.45;
}
.l-sample p { margin: .5rem 0; }
.l-sample ul { margin: .4rem 0 0; padding-left: 1.2rem; }
.l-sample-title { font-weight: bold; font-size: 17px; line-height: 1.3; }
.l-sample-site { color: var(--text-2); font-size: 13px; }
.l-take { color: var(--gold-text); }
.l-sample-head { font-family: Georgia, "Times New Roman", serif; font-size: 19px; margin-bottom: .3rem; }
.l-remember { background: #FBF1DC; border: 0; border-left: 4px solid var(--gold); border-radius: 6px; }
.l-pick { font-weight: bold; padding: .45rem 0; border-top: 1px solid var(--border); }
.l-pick:first-of-type { border-top: 0; }

/* Market map */
.l-map { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.l-map-inner { display: grid; gap: 28px; align-items: center; }
@media (min-width: 900px) { .l-map-inner { grid-template-columns: 1.3fr 1fr; gap: 56px; } .l-heat { max-width: 340px; } }
.l-counter { font-size: 1.15rem; margin: 1.2rem 0 .5rem; }
.l-counter strong { font-family: var(--serif); font-weight: 400; font-size: 2rem; margin-right: .2rem; }
.l-meter { height: 12px; background: #ECE6D8; border-radius: 99px; overflow: hidden; max-width: 26rem; }
.l-meter span { display: block; height: 100%; background: var(--gold); border-radius: 99px; }
.l-heat { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; max-width: min(260px, 70vw); width: 100%; justify-self: center; }
.l-heat span { aspect-ratio: 1; border-radius: 6px; }
.h0 { box-shadow: inset 0 0 0 1px var(--border); }
.h1 { background: #dfe0e0; } .h2 { background: #b2b6be; } .h3 { background: #697287; } .h4 { background: #434f6a; } .h5 { background: var(--navy); }

/* Pricing: cards stack on phones, three across from 900px. */
.l-plans { display: grid; gap: 18px; margin-top: 1.2rem; }
@media (min-width: 900px) { .l-plans { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
.l-plan { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 22px; display: flex; flex-direction: column; }
.l-plan-featured { border: 2px solid var(--gold); }
.l-plan ul { margin: 0 0 1.2rem; padding-left: 1.2rem; color: var(--text-2); }
.l-plan li { margin: .3rem 0; }
.l-price { margin: 0 0 .8rem; color: var(--text-2); }
.l-price strong { font-family: var(--serif); font-weight: 400; font-size: 2rem; color: var(--navy); margin-right: .15rem; }
.l-plan-cta {
  margin-top: auto; display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 1.2rem;
  border-radius: 10px; background: var(--navy); color: var(--cream); font-weight: 700; text-decoration: none;
}
.l-plan-featured .l-plan-cta { background: var(--gold); color: var(--navy); }

/* Bottom signup */
.l-signup { text-align: left; }
.l-signup .l-form { max-width: none; }
.l-privacy { color: var(--text-2); font-size: .95rem; margin-top: 1.4rem; border-left: 3px solid var(--gold); padding-left: .9rem; }

/* Footer */
.l-foot { background: var(--navy); color: #E6E1D5; font-size: .95rem; }
.l-foot-inner { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; align-items: center; padding-top: 22px; padding-bottom: 22px; }
.l-foot a { color: var(--cream); display: inline-flex; align-items: center; min-height: 44px; }
.l-foot-links { display: flex; flex-wrap: wrap; gap: 0 20px; }

/* Terms and privacy */
.l-legal { max-width: 720px; }
.l-legal h2 { font-size: 1.5rem; margin-top: 2rem; }
.l-legal ul { padding-left: 1.2rem; margin: 0 0 1rem; }
.l-legal li { margin: .45rem 0; }
.l-dated { color: var(--text-2); font-size: .95rem; }
.l-done { margin: 16px 0; padding: .7rem 1rem; background: #E8F1E6; color: #2F6B2F; border-radius: 10px; font-weight: 600; }
