@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@600;700;800&display=swap");

:root {
  --ink: #14251f;
  --muted: #64746d;
  --green: #176b4d;
  --green-dark: #0c4433;
  --mint: #b9ebd0;
  --pale: #eef7f2;
  --line: #dce8e1;
  --white: #fff;
  --shadow: 0 24px 60px rgba(16, 66, 48, .1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: #fbfdfc; font-family: "DM Sans", sans-serif; line-height: 1.6; }
a { color: inherit; text-decoration: none; }
.skip-link { position: fixed; top: -60px; left: 16px; z-index: 99; padding: 10px 16px; border-radius: 8px; color: white; background: var(--green-dark); }
.skip-link:focus { top: 12px; }

.site-header { display: flex; width: min(1180px, calc(100% - 40px)); min-height: 84px; margin: auto; align-items: center; justify-content: space-between; gap: 28px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-family: Manrope, sans-serif; font-weight: 800; letter-spacing: -.025em; }
.logo-mark { display: block; width: 32px; height: 32px; object-fit: contain; }
nav { display: flex; gap: 30px; color: #405149; font-size: .92rem; font-weight: 600; }
nav a, footer a { transition: color .16s ease; }
nav a:hover, footer a:hover { color: var(--green); }
.header-cta { padding: 11px 18px; border-radius: 10px; color: white; background: var(--green); font-size: .88rem; font-weight: 700; }
.language-switcher { display: inline-flex; position: relative; z-index: 10; gap: 2px; padding: 3px; border: 1px solid var(--line); border-radius: 10px; background: var(--white); }
.language-switcher button { min-width: 32px; padding: 5px 7px; border: 0; border-radius: 7px; color: var(--muted); background: transparent; font: inherit; font-size: .72rem; font-weight: 700; cursor: pointer; }
.language-switcher button:hover { color: var(--green); background: var(--pale); }
.language-switcher button.active { color: white; background: var(--green); }

.job-notice { display: flex; width: min(1180px, calc(100% - 40px)); margin: 4px auto 0; padding: 10px 14px; align-items: center; gap: 10px; border: 1px solid rgba(23, 107, 77, .15); border-radius: 12px; color: #405149; background: rgba(238, 247, 242, .72); font-size: .82rem; }
.job-notice-dot { flex: 0 0 8px; width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(23, 107, 77, .1); }
.job-notice p { margin: 0; }
.job-notice a { margin-left: auto; color: var(--green); font-weight: 700; white-space: nowrap; }
.job-notice a:hover { color: var(--green-dark); text-decoration: underline; text-underline-offset: 3px; }

.hero { display: grid; width: min(1180px, calc(100% - 40px)); min-height: 650px; margin: 20px auto 0; padding: clamp(40px, 6vw, 76px); grid-template-columns: 1.03fr .97fr; gap: clamp(38px, 7vw, 90px); align-items: center; overflow: hidden; border-radius: 28px; background: linear-gradient(140deg, #eff8f3 0%, #f7fbf8 65%, #e4f2ea 100%); }
.eyebrow { display: flex; align-items: center; gap: 9px; color: var(--green); font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.eyebrow span { display: block; width: 23px; height: 2px; background: currentColor; }
h1, h2, h3 { margin-top: 0; font-family: Manrope, sans-serif; }
h1 { margin: 20px 0 22px; font-size: clamp(2.8rem, 6vw, 5rem); line-height: .99; letter-spacing: -.065em; }
h1 em { color: var(--green); font-style: normal; }
.hero-copy > p { max-width: 610px; color: var(--muted); font-size: 1.08rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 32px 0 22px; }
.button { display: inline-flex; min-height: 50px; padding: 0 22px; align-items: center; justify-content: center; gap: 22px; border-radius: 11px; font-weight: 700; transition: transform .16s ease, box-shadow .16s ease, background .16s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: white; background: var(--green); box-shadow: 0 14px 28px rgba(23, 107, 77, .19); }
.button-primary:hover { background: var(--green-dark); box-shadow: 0 17px 32px rgba(23, 107, 77, .24); }
.button-quiet { border: 1px solid var(--line); background: rgba(255, 255, 255, .6); }
.trust { display: flex; align-items: center; gap: 8px; font-size: .79rem !important; }
.trust span { display: inline-grid; width: 20px; height: 20px; place-items: center; border-radius: 50%; color: var(--green); background: var(--mint); font-size: .7rem; font-weight: 700; }

.hero-visual { padding: 26px; border: 1px solid rgba(255,255,255,.85); border-radius: 20px; background: rgba(255,255,255,.82); box-shadow: var(--shadow); backdrop-filter: blur(10px); transform: rotate(1deg); }
.visual-topline { display: flex; align-items: center; justify-content: space-between; padding-bottom: 20px; border-bottom: 1px solid var(--line); font-weight: 700; }
.live-dot { display: inline-flex; align-items: center; gap: 7px; color: var(--green); font-size: .7rem; letter-spacing: .04em; text-transform: uppercase; }
.live-dot::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #46a873; box-shadow: 0 0 0 4px rgba(70,168,115,.13); }
.stat-row { display: grid; padding: 22px 0 8px; grid-template-columns: 1fr 1fr; gap: 20px; }
.stat-row div { display: flex; flex-direction: column; }
.stat-row strong { font: 800 1.55rem Manrope, sans-serif; letter-spacing: -.04em; }
.stat-row small { color: var(--muted); }
.chart { position: relative; height: 190px; margin: 8px 0 18px; }
.chart-grid { position: absolute; inset: 0; background: repeating-linear-gradient(to bottom, transparent 0, transparent 44px, #e8efeb 45px); }
.chart svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.chart .area { fill: url(#area); }
.chart .line { fill: none; stroke: var(--green); stroke-width: 4; stroke-linecap: round; }
.chart circle { fill: white; stroke: var(--green); stroke-width: 4; }
.visual-note { display: flex; gap: 12px; padding: 13px; border-radius: 11px; background: var(--pale); }
.visual-note p { margin: 0; color: var(--muted); font-size: .76rem; line-height: 1.5; }
.visual-note strong { color: var(--ink); }
.note-icon { display: inline-grid; flex: 0 0 28px; height: 28px; place-items: center; border-radius: 8px; color: var(--green); background: var(--mint); font-weight: 700; }

.tools-section, .about-section, .data-section, .notice { width: min(1100px, calc(100% - 40px)); margin-inline: auto; }
.tools-section { padding: 110px 0; }
.section-heading { display: flex; margin-bottom: 42px; align-items: end; justify-content: space-between; gap: 50px; }
.section-heading h2, .data-section h2 { margin: 10px 0 0; font-size: clamp(2rem, 4vw, 3.1rem); letter-spacing: -.05em; line-height: 1.1; }
.section-heading > p { max-width: 440px; margin: 0; color: var(--muted); }
.tool-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.tool-card { display: flex; min-height: 310px; padding: 27px; grid-column: span 3; flex-direction: column; border: 1px solid var(--line); border-radius: 18px; background: white; box-shadow: 0 8px 30px rgba(19,64,47,.045); transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.tool-card:hover { border-color: #a9cabb; box-shadow: 0 20px 45px rgba(19,64,47,.1); transform: translateY(-5px); }
.tool-card.featured { color: white; border-color: var(--green-dark); background: linear-gradient(145deg, var(--green-dark), var(--green)); }
.tool-icon { display: inline-grid; width: 46px; height: 46px; margin-bottom: 35px; place-items: center; border-radius: 12px; color: var(--green); background: var(--pale); font-size: 1.4rem; font-weight: 700; }
.featured .tool-icon { color: var(--green-dark); background: var(--mint); }
.tool-tag { position: absolute; align-self: end; padding: 5px 9px; border-radius: 20px; color: var(--green-dark); background: var(--mint); font-size: .64rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; }
.tool-card h3 { margin-bottom: 9px; font-size: 1.2rem; letter-spacing: -.025em; }
.tool-card p { margin: 0 0 22px; color: var(--muted); font-size: .88rem; }
.featured p { color: rgba(255,255,255,.7); }
.card-link { display: flex; margin-top: auto; align-items: center; justify-content: space-between; color: var(--green); font-size: .82rem; font-weight: 700; }
.featured .card-link { color: var(--mint); }
.card-link b { font-size: 1.2rem; transition: transform .18s ease; }
.tool-card:hover .card-link b { transform: translateX(4px); }

.about-section { display: grid; margin-bottom: 110px; grid-template-columns: 1fr 1fr; overflow: hidden; border-radius: 24px; color: white; background: var(--green-dark); }
.about-card { padding: clamp(35px, 6vw, 68px); background: radial-gradient(circle at 0 100%, rgba(88,175,130,.28), transparent 22rem); }
.eyebrow.light { color: var(--mint); }
.about-card h2 { margin: 20px 0; font-size: clamp(2rem, 4vw, 3.2rem); line-height: 1.08; letter-spacing: -.05em; }
.about-card p { color: rgba(255,255,255,.67); }
.principles { padding: 38px clamp(30px, 5vw, 58px); background: rgba(255,255,255,.045); }
.principles article { display: flex; gap: 22px; padding: 25px 0; border-bottom: 1px solid rgba(255,255,255,.12); }
.principles article:last-child { border: 0; }
.principles article > span { color: var(--mint); font: 700 .72rem Manrope, sans-serif; }
.principles h3 { margin-bottom: 6px; }
.principles p { margin: 0; color: rgba(255,255,255,.6); font-size: .86rem; }

.data-section { display: grid; padding-bottom: 90px; grid-template-columns: .8fr 1.2fr; gap: clamp(40px, 9vw, 110px); }
.data-section p { color: var(--muted); }
.source-links { border-top: 1px solid var(--line); }
.source-links a { display: flex; padding: 18px 4px; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); font-weight: 600; transition: color .15s ease, padding .15s ease; }
.source-links a:hover { padding-left: 10px; color: var(--green); }
.source-links span { color: var(--green); }
.notice { display: flex; margin-bottom: 100px; padding: 24px 28px; gap: 18px; border: 1px solid #eadfbf; border-radius: 14px; background: #fffbef; }
.notice-icon { display: inline-grid; flex: 0 0 32px; height: 32px; place-items: center; border-radius: 9px; color: #866b1f; background: #f3e7b9; font-weight: 800; }
.notice h2 { margin: 0 0 4px; font-size: .95rem; }
.notice p { margin: 0; color: #766d55; font-size: .83rem; }

footer { display: grid; width: min(1180px, calc(100% - 40px)); margin: auto; padding: 35px 0 45px; grid-template-columns: 1fr 1fr 1fr; align-items: center; border-top: 1px solid var(--line); }
footer p { margin: 0; color: var(--muted); font-size: .78rem; text-align: center; }
footer > div { display: flex; justify-content: end; gap: 22px; color: var(--muted); font-size: .78rem; }

@media (max-width: 900px) {
  .site-header nav { display: none; }
  .hero { min-height: auto; grid-template-columns: 1fr; }
  .hero-copy { padding-top: 10px; }
  .hero-visual { max-width: 620px; transform: none; }
  .tool-card { grid-column: span 3; }
  .about-section { grid-template-columns: 1fr; }
  .data-section { grid-template-columns: 1fr; }
  footer { grid-template-columns: 1fr; gap: 18px; text-align: center; }
  footer > .logo, footer > div { justify-self: center; }
}

@media (max-width: 620px) {
  .site-header, .job-notice, .hero, .tools-section, .about-section, .data-section, .notice, footer { width: min(100% - 24px, 1180px); }
  .site-header { min-height: 72px; flex-wrap: wrap; gap: 12px; }
  .site-header nav { display: none; }
  .site-header .language-switcher { margin-left: auto; }
  .job-notice { align-items: flex-start; flex-wrap: wrap; padding: 11px 13px; }
  .job-notice p { flex: 1; min-width: calc(100% - 24px); }
  .job-notice a { margin-left: 18px; }
  .header-cta { display: none; }
  .hero { margin-top: 8px; padding: 30px 20px; border-radius: 20px; }
  h1 { font-size: 2.7rem; }
  .hero-actions .button { width: 100%; }
  .hero-visual { padding: 18px; }
  .visual-topline { align-items: start; flex-direction: column; gap: 8px; }
  .tools-section { padding: 75px 0; }
  .section-heading { align-items: start; flex-direction: column; gap: 15px; }
  .tool-grid { grid-template-columns: 1fr; }
  .tool-card { min-height: 270px; grid-column: auto; }
  .about-section { margin-bottom: 75px; }
  .data-section { padding-bottom: 65px; }
  .notice { margin-bottom: 65px; padding: 20px; }
  footer > div { flex-wrap: wrap; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
