:root {
  --ink: #18212a;
  --ink-2: #3d4a55;
  --muted: #71808c;
  --line: #dce2e6;
  --paper: #f7f8f8;
  --surface: #ffffff;
  --deep: #0f1720;
  --deep-2: #16212b;
  --accent: #3f6f91;
  --accent-soft: #e9f0f4;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--surface);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }
.shell { width: min(calc(100% - 48px), var(--max)); margin: 0 auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner { height: 68px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-size: 14px; font-weight: 750; letter-spacing: .17em; }
.brand-mark { width: 15px; height: 15px; border: 2px solid var(--accent); position: relative; }
.brand-mark::after { content: ""; position: absolute; width: 5px; height: 5px; right: -4px; bottom: -4px; background: var(--surface); border: 2px solid var(--deep); }
.nav { display: flex; gap: 30px; }
.nav a { color: var(--muted); text-decoration: none; font-size: 13px; font-weight: 600; }
.nav a:hover { color: var(--ink); }

.hero { position: relative; overflow: hidden; background: var(--paper); border-bottom: 1px solid var(--line); }
.hero-grid { position: absolute; inset: 0; opacity: .45; background-image: linear-gradient(to right, rgba(24,33,42,.055) 1px, transparent 1px), linear-gradient(to bottom, rgba(24,33,42,.055) 1px, transparent 1px); background-size: 48px 48px; mask-image: linear-gradient(to right, #000 0%, rgba(0,0,0,.65) 48%, transparent 85%); }
.hero-inner { min-height: 650px; padding-top: 110px; padding-bottom: 66px; position: relative; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.eyebrow, .kicker { margin: 0 0 18px; color: var(--accent); font-size: 12px; font-weight: 750; letter-spacing: .16em; text-transform: uppercase; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; }
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(63,111,145,.10); }
.hero h1 { max-width: 920px; margin: 0; font-size: clamp(42px, 6.3vw, 72px); line-height: 1.04; letter-spacing: -.045em; font-weight: 690; }
.hero h1 span { color: #60707b; font-weight: 480; }
.hero-copy { max-width: 690px; margin: 28px 0 0; font-size: 19px; color: var(--ink-2); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.button { min-height: 44px; padding: 10px 17px; border: 1px solid var(--line); display: inline-flex; align-items: center; justify-content: center; text-decoration: none; border-radius: 5px; font-size: 14px; font-weight: 650; transition: transform .15s ease, border-color .15s ease, background .15s ease; }
.button:hover { transform: translateY(-1px); }
.button.primary { background: var(--deep); color: white; border-color: var(--deep); }
.button.primary:hover { background: var(--deep-2); }
.button.secondary { background: rgba(255,255,255,.72); color: var(--ink-2); }
.button.secondary:hover { border-color: #b8c3ca; }
.hero-meta { width: 100%; max-width: 720px; margin-top: 72px; padding-top: 20px; border-top: 1px solid #cfd7dc; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.hero-meta div { display: grid; grid-template-columns: auto 1fr; gap: 11px; align-items: baseline; }
.hero-meta strong { color: var(--accent); font-size: 11px; letter-spacing: .08em; }
.hero-meta span { color: var(--muted); font-size: 13px; font-weight: 600; }

.section { padding: 96px 0; }
.section-head { display: grid; grid-template-columns: 1.35fr .65fr; gap: 80px; align-items: end; margin-bottom: 42px; }
h2 { margin: 0; font-size: clamp(32px, 4vw, 48px); line-height: 1.12; letter-spacing: -.035em; font-weight: 650; }
.section-intro { margin: 0; color: var(--muted); font-size: 16px; }
.product-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.product-card { min-height: 325px; padding: 32px; border: 1px solid var(--line); background: var(--surface); display: flex; flex-direction: column; position: relative; overflow: hidden; }
.product-card::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 3px; background: var(--accent); opacity: .7; }
.product-topline { display: flex; align-items: center; justify-content: space-between; margin-bottom: 48px; }
.product-code { display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid #bcc8cf; color: var(--accent); font-size: 12px; font-weight: 800; letter-spacing: .08em; }
.badge { padding: 5px 8px; border: 1px solid var(--line); background: var(--paper); color: var(--muted); font-size: 11px; font-weight: 650; letter-spacing: .05em; text-transform: uppercase; }
.product-card h3 { margin: 0 0 14px; font-size: 27px; line-height: 1.2; font-weight: 650; letter-spacing: -.025em; }
.product-card p { margin: 0; color: var(--ink-2); max-width: 530px; }
.product-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: auto; padding-top: 36px; }
.product-tags span { color: var(--muted); font-size: 11px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; }
.product-tags span + span::before { content: "·"; margin-right: 8px; color: #a8b2b9; }

.muted-section { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.narrow-title { max-width: 760px; }
.principle-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 56px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.principle-grid article { padding: 30px 34px 34px 0; }
.principle-grid article + article { padding-left: 34px; border-left: 1px solid var(--line); }
.line-icon { margin-bottom: 34px; color: var(--accent); font-size: 11px; font-weight: 800; letter-spacing: .08em; }
.principle-grid h3 { margin: 0 0 10px; font-size: 18px; }
.principle-grid p { margin: 0; color: var(--muted); font-size: 14px; }

.studio-section { padding-top: 86px; padding-bottom: 86px; }
.studio-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 100px; }
.studio-copy { max-width: 670px; color: var(--ink-2); font-size: 18px; }
.studio-copy p { margin: 0 0 16px; }

.contact { background: var(--deep); color: white; }
.contact-inner { min-height: 280px; padding-top: 65px; padding-bottom: 65px; display: grid; grid-template-columns: 1fr auto; gap: 50px; align-items: center; }
.kicker.light { color: #8db1ca; }
.contact h2 { max-width: 610px; font-size: clamp(30px, 4vw, 46px); }
.contact-email { color: white; text-decoration: none; font-size: clamp(17px, 2.2vw, 24px); font-weight: 550; padding-bottom: 7px; border-bottom: 1px solid #547089; }
.contact-email:hover { border-color: white; }
.contact-email span { margin-left: 8px; color: #8db1ca; }

.footer { border-top: 1px solid #25313c; background: #0b1218; color: #8f9ba5; }
.footer-inner { min-height: 110px; display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 34px; }
.footer-brand { color: #d7dde1; font-size: 12px; font-weight: 800; letter-spacing: .16em; }
.footer-links { display: flex; gap: 22px; }
.footer-links a { text-decoration: none; font-size: 12px; }
.footer-links a:hover { color: white; }
.copyright { font-size: 12px; }

.policy-main { background: var(--paper); min-height: calc(100vh - 179px); }
.policy-wrap { width: min(calc(100% - 48px), 850px); margin: 0 auto; padding: 90px 0 110px; }
.policy-head { padding-bottom: 40px; margin-bottom: 44px; border-bottom: 1px solid var(--line); }
.policy-head h1 { margin: 0 0 12px; font-size: clamp(40px, 6vw, 62px); line-height: 1.05; letter-spacing: -.04em; }
.policy-head p { margin: 0; color: var(--muted); }
.policy-body h2 { margin: 42px 0 10px; font-size: 18px; letter-spacing: -.01em; }
.policy-body p, .policy-body li { color: var(--ink-2); }
.policy-body p { margin: 0 0 14px; }
.policy-body ul { padding-left: 22px; }
.policy-body a { color: var(--accent); }
.policy-note { margin-top: 44px; padding: 18px 20px; border: 1px solid var(--line); background: white; color: var(--muted); font-size: 13px; }

@media (max-width: 820px) {
  .shell { width: min(calc(100% - 32px), var(--max)); }
  .nav { gap: 18px; }
  .nav a:nth-child(2) { display: none; }
  .hero-inner { min-height: 590px; padding-top: 80px; padding-bottom: 48px; }
  .hero-meta, .section-head, .studio-grid, .contact-inner { grid-template-columns: 1fr; }
  .hero-meta { gap: 11px; }
  .section { padding: 72px 0; }
  .section-head { gap: 20px; }
  .product-grid { grid-template-columns: 1fr; }
  .principle-grid { grid-template-columns: 1fr; }
  .principle-grid article, .principle-grid article + article { padding: 25px 0; border-left: 0; border-top: 1px solid var(--line); }
  .principle-grid article:first-child { border-top: 0; }
  .line-icon { margin-bottom: 16px; }
  .studio-grid { gap: 24px; }
  .contact-inner { gap: 28px; }
  .footer-inner { grid-template-columns: 1fr; padding: 26px 0; gap: 10px; }
}

@media (max-width: 520px) {
  .header-inner { height: 62px; }
  .nav a:first-child { display: none; }
  .hero h1 { font-size: 41px; }
  .hero-copy { font-size: 17px; }
  .hero-meta { grid-template-columns: 1fr; margin-top: 52px; }
  .product-card { min-height: 300px; padding: 26px; }
  .product-topline { margin-bottom: 38px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
