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

:root {
  --ink: #0b1e3a;
  --cream: #fbf7ef;
  --cream-deep: #f3ecdd;
  --sand: #e8dfc9;
  --stone: #6b6156;
  --accent: #b5482a;
  --accent-dark: #8f3820;
  --white: #fff;
  --shadow: 0 18px 48px rgba(11, 30, 58, .10);
  --sans: 'Manrope', system-ui, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--cream); color: var(--ink); font: 400 16px/1.6 var(--sans); }
a { color: inherit; text-decoration: none; }
.wrap { width: min(1180px, calc(100% - 48px)); margin: auto; }

.site-header { position: relative; z-index: 1; }
.nav { min-height: 86px; display: flex; align-items: center; justify-content: space-between; gap: 28px; border-bottom: 1px solid var(--sand); }
.brand { display: inline-flex; align-items: center; gap: 11px; font-size: 16px; font-weight: 800; letter-spacing: -.025em; }
.brand img { width: 40px; height: 40px; object-fit: contain; }
.nav-links { display: flex; gap: 24px; color: var(--stone); font-size: 14px; font-weight: 700; }
.nav-links a:hover { color: var(--accent); }
.language { color: var(--ink); font: 600 12px var(--mono); }

.hero { position: relative; overflow: hidden; padding: 92px 0 104px; }
.hero::before { content: ''; position: absolute; width: min(840px, 90vw); aspect-ratio: 1; right: -260px; top: -355px; border: 1px solid #d9ceb7; border-radius: 50%; }
.hero::after { content: ''; position: absolute; width: min(760px, 85vw); aspect-ratio: 1; right: -145px; top: -279px; border: 1px solid #e6ddcb; border-radius: 50%; }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 72px; align-items: center; }
.eyebrow { margin: 0 0 18px; color: var(--accent); font: 600 12px/1.4 var(--mono); letter-spacing: .09em; text-transform: uppercase; }
h1 { max-width: 750px; margin: 0 0 24px; font: 800 clamp(46px, 6vw, 76px)/1.02 var(--sans); letter-spacing: -.055em; }
.hero-copy { max-width: 620px; margin: 0 0 32px; color: var(--stone); font-size: 19px; line-height: 1.65; }
.hero-approach { max-width: 610px; padding-top: 22px; border-top: 1px solid var(--sand); }
.hero-approach h2 { margin: 0 0 8px; font: 800 20px/1.25 var(--sans); letter-spacing: -.03em; }
.hero-approach p { margin: 0; color: var(--stone); font-size: 14px; line-height: 1.6; }
.hero-actions { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 19px; border: 1px solid var(--accent); border-radius: 14px; background: var(--accent); color: var(--cream); font-size: 14px; font-weight: 800; transition: .16s ease; }
.button:hover { background: var(--accent-dark); border-color: var(--accent-dark); transform: translateY(-1px); }
.text-link { color: var(--ink); font-size: 14px; font-weight: 800; }
.text-link:hover { color: var(--accent); }
.hero-logo { position: relative; display: grid; place-items: center; min-height: 350px; }
.hero-logo::before { content: ''; position: absolute; inset: 32px; border: 1px solid var(--sand); border-radius: 50%; }
.hero-logo::after { content: ''; position: absolute; width: 68%; height: 1px; background: var(--sand); }
.hero-logo img { position: relative; z-index: 1; width: min(290px, 70vw); filter: drop-shadow(0 20px 25px rgba(11, 30, 58, .13)); }

.products { padding: 88px 0 104px; background: var(--cream-deep); border-top: 1px solid var(--sand); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 36px; margin-bottom: 38px; }
.section-head h2 { max-width: 610px; margin: 0; font: 800 clamp(32px, 4vw, 48px)/1.1 var(--sans); letter-spacing: -.045em; }
.section-head p { max-width: 405px; margin: 0; color: var(--stone); }
.product-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.product-card { display: flex; flex-direction: column; min-height: 460px; overflow: hidden; border: 1px solid var(--sand); border-radius: 20px; background: var(--white); box-shadow: 0 4px 14px rgba(11, 30, 58, .035); transition: transform .2s ease, box-shadow .2s ease; }
.product-card.research { grid-column: 1 / -1; min-height: 0; }
.product-card.research .product-body { padding: 32px 28px; }
.product-card.research p:not(.product-kind) { max-width: 760px; }
.product-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.product-visual { display: grid; place-items: center; height: 220px; padding: 26px; background: linear-gradient(135deg, #f9f5eb, #eee5d5); border-bottom: 1px solid var(--sand); overflow: hidden; }
.product-card.audio .product-visual { background: #101f38; }
.product-card.audio .product-visual img { width: 92%; max-height: 180px; object-fit: contain; filter: drop-shadow(0 12px 18px rgba(0, 0, 0, .28)); }
.product-card.app .product-visual img { width: 140px; height: 140px; object-fit: cover; border-radius: 29%; box-shadow: 0 17px 26px rgba(11, 30, 58, .18); }
.product-body { display: flex; flex: 1; flex-direction: column; align-items: flex-start; padding: 26px 28px 28px; }
.product-kind { margin: 0 0 14px; color: var(--accent); font: 600 11px/1.4 var(--mono); letter-spacing: .07em; text-transform: uppercase; }
.product-card h3 { margin: 0 0 11px; font: 800 24px/1.2 var(--sans); letter-spacing: -.035em; }
.product-card p:not(.product-kind) { margin: 0 0 25px; color: var(--stone); font-size: 14px; }
.card-actions { display: flex; flex-wrap: wrap; gap: 12px 28px; margin-top: auto; }
.card-actions a:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
.card-link { margin-top: auto; color: var(--accent); font-size: 14px; font-weight: 800; }
.card-link::after { content: ' →'; }
.product-card:hover .card-link { color: var(--accent-dark); }

.footer { padding: 28px 0 34px; border-top: 1px solid var(--sand); color: var(--stone); font-size: 13px; }
.footer .wrap { position: relative; display: flex; justify-content: flex-end; gap: 20px; }
.footer .wrap > span { position: absolute; left: 50%; transform: translateX(-50%); }
.footer a { color: var(--accent); font-weight: 700; }

@media (max-width: 800px) {
  .wrap { width: min(100% - 32px, 620px); }
  .nav { min-height: 72px; }
  .brand img { width: 36px; height: 36px; }
  .nav-links { gap: 15px; font-size: 12px; }
  .hero { padding: 66px 0 74px; }
  .hero-grid { grid-template-columns: 1fr; gap: 38px; }
  .hero-logo { min-height: 230px; order: -1; }
  .hero-logo::before { inset: 8px 22%; }
  .hero-logo img { width: 210px; }
  h1 { font-size: clamp(42px, 13vw, 60px); }
  .hero-copy { font-size: 17px; }
  .products { padding: 66px 0 72px; }
  .section-head { display: block; margin-bottom: 27px; }
  .section-head h2 { margin-bottom: 14px; }
  .product-grid { grid-template-columns: 1fr; }
  .product-card { min-height: 0; }
  .product-visual { height: 205px; }
  .footer .wrap { display: block; }
  .footer .wrap > span { position: static; display: block; transform: none; text-align: center; }
  .footer .wrap > * + * { display: inline-block; margin-top: 5px; }
}
