/* ==========================================================================
   GAMBT LLC — gambt.co
   Single-page stylesheet. Mobile first. No build step, no external assets.
   Change the brand accent in ONE place: --accent below.
   ========================================================================== */

:root {
  /* Brand
     --accent is THE brand green, carried over from the previous GoDaddy site.
     Use it for fills, borders, and decoration.

     Do NOT use --accent for text or for a background behind white text: on white it
     measures 4.41:1, just under the 4.5:1 WCAG AA minimum for normal-size text.
     --accent-ink is the same hue darkened to 6.6:1 and is what text and buttons use.
     If --accent ever changes, re-derive --accent-ink alongside it. */
  --accent:        #0A8A50;   /* brand green — fills, borders, decoration */
  --accent-ink:    #076B3E;   /* same hue, AA-safe for text and button fills */
  --accent-dark:   #05532F;   /* hover / active */
  --accent-tint:   #F0F8F4;   /* pale wash for alternating sections */

  /* Neutrals */
  --ink:           #14171A;   /* headings */
  --body:          #4A5259;   /* body copy */
  --muted:         #6E777E;   /* labels, footer */
  --rule:          #E3E7EA;   /* hairlines and card borders */
  --bg:            #FFFFFF;

  /* Type */
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
          Arial, "Noto Sans", sans-serif;

  /* Rhythm */
  --wrap:          1120px;
  --gutter:        24px;
  --section-y:     72px;
  --radius:        4px;
}

/* --------------------------------------------------------------------------
   Reset
   -------------------------------------------------------------------------- */

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

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

h1, h2, h3 {
  margin: 0 0 .5em;
  color: var(--ink);
  line-height: 1.2;
  letter-spacing: -0.015em;
  font-weight: 650;
}

p { margin: 0 0 1.15em; }
p:last-child { margin-bottom: 0; }

a { color: var(--accent-ink); }
a:hover { color: var(--accent-dark); }

/* Visible focus for keyboard users, everywhere. */
a:focus-visible,
.btn:focus-visible {
  outline: 2px solid var(--accent-ink);
  outline-offset: 3px;
  border-radius: 2px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* --------------------------------------------------------------------------
   Layout primitives
   -------------------------------------------------------------------------- */

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.narrow { max-width: 760px; }

.section { padding-block: var(--section-y); }

.section-alt {
  background: var(--accent-tint);
  border-block: 1px solid var(--rule);
}

.section h2 { font-size: 1.75rem; }

.section-intro {
  max-width: 640px;
  margin-bottom: 2.5rem;
  font-size: 1.0625rem;
}

.skip-link {
  position: absolute;
  left: -9999px;
}
.skip-link:focus {
  left: var(--gutter);
  top: 12px;
  z-index: 10;
  padding: 10px 16px;
  background: var(--bg);
  border: 1px solid var(--accent);
  border-radius: var(--radius);
  text-decoration: none;
}

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  background: rgba(255, 255, 255, .96);
  border-bottom: 1px solid var(--rule);
  backdrop-filter: saturate(180%) blur(8px);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: 66px;
  flex-wrap: wrap;
}

/* Text wordmark standing in for a logo. */
.wordmark {
  margin-right: auto;
  color: var(--ink);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-decoration: none;
}
.wordmark:hover { color: var(--ink); }

.nav {
  display: flex;
  gap: 26px;
}

.nav a {
  color: var(--body);
  font-size: .9375rem;
  text-decoration: none;
}
.nav a:hover { color: var(--accent-ink); }

.header-email {
  color: var(--ink);
  font-size: .9375rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}
.header-email:hover { color: var(--accent-ink); }

/* Below 720px: nav drops to its own row, email stays beside the wordmark. */
@media (max-width: 719px) {
  .header-inner { padding-block: 12px; gap: 10px 16px; }
  .nav {
    order: 3;
    width: 100%;
    gap: 20px;
    padding-top: 4px;
    border-top: 1px solid var(--rule);
  }
  .nav a { font-size: .875rem; }
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero {
  padding-block: 96px 88px;
  border-bottom: 1px solid var(--rule);
}

.hero-inner { max-width: 760px; }

.eyebrow {
  margin-bottom: 1.1rem;
  color: var(--accent-ink);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.hero h1 {
  font-size: clamp(2.125rem, 5.2vw, 3.25rem);
  margin-bottom: .55em;
}

.lede {
  max-width: 620px;
  margin-bottom: 2.25rem;
  font-size: 1.1875rem;
  line-height: 1.6;
}

.btn {
  display: inline-block;
  padding: 14px 30px;
  background: var(--accent-ink);
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius);
}
.btn:hover { background: var(--accent-dark); color: #fff; }

@media (min-width: 720px) {
  .hero { padding-block: 128px 116px; }
}

/* --------------------------------------------------------------------------
   Service cards
   -------------------------------------------------------------------------- */

.cards {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
}

.card {
  padding: 30px 28px;
  background: var(--bg);
  border: 1px solid var(--rule);
  border-top: 3px solid var(--accent);
  border-radius: var(--radius);
}

.card h3 {
  font-size: 1.1875rem;
  margin-bottom: .6em;
}

.card p {
  font-size: .9375rem;
  line-height: 1.7;
}

@media (min-width: 900px) {
  .cards { grid-template-columns: repeat(3, 1fr); gap: 24px; }
}

/* --------------------------------------------------------------------------
   Contact
   -------------------------------------------------------------------------- */

.contact-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--rule);
}

.contact-list li {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 20px;
  padding-block: 18px;
  border-bottom: 1px solid var(--rule);
}

.contact-label {
  flex: 0 0 100px;
  color: var(--muted);
  font-size: .8125rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding-top: 3px;
}

.contact-list a {
  font-size: 1.0625rem;
  font-weight: 600;
  text-decoration: none;
}
.contact-list a:hover { text-decoration: underline; }

.contact-plain { font-size: 1.0625rem; }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.site-footer {
  border-top: 1px solid var(--rule);
  padding-block: 32px;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 20px;
  justify-content: space-between;
  color: var(--muted);
  font-size: .875rem;
}
