@font-face{font-family:"Comic Neue";font-weight:400;font-display:block;src:url("./ComicNeue-400.woff2") format("woff2");}
@font-face{font-family:"Comic Neue";font-weight:700;font-display:block;src:url("./ComicNeue-700.woff2") format("woff2");}

:root {
  --paper: rgb(247, 241, 227);
  --paper-card: #fbf7ec;
  --paper-deep: #efe6d2;
  --ink: #332f27;
  --ink-soft: #7c7264;
  --line: rgba(51, 47, 39, 0.16);
  --line-strong: rgba(51, 47, 39, 0.4);
  --navy: #274690;
  --tg: #229ed9;
  --stamp: #b8472e;
  --good: #3f8f5f;
  --maxw: 1000px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }

* { -webkit-tap-highlight-color: transparent; }
html {
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
}
a, button, .btn, [role="button"], :focus, :focus-visible { outline: none; }

img {
  -webkit-user-drag: none;
  user-select: none;
  -webkit-touch-callout: none;
  pointer-events: none;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Comic Neue", Avenir, Helvetica, sans-serif;
  font-size: 18px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(120% 90% at 50% 0%, transparent 60%, rgba(51, 47, 39, 0.05));
  z-index: 0;
}
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 26px; position: relative; z-index: 1; }
a { color: var(--navy); text-decoration: none; }
h1, h2, h3 { font-weight: 700; letter-spacing: -0.01em; }

.perf { border: 0; border-top: 2px dashed var(--line-strong); margin: 0; opacity: 0.6; }

/* ── header ── */
header { display: flex; align-items: center; justify-content: space-between; padding: 26px 0 14px; }
.brand { display: inline-flex; align-items: center; gap: 11px; line-height: 1; }
.brand .mk {
  width: 34px; height: 34px; border-radius: 26%; object-fit: cover; display: block; flex: none;
  box-shadow: 2px 2px 0 rgba(51, 47, 39, 0.14);
}
.brand .wordmark { font-weight: 700; font-size: 26px; letter-spacing: -0.01em; display: block; transform: translateY(1px); }
.brand small { color: var(--ink-soft); font-weight: 400; font-size: 15px; }
.top-links { display: flex; align-items: center; gap: 20px; }
.top-cta { font-weight: 700; font-size: 16px; color: var(--navy); border-bottom: 2px solid transparent; padding-bottom: 2px; }
.top-cta:hover { border-color: var(--navy); }
.top-cta-wa { color: #128c3e; }
.top-cta-wa:hover { border-color: #128c3e; }

/* ── buttons ── */
.btn {
  display: inline-flex; align-items: center; gap: 9px; font-family: inherit; font-weight: 700; font-size: 18px;
  padding: 14px 24px; border-radius: 12px; border: 2px solid var(--ink); cursor: pointer; transition: transform .12s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-tg { background: linear-gradient(180deg, #2AABEE 0%, #229ED9 100%); color: #fff; border-color: #1a7fae; box-shadow: 3px 3px 0 var(--ink); }
.btn-wa { background: #25d366; color: #06351a; border-color: #128c3e; box-shadow: 3px 3px 0 var(--ink); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: rgba(51, 47, 39, 0.05); }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-top: 30px; }

/* ── footer ── */
footer { padding: 30px 0 44px; }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; align-items: center; color: var(--ink-soft); font-size: 15px; }
footer nav { display: flex; gap: 22px; flex-wrap: wrap; }

:focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; border-radius: 4px; }

/* ── page transition (clean opacity crossfade, no slide) ── */
.page-enter { animation: fadeIn .2s ease-out both; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }
