/* GTI site styles, built from the GTI Web Design System. */

:root {
  --gti-green: #64AA22;
  --gti-green-dark: #548E1C;
  --gti-green-light: #E8F3DC;
  --gti-green-pale: #F3F9EB;
  --regal-navy: #223F65;
  --regal-navy-dark: #1B3352;
  --regal-navy-deep: #15263F;
  --white: #FFFFFF;
  --neutral-bg: #F6F7F8;
  --neutral-gray: #6B7580;
  --border: #E5E7EB;
  --amber-bg: #FEF7E0;
  --amber-border: #F4C63D;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 64px; }
body { font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif; color: var(--regal-navy); background: var(--white); font-size: 16px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4 { font-family: 'Poppins', sans-serif; line-height: 1.2; }
h1 { font-size: 32px; font-weight: 700; }
h2 { font-size: 28px; font-weight: 700; margin-bottom: 16px; }
h3 { font-size: 20px; font-weight: 600; margin-bottom: 8px; }
h4 { font-size: 17px; font-weight: 600; margin-bottom: 6px; }
p + p { margin-top: 16px; }
a { color: var(--gti-green-dark); font-weight: 600; }

/* Test site notices (not part of the design) */
.test-bar { background: var(--amber-bg); border-bottom: 1px solid var(--amber-border); padding: 8px 16px; font-size: 14px; display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; justify-content: space-between; }
.test-bar label { display: inline-flex; gap: 6px; align-items: center; font-weight: 600; cursor: pointer; }
.component-tag { background: var(--regal-navy-dark); color: #fff; font-size: 12px; font-weight: 600; padding: 4px 16px; }
body.hide-notes .component-tag, body.hide-notes .check-box { display: none; }
.check-box { background: var(--amber-bg); border: 1px solid var(--amber-border); border-radius: 6px; padding: 12px 16px; font-size: 14px; margin-top: 24px; color: var(--regal-navy); text-align: left; }

/* Site header */
.site-header { background: var(--regal-navy); color: #fff; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 16px; }
.site-logo img { height: 40px; width: auto; }
.site-nav { display: none; gap: 28px; }
.site-nav a { color: #fff; text-decoration: none; font-weight: 600; font-size: 14px; }
.site-nav a:hover { opacity: .8; }
.site-header .btn { min-height: 40px; padding: 8px 16px; font-size: 14px; }

/* Layout */
.section { padding: 48px 16px; }
.section--grey { background: var(--neutral-bg); }
.section--navy { background: var(--regal-navy); color: var(--white); }
.section--navy h2, .section--navy h3 { color: var(--white); }
.wrap { max-width: 1100px; margin: 0 auto; }
.wrap--read { max-width: 768px; margin: 0 auto; }
.centre { text-align: center; }
.eyebrow { color: var(--gti-green-dark); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.2px; margin-bottom: 8px; }
.section--navy .eyebrow { color: var(--gti-green); }
.muted { color: var(--neutral-gray); }

/* Hero: Split with image */
.hero { padding: 48px 16px; }
.hero h1 { margin-bottom: 16px; }
.hero .lead { font-size: 18px; opacity: .92; }
.hero-grid { display: grid; gap: 32px; align-items: center; }
.hero-image img { border-radius: 8px; aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.hero-points { list-style: none; margin-top: 20px; }
.hero-points li { position: relative; padding-left: 28px; margin-bottom: 8px; }
.hero-points li::before { content: ''; position: absolute; left: 4px; top: 7px; width: 12px; height: 7px; border: 2px solid var(--gti-green); border-right: none; border-top: none; transform: rotate(-45deg); }

/* Buttons */
.btn, a.primary-button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 24px; border-radius: 6px; font-weight: 600; font-size: 16px; text-decoration: none; text-align: center; }
.btn:hover, a.primary-button:hover { opacity: .9; }
.btn-primary, a.primary-button { background: var(--gti-green); color: #fff; }
.btn-outline-white { color: #fff; border: 1.5px solid #fff; }
.btn-outline-navy { color: var(--regal-navy); border: 1.5px solid var(--regal-navy); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.btn-row.centre-row { justify-content: center; }
.flex-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 16px 0; }

/* In-page nav: replaces the live page's tabs, so nothing hides behind a click */
.page-nav { position: sticky; top: 0; z-index: 10; background: var(--white); border-bottom: 1px solid var(--border); overflow-x: auto; }
.page-nav .wrap { display: flex; gap: 24px; padding: 0 16px; white-space: nowrap; }
.page-nav a { color: var(--regal-navy); text-decoration: none; font-size: 14px; padding: 14px 0; border-bottom: 2px solid transparent; }
.page-nav a:hover { color: var(--gti-green-dark); border-bottom-color: var(--gti-green); }

/* Feature grid (key benefits) */
.feature-grid { display: grid; gap: 16px; grid-template-columns: 1fr 1fr; margin-top: 32px; }
.feature-item { text-align: center; }
.feat-circle { width: 44px; height: 44px; border-radius: 50%; background: var(--gti-green); color: #fff; display: inline-flex; align-items: center; justify-content: center; margin-bottom: 10px; }
.feature-item p { font-weight: 600; font-size: 15px; line-height: 1.4; }

/* Cards */
.grid { display: grid; gap: 16px; grid-template-columns: 1fr; margin-top: 24px; }
.card { background: var(--white); border: 1px solid var(--border); border-radius: 8px; padding: 24px; box-shadow: 0 5px 5px rgba(0,0,0,.08); }
.card p { font-size: 16px; }
.unit-code { font-family: 'Inter', sans-serif; color: var(--gti-green-dark); font-size: 13px; font-weight: 700; letter-spacing: .6px; margin-bottom: 4px; }

/* Pricing card */
.pricing { display: grid; gap: 16px; grid-template-columns: 1fr; margin-top: 24px; }
.price-card { border: 1px solid var(--border); border-radius: 8px; padding: 24px; text-align: center; background: var(--white); }
.price-card.featured { background: var(--regal-navy); color: #fff; border-color: var(--regal-navy); position: relative; }
.price-label { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--gti-green-dark); margin-bottom: 6px; }
.price-card.featured .price-label { color: var(--gti-green); }
.price { font-family: 'Poppins', sans-serif; font-size: 40px; font-weight: 700; line-height: 1.1; }
.price-card:not(.featured) .price { color: var(--neutral-gray); }
.price-save { margin-top: 8px; font-size: 14px; opacity: .9; }

/* Stats cards (quick facts) */
.stats { display: grid; gap: 16px; grid-template-columns: 1fr; margin-top: 24px; }
.stat-card { border: 1px solid var(--border); border-radius: 8px; padding: 20px; background: var(--white); }
.stat-card .label { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--gti-green-dark); margin-bottom: 4px; }

/* Lists */
ul.ticks { list-style: none; margin: 16px 0; }
ul.ticks li { position: relative; padding-left: 28px; margin-bottom: 8px; }
ul.ticks li::before { content: ''; position: absolute; left: 4px; top: 7px; width: 12px; height: 7px; border: 2px solid var(--gti-green); border-right: none; border-top: none; transform: rotate(-45deg); }
.section--navy ul.ticks li::before { border-color: var(--gti-green); }

/* RPL band */
.rpl-band { display: grid; gap: 24px; align-items: center; }
.rpl-band img { width: 120px; }

/* Testimonials */
.test-card { background: var(--neutral-bg); padding: 24px; border-radius: 8px; }
.test-card .mark { color: var(--gti-green); font-family: 'Poppins', sans-serif; font-size: 32px; line-height: 1; margin-bottom: 8px; }
.test-card cite { display: block; font-style: normal; font-weight: 700; color: var(--gti-green-dark); margin-top: 12px; }
.test-card .badge { display: inline-block; margin-top: 6px; font-size: 12px; font-weight: 600; background: var(--gti-green-light); color: var(--gti-green-dark); padding: 3px 10px; border-radius: 12px; }

/* Long-form article body */
.prose h2 { margin-top: 48px; }
.prose h3 { margin-top: 32px; }
.prose ul, .prose ol { margin: 16px 0 16px 24px; }
.prose li { margin-bottom: 6px; }

/* FAQ accordion */
.faq { max-width: 768px; margin: 24px auto 0; }
.faq details { background: var(--white); border: 1px solid var(--border); border-radius: 6px; margin-bottom: 8px; }
.faq summary { cursor: pointer; list-style: none; padding: 16px 20px; font-weight: 600; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--gti-green-dark); font-size: 20px; line-height: 1; }
.faq details[open] summary::after { content: '\2212'; }
.faq details > div { padding: 0 20px 16px; }

/* Related article cards */
.related a.card { display: block; text-decoration: none; color: var(--regal-navy); }
.related a.card:hover { border-color: var(--gti-green); }
.related .more { color: var(--gti-green-dark); font-size: 14px; margin-top: 8px; display: block; }

/* Footer */
.site-footer { background: var(--regal-navy-deep); color: rgba(255,255,255,.88); padding: 48px 16px 24px; font-size: 14px; }
.site-footer a { color: #fff; font-weight: 500; text-decoration: none; }
.site-footer h4 { color: #fff; font-size: 15px; margin-bottom: 12px; }
.footer-grid { display: grid; gap: 32px; grid-template-columns: 1fr; }
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 6px; }
.footer-base { border-top: 1px solid rgba(255,255,255,.15); margin-top: 32px; padding-top: 16px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; }

@media (min-width: 768px) {
  h1 { font-size: 40px; } h2 { font-size: 32px; } h3 { font-size: 22px; }
  .section, .hero { padding: 64px 24px; }
  .grid--2, .pricing { grid-template-columns: 1fr 1fr; }
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .stats { grid-template-columns: 1fr 1fr; }
  .feature-grid { grid-template-columns: repeat(4, 1fr); }
  .card { padding: 28px; }
  .rpl-band { grid-template-columns: 140px 1fr; }
  .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
}
@media (min-width: 1000px) {
  h1 { font-size: 44px; } h2 { font-size: 34px; }
  .hero-grid { grid-template-columns: 1.1fr 1fr; }
  .site-nav { display: flex; }
  .stats { grid-template-columns: repeat(4, 1fr); }
  .units.grid { grid-template-columns: repeat(3, 1fr); }
}
