:root {
  color-scheme: dark;
  font-family: "Segoe UI", Arial, sans-serif;
  color: #e8edea;
  background: #111716;
}

* { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; text-underline-offset: 4px; }
a:focus-visible { outline: 2px solid #a6d8bf; outline-offset: 5px; }
.container { width: min(100% - 48px, 880px); margin-inline: auto; }
.skip-link { position: absolute; top: -60px; left: 24px; padding: 12px; background: #e8edea; color: #111716; }
.skip-link:focus { top: 12px; }

.site-header { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 88px; border-bottom: 1px solid #34413c; font-size: 14px; }
.site-name { font-weight: 700; }
.site-header a { white-space: nowrap; }
.site-header a span { margin-left: 3px; }

.intro { padding: 110px 0 115px; }
.role { margin: 0 0 22px; color: #aab8b2; font-size: 14px; }
h1, h2, p { margin-top: 0; }
h1 { margin-bottom: 24px; font-size: clamp(42px, 5vw, 60px); font-weight: 650; letter-spacing: -.055em; line-height: 1.1; }
.intro > p:last-child { max-width: 690px; margin: 0; color: #b8c4be; font-size: clamp(20px, 2.5vw, 25px); line-height: 1.5; letter-spacing: -.015em; }

.section { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 40px; padding: 45px 0 55px; border-top: 1px solid #34413c; }
.section h2 { margin: 0; font-size: 17px; font-weight: 650; letter-spacing: -.025em; }
.section-content > p { max-width: 620px; margin-bottom: 30px; color: #b8c4be; font-size: 16px; line-height: 1.7; }
.section-content > p:last-child { margin-bottom: 0; }
.tool-list { margin: 0; }
.tool-list > div { display: grid; grid-template-columns: 150px 1fr; gap: 18px; padding: 14px 0; font-size: 14px; line-height: 1.5; }
.tool-list > div + div { border-top: 1px solid #2b3632; }
.tool-list dt { color: #aab8b2; }
.tool-list dd { margin: 0; }

.site-footer { display: flex; justify-content: space-between; gap: 18px; margin-top: 60px; padding: 25px 0 40px; border-top: 1px solid #34413c; color: #aab8b2; font-size: 12px; }

.falling-icons { position: fixed; inset: 0; z-index: 10; pointer-events: none; transition: opacity .2s ease-out; }
.falling-icons.is-hidden { opacity: 0; }
.falling-icons.is-hidden .falling-icon { pointer-events: none; }
.falling-icon { position: fixed; left: 0; top: 0; display: grid; place-items: center; width: 64px; height: 64px; padding: 12px; border: 1px solid #d5ded8; border-radius: 14px; background: #f0f3ef; box-shadow: 0 4px 14px #0005; cursor: grab; touch-action: none; pointer-events: auto; user-select: none; transform-origin: center; will-change: transform; }
.falling-icon img { width: 100%; height: 100%; object-fit: contain; pointer-events: none; }
.falling-icon.hide-button { border-color: #b4cdbd; background: #dce9e1; color: #244638; font: 700 11px/1.15 "Segoe UI", Arial, sans-serif; }
.falling-icon.hide-button span { display: block; width: 100%; text-align: center; white-space: pre-line; }
.falling-icon.dragging { z-index: 1; cursor: grabbing; }
.tilt-control { position: fixed; top: max(16px, env(safe-area-inset-top)); right: 16px; z-index: 2; padding: 9px 12px; border: 1px solid #52705f; border-radius: 6px; background: #1b2b24; color: #d8eadf; font: 600 11px/1.2 "Segoe UI", Arial, sans-serif; letter-spacing: .06em; pointer-events: auto; cursor: pointer; }
.tilt-control:disabled { cursor: default; }

@media (max-width: 640px) {
  .container { width: min(100% - 36px, 880px); }
  .site-header { min-height: 72px; }
  .intro { padding: 75px 0 85px; }
  .section { grid-template-columns: 1fr; gap: 22px; padding: 36px 0 45px; }
  .tool-list > div { grid-template-columns: 1fr; gap: 3px; }
  .site-footer { flex-direction: column; margin-top: 30px; }
  .falling-icon { width: 56px; height: 56px; padding: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  .falling-icons { transition: none; }
}

