:root {
    --ink: #052e24;
    --ink-soft: #31594e;
    --muted: #526a61;
    --green: #087f5b;
    --green-dark: #056647;
    --lime: #9bef45;
    --brand-teal: #42d5c8;
    --paper: #f7faf5;
    --soft: #eef6e9;
    --panel: #ffffff;
    --line: rgba(5, 46, 36, .13);
    --line-dark: rgba(5, 46, 36, .22);
    --shadow: 0 18px 42px rgba(5, 46, 36, .08);
    --shell: 1280px;
}

* { box-sizing: border-box; }
html {
    min-height: 100%;
    scroll-behavior: smooth;
}
body {
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    margin: 0;
    color: var(--ink);
    background: var(--paper);
    font: 16px/1.6 "Manrope", system-ui, sans-serif;
    -webkit-font-smoothing: antialiased;
}
body > main { flex: 1 0 auto; }
a { color: inherit; }
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
.shell { width: min(var(--shell), calc(100% - 48px)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 100; left: 16px; top: -60px; padding: 10px 16px; color: white; background: var(--ink); border-radius: 8px; }
.skip-link:focus { top: 16px; }
:focus-visible { outline: 3px solid rgba(66, 213, 200, .48); outline-offset: 3px; }

.site-header {
    height: 76px;
    flex: 0 0 auto;
    border-bottom: 1px solid var(--line);
    background: rgba(247, 250, 245, .92);
    backdrop-filter: blur(16px);
}
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font: 500 22px/1 "Sora", sans-serif; letter-spacing: .08em; }
.brand b { color: var(--lime); font-weight: 500; }
.brand-logo { width: 32px; height: 32px; object-fit: cover; border: 1px solid rgba(5, 46, 36, .1); border-radius: 6px; background: white; }
.site-header nav { display: flex; gap: 8px; align-items: center; }
.site-header nav a { min-height: 42px; display: inline-flex; align-items: center; padding: 9px 13px; color: var(--ink-soft); border-radius: 9px; text-decoration: none; font-family: "Sora", sans-serif; font-size: 13px; font-weight: 600; }
.site-header nav a:hover,
.site-header nav a[aria-current="page"] { color: var(--ink); background: var(--soft); }

.message-stack { position: relative; z-index: 5; margin-top: 16px; }
.message { padding: 12px 16px; border: 1px solid var(--line-dark); border-radius: 10px; background: var(--panel); box-shadow: 0 8px 24px rgba(5, 46, 36, .08); }
.message-error { color: #7d3026; border-color: #ecc6bf; background: #fff0ed; }
.message-success { color: var(--green-dark); border-color: #b5ded2; background: var(--soft); }

.hub-hero { min-height: 430px; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(340px, .85fr); gap: 90px; align-items: center; padding-block: 44px 50px; }
.hub-hero-copy h1 { max-width: 780px; margin: 0; font: 700 clamp(44px, 5.2vw, 70px)/1.06 "Sora", sans-serif; letter-spacing: -.045em; text-wrap: balance; }
.hero-lede { max-width: 690px; margin: 24px 0 0; color: var(--ink-soft); font-size: 18px; line-height: 1.72; }

.hub-hero-visual { position: relative; width: min(100%, 430px); height: 310px; justify-self: end; }
.hub-hero-visual::before { content: ""; position: absolute; inset: 12px 10px 0 35px; border-radius: 50%; background: radial-gradient(circle at 50% 50%, rgba(155, 239, 69, .24), rgba(66, 213, 200, .08) 48%, transparent 69%); }
.signal-card { position: absolute; width: 245px; padding: 22px; border: 1px solid var(--line); border-radius: 18px; background: rgba(255, 255, 255, .92); box-shadow: var(--shadow); }
.signal-card > span,
.signal-card > div span { color: var(--ink-soft); font: 700 11px/1 "JetBrains Mono", monospace; text-transform: uppercase; letter-spacing: .08em; }
.signal-card i { display: block; height: 8px; margin-top: 12px; border-radius: 999px; background: #dce8e3; }
.signal-card i:nth-of-type(1) { width: 86%; }
.signal-card i:nth-of-type(2) { width: 68%; }
.signal-card i:nth-of-type(3) { width: 78%; }
.signal-card-back { right: 0; top: 20px; transform: rotate(5deg); opacity: .76; }
.signal-card-front { left: 0; bottom: 17px; z-index: 2; transform: rotate(-2deg); }
.signal-card-front > div { display: flex; align-items: center; justify-content: space-between; }
.signal-card-front strong { color: var(--green); font: 700 28px/1 "Sora", sans-serif; }
.signal-card-front i:nth-of-type(1),
.signal-card-front i:nth-of-type(3) { background: linear-gradient(90deg, var(--brand-teal) 72%, #dce8e3 72%); }
.signal-card-front small { display: block; margin-top: 18px; color: var(--muted); font-size: 11px; text-align: right; }
.signal-link { position: absolute; z-index: 3; right: 151px; top: 137px; display: grid; width: 48px; height: 48px; place-items: center; color: var(--ink); border: 6px solid var(--paper); border-radius: 50%; background: var(--lime); box-shadow: 0 8px 18px rgba(5, 46, 36, .15); font: 700 20px/1 "Sora", sans-serif; }

.tool-catalog { padding: 70px 0 82px; border-top: 1px solid var(--line); background: var(--soft); }
.catalog-heading { display: block; }
.catalog-heading h2 { margin: 0; font: 700 34px/1.2 "Sora", sans-serif; letter-spacing: -.035em; }
.tool-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr)); gap: 20px; margin-top: 28px; }
.tool-card { min-width: 0; border-radius: 20px; }
.tool-card { padding: 29px 30px 27px; border: 1px solid var(--line); background: var(--panel); box-shadow: var(--shadow); }
.tool-card-topline { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.tool-icon { position: relative; display: inline-block; width: 48px; height: 48px; border-radius: 13px; background: var(--soft); }
.tool-icon i { position: absolute; width: 22px; height: 27px; border: 1.5px solid var(--green); border-radius: 5px; background: white; }
.tool-icon i:first-child { left: 10px; top: 9px; transform: rotate(-6deg); }
.tool-icon i:last-child { left: 17px; top: 12px; transform: rotate(5deg); }
.status-badge { display: inline-flex; align-items: center; gap: 7px; padding: 6px 10px; color: var(--green-dark); border: 1px solid rgba(8, 127, 91, .2); border-radius: 999px; background: var(--soft); font-size: 11px; font-weight: 700; }
.status-badge i { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 3px rgba(8, 127, 91, .12); }
.tool-card h3 { margin: 24px 0 0; font: 700 25px/1.25 "Sora", sans-serif; letter-spacing: -.025em; }
.tool-card > p { max-width: 680px; margin: 12px 0 0; color: var(--ink-soft); font-size: 14px; }
.tool-card ul { display: flex; flex-wrap: wrap; gap: 8px; margin: 23px 0 25px; padding: 0; list-style: none; }
.tool-card li { padding: 7px 10px; color: var(--ink-soft); border: 1px solid var(--line); border-radius: 8px; background: #f9fbf8; font-size: 11px; font-weight: 600; }
.tool-card > a { display: inline-flex; align-items: center; gap: 12px; color: var(--green); text-decoration: none; font: 700 13px/1 "Sora", sans-serif; }
.tool-card > a span { color: var(--ink); font-size: 18px; transition: transform .15s; }
.tool-card > a:hover span { transform: translateX(3px); }
.site-footer { flex: 0 0 auto; padding: 27px 0; color: rgba(255, 255, 255, .72); background: var(--ink); font-size: 11px; }
.footer-inner { display: flex; justify-content: flex-end; gap: 20px; }

@media (max-width: 900px) {
    .hub-hero { grid-template-columns: 1fr; gap: 26px; padding-block: 40px 44px; }
    .hub-hero-copy { text-align: center; }
    .hub-hero-copy h1,
    .hero-lede { margin-inline: auto; }
    .hub-hero-visual { width: min(100%, 430px); justify-self: center; }
    .tool-grid { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
    .shell { width: min(100% - 28px, var(--shell)); }
    .site-header { height: 66px; }
    .brand { font-size: 20px; }
    .brand-logo { width: 30px; height: 30px; }
    .site-header nav a { min-height: 40px; padding: 8px; font-size: 11px; }
    .site-header nav .hub-nav-tool { display: none; }
    .hub-hero { min-height: 0; padding-block: 32px 36px; }
    .hub-hero-copy h1 { font-size: 40px; }
    .hero-lede { margin-top: 19px; font-size: 16px; }
    .hub-hero-visual { height: 270px; transform: scale(.9); transform-origin: center; }
    .tool-catalog { padding-block: 50px 58px; }
    .tool-card { padding: 23px; }
    .footer-inner { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
