/* meckayte.com: one stylesheet, no web fonts, no scripts. Light and dark follow the visitor's system. */
:root {
  --bg: #ffffff;
  --bg-soft: #f6f7fb;
  --card: #ffffff;
  --ink: #0e1324;
  --ink-2: #48516a;
  --ink-3: #7a8399;
  --line: #e6e8f0;
  --onego-1: #7c5cff;
  --onego-2: #f04fd0;
  --mcs-1: #ff3b9f;
  --mcs-2: #ffa98f;
  --brand: #5b4dff;
  --shadow: 0 1px 2px #0e13240d, 0 12px 40px #0e132412;
  --radius: 18px;
  --logo-filter: none;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0a0d18;
    --bg-soft: #10142280;
    --card: #121729;
    --ink: #eef1f8;
    --ink-2: #b4bbcc;
    --ink-3: #8790a6;
    --line: #232a40;
    --brand: #8f85ff;
    --shadow: 0 1px 2px #0006, 0 12px 40px #0008;
    --logo-filter: invert(1);
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.6 ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); }
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; margin: 0; }
p { margin: 0; }
.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 12px; background: var(--card); padding: 8px 12px; border-radius: 8px; z-index: 10; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 5; background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: saturate(1.6) blur(14px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: 24px; height: 84px; }
.brand { display: flex; align-items: center; text-decoration: none; }
.brand img { height: 62px; width: auto; filter: var(--logo-filter); }
.nav { display: flex; gap: 22px; margin-left: auto; align-items: center; }
.nav a { color: var(--ink-2); text-decoration: none; font-weight: 600; font-size: 15px; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); }
.nav .button { color: #fff; }
@media (max-width: 640px) {
  .site-header .wrap { gap: 12px; }
  .brand img { height: 48px; }
  .nav { gap: 14px; }
  .nav .hide-sm { display: none; }
}

/* Buttons */
.button { display: inline-flex; align-items: center; gap: 8px; padding: 12px 20px; border-radius: 999px; font-weight: 700; font-size: 15px; text-decoration: none; border: 1px solid transparent; transition: transform .15s ease, box-shadow .15s ease; }
.button:hover { transform: translateY(-1px); }
.button.small { padding: 8px 14px; font-size: 14px; }
.button.dark { background: var(--ink); color: var(--bg); }
.button.ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.button.onego { background: linear-gradient(120deg, var(--onego-1), var(--onego-2)); color: #fff; box-shadow: 0 8px 24px #b053ff40; }
.button.mcs { background: linear-gradient(120deg, var(--mcs-1), #ff7b8a); color: #fff; box-shadow: 0 8px 24px #ff3b9f40; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Sections */
section { padding: 88px 0; }
.soft { background: var(--bg-soft); border-block: 1px solid var(--line); }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: 12px; font-weight: 800; color: var(--ink-3); margin-bottom: 14px; }
.section-head { max-width: 680px; margin-bottom: 44px; }
.section-head h2 { font-size: clamp(28px, 4vw, 40px); }
.section-head p { color: var(--ink-2); margin-top: 14px; font-size: 18px; }
.gradient-onego { background: linear-gradient(120deg, var(--onego-1), var(--onego-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.gradient-mcs { background: linear-gradient(120deg, var(--mcs-1), var(--mcs-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.badge { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 800; padding: 5px 10px; border-radius: 999px; background: color-mix(in srgb, var(--brand) 12%, transparent); color: var(--brand); }
.badge.new { background: #16a34a1f; color: #16a34a; }
@media (prefers-color-scheme: dark) { .badge.new { color: #4ade80; } }

/* Hero */
.hero { padding: 96px 0 80px; position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: -40% -10% auto; height: 640px; background: radial-gradient(40% 50% at 30% 40%, #7c5cff22, transparent 70%), radial-gradient(35% 45% at 75% 35%, #ff3b9f1f, transparent 70%); pointer-events: none; }
.hero .wrap { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(38px, 6vw, 64px); letter-spacing: -0.035em; }
.hero .lede { font-size: clamp(18px, 2.2vw, 21px); color: var(--ink-2); margin: 22px 0 32px; max-width: 34em; }
.hero.center .wrap { grid-template-columns: minmax(0, 1fr); gap: 0; text-align: center; justify-items: center; }
.hero.center h1 { margin-top: 18px; }
.hero.center .lede { margin-inline: auto; }
.hero.center .actions { justify-content: center; }
@media (max-width: 860px) {
  section { padding: 64px 0; }
  .hero { padding: 64px 0 56px; }
  .hero .wrap { grid-template-columns: minmax(0, 1fr); gap: 40px; }
}

/* Product cards on the home page */
.products { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.product { position: relative; display: flex; flex-direction: column; gap: 16px; padding: 36px; border-radius: 24px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); text-decoration: none; color: inherit; overflow: hidden; transition: transform .2s ease, box-shadow .2s ease; }
.product:hover { transform: translateY(-3px); box-shadow: 0 1px 2px #0e13240d, 0 24px 60px #0e13241f; }
.product::after { content: ""; position: absolute; inset: auto -30% -60% auto; width: 360px; height: 360px; border-radius: 50%; opacity: .16; filter: blur(10px); }
.product.onego::after { background: linear-gradient(120deg, var(--onego-1), var(--onego-2)); }
.product.mcs::after { background: linear-gradient(120deg, var(--mcs-1), var(--mcs-2)); }
.product .icon { width: 64px; height: 64px; }
.product h3 { font-size: 28px; }
.product p { color: var(--ink-2); }
.product ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; color: var(--ink-2); font-size: 15px; }
.product li::before { content: "✓"; font-weight: 800; margin-right: 10px; color: var(--brand); }
.product .more { margin-top: auto; padding-top: 8px; font-weight: 800; color: var(--ink); }
@media (max-width: 860px) { .products { grid-template-columns: 1fr; } .product { padding: 28px; } }

/* Feature grids */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid.two { grid-template-columns: repeat(2, 1fr); }
.grid.four { grid-template-columns: repeat(4, 1fr); }
.feature { padding: 26px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); }
.feature .glyph { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; font-size: 22px; margin-bottom: 16px; background: color-mix(in srgb, var(--brand) 12%, transparent); }
.feature h3 { font-size: 19px; margin-bottom: 8px; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.feature p { color: var(--ink-2); font-size: 15px; }
.feature ul { margin: 10px 0 0; padding-left: 18px; color: var(--ink-2); font-size: 15px; }
.feature li + li { margin-top: 4px; }
@media (max-width: 960px) { .grid, .grid.four { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid, .grid.two, .grid.four { grid-template-columns: 1fr; } }

/* Steps */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step { padding: 26px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--card); }
.step::before { counter-increment: step; content: counter(step); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--ink); color: var(--bg); font-weight: 800; margin-bottom: 14px; }
.step h3 { font-size: 18px; margin-bottom: 6px; }
.step p { color: var(--ink-2); font-size: 15px; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

/* Downloads */
.downloads { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 32px; max-width: 760px; }
.store { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); color: var(--ink); text-decoration: none; }
.store svg { width: 30px; height: 30px; flex: none; }
.store small { display: block; color: var(--ink-3); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.store strong { font-size: 16px; }
.store[aria-disabled="true"] { cursor: default; }
.store[aria-disabled="true"] small { color: #d97706; }
.hero.center .downloads { margin-inline: auto; }
@media (max-width: 720px) { .downloads { grid-template-columns: 1fr; } }

/* Phone mock-up (OneGo) */
.phone { justify-self: center; width: 300px; padding: 14px; border-radius: 44px; background: #111522; box-shadow: 0 40px 80px #2a145a40, inset 0 0 0 2px #2b3045; }
.phone .screen { border-radius: 32px; overflow: hidden; background: #f7f5fc; color: #10142a; display: grid; grid-template-rows: auto 1fr auto; height: 540px; }
.phone .top { display: flex; align-items: center; gap: 10px; padding: 18px 16px 12px; background: #fff; border-bottom: 1px solid #ece8f5; }
.phone .avatar { width: 34px; height: 34px; border-radius: 50%; background: linear-gradient(120deg, var(--onego-1), var(--onego-2)); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 14px; }
.phone .top strong { font-size: 14px; display: block; }
.phone .top small { font-size: 11px; color: #16a34a; }
.phone .messages { padding: 14px 12px; display: flex; flex-direction: column; gap: 8px; font-size: 13px; line-height: 1.4; }
.bubble { max-width: 78%; padding: 8px 12px; border-radius: 16px; background: #fff; box-shadow: 0 1px 1px #0000000d; }
.bubble.me { align-self: flex-end; background: linear-gradient(120deg, var(--onego-1), #a35cf6); color: #fff; border-bottom-right-radius: 6px; }
.bubble.them { border-bottom-left-radius: 6px; }
.bubble.ai { align-self: stretch; max-width: none; background: #efeaff; border: 1px solid #ddd3ff; }
.bubble.ai b { color: #5b3fd6; display: block; font-size: 11px; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 2px; }
.bubble .reaction { display: inline-block; margin-top: 4px; background: #fff; color: #10142a; border-radius: 999px; padding: 0 6px; font-size: 12px; box-shadow: 0 1px 2px #0002; }
.topic-chip { align-self: center; font-size: 11px; font-weight: 700; color: #5b3fd6; background: #fff; border: 1px dashed #c9bcff; padding: 3px 10px; border-radius: 999px; }
.phone .composer { margin: 10px; padding: 10px 14px; border-radius: 999px; background: #fff; color: #9aa0b4; font-size: 13px; border: 1px solid #ece8f5; }
.lock { font-size: 10px; color: #7a8399; text-align: center; }

/* Console mock-up (MCS) */
.console-mock { justify-self: center; width: min(460px, 100%); border-radius: 18px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); overflow: hidden; font-size: 14px; }
.console-mock .bar { display: flex; gap: 6px; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.console-mock .bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
.console-mock .body { padding: 20px; display: grid; gap: 16px; }
.console-mock h4 { margin: 0; font-size: 15px; }
.console-mock .row { display: flex; justify-content: space-between; gap: 12px; color: var(--ink-2); }
.console-mock .row b { color: var(--ink); }
.meter { height: 8px; border-radius: 999px; background: var(--line); overflow: hidden; }
.meter span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--mcs-1), var(--mcs-2)); }
.meter .w-35 { width: 35%; }
.meter .w-55 { width: 55%; }
.console-mock .pill { display: inline-flex; gap: 6px; align-items: center; font-weight: 700; font-size: 12px; color: #16a34a; }
.console-mock .pill::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.console-mock .choice { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.console-mock .choice div { border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; }
.console-mock .choice small { display: block; color: var(--ink-3); font-size: 12px; }
.console-mock .ok { border-radius: 12px; padding: 10px 12px; background: #16a34a14; color: #16a34a; font-weight: 700; font-size: 13px; }

/* Plans */
.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.plan { padding: 26px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; }
.plan.featured { border: 2px solid transparent; background: linear-gradient(var(--card), var(--card)) padding-box, linear-gradient(120deg, var(--onego-1), var(--onego-2)) border-box; }
.plan h3 { font-size: 18px; }
.plan .price { font-size: 32px; font-weight: 800; letter-spacing: -0.03em; }
.plan .price small { font-size: 14px; font-weight: 600; color: var(--ink-3); letter-spacing: 0; }
.plan .alt { font-size: 13px; color: var(--ink-3); }
.plan ul { margin: 6px 0 0; padding-left: 18px; color: var(--ink-2); font-size: 14px; }
.plan li + li { margin-top: 4px; }
.note { color: var(--ink-3); font-size: 14px; margin-top: 20px; }
@media (max-width: 960px) { .plans { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .plans { grid-template-columns: 1fr; } }

/* Split callout */
.callout { display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center; padding: 44px; border-radius: 28px; background: var(--ink); color: var(--bg); }
.callout h2 { font-size: clamp(26px, 3.4vw, 34px); }
.callout p { color: color-mix(in srgb, var(--bg) 72%, transparent); margin-top: 10px; }
.callout .button.light { background: var(--bg); color: var(--ink); }
@media (max-width: 760px) { .callout { grid-template-columns: 1fr; padding: 32px; } }

/* Prose pages */
.prose { max-width: 760px; }
.prose h1 { font-size: clamp(32px, 5vw, 44px); margin-bottom: 8px; }
.prose h2 { font-size: 22px; margin: 36px 0 10px; }
.prose p, .prose li { color: var(--ink-2); }
.prose p + p { margin-top: 12px; }
.prose ul { padding-left: 20px; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 48px 0 40px; color: var(--ink-3); font-size: 14px; }
.site-footer .wrap { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; }
.site-footer img { height: 44px; width: auto; filter: var(--logo-filter); margin-bottom: 14px; }
.site-footer h4 { margin: 0 0 12px; color: var(--ink); font-size: 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer a { color: var(--ink-3); text-decoration: none; }
.site-footer a:hover { color: var(--ink); }
.site-footer .legal { grid-column: 1 / -1; padding-top: 24px; border-top: 1px solid var(--line); }
@media (max-width: 760px) { .site-footer .wrap { grid-template-columns: 1fr 1fr; } .site-footer .about { grid-column: 1 / -1; } }
