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

body {
  overflow-x: hidden;
  font-size: 17px;
  line-height: 1.6;
}

h1,
h2,
h3,
.font-display {
  font-family: Outfit, system-ui, sans-serif;
  letter-spacing: -0.015em;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid #1a73e8;
  outline-offset: 2px;
}

/* Header */
.nav-link {
  color: #5f6368;
  font-weight: 600;
  padding: 0.35rem 0;
  border-bottom: 2px solid transparent;
}

.nav-link:hover {
  color: #202124;
}

.nav-link.active {
  color: #1a73e8;
  border-bottom: 3px solid #1a73e8;
}

.mobile-nav a {
  display: block;
  padding: 0.85rem 0;
  border-bottom: 1px solid #dadce0;
  font-weight: 600;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 46px;
  padding: 0.7rem 1.3rem;
  border-radius: 999px;
  font-weight: 500;
  letter-spacing: 0.01em;
  line-height: 1.2;
  transition: background-color 150ms ease, color 150ms ease, border-color 150ms ease, box-shadow 150ms ease;
}

.btn-primary {
  background: #1a73e8;
  color: #fff;
}

.btn-primary:hover {
  background: #1557b0;
  box-shadow: 0 1px 3px rgba(60, 64, 67, 0.3), 0 4px 8px 3px rgba(60, 64, 67, 0.15);
}

.btn-outline {
  border: 1px solid #dadce0;
  color: #1a73e8;
  background: #fff;
}

.btn-outline:hover {
  background: #f8fbff;
  border-color: #d2e3fc;
}

.btn-whatsapp {
  background: #188038;
  color: #fff;
}

.btn-whatsapp:hover {
  background: #137333;
}

/* Four-colour strip, used under the header and as an accent */
.g-bar {
  height: 4px;
  background: linear-gradient(90deg, #4285f4 0 25%, #ea4335 25% 50%, #fbbc04 50% 75%, #34a853 75% 100%);
}

/* Coloured number badges and step accents, cycling blue, red, yellow, green */
.g-num {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  font-family: Outfit, system-ui, sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  background: #4285f4;
}

.g-cycle > :nth-child(4n + 2) .g-num {
  background: #ea4335;
}

.g-cycle > :nth-child(4n + 3) .g-num {
  background: #fbbc04;
  color: #202124;
}

.g-cycle > :nth-child(4n + 4) .g-num {
  background: #34a853;
}

.g-steps > li {
  border-top: 4px solid #4285f4;
  border-radius: 2px;
}

.g-steps > li:nth-child(4n + 2) {
  border-top-color: #ea4335;
}

.g-steps > li:nth-child(4n + 3) {
  border-top-color: #fbbc04;
}

.g-steps > li:nth-child(4n + 4) {
  border-top-color: #34a853;
}

/* Soft Material-style card */
.g-card {
  border: 1px solid #dadce0;
  border-radius: 16px;
  background: #fff;
  transition: box-shadow 150ms ease;
}

.g-card:hover {
  box-shadow: 0 1px 2px rgba(60, 64, 67, 0.3), 0 2px 6px 2px rgba(60, 64, 67, 0.15);
}

/* Small label above headings */
.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #1a73e8;
}

/* Lists with a short dash instead of icons */
.dash-list li {
  position: relative;
  padding-left: 1.25rem;
  margin-top: 0.45rem;
}

.dash-list li::before {
  content: '';
  position: absolute;
  left: 0.1rem;
  top: 0.62em;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 999px;
  background: #4285f4;
}

.dash-list li:nth-child(4n + 2)::before {
  background: #ea4335;
}

.dash-list li:nth-child(4n + 3)::before {
  background: #fbbc04;
}

.dash-list li:nth-child(4n + 4)::before {
  background: #34a853;
}

/* Sample alert card on the home page */
.alert-card {
  border-left: 4px solid #ea4335;
}

/* FAQ */
details.faq {
  border-bottom: 1px solid #dadce0;
}

details.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 1.1rem 2rem 1.1rem 0;
  position: relative;
  font-weight: 700;
  font-size: 1.05rem;
}

details.faq summary::-webkit-details-marker {
  display: none;
}

details.faq summary::after {
  content: '+';
  position: absolute;
  right: 0.25rem;
  top: 0.95rem;
  font-size: 1.4rem;
  font-weight: 400;
  color: #70757a;
}

details.faq[open] summary::after {
  content: '–';
}

details.faq p {
  padding-bottom: 1.1rem;
  color: #5f6368;
}

/* Tables */
.plain-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.98rem;
}

.plain-table th,
.plain-table td {
  text-align: left;
  vertical-align: top;
  padding: 0.75rem 1rem 0.75rem 0;
  border-bottom: 1px solid #dadce0;
}

.plain-table th {
  font-weight: 700;
  width: 34%;
  color: #202124;
}

.plain-table td {
  color: #5f6368;
}

/* Form */
.form-field {
  width: 100%;
  min-height: 48px;
  border: 1.5px solid #dadce0;
  border-radius: 8px;
  background: #fff;
  color: #202124;
  font-size: 1rem;
  padding: 0.65rem 0.85rem;
  transition: border-color 150ms ease;
}

.form-field:focus {
  border-color: #1a73e8;
  outline: none;
}

.form-label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.95rem;
  font-weight: 700;
}

/* Privacy and terms pages */
.legal section {
  margin-top: 2.75rem;
  padding-top: 1.75rem;
  border-top: 1px solid #dadce0;
  scroll-margin-top: 5rem;
}

.legal h2 {
  font-size: 1.45rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.legal h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 1.5rem 0 0.4rem;
}

.legal section p,
.legal section ul {
  color: #5f6368;
  margin-bottom: 0.9rem;
}

.legal section ul {
  list-style: disc;
  padding-left: 1.3rem;
}

.legal section li {
  margin-bottom: 0.4rem;
}

.legal section a,
.legal nav a {
  color: #1a73e8;
}

.legal section a:hover,
.legal nav a:hover {
  text-decoration: underline;
}

.legal strong {
  color: #202124;
}

.legal-note {
  margin: 1.1rem 0;
  border-left: 4px solid #ea4335;
  background: #fff;
  padding: 0.9rem 1.1rem;
}

.legal-note p {
  margin: 0 !important;
}

/* Sticky call / WhatsApp bar on phones */
.call-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 40;
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid #dadce0;
  background: #fff;
  box-shadow: 0 -4px 14px rgba(0, 0, 0, 0.06);
}

.call-bar a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 54px;
  font-weight: 700;
}

.call-bar a + a {
  background: #188038;
  color: #fff;
}

@media (min-width: 768px) {
  .call-bar {
    display: none;
  }
}

@media (max-width: 767px) {
  body.has-call-bar {
    padding-bottom: 54px;
  }
}
