@import url("fonts.css");

:root {
  --ink: #0f1724;
  --ink-2: #33415a;
  --muted: #5d6b80;
  --paper: #f7f8f6;
  --card: #ffffff;
  --line: #e2e6ea;
  --signal: #14b8a6;        /* fills */
  --signal-ink: #0b766c;    /* text on paper, 4.5:1+ */
  --og: #2f6feb;
  --og-weak: #eaf1ff;
  --natura: #4e7a3a;
  --natura-weak: #eef4e8;
  --shadow: 0 1px 2px rgba(15, 23, 36, .06), 0 8px 24px rgba(15, 23, 36, .06);
  --radius: 18px;
  --font: "Heebo", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --display: "Space Grotesk", "Heebo", system-ui, sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --ink: #e8ecef; --ink-2: #c3ccd8; --muted: #93a1b5; --paper: #0b111b; --card: #121a27;
    --line: #223047; --signal-ink: #3dd6c6; --og-weak: #14233f; --natura-weak: #17240f;
    --shadow: 0 1px 2px rgba(0,0,0,.4), 0 8px 24px rgba(0,0,0,.25); color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font); font-size: 17px; line-height: 1.65; }
img, svg { max-width: 100%; }
a { color: var(--signal-ink); }
a:focus-visible, button:focus-visible { outline: 3px solid var(--signal); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; inset-inline-start: 12px; top: -60px; background: var(--ink); color: var(--paper); padding: 10px 14px; border-radius: 10px; z-index: 10; }
.skip:focus { top: 12px; }
.wrap { width: min(1120px, 100%); margin-inline: auto; padding-inline: 20px; }

/* header */
header.top { position: sticky; top: 0; z-index: 5; background: color-mix(in srgb, var(--paper) 88%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
header.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 12px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; }
.brand img { width: 34px; height: 34px; }
.brand span { font-family: var(--display); font-weight: 700; font-size: 22px; letter-spacing: -.02em; }
nav.main { display: flex; align-items: center; gap: 22px; font-size: 15px; }
nav.main a { color: var(--ink-2); text-decoration: none; }
nav.main a:hover { color: var(--ink); }
nav.main a.lang { border: 1px solid var(--line); border-radius: 999px; padding: 3px 12px; font-family: var(--display); }
nav.main a.signin { color: var(--signal-ink); font-weight: 500; }
@media (max-width: 720px) { nav.main a:not(.lang):not(.signin) { display: none; } }

/* hero */
.hero { padding-block: 72px 56px; }
.hero .wrap { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; }
@media (max-width: 880px) { .hero .wrap { grid-template-columns: 1fr; } .hero-art { order: -1; max-width: 360px; } }
.eyebrow { font-family: var(--display); font-weight: 500; letter-spacing: .08em; text-transform: uppercase; font-size: 13px; color: var(--signal-ink); margin: 0 0 14px; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); line-height: 1.12; letter-spacing: -.02em; margin: 0 0 18px; text-wrap: balance; }
[lang="en"] h1, [lang="en"] h2 { font-family: var(--display); }
.lead { font-size: 1.15rem; color: var(--ink-2); max-width: 36em; margin: 0 0 28px; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.btn { display: inline-flex; align-items: center; gap: 9px; padding: 12px 20px; border-radius: 999px; font-weight: 500; text-decoration: none; border: 1px solid transparent; }
.btn svg { width: 19px; height: 19px; flex: none; }
.btn.primary { background: var(--ink); color: var(--paper); }
.btn.primary:hover { background: color-mix(in srgb, var(--ink) 85%, var(--signal)); }
.btn.ghost { border-color: var(--line); color: var(--ink); background: var(--card); }
.btn.ghost:hover { border-color: var(--signal); }

/* sections */
section { padding-block: 64px; }
section + section { border-top: 1px solid var(--line); }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); letter-spacing: -.01em; margin: 0 0 10px; text-wrap: balance; }
.section-lead { color: var(--muted); max-width: 40em; margin: 0 0 32px; }

/* products */
.products { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
@media (max-width: 880px) { .products { grid-template-columns: 1fr; } }
.product { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.product .tag { align-self: flex-start; font-size: 13px; font-weight: 500; padding: 3px 12px; border-radius: 999px; }
.product.og .tag { background: var(--og-weak); color: var(--og); }
.product.nat .tag { background: var(--natura-weak); color: var(--natura); }
@media (prefers-color-scheme: dark) { .product.og .tag { color: #8fb3ff; } .product.nat .tag { color: #a9cf8f; } }
.product h3 { margin: 0; font-size: 1.5rem; display: flex; align-items: center; gap: 12px; }
.product h3 img { height: 40px; width: auto; }
.product .sub { margin: 0; color: var(--ink-2); font-weight: 500; }
.product ul { margin: 4px 0 0; padding-inline-start: 0; list-style: none; display: grid; gap: 8px; }
.product li { display: flex; gap: 10px; align-items: flex-start; color: var(--ink-2); }
.product li::before { content: ""; flex: none; width: 7px; height: 7px; margin-top: .65em; border-radius: 50%; background: var(--signal); }
.product.og li::before { background: var(--og); }
.product.nat li::before { background: var(--natura); }
.product .who { font-size: 14px; color: var(--muted); margin: 4px 0 0; }
.product .go { margin-top: auto; padding-top: 8px; }

/* capabilities */
.caps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 1000px) { .caps { grid-template-columns: repeat(2, minmax(0, 1fr)); } .caps .cap:last-child:nth-child(odd) { grid-column: 1 / -1; } }
@media (max-width: 560px) { .caps { grid-template-columns: 1fr; } }
.cap { padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); }
.cap svg { width: 30px; height: 30px; color: var(--signal-ink); }
.cap h3 { margin: 12px 0 6px; font-size: 1.08rem; }
.cap p { margin: 0; color: var(--muted); font-size: 15.5px; }

/* contact */
.contact-card { background: var(--ink); color: var(--paper); border-radius: 24px; padding: clamp(28px, 5vw, 48px); display: grid; grid-template-columns: 1fr auto; gap: 28px; align-items: center; }
@media (max-width: 760px) { .contact-card { grid-template-columns: 1fr; } }
@media (prefers-color-scheme: dark) { .contact-card { background: #16223a; color: #e8ecef; } }
.contact-card h2 { color: inherit; }
.contact-card p { margin: 0; opacity: .85; }
.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.contact-list a { display: inline-flex; align-items: center; gap: 12px; color: inherit; text-decoration: none; font-size: 1.1rem; padding: 10px 16px; border-radius: 14px; background: rgba(255,255,255,.08); }
.contact-list a:hover { background: rgba(255,255,255,.16); }
.contact-list svg { width: 22px; height: 22px; color: #5eead4; flex: none; }
.ltr { direction: ltr; unicode-bidi: isolate; }

/* footer */
footer { padding-block: 28px; font-size: 14px; color: var(--muted); }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
footer a { color: var(--muted); }

/* text pages */
.doc { max-width: 760px; padding-block: 48px 64px; }
.doc h1 { font-size: clamp(1.8rem, 4vw, 2.4rem); }
.doc h2 { font-size: 1.25rem; margin-top: 28px; }
.hero-art { width: 100%; height: auto; color: var(--ink); }
.product .go { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; }
.console-link { display: inline-flex; align-items: center; gap: 6px; font-size: 15px; font-weight: 500; text-decoration: none; }
.console-link:hover { text-decoration: underline; }
.console-link svg { width: 16px; height: 16px; }

/* gallery */
.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 880px) { .gallery { grid-template-columns: 1fr; max-width: 560px; } }
.gallery figure { margin: 0; background: #f8f8f8; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.gallery img { display: block; width: 100%; height: auto; aspect-ratio: 1040 / 760; object-fit: cover; }
.gallery figcaption { padding: 14px 18px 18px; font-size: 15px; color: var(--ink-2); background: var(--card); border-top: 1px solid var(--line); flex: 1; }
