/* GimmeCores product page. System fonts only; nothing loads from elsewhere. */

:root {
  --bg: #f7f7fb;
  --bg-band: #efeff6;
  --surface: #ffffff;
  --ink: #15151d;
  --ink-2: #44445a;
  --muted: #6b6b80;
  --line: #e2e2ec;
  --accent: #3b3496;
  --accent-2: #4f46c8;
  --accent-ink: #ffffff;
  --teal: #138c96;
  --ok: #18804a;
  --warn-bg: #fff6e6;
  --warn-line: #f0d9a8;
  --code-bg: #f1f1f7;
  --term-bg: #16161e;
  --term-ink: #e8e8f2;
  --shadow: 0 1px 2px rgba(20, 20, 40, .06), 0 12px 32px -12px rgba(30, 30, 80, .18);
  --ring: 0 0 0 3px color-mix(in srgb, var(--accent-2) 35%, transparent);
  --r: 14px;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f0f15;
    --bg-band: #14141c;
    --surface: #1a1a23;
    --ink: #ececf4;
    --ink-2: #b9b9cb;
    --muted: #8d8da3;
    --line: #2a2a37;
    --accent: #8f87ff;
    --accent-2: #a39dff;
    --accent-ink: #12121a;
    --teal: #3cc3cc;
    --ok: #4cc488;
    --warn-bg: #2a2214;
    --warn-line: #4d3c1c;
    --code-bg: #20202b;
    --term-bg: #0b0b10;
    --term-ink: #e8e8f2;
    --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 16px 40px -16px rgba(0, 0, 0, .7);
    color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-underline-offset: 3px; }
a:hover { color: var(--accent-2); }
:focus-visible { outline: none; box-shadow: var(--ring); border-radius: 6px; }
code, pre { font-family: var(--mono); font-size: .88em; }
:not(pre) > code { background: var(--code-bg); padding: .1em .35em; border-radius: 5px; }
h1, h2, h3 { line-height: 1.2; letter-spacing: -.015em; margin: 0; }
p { margin: 0; }
[hidden] { display: none !important; }

.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 24px; }
@media (max-width: 600px) { .wrap { padding: 0 16px; } }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 12px; z-index: 10; background: var(--surface); padding: 8px 12px; }

/* ------------------------------------------------------------ header */
.top {
  position: sticky; top: 0; z-index: 5;
  background: color-mix(in srgb, var(--bg) 85%, transparent);
  backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent);
}
.top-row { display: flex; align-items: center; justify-content: space-between; height: 60px; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 700; font-size: 17px; }
.brand:hover { color: var(--ink); }
nav { display: flex; gap: 22px; font-size: 15px; }
nav a { color: var(--ink-2); text-decoration: none; }
nav a:hover { color: var(--ink); }
nav .gh { font-weight: 600; color: var(--ink); }
@media (max-width: 720px) { nav a:not(.gh):not([href="#download"]) { display: none; } nav { gap: 16px; } }

/* ------------------------------------------------------------ hero */
.hero {
  display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center;
  padding-top: 72px; padding-bottom: 80px;
}
.chip {
  display: inline-block; font-size: 13px; font-weight: 600; color: var(--accent);
  background: color-mix(in srgb, var(--accent) 10%, transparent);
  border: 1px solid color-mix(in srgb, var(--accent) 22%, transparent);
  padding: 4px 12px; border-radius: 999px; margin-bottom: 20px;
}
h1 { font-size: clamp(36px, 5.2vw, 58px); font-weight: 750; letter-spacing: -.03em; }
h1, .grad {
  background: linear-gradient(120deg, var(--ink) 30%, var(--accent) 75%, var(--teal));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lead { font-size: clamp(17px, 1.6vw, 19px); color: var(--ink-2); margin-top: 20px; max-width: 560px; }
.cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 0 22px; border-radius: 12px; font-weight: 650; font-size: 16px;
  text-decoration: none; color: var(--ink); background: var(--surface);
  border: 1px solid var(--line); box-shadow: 0 1px 2px rgba(20, 20, 40, .05);
  transition: transform .12s ease, box-shadow .12s ease, background .12s ease;
}
.button:hover { color: var(--ink); transform: translateY(-1px); box-shadow: var(--shadow); }
.button.primary { background: var(--accent); border-color: transparent; color: var(--accent-ink); }
.button.primary:hover { background: var(--accent-2); color: var(--accent-ink); }
@media (prefers-reduced-motion: reduce) { .button, .button:hover { transition: none; transform: none; } }
.fine { font-size: 14px; color: var(--muted); margin-top: 18px; max-width: 560px; }

/* An app window around a screenshot. */
.window {
  margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r);
  box-shadow: var(--shadow); overflow: hidden;
}
.window-bar { display: flex; gap: 7px; padding: 11px 13px; border-bottom: 1px solid var(--line); background: var(--surface); }
.window-bar i { width: 11px; height: 11px; border-radius: 50%; background: var(--line); }
.window-bar i:nth-child(1) { background: #ff5f57; }
.window-bar i:nth-child(2) { background: #febc2e; }
.window-bar i:nth-child(3) { background: #28c840; }
.hero-shot { max-width: 420px; justify-self: end; width: 100%; }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; gap: 40px; padding-top: 48px; padding-bottom: 56px; }
  .hero-shot { justify-self: center; }
}

/* ------------------------------------------------------------ sections */
.band { background: var(--bg-band); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section { padding-top: 88px; padding-bottom: 88px; }
.band > .section { padding-top: 80px; padding-bottom: 80px; }
.section > h2, .split h2 { font-size: clamp(28px, 3.4vw, 38px); font-weight: 720; }
.section-lead { color: var(--ink-2); font-size: 18px; margin-top: 12px; max-width: 640px; }
.narrow > * { max-width: 780px; }
.narrow > p { margin-top: 16px; color: var(--ink-2); font-size: 17px; }
@media (max-width: 600px) { .section, .band > .section { padding-top: 60px; padding-bottom: 60px; } }

/* Ways to use it. */
.uses { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; padding-top: 40px; padding-bottom: 40px; }
.use { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.kicker { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 700; }
.use pre {
  margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 12px;
  padding: 14px 16px; overflow-x: auto; line-height: 1.55;
}
.use p { color: var(--ink-2); font-size: 15px; }
.dim { color: var(--muted); }
@media (max-width: 900px) { .uses { grid-template-columns: 1fr; } }

/* How it works. */
.steps { list-style: none; margin: 48px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.step { display: flex; flex-direction: column; gap: 22px; min-width: 0; }
.step h3 { font-size: 20px; display: flex; align-items: center; gap: 10px; }
.step p { color: var(--ink-2); margin-top: 8px; font-size: 15.5px; }
.num {
  display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%;
  background: var(--accent); color: var(--accent-ink); font-size: 14px; font-weight: 700; flex: none;
}
/* The three steps' pictures share one height, so their titles line up. */
.step .window, .step .terminal { height: 330px; }
.window.small img { width: 100%; height: calc(100% - 34px); object-fit: cover; object-position: top; }
.terminal {
  background: var(--term-bg); border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow);
  border: 1px solid #262632; display: flex; flex-direction: column; min-height: 0;
}
.terminal .window-bar { background: #1d1d27; border-bottom-color: #262632; }
.terminal pre {
  margin: 0; padding: 16px; color: var(--term-ink); font-size: 12.5px; line-height: 1.7; flex: 1;
  overflow-x: auto; white-space: pre;
}
.terminal .dim { color: #8c8ca3; }
.terminal .ok { color: #5fd38f; }
@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr; gap: 48px; }
  .step .window, .step .terminal { max-width: 480px; width: 100%; height: auto; }
  .step .terminal { min-height: 250px; }
  .window.small img { height: auto; }
}

/* Activity. */
.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.split .window { max-width: 420px; justify-self: center; width: 100%; }
.ticks { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 18px; }
.ticks li { padding-left: 34px; position: relative; color: var(--ink-2); }
.ticks li b { color: var(--ink); }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 6px;
  background: color-mix(in srgb, var(--teal) 16%, transparent);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--teal) 35%, transparent);
}
.ticks li::after {
  content: ""; position: absolute; left: 7px; top: 7px; width: 5px; height: 9px;
  border: solid var(--teal); border-width: 0 2px 2px 0; transform: rotate(45deg);
}
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 40px; } }

/* Trust. */
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 40px; }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 22px;
  display: flex; flex-direction: column; gap: 8px;
}
.card h3 { font-size: 16.5px; }
.card p { color: var(--ink-2); font-size: 14.5px; }
.card.honest { background: var(--warn-bg); border-color: var(--warn-line); }
@media (max-width: 1000px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .grid { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------ download */
.tabs {
  display: inline-flex; gap: 4px; padding: 4px; margin-top: 32px; border-radius: 12px;
  background: var(--surface); border: 1px solid var(--line);
}
.tabs button {
  border: 0; background: none; font: inherit; font-weight: 600; color: var(--ink-2);
  padding: 8px 18px; border-radius: 9px; cursor: pointer;
}
.tabs button[aria-selected="true"] { background: var(--accent); color: var(--accent-ink); }
.tabs button:hover:not([aria-selected="true"]) { color: var(--ink); }
.release-line { margin-top: 18px; color: var(--muted); font-size: 15px; }
.panel { margin-top: 22px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 22px; max-width: 820px; }
.panel h3 { font-size: 17px; margin-bottom: 8px; }
.panel p, .panel li { color: var(--ink-2); }
.panel ol { margin: 0; padding-left: 22px; display: grid; gap: 6px; }
.panel pre {
  margin: 12px 0 0; background: var(--surface); border: 1px solid var(--line); border-radius: 12px;
  padding: 14px 16px; overflow-x: auto; line-height: 1.6;
}
.files { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
.files:empty { display: none; }
.file {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px;
}
.file .what { display: grid; gap: 2px; min-width: 0; }
.file .what b { font-size: 16px; }
.file .what span { color: var(--muted); font-size: 14px; overflow-wrap: anywhere; }
.file.main { border-color: color-mix(in srgb, var(--accent) 45%, var(--line)); }
.note {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 22px;
}
.verify { max-width: 820px; }

/* ------------------------------------------------------------ FAQ */
details { border-bottom: 1px solid var(--line); padding: 18px 0; }
details:first-of-type { margin-top: 24px; border-top: 1px solid var(--line); }
summary { cursor: pointer; font-weight: 650; font-size: 17px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--muted); font-weight: 400; font-size: 22px; line-height: 1; }
details[open] summary::after { content: "−"; }
details p { color: var(--ink-2); margin-top: 10px; }

/* ------------------------------------------------------------ footer */
.foot { padding-top: 48px; padding-bottom: 56px; border-top: 1px solid var(--line); display: grid; gap: 8px; color: var(--ink-2); font-size: 15px; }
.signoff { font-weight: 700; color: var(--ink); font-size: 17px; }
.foot a { color: var(--ink-2); }
.foot a:hover { color: var(--accent); }
