/* Minimal home: near-black, bone-white type, one red accent, the dinosaur does the talking. */
body.m {
  --bone: #e9e4da; --dim: #8d877c; --hair: rgba(233, 228, 218, .12); --red: #c8322f;
  color: var(--bone); font-family: "Kanit", system-ui, sans-serif; font-weight: 300;
  background: #08090a;
}
body.m::before { /* the island, barely there */
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(ellipse 70% 60% at 70% 35%, rgba(8, 9, 10, .35), #08090a 75%), url(/bg.webp) 70% 20% / cover no-repeat;
  opacity: .5; filter: grayscale(.6) contrast(1.05);
}
.m a { color: inherit; }

/* header */
.m-top { position: sticky; top: 0; z-index: 1000; display: flex; align-items: center; gap: 28px; padding: 18px clamp(18px, 5vw, 64px);
  background: linear-gradient(#08090ae6, #08090a00); }
.m-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.m-brand img { width: 34px; height: 34px; object-fit: contain; }
.m-brand span { font-weight: 500; letter-spacing: .32em; font-size: 14px; }
.m-nav { display: flex; gap: 26px; margin-left: auto; }
.m-nav a { text-decoration: none; color: var(--dim); font-size: 14.5px; letter-spacing: .04em; transition: color .2s; }
.m-nav a:hover { color: var(--bone); }
.m .account { color: var(--dim); }
.m .account .btn { background: transparent; border: 1px solid var(--hair); color: var(--bone); font-weight: 400; }

/* hero */
.m-hero { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); align-items: center;
  min-height: calc(100svh - 72px); padding: 0 clamp(18px, 5vw, 64px); gap: 20px; }
.m-eyebrow { color: var(--dim); font-size: 12.5px; letter-spacing: .34em; text-transform: uppercase; }
.m-title { margin: 14px 0 10px; font-weight: 600; font-size: clamp(54px, 9vw, 128px); line-height: .9; letter-spacing: .02em; text-transform: uppercase; }
.m-title::after { content: ""; display: block; width: 56px; height: 2px; margin-top: 22px; background: var(--red); }
.m-lead { margin: 0 0 34px; font-size: clamp(16px, 1.7vw, 20px); color: #c9c3b8; }
.m-ip { display: inline-flex; align-items: center; border: 1px solid var(--hair); border-radius: 2px; }
.m-ip code { padding: 12px 18px; font: 400 clamp(17px, 2vw, 21px) ui-monospace, Consolas, monospace; letter-spacing: .08em; }
.m-ip button { align-self: stretch; padding: 0 18px; border: 0; border-left: 1px solid var(--hair); background: transparent; color: var(--dim); font: 400 13px "Kanit", sans-serif; letter-spacing: .08em; cursor: pointer; }
.m-ip button:hover { color: var(--bone); background: rgba(233, 228, 218, .05); }
.m-status { display: flex; flex-wrap: wrap; gap: 8px 26px; margin: 22px 0 34px; color: var(--dim); font-size: 14px; }
.m-status > span { display: inline-flex; align-items: center; gap: 8px; }
.m-status b { color: var(--bone); font-weight: 500; font-variant-numeric: tabular-nums; }
.m-status .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--dim); box-shadow: none; }
.m-status .dot.on { background: #6fd18b; box-shadow: 0 0 8px #6fd18b88; }
.m-status .dot.off { background: var(--red); }
.m-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.m-btn { display: inline-flex; align-items: center; padding: 13px 26px; border: 1px solid var(--hair); border-radius: 2px; text-decoration: none; font-size: 14.5px; letter-spacing: .06em; transition: background .2s, border-color .2s; }
.m-btn:hover { border-color: rgba(233, 228, 218, .4); }
.m-btn.solid { background: var(--bone); color: #0b0b0b; border-color: var(--bone); font-weight: 500; }
.m-btn.solid:hover { background: #fff; }

/* the dinosaur */
.m-stage { position: relative; height: min(78svh, 760px); min-height: 360px; opacity: 0; transition: opacity 1.4s ease; }
.m-stage.ready { opacity: 1; }
.m-stage.failed { display: none; }
.m-stage canvas { display: block; width: 100%; height: 100%; }
.m-caption { position: absolute; right: 4%; bottom: 8%; color: var(--dim); font-size: 12px; letter-spacing: .4em; text-transform: uppercase; }

/* steps */
.m-steps { display: grid; grid-template-columns: repeat(3, 1fr); margin: 0 clamp(18px, 5vw, 64px); border-top: 1px solid var(--hair); border-bottom: 1px solid var(--hair); }
.m-steps > div { padding: 30px 26px 30px 0; }
.m-steps > div + div { padding-left: 26px; border-left: 1px solid var(--hair); }
.m-steps span { display: block; color: var(--red); font-size: 12px; letter-spacing: .2em; margin-bottom: 10px; }
.m-steps b { display: block; font-weight: 500; font-size: 18px; margin-bottom: 4px; }
.m-steps p { margin: 0; color: var(--dim); font-size: 14px; }
.m .ip-inline { padding: 0; background: none; color: var(--bone); font-family: ui-monospace, Consolas, monospace; }

/* sections */
.m-section { padding: 70px clamp(18px, 5vw, 64px) 0; }
.m-head { display: flex; align-items: baseline; gap: 18px; margin-bottom: 18px; }
.m-head h2 { margin: 0; font-weight: 500; font-size: clamp(24px, 3vw, 34px); letter-spacing: .02em; }
.m-head span { color: var(--dim); font-size: 13.5px; }
.m .layout { padding: 0; height: min(78vh, 760px); }
.m .map-wrap { border: 1px solid var(--hair); border-radius: 2px; }
.m .card { background: rgba(10, 11, 12, .82); border: 1px solid var(--hair); border-radius: 2px; box-shadow: none; backdrop-filter: none; }
.m .card h2 { font-weight: 500; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); }
.m .bars .bar { height: 3px; background: rgba(233, 228, 218, .08); }
.m .bars .bar i { background: var(--bone); }
.m .bars .count { color: var(--bone); }
.m .btn { border-radius: 2px; font-weight: 400; }
.m .btn.primary { background: var(--bone); border-color: var(--bone); color: #0b0b0b; }

.m-download { display: flex; justify-content: space-between; align-items: center; gap: 30px; flex-wrap: wrap; padding-bottom: 70px; }
.m-download h2 { margin: 0 0 6px; font-weight: 500; font-size: clamp(24px, 3vw, 34px); }
.m-download p { margin: 0 0 4px; color: #c9c3b8; }
.m-download .m-note { color: var(--dim); font-size: 13px; }
.m-dl { display: flex; gap: 12px; flex-wrap: wrap; }
.m-foot { display: flex; gap: 28px; flex-wrap: wrap; padding: 26px clamp(18px, 5vw, 64px) 40px; border-top: 1px solid var(--hair); color: var(--dim); font-size: 13px; letter-spacing: .06em; }
.m-foot span:first-child { color: var(--bone); letter-spacing: .32em; }

@media (max-width: 900px) {
  .m-hero { grid-template-columns: 1fr; min-height: auto; padding-top: 30px; }
  .m-stage { order: -1; height: 46svh; min-height: 300px; margin: 0 -18px; }
  .m-steps { grid-template-columns: 1fr; }
  .m-steps > div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--hair); }
  .m .layout { height: auto; }
  .m-nav { gap: 16px; }
}
@media (max-width: 560px) {
  .m-top { gap: 14px; flex-wrap: wrap; }
  .m-nav { margin-left: 0; order: 3; width: 100%; }
  .m .account { margin-left: auto; }
  .m-ip { width: 100%; } .m-ip code { flex: 1; }
}
.m-copy { position: relative; z-index: 2; }
