:root {
  --bg: #ffffff;
  --text: #1f2937;
  --muted: #6b7280;
  --navy: #1B263B;
  --accent: #00A8A8;
  --band: #F6F8FA;
}

* {
  box-sizing: border-box
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6
}

a {
  color: var(--accent);
  text-decoration: none
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px
}

.site-header {
  background: var(--navy);
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 10
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px
}

.logo {
  color: #fff;
  font-weight: 700;
  letter-spacing: .2px
}

nav a {
  color: #cfe3ff;
  margin-left: 18px
}

nav a.active,
nav a.button {
  color: #fff
}

.button {
  background: var(--accent);
  color: #fff;
  padding: 10px 16px;
  border-radius: 10px;
  font-weight: 600;
  display: inline-block
}

.button.ghost {
  background: transparent;
  border: 2px solid var(--accent);
  color: var(--accent)
}

.button.small {
  padding: 8px 12px
}

.hero {
  padding: 80px 0;
  background: linear-gradient(180deg, #fafdff, #eef7f7)
}

.hero h1 {
  font-size: 42px;
  line-height: 1.2;
  margin: 0 0 10px
}

.hero .sub {
  font-size: 18px;
  color: var(--muted);
  max-width: 720px
}

.cta-row {
  margin-top: 20px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap
}

.band {
  background: var(--band);
  padding: 40px 0
}

.cards {
  display: grid;
  gap: 18px
}

.cards.two {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr))
}

.cards.four {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr))
}

.card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: 18px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .04)
}

.grid.two {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  align-items: start;
  margin: 36px auto
}

.center {
  text-align: center
}

.well {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: 18px
}

.page-hero {
  background: linear-gradient(180deg, #f9fbff, #f1f5fb);
  padding: 40px 0;
  margin-bottom: 10px
}

.page-hero h1 {
  margin: 0
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px
}

.step {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: 18px;
  position: relative
}

.step .num {
  position: absolute;
  top: -14px;
  left: -14px;
  background: var(--accent);
  color: #fff;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700
}

ul.unstyled {
  list-style: none;
  padding: 0;
  margin: 0
}

ul.check {
  list-style: none;
  padding-left: 0
}

ul.check li {
  padding-left: 28px;
  position: relative;
  margin: 8px 0
}

ul.check li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700
}

.site-footer {
  background: #0f172a;
  color: #cbd5e1;
  margin-top: 40px;
  padding: 28px 0
}

.site-footer h4 {
  color: #fff;
  margin: .2rem 0 .4rem
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px
}

.tiny {
  font-size: 12px;
  color: #9aa4b2;
  margin-top: 8px
}

/* forms */
label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px
}

input,
select,
textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  font: inherit
}

.contact-form {
  max-width: 760px;
  margin: 10px auto
}

@media (max-width:600px) {
  .hero h1 {
    font-size: 32px
  }
}

/* ---- TPG brand accents ---- */
:root { --gold:#C1A058; }               /* tiny shift from #C6A45B */

.site-header {                           /* subtle heritage underline */
  border-bottom: 3px solid var(--gold);
}

/* brand: bell + name + tagline */
.brand{
  display:flex; align-items:center; gap:14px; text-decoration:none; color:#fff; min-width:0;
}
.brand-bell{
  height:56px; width:auto; display:block;        /* tweak 48–64px to taste */
  image-rendering:auto;
}
.brand-text{
  font-weight:700; letter-spacing:.2px; white-space:nowrap; color:#fff;
}
.tagline{
  color:var(--gold); font-size:.85rem; letter-spacing:.12em; text-transform:uppercase;
  white-space:nowrap; opacity:.95; margin-left:8px;
}

/* Nav: consistent near-white, gold = active accent */
nav a { color:#E6ECF6; margin-left:18px; position:relative; }
nav a:hover { color:#fff; }
nav a.active::after{
  content:""; position:absolute; left:0; right:0; bottom:-8px;
  height:2px; background:var(--gold); border-radius:2px;
}

/* CTA stays teal; make hover subtle, not new color */
.button { background: var(--accent); color:#fff; }
.button:hover { filter: brightness(1.05); }


/* responsive tweaks */
@media (max-width: 780px){
  .brand-bell{ height:44px; }
  .tagline{ display:none; }
}

/* ========== MOBILE HEADER (<=820px) ========== */
.nav-toggle{ display:none; } /* the hidden checkbox for the menu */

/* Everything here only applies on mobile/tablet sizes */
@media (max-width: 820px){
  /* header spacing & positioning context for dropdown */
  .site-header .container{
    position:relative;
    padding:10px 14px;
  }

  /* brand row: bell + text (no tagline) */
  .brand{
    display:flex; align-items:center; gap:10px;
  }
  .brand-bell{
    height:28px; width:auto; display:block;
  }
  .brand-text{
    display:inline-block; color:#fff; font-weight:600; font-size:1rem;
    /* keep on one line; truncate if too long */
    white-space:nowrap; overflow:hidden; text-overflow:ellipsis; max-width:50vw;
  }
  .tagline{ display:none; }

  /* the Menu button (visible only on mobile) */
  .menu-btn{
    display:inline-flex; align-items:center; margin-left:auto;
    background:transparent; color:#fff;
    border:1px solid rgba(255,255,255,.25);
    border-radius:10px; padding:8px 12px; line-height:1; cursor:pointer;
  }

  /* collapsed nav by default */
  nav{
    display:none;
    position:absolute; top:100%; left:0; right:0;
    background:var(--navy);
    border-bottom:3px solid var(--gold);
    padding:10px 16px;
    flex-direction:column; gap:8px;
    box-shadow:0 6px 20px rgba(0,0,0,.25);
  }

  /* show dropdown when toggled (HTML order: input + label + nav) */
  .nav-toggle:checked + .menu-btn + nav{ display:flex; }

  /* links inside the dropdown */
  nav a{
    margin:0; padding:12px 4px; color:#E6ECF6;
  }
  nav a + a{ border-top:1px solid rgba(255,255,255,.06); }
  nav a:hover{ color:#fff; }
  nav a.active::after{ bottom:-2px; }  /* smaller underline spacing on mobile */

  /* keep Contact button left-aligned in dropdown */
  .button{ align-self:flex-start; }
}

/* Extra-tight phones (<=520px): nudge sizes down a bit */
@media (max-width:520px){
  .brand-bell{ height:24px; }
  .brand-text{ font-size:.95rem; max-width:58vw; }
}

/* Desktop: always show full nav, never show Menu button */
@media (min-width: 821px){
  .menu-btn { display: none !important; }
  .nav-toggle { display: none !important; }
  nav{
    display:flex !important;
    position: static !important;
    padding: 0 !important;
    border: 0 !important;
    box-shadow: none !important;
    flex-direction: row !important;
    gap: 0 !important;
  }
}
