/* GYM:30 brand system: navy bands, electric blue accent, squared corners.
   Tokens from /work/brand/GYM30_DESIGN.md. */

.g30 {
  --blue: #008efc;
  --blue-dk: #0072cc;
  --navy: #021033;
  --surface-dark: #212832;
  --ink: #1a1d21;
  --ink-soft: #6b7280;
  --tint: #f2f7ff;
  --line: #e2e8f0;
  --display: "Bebas Neue", "Oswald", "Arial Narrow", sans-serif;
  --body: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  --max: 1060px;

  background: #ffffff;
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.65;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
}

.g30 main {
  flex: 1;
}

.g30-wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

.g30 h1,
.g30 h2,
.g30 h3 {
  font-family: var(--display);
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 1.05;
  margin: 0;
  text-transform: uppercase;
  text-wrap: balance;
}

.g30 h1 {
  font-size: clamp(2.6rem, 6vw, 4rem);
}
.g30 h2 {
  font-size: clamp(1.6rem, 3.2vw, 2.1rem);
  margin-top: 2.4rem;
  margin-bottom: 0.6rem;
}
.g30 h3 {
  font-size: 1.25rem;
  margin-top: 1.6rem;
  margin-bottom: 0.4rem;
}

.g30 p {
  margin: 0 0 1rem;
}
.g30 a {
  color: var(--blue-dk);
  text-decoration: none;
}
.g30 a:hover {
  text-decoration: underline;
}

/* nav */
.g30-nav {
  background: var(--navy);
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 40;
}
.g30-nav-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 64px;
}
.g30-logo {
  font-family: var(--display);
  font-size: 1.9rem;
  letter-spacing: 0.04em;
  color: #fff !important;
  text-decoration: none !important;
}
.g30-logo span {
  color: var(--blue);
}
.g30-nav ul {
  display: flex;
  gap: 22px;
  list-style: none;
  margin: 0 0 0 auto;
  padding: 0;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.g30-nav a {
  color: rgba(255, 255, 255, 0.78) !important;
  text-decoration: none !important;
}
.g30-nav a:hover,
.g30-nav a.is-active {
  color: var(--blue) !important;
}

/* page header band */
.g30-pagehead {
  background: var(--navy);
  color: #fff;
  padding: 56px 0 48px;
}
.g30-pagehead h1 {
  color: #fff;
}
.g30-eyebrow {
  color: var(--blue);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin: 0 0 12px;
}
.g30-lede {
  max-width: 62ch;
  margin-top: 16px;
  color: rgba(255, 255, 255, 0.78);
}

/* long form legal copy */
.g30-doc {
  padding: 48px 0 72px;
}
.g30-doc .g30-wrap {
  max-width: 74ch;
}
.g30-doc ul {
  margin: 0 0 1rem;
  padding-left: 1.3rem;
  list-style: disc outside;
}
.g30-doc li {
  margin-bottom: 0.45rem;
}
.g30-updated {
  color: var(--ink-soft);
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.g30-callout {
  border-left: 4px solid var(--blue);
  background: var(--tint);
  padding: 18px 22px;
  margin: 1.6rem 0;
}
.g30-callout p:last-child {
  margin-bottom: 0;
}

/* home */
.g30-hero {
  background: var(--navy);
  color: #fff;
  padding: 90px 0 80px;
}
.g30-hero h1 {
  color: #fff;
  max-width: 18ch;
}
.g30-hero p {
  max-width: 56ch;
  color: rgba(255, 255, 255, 0.8);
  margin-top: 18px;
}
.g30-pillars {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  padding: 56px 0;
}
.g30-pillar {
  background: var(--surface-dark);
  color: #fff;
  padding: 26px 24px;
}
.g30-pillar h3 {
  color: var(--blue);
}
.g30-pillar p {
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: 0;
}

.g30-btn {
  display: inline-block;
  background: var(--blue);
  color: #fff !important;
  font-family: var(--display);
  font-size: 1.15rem;
  letter-spacing: 0.06em;
  padding: 12px 28px;
  border: 0;
  cursor: pointer;
  text-decoration: none !important;
}
.g30-btn:hover {
  background: var(--blue-dk);
}
.g30-btn[disabled] {
  opacity: 0.6;
  cursor: progress;
}

/* form */
.g30-form {
  display: grid;
  gap: 18px;
  max-width: 540px;
  margin-top: 8px;
}
.g30-field label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.g30-field input[type="text"],
.g30-field input[type="email"],
.g30-field input[type="tel"] {
  width: 100%;
  padding: 11px 13px;
  border: 1px solid var(--line);
  border-radius: 0;
  font-family: var(--body);
  font-size: 1rem;
  background: #fff;
  color: var(--ink);
}
.g30-field input:focus {
  outline: 2px solid var(--blue);
  outline-offset: 0;
  border-color: var(--blue);
}
.g30-consent {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: var(--tint);
  padding: 16px 18px;
  font-size: 0.9rem;
  line-height: 1.55;
}
.g30-consent input {
  margin-top: 4px;
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}
.g30-fineprint {
  font-size: 0.85rem;
  color: #5b6472;
  max-width: 640px;
  margin: -4px 0 0;
}
.g30-error {
  color: #b42318;
  font-size: 0.9rem;
}
.g30-success {
  border-left: 4px solid var(--blue);
  background: var(--tint);
  padding: 20px 22px;
  max-width: 540px;
}

/* footer */
.g30-footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.76);
  padding: 44px 0 28px;
  font-size: 0.9rem;
}
.g30-footer a {
  color: rgba(255, 255, 255, 0.76) !important;
}
.g30-footer a:hover {
  color: var(--blue) !important;
}
.g30-footer-inner {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}
.g30-footer-name {
  font-family: var(--display);
  font-size: 1.5rem;
  color: #fff;
  letter-spacing: 0.04em;
  margin-bottom: 6px;
}
.g30-legalline {
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.55);
}
.g30-legalline p {
  margin: 0;
}
