@import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:wght@500;600;700;800&family=Inter:wght@400;500;600;700&display=swap');

:root {
  --primary: #1B5057;
  --primary-dark: #0F3339;
  --primary-light: #E4F0F1;
  --accent: #72C842;
  --accent-dark: #5AAD2E;
  --accent-light: #EAF7DF;
  --background: #F7F6F3;
  --surface: #FFFFFF;
  --secondary-surface: #EBF5F6;
  --text: #1C2B2D;
  --text-muted: #556268;
  --border: #DDE5E6;
  --success: #22A259;
  --warning: #F0A500;
  --error: #D4183D;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --shadow-soft: 0 18px 45px rgba(15, 51, 57, 0.08);
  --shadow-card: 0 8px 24px rgba(15, 51, 57, 0.06);
  --container: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--background);
  color: var(--text);
  font-size: 16px;
  line-height: 1.6;
}

body.nav-open { overflow: hidden; }

img, svg { max-width: 100%; }

a { color: inherit; text-decoration: none; }

p { margin: 0 0 1rem; color: var(--text-muted); }

h1, h2, h3, h4 {
  font-family: "Bricolage Grotesque", Inter, sans-serif;
  color: var(--text);
  line-height: 1.1;
  margin: 0 0 1rem;
  letter-spacing: -0.03em;
}

h1 { font-size: clamp(2.45rem, 6vw, 4.2rem); font-weight: 800; }
h2 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 750; }
h3 { font-size: 1.3rem; font-weight: 700; }

.container {
  width: min(var(--container), calc(100% - 2rem));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 246, 243, 0.86);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(221, 229, 230, 0.8);
}

.header-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  color: var(--primary-dark);
}

.logo picture {
  display: block;
  flex: 0 0 auto;
}

.logo img {
  display: block;
  width: min(212px, 58vw);
  height: auto;
  flex: 0 0 auto;
}

.site-footer .logo img {
  width: min(220px, 60vw);
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  font-size: 0.95rem;
  font-weight: 650;
  color: var(--text-muted);
}

.nav a { padding: 0.45rem 0; }

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--primary);
}

.nav-toggle {
  display: none;
  appearance: none;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  color: var(--primary-dark);
  padding: 0.65rem 0.8rem;
  font-weight: 700;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 44px;
  padding: 0.78rem 1.15rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 750;
  font-size: 0.96rem;
  line-height: 1;
  transition: transform .16s ease, box-shadow .16s ease, background .16s ease, color .16s ease;
  cursor: pointer;
}

.button:hover { transform: translateY(-1px); }

.button-primary {
  background: var(--accent);
  color: var(--primary-dark);
  box-shadow: 0 10px 25px rgba(114, 200, 66, .24);
}

.button-primary:hover { background: var(--accent-dark); }

.nav a.button {
  min-height: 44px;
  padding: 0.78rem 1.15rem;
}

.nav a.button-primary:hover,
.nav a.button-primary[aria-current="page"] {
  color: var(--primary-dark);
}

.button-dark {
  background: var(--primary);
  color: white;
}

.button-secondary {
  background: transparent;
  border-color: var(--primary);
  color: var(--primary);
}

.button-muted {
  background: var(--secondary-surface);
  color: var(--primary);
}

.hero {
  padding: 72px 0 36px;
}

.hero-card {
  border-radius: var(--radius-xl);
  background: linear-gradient(160deg, #0F3339 0%, #1B5057 48%, #1E6068 100%);
  color: white;
  padding: clamp(2rem, 5vw, 4.8rem);
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, .85fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-soft);
}

.hero-card::after {
  content: "";
  position: absolute;
  inset: auto -12% -40% 42%;
  height: 420px;
  background: radial-gradient(circle, rgba(114,200,66,.26), transparent 62%);
  pointer-events: none;
}

.hero h1,
.hero h2,
.hero h3 {
  color: white;
}

.hero p {
  color: rgba(255,255,255,.76);
  font-size: 1.1rem;
  max-width: 60ch;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  margin-bottom: 1rem;
  font-weight: 800;
  font-size: .78rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--primary);
}

.hero-card .eyebrow,
.cta-band .eyebrow {
  color: var(--accent);
}

.hero-actions,
.actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .8rem;
  margin-top: 1.45rem;
}

.actions .role-choice {
  flex-basis: 100%;
  margin-top: 0;
}

.notice {
  border-left: 5px solid var(--primary);
  background: var(--secondary-surface);
  border-radius: var(--radius-lg);
  padding: 1.05rem 1.1rem;
  color: var(--primary-dark);
  font-weight: 600;
  margin: 1.3rem 0;
}

.notice strong {
  display: block;
  color: var(--primary-dark);
  margin-bottom: .25rem;
}

.notice.warning {
  background: #FFF7E4;
  border-color: var(--warning);
}

.notice.success {
  background: var(--accent-light);
  border-color: var(--success);
}

.hero .notice {
  background: rgba(235, 245, 246, .12);
  border-color: var(--accent);
  color: white;
}

.hero .notice strong { color: white; }

.hero-visual {
  min-height: 330px;
  border-radius: var(--radius-xl);
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.16);
  display: grid;
  place-items: center;
  z-index: 1;
}

.hero-visual img {
  width: clamp(150px, 52%, 230px);
  height: auto;
}

.path-node {
  position: absolute;
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.2);
  display: grid;
  place-items: center;
  color: white;
  font-weight: 800;
}

.path-node.one { left: 28px; bottom: 42px; }
.path-node.two { right: 44px; top: 42px; }
.path-node.three { right: 70px; bottom: 54px; }

.path-line {
  position: absolute;
  left: 72px;
  bottom: 84px;
  width: 260px;
  height: 6px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), rgba(255,255,255,.2));
  transform: rotate(-26deg);
  transform-origin: left center;
}

.path-line.alt {
  transform: rotate(19deg);
  width: 235px;
  opacity: .65;
}

.path-line.third {
  transform: rotate(0deg);
  width: 210px;
  bottom: 92px;
  opacity: .45;
}

.section { padding: 56px 0; }

.section.compact { padding: 36px 0; }

.section-header {
  margin-bottom: 1.7rem;
  max-width: 760px;
}

.section-header.center {
  text-align: center;
  margin-inline: auto;
}

.section-header p { font-size: 1.05rem; }

.grid {
  display: grid;
  gap: 1rem;
}

.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.35rem;
  box-shadow: var(--shadow-card);
}

.card h3 {
  color: var(--primary);
  margin-bottom: .5rem;
}

.card p:last-child { margin-bottom: 0; }

.card.icon-card { min-height: 100%; }

.icon {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-md);
  background: var(--primary-light);
  color: var(--primary);
  display: grid;
  place-items: center;
  margin-bottom: 1rem;
}

.icon svg {
  width: 23px;
  height: 23px;
  stroke-width: 2;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: 2rem;
  align-items: start;
}

.panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: clamp(1.3rem, 3vw, 2rem);
  box-shadow: var(--shadow-card);
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: .75rem;
}

.check-list li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: .65rem;
  align-items: start;
  color: var(--text-muted);
}

.check-list li::before {
  content: "✓";
  width: 28px;
  height: 28px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: var(--accent-light);
  color: var(--accent-dark);
  font-weight: 800;
}

.fine-print {
  margin: 1rem 0 0;
  font-size: .95rem;
  color: var(--text-muted);
}

.role-choice {
  margin: 1.2rem 0 .35rem;
  font-weight: 750;
  color: inherit;
}

.cta-band {
  border-radius: var(--radius-xl);
  padding: clamp(1.8rem, 4vw, 3rem);
  background: linear-gradient(140deg, #0F3339 0%, #1B5057 100%);
  color: white;
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 1.2rem;
  align-items: center;
}

.cta-band h2,
.cta-band h3 {
  color: white;
}

.cta-band p {
  color: rgba(255,255,255,.75);
  margin-bottom: 0;
}

.page-hero {
  padding: 56px 0 26px;
}

.page-hero .panel {
  background: linear-gradient(135deg, var(--surface) 0%, var(--secondary-surface) 100%);
}

.faq {
  display: grid;
  gap: .8rem;
}

details {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1rem 1.1rem;
}

summary {
  cursor: pointer;
  font-weight: 750;
  color: var(--primary-dark);
}

details p {
  margin: .75rem 0 0;
}

.external-box {
  min-height: 260px;
  border: 2px dashed var(--border);
  border-radius: var(--radius-xl);
  display: grid;
  place-items: center;
  text-align: center;
  padding: 2rem;
  background: var(--surface);
  color: var(--text-muted);
}

.embed-tabs {
  display: flex;
  gap: .6rem;
  flex-wrap: wrap;
  margin: 1rem 0;
}

.embed-option { display: none; }

.embed-option.active { display: block; }

.site-footer {
  margin-top: 56px;
  border-top: 1px solid var(--border);
  padding: 36px 0;
  color: var(--text-muted);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  align-items: flex-start;
}

.footer-links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  font-weight: 650;
  align-items: center;
}

.footer-links a:hover { color: var(--primary); }

.footer-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.footer-social-link img {
  display: block;
  width: 24px;
  height: auto;
}

@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }

  .nav {
    position: fixed;
    left: 1rem;
    right: 1rem;
    top: 84px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-soft);
    padding: 1rem;
    flex-direction: column;
    align-items: stretch;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: .16s ease;
  }

  body.nav-open .nav {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .nav a {
    padding: .85rem 1rem;
    border-radius: var(--radius-md);
  }

  .nav .button { justify-content: center; }

  .hero { padding-top: 32px; }

  .hero-card { grid-template-columns: 1fr; }

  .hero-visual { min-height: 230px; }

  .grid-2,
  .grid-3,
  .grid-4,
  .split {
    grid-template-columns: 1fr;
  }

  .cta-band { grid-template-columns: 1fr; }

  .footer-inner { flex-direction: column; }
}

@media (max-width: 560px) {
  .container {
    width: min(100% - 1.2rem, var(--container));
  }

  .header-inner { min-height: 68px; }

  .logo img {
    width: min(154px, 50vw);
  }

  .hero-card,
  .panel,
  .cta-band {
    border-radius: var(--radius-lg);
  }

  .hero-actions,
  .actions {
    align-items: stretch;
  }

  .button { width: 100%; }

  .section { padding: 42px 0; }

  .page-hero { padding-top: 34px; }

  .card { padding: 1.1rem; }

}
