/* Blurryline — site.css (redesign 2026-10) */
@font-face { font-family: "Geist"; src: url("/fonts/Geist-Variable.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url("/fonts/GeistMono-Variable.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  --ink: #0e141b; --text-2: #4a5561; --text-3: #6b7580;
  --blue: #2c84fb; --blue-ink: #1b5fc4; --ring: #eef4fe;
  --line: #e6e9ed; --bg-2: #f6f8fa; --dark: #0b1116;
  --sans: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --wrap: 1120px; --gutter: 28px; --header-h: 72px;
}
* { box-sizing: border-box; }
html { scroll-padding-top: var(--header-h); scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: #fff; font: 17px/1.6 var(--sans); -webkit-font-smoothing: antialiased; min-height: 100vh; display: flex; flex-direction: column; }
main { flex: 1; }
a { color: var(--blue-ink); text-decoration: none; }
a:hover { color: var(--ink); }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 4px; }
img { max-width: 100%; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.eyebrow { font-family: var(--mono); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--blue-ink); margin: 0 0 22px; }
.label { font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 10; background: rgba(255,255,255,.92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.site-header .wrap { min-height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.site-header .logo { display: flex; align-items: center; }
.site-header .logo img { height: 36px; width: auto; display: block; }
.site-header nav { display: flex; align-items: center; gap: 28px; font-size: 15px; font-weight: 500; }
.site-header .links { display: flex; gap: 26px; flex-wrap: wrap; }
.site-header .links a { color: var(--text-2); }
.site-header .links a:hover, .site-header .links a[aria-current="page"] { color: var(--blue-ink); }
.lang { display: flex; gap: 2px; padding: 3px; border: 1px solid var(--line); border-radius: 8px; font: 500 12px/1 var(--mono); }
.lang > * { padding: 6px 9px; border-radius: 5px; color: var(--text-2); }
.lang strong { background: var(--ink); color: #fff; font-weight: 500; }
.lang a:hover { background: var(--bg-2); color: var(--ink); }

/* Hero */
.hero { position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; right: -140px; top: -120px; width: 560px; height: 560px; border-radius: 50%; border: 64px solid var(--ring); pointer-events: none; }
.hero .wrap { position: relative; padding-top: 120px; padding-bottom: 112px; }
.hero h1 { font-size: clamp(40px, 6vw, 68px); line-height: 1.04; letter-spacing: -.03em; font-weight: 600; margin: 0 0 24px; max-width: 760px; }
.hero p:not(.eyebrow) { font-size: clamp(18px, 2vw, 22px); line-height: 1.5; color: var(--text-2); margin: 0; max-width: 560px; text-wrap: pretty; }

/* Products */
.products { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.products .wrap { padding-top: 88px; padding-bottom: 96px; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 32px; }
.section-head h2 { font-size: 28px; letter-spacing: -.02em; font-weight: 600; margin: 0; }
.section-head span { font: 13px var(--mono); color: var(--text-3); }
.product { background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; box-shadow: 0 1px 2px rgba(14,20,27,.04); }
.product picture { display: block; }
.product .shot { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; background: var(--dark); }
.product .body { padding: 40px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 24px 48px; align-items: start; }
.product .id { display: flex; flex-direction: column; gap: 24px; }
.product .name { display: flex; align-items: center; gap: 16px; }
.product .mark { flex: none; width: 56px; height: 56px; border-radius: 14px; background: var(--dark); display: grid; place-items: center; }
.product h3 { font-size: 24px; letter-spacing: -.02em; font-weight: 600; margin: 0; }
.product p { margin: 0; color: var(--text-2); line-height: 1.65; text-wrap: pretty; }
.btn { display: inline-flex; align-items: center; gap: 10px; align-self: flex-start; background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 10px; font-size: 15px; font-weight: 500; transition: background .15s; }
.btn:hover { background: var(--blue-ink); color: #fff; }

/* Inner pages */
.page { padding-top: 96px; padding-bottom: 112px; }
.page h1 { font-size: clamp(36px, 5vw, 52px); line-height: 1.05; letter-spacing: -.03em; font-weight: 600; margin: 0 0 48px; }
.page h1:has(+ .sub) { margin-bottom: 12px; }
.page .sub { font-size: 18px; color: var(--text-2); margin: 0 0 48px; }
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 16px; }
.contact-card { display: flex; flex-direction: column; gap: 28px; padding: 32px; border: 1px solid var(--line); border-radius: 16px; color: var(--ink); background: #fff; transition: border-color .15s; }
.contact-card:hover { border-color: var(--blue); color: var(--ink); }
.contact-card .value { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: clamp(18px, 2.2vw, 22px); font-weight: 500; letter-spacing: -.01em; overflow-wrap: anywhere; }
.contact-card .value span { color: var(--blue-ink); }

.legal { margin: 0; border-top: 1px solid var(--ink); }
.legal > div { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 4px 32px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.legal dt { font-size: 14px; font-weight: 500; color: var(--text-3); padding-top: 2px; }
.legal dd { margin: 0; font-size: 16px; line-height: 1.55; overflow-wrap: anywhere; }
.note { margin: 40px 0 0; padding: 20px 24px; background: var(--bg-2); border-radius: 12px; font-size: 15px; color: var(--text-2); max-width: 760px; text-wrap: pretty; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); }
.site-footer .wrap { padding-top: 36px; padding-bottom: 44px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; font-size: 14px; color: var(--text-3); }
.site-footer .brand { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.site-footer .brand img { height: 24px; width: auto; opacity: .9; }
.site-footer nav { display: flex; gap: 24px; }
.site-footer nav a { color: var(--text-2); }
.site-footer nav a:hover { color: var(--blue-ink); }

@media (max-width: 640px) {
  :root { --gutter: 20px; }
  .site-header .wrap { padding-top: 14px; padding-bottom: 14px; }
  .site-header nav { width: 100%; justify-content: space-between; gap: 12px; }
  .site-header .links { gap: 14px; }
  .site-header .links a { font-size: 14px; white-space: nowrap; }
  .hero::before { width: 360px; height: 360px; border-width: 40px; right: -160px; top: -100px; }
  .hero .wrap { padding-top: 72px; padding-bottom: 72px; }
  .products .wrap, .page { padding-top: 64px; padding-bottom: 72px; }
  .product .body { padding: 28px 24px; }
  .legal > div { grid-template-columns: 1fr; }
}
