@font-face { font-family: Geist; src: url("../fonts/geist.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: GeistMono; src: url("../fonts/geist-mono.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
:root {
  --bg: #ffffff; --fg: #111318; --muted: #64748b; --faint: #94a3b8;
  --line: rgba(15, 23, 42, .08); --line-2: rgba(15, 23, 42, .12);
  --soft: #f8fafc;
  --accent: #12998F; --accent-deep: #08645E; --accent-tint: rgba(18, 153, 143, .08);
  --mono: GeistMono, ui-monospace, SFMono-Regular, Menlo, monospace;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  min-height: 100dvh; background: var(--bg); color: var(--fg);
  font-family: Geist, ui-sans-serif, system-ui, sans-serif;
  display: flex; flex-direction: column;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}
a { color: inherit; }
.grid {
  position: fixed; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(15, 23, 42, .055) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(15, 23, 42, .055) 1px, transparent 1px);
  background-size: 40px 40px; background-position: center center;
  mask-image: radial-gradient(ellipse 85% 70% at 50% 44%, #000 20%, transparent 72%);
  -webkit-mask-image: radial-gradient(ellipse 85% 70% at 50% 44%, #000 20%, transparent 72%);
}
header {
  position: relative; z-index: 1; flex-shrink: 0;
  padding: 32px 24px 0;
  padding-left: max(24px, env(safe-area-inset-left));
  padding-right: max(24px, env(safe-area-inset-right));
  text-align: center;
}
header .mark {
  display: inline-block; font-family: var(--mono);
  font-size: clamp(12px, 3.1vw, 13px); font-weight: 500; letter-spacing: .08em;
  color: var(--muted); line-height: 1.5; text-wrap: balance; text-decoration: none;
}
header a.mark { border-radius: 6px; padding: 2px 6px; margin: -2px -6px; transition: color .15s ease; }
header a.mark:hover { color: var(--fg); }
header .contact {
  display: block;
  margin-top: 6px;
  font-family: var(--mono);
  font-size: clamp(11px, 2.9vw, 12px);
  font-weight: 450;
  letter-spacing: .04em;
  color: var(--muted);
  text-decoration: none;
  border-radius: 6px;
  transition: color .15s ease;
}
header .contact:hover { color: var(--fg); }
a:focus-visible, button:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.home main {
  position: relative; z-index: 1; flex: 1; display: flex; align-items: center; justify-content: center;
  padding: 24px 24px calc(32px + env(safe-area-inset-bottom));
}
h1.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.plugs { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: center; gap: clamp(20px, 4.5vw, 44px); }
.plug a, .plug .item {
  display: flex; flex-direction: column; align-items: center; gap: .9rem;
  border-radius: 12px; padding: 10px 8px 8px;
}
.plug a { text-decoration: none; cursor: pointer; }
.plug .item { cursor: default; }
.pix {
  display: block; height: auto; border-radius: 0;
  image-rendering: auto;
  filter: drop-shadow(0 1px 1px rgba(15, 23, 42, .05)) drop-shadow(0 10px 24px rgba(15, 23, 42, .10));
}
.plug .pix { width: clamp(56px, 14vw, 80px); transition: transform .18s ease, filter .18s ease; }
.plug .label { display: flex; flex-direction: column; align-items: center; gap: .28rem; }
.plug .name {
  font-size: clamp(.85rem, 2.2vw, .95rem); font-weight: 560; letter-spacing: .01em; color: var(--fg);
  display: inline-flex; align-items: center; gap: .3em;
  text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 4px; text-decoration-thickness: 1px;
  transition: text-decoration-color .15s ease;
}
.plug .note { font-size: clamp(.68rem, 1.8vw, .75rem); font-weight: 450; letter-spacing: .01em; color: var(--muted); line-height: 1.3; }
.plug a:hover .pix { transform: translateY(-2px); filter: drop-shadow(0 1px 1px rgba(15,23,42,.05)) drop-shadow(0 14px 28px rgba(15,23,42,.14)); }
.plug a:hover .name { text-decoration-color: var(--line-2); }

@media (max-width: 520px) {
  .plugs { display: grid; grid-template-columns: repeat(2, auto); gap: 22px 28px; justify-content: center; }
  .plug .pix { width: clamp(56px, 22vw, 72px); }
}
