/* TealBuys — buying site theme
   Palette: deep teal ground, luminous aqua, gold for action.
   Type: Georgia for display (document-like, trustworthy), system sans for
   body, monospace for survey-style labels. All self-contained: no CDN fonts. */

:root {
  --ink:   #06282B;
  --deep:  #0B4A4F;
  --teal:  #12A594;
  --aqua:  #63E6D0;
  --pale:  #F2F9F8;
  --line:  #CFE7E3;
  --gold:  #F2B138;
  --body:  #24494A;

  --disp: Georgia, "Iowan Old Style", "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --shell: 1140px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--body);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; }
a { color: var(--teal); }

.shell {
  width: 100%;
  max-width: var(--shell);
  margin: 0 auto;
  padding: 0 20px;
}

.eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--teal);
  margin: 0 0 12px;
}
.eyebrow.center { text-align: center; }

.sec-h {
  font-family: var(--disp);
  font-size: 30px;
  line-height: 1.2;
  color: var(--ink);
  margin: 0 0 20px;
}
.sec-h.center { text-align: center; }

/* ---------- top bar + masthead ---------- */

.topbar {
  background: var(--ink);
  color: #9CD9D2;
  font-size: 13px;
}
.topbar-in {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  padding-top: 8px;
  padding-bottom: 8px;
}
.topbar-note { display: none; }
.topbar-tel {
  color: var(--aqua);
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.masthead {
  background: var(--deep);
  border-bottom: 1px solid rgba(99, 230, 208, 0.25);
}
.masthead-in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 12px;
  padding-bottom: 12px;
  position: relative;
}
.brand { display: inline-block; line-height: 0; }
.brand img { max-height: 52px; width: auto; }

.navtoggle {
  background: none;
  border: 1px solid rgba(99, 230, 208, 0.4);
  color: var(--aqua);
  font-size: 20px;
  line-height: 1;
  padding: 6px 10px;
  border-radius: 4px;
  cursor: pointer;
}

.nav { display: none; }
.nav.responsive {
  display: block;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--deep);
  border-top: 1px solid rgba(99, 230, 208, 0.25);
  z-index: 40;
}
.nav-list { list-style: none; margin: 0; padding: 8px 0; }
.nav-list li { border-bottom: 1px solid rgba(255,255,255,0.06); }
.nav-list li:last-child { border-bottom: 0; }
.nav-list a {
  display: block;
  padding: 12px 20px;
  color: #EAFBF8;
  text-decoration: none;
  font-size: 15px;
  letter-spacing: 0.04em;
}
.nav-list a.active, .nav-list a:hover { color: var(--aqua); }
.nav-list .close { text-align: right; padding: 4px 18px; }
.nav-list .close span { color: #7FB8B2; cursor: pointer; font-size: 22px; }

/* ---------- hero ---------- */

.hero {
  position: relative;
  background: var(--ink);
  color: #DFF6F2;
  overflow: hidden;
  padding: 44px 0 48px;
}
.hero-art {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.9;
}
.hero-art svg { width: 100%; height: 100%; display: block; }
.plat-tag {
  font-family: var(--mono);
  font-size: 15px;
  letter-spacing: 0.28em;
  fill: #9CF5E4;
  text-anchor: middle;
}
.hero-grid { position: relative; z-index: 1; }

.hero-h {
  font-family: var(--disp);
  font-weight: normal;
  font-size: 36px;
  line-height: 1.12;
  color: #fff;
  margin: 0 0 16px;
  letter-spacing: -0.01em;
}
.hero-sub { font-size: 17px; color: #BEE7E1; margin: 0 0 20px; }

.assure { list-style: none; margin: 0 0 28px; padding: 0; }
.assure li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 9px;
  font-size: 15.5px;
  color: #CFF0EB;
}
.assure li::before {
  content: "";
  position: absolute;
  left: 0; top: 9px;
  width: 9px; height: 9px;
  border: 2px solid var(--aqua);
  border-radius: 1px;
}
.assure.dark li { color: var(--body); }
.assure.dark li::before { border-color: var(--teal); }

/* ---------- form card ---------- */

.formcard {
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.28);
  overflow: hidden;
}
.formcard-top {
  background: var(--pale);
  border-bottom: 3px solid var(--gold);
  padding: 18px 20px 14px;
}
.formcard-h {
  font-family: var(--disp);
  font-size: 23px;
  color: var(--ink);
  margin: 0 0 2px;
}
.formcard-sub { margin: 0; font-size: 14px; color: #5A7C7A; }
.formcard-body { padding: 18px 20px; color: var(--body); }
.formcard-foot {
  margin: 0;
  padding: 12px 20px 16px;
  font-size: 12.5px;
  color: #6E8F8D;
  border-top: 1px solid var(--line);
}

/* system-generated form internals */
.formcard-body label,
.step2 label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 3px;
}
.formcard-body input[type="text"],
.formcard-body input[type="email"],
.formcard-body input[type="tel"],
.formcard-body input[type="number"],
.formcard-body select,
.formcard-body textarea,
.step2 input[type="text"],
.step2 input[type="email"],
.step2 input[type="tel"],
.step2 input[type="number"],
.step2 select,
.step2 textarea {
  width: 100%;
  max-width: 100%;
  padding: 11px 12px;
  margin-bottom: 12px;
  border: 1px solid var(--line);
  border-radius: 4px;
  font-family: var(--sans);
  font-size: 16px; /* 16px stops iOS zoom-on-focus */
  color: var(--ink);
  background: #fff;
}
.formcard-body input:focus,
.formcard-body select:focus,
.formcard-body textarea:focus,
.step2 input:focus,
.step2 select:focus,
.step2 textarea:focus {
  outline: 3px solid rgba(18, 165, 148, 0.35);
  outline-offset: 1px;
  border-color: var(--teal);
}
.formcard-body input[type="submit"],
.formcard-body button,
.step2 input[type="submit"],
.step2 button,
.btn {
  display: inline-block;
  background: var(--gold);
  color: var(--ink);
  border: 0;
  border-radius: 4px;
  padding: 14px 22px;
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.02em;
  cursor: pointer;
  text-decoration: none;
  width: 100%;
  transition: transform 0.12s ease, filter 0.12s ease;
}
.formcard-body input[type="submit"]:hover,
.step2 input[type="submit"]:hover,
.btn:hover { filter: brightness(1.06); transform: translateY(-1px); }
.formcard-body input[type="radio"],
.formcard-body input[type="checkbox"] { margin-right: 6px; }

.step2 { padding: 0 0 8px; }
.step2:empty { display: none; }

/* ---------- letter reassurance ---------- */

.letter { background: var(--deep); color: #DDF3F0; padding: 40px 0; }
.letter-mark { width: 54px; margin-bottom: 16px; }
.letter-mark svg { width: 100%; height: auto; display: block; }
.letter-h {
  font-family: var(--disp);
  font-weight: normal;
  font-size: 27px;
  color: #fff;
  margin: 0 0 14px;
  line-height: 1.2;
}
.letter-say p { margin: 0 0 14px; font-size: 16px; color: #C3E6E1; }

/* ---------- how it works ---------- */

.how { padding: 48px 0; background: var(--pale); }
.steps { list-style: none; counter-reset: none; margin: 0; padding: 0; }
.steps li {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 22px;
  margin-bottom: 14px;
}
.stepnum {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--teal);
  display: block;
  margin-bottom: 8px;
}
.steps h3 {
  font-family: var(--disp);
  font-size: 20px;
  color: var(--ink);
  margin: 0 0 6px;
}
.steps p { margin: 0; font-size: 15.5px; }

/* ---------- page heads + inner pages ---------- */

.pagehead { background: var(--ink); color: #DFF6F2; padding: 40px 0 36px; }
.page-h {
  font-family: var(--disp);
  font-weight: normal;
  font-size: 32px;
  color: #fff;
  margin: 0 0 12px;
  line-height: 1.15;
}
.page-sub { font-size: 16.5px; color: #BEE7E1; margin: 0; max-width: 62ch; }

.formpage { padding: 32px 0 40px; background: var(--pale); }
.sidenote { padding-top: 28px; }
.sidenote h3 {
  font-family: var(--disp);
  font-size: 19px;
  color: var(--ink);
  margin: 0 0 12px;
}
.sidenote h3.mt { margin-top: 22px; }
.sidenote-tel { font-size: 16px; margin: 0 0 6px; }

.words { padding: 44px 0; }
.words-in { max-width: 74ch; }
.cta-wrap { margin-top: 26px; }
.btn-lg { font-size: 17px; padding: 16px 26px; }

/* ---------- footer ---------- */

.foot { background: var(--ink); color: #9FCFC9; padding: 40px 0 22px; font-size: 15px; }
.foot-h {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--aqua);
  margin: 0 0 10px;
}
.foot-col { margin-bottom: 26px; }
.foot-logo img { max-height: 46px; width: auto; }
.foot-about { font-size: 14.5px; color: #85B8B2; margin: 12px 0 0; }
.foot-line { margin: 0 0 6px; }
.foot a { color: #C9EEE9; text-decoration: none; }
.foot a:hover { color: var(--aqua); }
.foot-menu a { display: block; margin-bottom: 6px; }
.foot-base {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 16px;
  font-size: 13px;
  color: #6E9B96;
}
.foot-base p { margin: 0 0 4px; }
.foot-fine { font-size: 12px; color: #588883; }

/* ---------- larger screens ---------- */

@media (min-width: 760px) {
  .topbar-note { display: inline; }
  .topbar-in { justify-content: space-between; }

  .navtoggle { display: none; }
  .nav { display: block; }
  .nav-list { display: flex; gap: 4px; padding: 0; }
  .nav-list li { border: 0; }
  .nav-list .close { display: none; }
  .nav-list a { padding: 8px 14px; font-size: 14px; }

  .hero { padding: 72px 0 84px; }
  .hero-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 48px;
    align-items: center;
  }
  .hero-h { font-size: 52px; }
  .hero-sub { font-size: 18px; }

  .letter-in { display: grid; grid-template-columns: 64px 1fr; gap: 26px; }
  .letter-mark { margin-bottom: 0; }
  .letter-h { font-size: 31px; }
  .letter { padding: 56px 0; }

  .steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .steps li { margin-bottom: 0; }

  .sec-h { font-size: 34px; }
  .page-h { font-size: 42px; }

  .formpage-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 40px; align-items: start; }
  .sidenote { padding-top: 4px; }

  .foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
  .foot-col { margin-bottom: 0; }

  .btn, .formcard-body input[type="submit"] { width: auto; }
  .formcard-body input[type="submit"] { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}

a:focus-visible, button:focus-visible, input:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
}
