/* 100Gramm public website */
:root {
    color-scheme: light dark;
    --bg: light-dark(#f7f9fc, #10151c);
    --surface: light-dark(#ffffff, #19212b);
    --text: light-dark(#17212b, #f2f6fa);
    --muted: light-dark(#657487, #a7b5c5);
    --line: light-dark(#e3eaf2, #2b3745);
    --blue: light-dark(#2787f5, #4da0ff);
    --soft: light-dark(#e8f3ff, #1d3650);
    --green: light-dark(#21b67a, #32c98e);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
a { color: inherit; text-decoration: none; }
.site-shell { min-height: 100vh; background: var(--bg); }
.container { width: min(1120px, calc(100% - 40px)); margin-inline: auto; }
.site-header { border-bottom: 1px solid var(--line); background: var(--bg); }
.nav { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 22px; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-size: 21px; font-weight: 850; letter-spacing: -.7px; white-space: nowrap; }
.brand-mark { width: 40px; height: 40px; border-radius: 14px; background: var(--blue); color: #fff; display: grid; place-items: center; font-size: 13px; letter-spacing: -1px; box-shadow: 0 8px 20px #2787f533; }
.nav-links { display: flex; align-items: center; gap: 25px; color: var(--muted); font-size: 14px; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--text); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 9px; border: 1px solid transparent; border-radius: 13px; padding: 13px 18px; font: inherit; font-size: 14px; font-weight: 750; cursor: pointer; transition: transform .18s, box-shadow .18s; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--blue); color: #fff; box-shadow: 0 8px 22px #2787f52b; }
.button-secondary { background: var(--surface); border-color: var(--line); color: var(--text); }
.button-light { background: #fff; color: #176cc7; }
.button-small { padding: 10px 13px; border-radius: 11px; font-size: 12px; }
.menu-toggle { display: none; border: 1px solid var(--line); background: var(--surface); color: var(--text); border-radius: 10px; padding: 9px 11px; font-size: 18px; }
.hero { display: grid; grid-template-columns: 1.03fr .97fr; gap: 56px; align-items: center; padding-block: 72px 88px; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; color: var(--blue); font-weight: 800; font-size: 12px; letter-spacing: 1.2px; text-transform: uppercase; margin-bottom: 20px; }
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 5px color-mix(in srgb, var(--green) 15%, transparent); }
h1 { font-size: clamp(43px, 5.7vw, 72px); line-height: 1.03; letter-spacing: -3.8px; margin: 0 0 23px; font-weight: 850; }
.accent { color: var(--blue); }
.lead { color: var(--muted); font-size: 18px; line-height: 1.7; max-width: 590px; margin: 0 0 28px; }
.button-row { display: flex; gap: 12px; flex-wrap: wrap; }
.small-note { color: var(--muted); font-size: 12px; margin-top: 20px; }
.hero-art { min-height: 475px; display: grid; place-items: center; position: relative; }
.glow { position: absolute; width: 360px; height: 360px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #7dc2ff, #2787f5 52%, #1762c2); opacity: .18; filter: blur(2px); }
.mock-phone { position: relative; width: min(294px, 78vw); border: 8px solid light-dark(#fff, #293442); border-radius: 36px; background: var(--surface); box-shadow: 0 30px 80px #102e4b26; overflow: hidden; transform: rotate(2deg); padding-bottom: 15px; }
.mock-top { padding: 25px 17px 15px; display: flex; justify-content: space-between; border-bottom: 1px solid var(--line); }
.mock-top strong, .mock-chat-copy strong { display: block; font-size: 13px; }
.mock-top small { display: block; color: var(--green); font-size: 10px; margin-top: 5px; }
.plus { color: var(--blue); font-size: 23px; }
.mock-search { margin: 13px; padding: 9px 12px; border-radius: 10px; background: var(--bg); color: var(--muted); font-size: 11px; }
.mock-chat { display: flex; align-items: center; gap: 10px; padding: 11px 12px; }
.avatar { width: 38px; height: 38px; flex: 0 0 38px; border-radius: 50%; display: grid; place-items: center; color: white; font-size: 12px; font-weight: 800; }
.avatar-coral { background: linear-gradient(140deg, #ffbd68, #fa6b79); }
.avatar-teal { background: linear-gradient(140deg, #49d7bd, #1b9dca); }
.avatar-violet { background: linear-gradient(140deg, #a68cff, #5b69db); }
.avatar-gold { background: linear-gradient(140deg, #f7cf60, #ed8c39); }
.avatar-blue { background: #438ee8; }
.mock-chat-copy { flex: 1; min-width: 0; }
.mock-chat-copy small { display: block; margin-top: 4px; font-size: 10px; color: var(--muted); overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.mock-chat time { align-self: flex-start; font-size: 9px; color: var(--muted); }
.floating-card { position: absolute; display: flex; align-items: center; gap: 10px; padding: 13px 15px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); box-shadow: 0 16px 40px #102e4b18; }
.floating-card strong, .floating-card small { display: block; }
.floating-card strong { font-size: 12px; margin-bottom: 4px; }
.floating-card small { color: var(--muted); font-size: 10px; }
.floating-icon, .feature-icon { display: grid; place-items: center; color: var(--blue); background: var(--soft); border-radius: 12px; width: 36px; height: 36px; }
.floating-one { right: -4px; top: 75px; }
.floating-two { left: -12px; bottom: 65px; }
.section { padding-block: 76px; }
.section-muted { background: var(--surface); border-block: 1px solid var(--line); }
.section-heading { text-align: center; max-width: 670px; }
.kicker { color: var(--blue); font-size: 12px; font-weight: 850; text-transform: uppercase; letter-spacing: 1.5px; }
.section-heading h2 { font-size: clamp(31px, 4vw, 44px); line-height: 1.12; letter-spacing: -1.8px; margin: 13px 0; }
.section-heading p { color: var(--muted); line-height: 1.7; margin: 0; }
.feature-section { padding-top: 65px; padding-bottom: 70px; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 17px; }
.feature-card { min-height: 205px; padding: 27px; border: 1px solid var(--line); border-radius: 22px; background: var(--surface); }
.feature-icon { width: 46px; height: 46px; border-radius: 15px; margin-bottom: 21px; font-size: 19px; }
.feature-card h3 { font-size: 17px; margin: 0 0 9px; }
.feature-card p { color: var(--muted); font-size: 14px; line-height: 1.65; margin: 0; }
.cta { margin-block: 20px 76px; border-radius: 28px; background: linear-gradient(115deg, #1676df, #42a5ff); color: #fff; padding: 45px 50px; display: flex; align-items: center; justify-content: space-between; gap: 28px; overflow: hidden; }
.cta h2 { font-size: clamp(28px, 4vw, 40px); letter-spacing: -1.5px; margin: 0 0 10px; }
.cta p { color: #e4f2ff; line-height: 1.6; margin: 0; }
.site-footer { border-top: 1px solid var(--line); }
.footer-main { padding-block: 32px; display: flex; justify-content: space-between; gap: 30px; }
.footer-brand { font-size: 18px; }
.footer-brand .brand-mark { width: 34px; height: 34px; border-radius: 12px; }
.footer-main p { color: var(--muted); font-size: 13px; }
.footer-links { display: flex; flex-wrap: wrap; align-content: flex-start; gap: 13px 22px; max-width: 530px; color: var(--muted); font-size: 13px; }
.footer-links a:hover, .footer-bottom a:hover { color: var(--blue); }
.footer-bottom { border-top: 1px solid var(--line); padding-block: 17px 22px; display: flex; justify-content: space-between; gap: 20px; color: var(--muted); font-size: 12px; }
.page-hero { padding-block: 82px 54px; }
.page-hero h1 { max-width: 850px; margin-top: 15px; }
.page-hero .lead { max-width: 720px; }
.compact-hero { padding-bottom: 30px; }
.content-panel { max-width: 850px; margin-bottom: 80px; padding: 32px; border: 1px solid var(--line); border-radius: 22px; background: var(--surface); }
.content-panel h2 { margin-top: 28px; font-size: 22px; }
.content-panel h2:first-child { margin-top: 0; }
.content-panel p { color: var(--muted); line-height: 1.8; }
.text-link { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.download-list { max-width: 780px; padding-bottom: 85px; }
.download-item { display: flex; justify-content: space-between; align-items: center; gap: 18px; padding: 19px 21px; border: 1px solid var(--line); background: var(--surface); border-radius: 16px; margin-bottom: 12px; }
.download-item strong, .download-item small { display: block; }
.download-item small { color: var(--muted); margin-top: 5px; }
.coming-soon { color: var(--muted); font-size: 13px; }
.disclaimer { color: var(--muted); font-size: 13px; line-height: 1.7; margin-top: 25px; }
code { background: var(--soft); padding: 2px 5px; border-radius: 5px; }
@media (max-width: 850px) {
    .nav-links { display: none; }
    .nav-links.is-open { display: flex; position: absolute; z-index: 5; top: 72px; left: 16px; right: 16px; padding: 18px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); flex-direction: column; align-items: stretch; gap: 18px; }
    .menu-toggle { display: inline-flex; }
    .hero { grid-template-columns: 1fr; gap: 20px; padding-block: 48px 55px; }
    .hero-copy { text-align: center; }
    .hero-copy .lead { margin-inline: auto; }
    .button-row { justify-content: center; }
    .hero-art { min-height: 460px; }
    .floating-one { right: 1%; }
    .floating-two { left: 0; }
    .feature-grid { grid-template-columns: 1fr; }
    .feature-card { min-height: 0; }
    .cta { padding: 34px 28px; flex-direction: column; align-items: flex-start; }
    .footer-main { flex-direction: column; }
}
@media (max-width: 520px) {
    .container { width: min(100% - 30px, 1120px); }
    .nav { min-height: 70px; gap: 10px; }
    .brand { font-size: 18px; gap: 8px; }
    .brand-mark { width: 35px; height: 35px; border-radius: 12px; }
    .nav-actions .button { padding: 9px 10px; font-size: 11px; }
    h1 { font-size: clamp(39px, 12vw, 54px); letter-spacing: -2.5px; }
    .lead { font-size: 16px; }
    .hero-art { min-height: 430px; }
    .floating-card { padding: 10px; }
    .floating-one { top: 48px; }
    .floating-two { bottom: 42px; }
    .page-hero { padding-block: 58px 34px; }
    .content-panel { padding: 23px; }
    .download-item { padding: 15px; }
    .footer-bottom { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; } }
