/* myeownlabs.com: one dark look. Colours and type are tokens at the top; layout follows. */
@import url("../fonts/fonts.css");
:root {
  --bg: #0A0B0D;
  --bg-2: #111317;
  --line: rgba(255,255,255,.09);
  --line-2: rgba(255,255,255,.16);
  --ink: #F4F4F2;
  --text: #B4B7BE;
  --muted: #7C808A;
  --accent: #9DB4FF;
  --glow: rgba(110,140,255,.16);
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --page: 1120px;
  --gutter: 16px;
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); font-size: 17px; line-height: 1.6;
  font-feature-settings: "cv11", "ss01"; -webkit-font-smoothing: antialiased; }
h1, h2, h3 { margin: 0; font-weight: 600; line-height: 1.08; letter-spacing: -.025em; text-wrap: balance; }
p, ul { margin: 0; }
p, li { color: var(--text); }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--ink); text-underline-offset: 3px; text-decoration-color: var(--line-2); }
a:hover { text-decoration-color: currentColor; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.wrap { width: 100%; max-width: var(--page); margin: 0 auto; padding: 0 var(--gutter); }
@media (min-width: 720px) { :root { --gutter: 32px; } }
.label { display: block; font-size: 13px; font-weight: 500; letter-spacing: .02em; color: var(--muted); }

/* header */
.site-head { position: sticky; top: 0; z-index: 10; background: rgba(10,11,13,.78); backdrop-filter: saturate(140%) blur(12px); -webkit-backdrop-filter: saturate(140%) blur(12px); border-bottom: 1px solid var(--line); }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 16px; letter-spacing: -.01em; text-decoration: none; }
.brand svg { width: 26px; height: 26px; flex: none; }
.site-nav { display: flex; gap: 26px; font-size: 14px; }
.site-nav a { color: var(--text); text-decoration: none; }
.site-nav a:hover { color: var(--ink); }

/* hero */
.hero { position: relative; overflow: hidden; padding: clamp(80px, 14vw, 168px) 0 clamp(72px, 11vw, 132px); border-bottom: 1px solid var(--line); }
.hero::before { content: ""; position: absolute; inset: -30% -10% auto; height: 120%; pointer-events: none;
  background: radial-gradient(50% 45% at 30% 20%, var(--glow), transparent 70%), radial-gradient(35% 35% at 80% 10%, rgba(255,255,255,.05), transparent 70%); }
.hero::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .35;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px; -webkit-mask-image: radial-gradient(60% 60% at 30% 30%, #000, transparent 75%); mask-image: radial-gradient(60% 60% at 30% 30%, #000, transparent 75%); }
.hero .wrap { position: relative; z-index: 1; }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border: 1px solid var(--line-2); border-radius: 999px; font-size: 13px; color: var(--text); background: rgba(255,255,255,.03); }
.pill i { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px var(--accent); }
.hero h1 { margin-top: 26px; font-size: clamp(44px, 8vw, 92px); letter-spacing: -.045em; line-height: 1; max-width: 13ch; }
.hero h1 span { color: var(--muted); }
.hero .lead { margin-top: 26px; font-size: clamp(18px, 2vw, 20px); max-width: 54ch; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.btn { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 20px; border-radius: 10px; font-size: 15px; font-weight: 500; text-decoration: none; background: var(--ink); color: var(--bg); border: 1px solid var(--ink); transition: opacity .2s, border-color .2s; }
.btn:hover { opacity: .88; }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn.ghost:hover { border-color: var(--muted); opacity: 1; }
.btn .arr { transition: transform .2s; }
.btn:hover .arr { transform: translateX(3px); }

/* sections */
.block { padding: clamp(72px, 10vw, 120px) 0; border-bottom: 1px solid var(--line); }
.block-head { display: flex; flex-direction: column; gap: 12px; margin-bottom: 44px; max-width: 60ch; }
.block-head h2 { font-size: clamp(30px, 4.4vw, 44px); }

/* apps */
.apps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 16px; }
.app { position: relative; display: flex; flex-direction: column; gap: 16px; padding: 28px; border-radius: 18px; background: linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.01)); border: 1px solid var(--line); transition: border-color .2s, transform .2s; }
.app:hover { border-color: var(--line-2); }
.app .top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.app .icon { width: 52px; height: 52px; border-radius: 13px; flex: none; }
.app .icon.mono { display: grid; place-items: center; background: var(--bg-2); border: 1px solid var(--line-2); font-weight: 600; font-size: 20px; color: var(--ink); }
.status { font-size: 12px; font-weight: 500; padding: 4px 10px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--text); white-space: nowrap; }
.status.live { color: #9EE6B8; border-color: rgba(158,230,184,.3); }
.app h3 { font-size: 22px; letter-spacing: -.02em; }
.app .for { font-size: 14px; color: var(--muted); margin-top: 4px; }
.app p { font-size: 16px; }
.app .go { margin-top: auto; padding-top: 4px; font-size: 15px; font-weight: 500; text-decoration: none; display: inline-flex; gap: 6px; align-items: center; color: var(--ink); }
.app .go .arr { transition: transform .2s; }
.app .go:hover .arr { transform: translateX(3px); }
.app .go.off { color: var(--muted); }

/* about */
.about { display: grid; grid-template-columns: 1fr; gap: 40px; }
@media (min-width: 880px) { .about { grid-template-columns: 1.1fr 1fr; gap: 72px; } }
.about .block-head { margin-bottom: 0; }
.about .copy { display: flex; flex-direction: column; gap: 16px; }
.facts { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 0 32px; margin-top: 8px; }
.facts li { display: flex; flex-direction: column; gap: 2px; padding: 16px 0; border-top: 1px solid var(--line); font-size: 15px; }
.facts span { font-size: 13px; color: var(--muted); }
.facts b { color: var(--ink); font-weight: 500; }

/* contact */
.contact .card { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; padding: clamp(28px, 5vw, 56px); border-radius: 22px; border: 1px solid var(--line); background: radial-gradient(80% 140% at 0% 0%, var(--glow), transparent 60%), var(--bg-2); }
.contact h2 { font-size: clamp(28px, 4vw, 40px); }
.contact p { margin-top: 10px; max-width: 46ch; }
.contact .mail { font-size: clamp(20px, 3vw, 28px); font-weight: 600; letter-spacing: -.02em; text-decoration: none; border-bottom: 1px solid var(--line-2); padding-bottom: 4px; word-break: break-word; }
.contact .mail:hover { border-color: var(--ink); }

/* footer */
.site-foot { padding: 32px 0 44px; font-size: 14px; }
.site-foot .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; }
.site-foot p { color: var(--muted); }
.site-foot nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.site-foot a { color: var(--text); text-decoration: none; }
.site-foot a:hover { color: var(--ink); }

/* text pages */
.prose { max-width: 720px; display: flex; flex-direction: column; gap: 16px; padding: clamp(56px, 9vw, 104px) 0; }
.prose h1 { font-size: clamp(38px, 6vw, 56px); letter-spacing: -.035em; }
.prose h2 { font-size: 22px; margin-top: 20px; }
.prose ul { padding-left: 20px; display: flex; flex-direction: column; gap: 6px; }
.prose .date { font-size: 14px; color: var(--muted); }
.prose a { color: var(--accent); }

@media (max-width: 560px) { .site-nav { gap: 18px; } .site-nav .opt { display: none; } }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } html { scroll-behavior: auto; } }
