:root {
  color-scheme: light;
  --ink: #182026;
  --muted: #5e6a72;
  --line: #d9e1e5;
  --bg: #f6f8f9;
  --panel: #fff;
  --brand: #0d766e;
  --brand-dark: #075951;
  --accent: #d94f30;
  --soft: #e7f4f1;
  --shadow: 0 10px 28px rgba(24, 32, 38, .08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.68;
  letter-spacing: 0;
}

a { color: inherit; text-decoration: none; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px clamp(18px, 4vw, 48px);
  border-bottom: 1px solid rgba(217, 225, 229, .9);
  background: rgba(255, 255, 255, .95);
  backdrop-filter: blur(12px);
}

.logo {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  color: var(--brand-dark);
  font-weight: 900;
  font-size: 1.15rem;
}

nav {
  display: flex;
  gap: 4px;
  overflow-x: auto;
  white-space: nowrap;
  scrollbar-width: none;
}

nav a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 8px 10px;
  border-radius: 8px;
  color: var(--muted);
  font-size: .93rem;
  font-weight: 800;
}

nav a:hover, nav a:focus-visible, nav a.active {
  color: var(--brand-dark);
  background: var(--soft);
}

nav a.cta-link {
  min-height: 46px;
  padding: 10px 16px;
  color: #fff;
  background: var(--accent);
  box-shadow: 0 8px 18px rgba(217, 79, 48, .24);
}

nav a.cta-link:hover, nav a.cta-link:focus-visible {
  color: #fff;
  background: #bd3d22;
}

main { overflow: hidden; }
.section, .hero, .site-footer { padding: 46px clamp(18px, 5vw, 64px); }
.inner { width: min(1120px, 100%); margin: 0 auto; }

.hero {
  position: relative;
  display: grid;
  align-items: center;
  min-height: 440px;
  color: #fff;
  background:
    linear-gradient(112deg, rgba(7, 89, 81, .95), rgba(13, 118, 110, .72), rgba(217, 79, 48, .65)),
    url("https://images.unsplash.com/photo-1540555700478-4be289fbecef?auto=format&fit=crop&w=1600&q=76") center/cover;
}

.hero.slim {
  min-height: 300px;
  background:
    linear-gradient(120deg, rgba(7, 89, 81, .95), rgba(13, 118, 110, .82)),
    url("https://images.unsplash.com/photo-1515378791036-0648a3ef77b2?auto=format&fit=crop&w=1600&q=76") center/cover;
}

.eyebrow {
  margin: 0 0 10px;
  color: #dff7f2;
  font-size: .9rem;
  font-weight: 900;
}

h1, h2, h3, p, li { overflow-wrap: anywhere; }
h1 {
  max-width: 860px;
  margin: 0 0 18px;
  font-size: clamp(2rem, 7vw, 4.4rem);
  line-height: 1.08;
  letter-spacing: 0;
}

h2 {
  margin: 0 0 16px;
  font-size: clamp(1.45rem, 4vw, 2.25rem);
  line-height: 1.22;
  letter-spacing: 0;
}

h3 {
  margin: 0 0 8px;
  font-size: 1.1rem;
  line-height: 1.28;
  letter-spacing: 0;
}

.hero p, .hero-copy {
  max-width: 850px;
  margin: 0 0 20px;
  color: rgba(255, 255, 255, .92);
  font-size: 1.03rem;
}

.mega-cta {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: min(620px, 100%);
  min-height: 88px;
  margin: 4px 0 22px;
  padding: 18px 24px;
  border: 2px solid rgba(255, 255, 255, .94);
  border-radius: 8px;
  color: #fff;
  background: var(--accent);
  box-shadow: 0 20px 42px rgba(24, 32, 38, .34);
  font-size: clamp(1.45rem, 5vw, 2.2rem);
  font-weight: 950;
  line-height: 1.12;
  text-align: center;
}

.mega-cta:hover, .mega-cta:focus-visible {
  background: #bd3d22;
  transform: translateY(-2px);
}

.search {
  display: grid;
  gap: 10px;
  max-width: 760px;
  padding: 10px;
  border-radius: 8px;
  background: rgba(255, 255, 255, .96);
  box-shadow: var(--shadow);
}

.search label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

input[type="search"] {
  min-height: 48px;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 14px;
  color: var(--ink);
  font: inherit;
}

button, .button, .pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border: 0;
  border-radius: 8px;
  padding: 10px 14px;
  font: inherit;
  font-weight: 850;
  cursor: pointer;
}

button, .button {
  color: #fff;
  background: var(--brand);
}

.button[href^="https://opking03.com"] {
  min-height: 54px;
  padding: 13px 18px;
  background: var(--accent);
  box-shadow: 0 10px 22px rgba(217, 79, 48, .25);
  font-size: 1.05rem;
}

.pill {
  color: var(--brand-dark);
  background: #fff;
  border: 1px solid var(--line);
}

.pill:hover, .text-link:hover { border-color: var(--brand); color: var(--brand-dark); }
.link-row, .pill-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.pill-grid { margin-top: 0; }
.section.alt { background: var(--panel); }
.intro {
  max-width: 820px;
  margin: 0 0 24px;
  color: var(--muted);
}

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

.card {
  min-width: 0;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 6px 18px rgba(24, 32, 38, .045);
}

.card p { margin: 0 0 12px; color: var(--muted); }
.text-link {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  color: var(--brand-dark);
  font-weight: 900;
}

.notice {
  padding: 22px;
  border-left: 5px solid var(--accent);
  border-radius: 8px;
  background: #fff8f5;
}

.steps {
  counter-reset: step;
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 14px;
}

.steps li {
  counter-increment: step;
  position: relative;
  padding: 18px 18px 18px 64px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.steps li::before {
  content: counter(step);
  position: absolute;
  top: 18px;
  left: 18px;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  color: #fff;
  background: var(--brand);
  font-weight: 900;
}

.content {
  max-width: 900px;
  color: #33404a;
  font-size: 1.02rem;
}

.content ul { padding-left: 1.2rem; }
details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  overflow: hidden;
}

details + details { margin-top: 10px; }
summary {
  min-height: 54px;
  display: flex;
  align-items: center;
  padding: 14px 18px;
  font-weight: 900;
  cursor: pointer;
}

details p {
  margin: 0;
  padding: 0 18px 18px;
  color: var(--muted);
}

.site-footer {
  color: #dbe7e4;
  background: #162320;
}

.footer-grid {
  display: grid;
  gap: 22px;
  width: min(1120px, 100%);
  margin: 0 auto;
}

.site-footer h2 {
  margin-bottom: 8px;
  font-size: 1.18rem;
}

.site-footer p { color: #b9c8c5; }
.site-footer a {
  display: inline-flex;
  min-height: 32px;
  margin-right: 10px;
  color: #f4fbf9;
}

.disclaimer {
  width: min(1120px, 100%);
  margin: 18px auto 0;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, .16);
  font-size: .92rem;
}

@media (min-width: 760px) {
  .search { grid-template-columns: 1fr auto; }
  .grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1.1fr 1fr 1fr; }
}
