/*
 * ideamaker.ai — the product site.
 *
 * One stylesheet, no framework, no build step. The page is three screens of
 * text and a logo; anything that needed compiling would be a bigger download
 * than the thing it renders.
 *
 * Colours are the app's own tokens (idea-maker/tokens/colors.js) so the site
 * and the first screen of the app are recognisably the same product:
 * accent #4EC9D4, page #EAF7F8, ink #0B1213.
 */
@font-face {
  font-family: 'Afacad';
  src: url('/assets/fonts/Afacad-700.woff2') format('woff2');
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: 'Afacad';
  src: url('/assets/fonts/Afacad-400.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
}

:root {
  --accent: #4ec9d4;
  --accent-deep: #1a8f9a;
  --ink: #0b1213;
  --body: #3c4a4c;
  --muted: #68787a;
  --page: #eaf7f8;
  --card: rgba(255, 255, 255, 0.62);
  --line: rgba(11, 18, 19, 0.09);
  --shadow: 0 1px 2px rgba(11, 18, 19, 0.04), 0 12px 32px rgba(11, 18, 19, 0.06);
}

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

body {
  margin: 0;
  background: var(--page);
  color: var(--body);
  font: 17px/1.65 -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .brand-name {
  font-family: 'Afacad', -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.01em;
}

a { color: var(--accent-deep); }
a:hover { color: var(--ink); }

.wrap { max-width: 1040px; margin: 0 auto; padding: 0 24px; }

/* ---- header ---- */
header {
  position: sticky;
  top: 0;
  z-index: 5;
  background: rgba(234, 247, 248, 0.86);
  backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--line);
}
header .wrap { display: flex; align-items: center; gap: 16px; height: 62px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { width: 24px; height: 29px; }
.brand-name { font-size: 20px; color: var(--ink); }
header nav { margin-left: auto; display: flex; gap: 22px; font-size: 15px; }
header nav a { text-decoration: none; color: var(--muted); }
header nav a:hover { color: var(--ink); }
@media (max-width: 620px) { header nav a.opt { display: none; } }

/* ---- hero ---- */
.hero { text-align: center; padding: 76px 0 64px; }
.hero img.mark {
  width: 208px;
  height: auto;
  display: block;
  margin: 0 auto 30px;
}
.hero h1 { font-size: 52px; line-height: 1.06; margin: 0 0 16px; }
.hero p.lede {
  font-size: 20px;
  line-height: 1.5;
  max-width: 620px;
  margin: 0 auto 26px;
  color: var(--body);
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: rgba(78, 201, 212, 0.18);
  border: 1px solid rgba(78, 201, 212, 0.5);
  color: #10666e;
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.01em;
}
.pill .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(78, 201, 212, 0.25);
}
.hero p.note { font-size: 15px; color: var(--muted); margin: 22px auto 0; max-width: 560px; }
@media (max-width: 620px) {
  .hero { padding: 52px 0 44px; }
  .hero img.mark { width: 148px; }
  .hero h1 { font-size: 38px; }
  .hero p.lede { font-size: 18px; }
}

/* ---- sections ---- */
section { padding: 56px 0; border-top: 1px solid var(--line); }
section h2 { font-size: 32px; line-height: 1.15; margin: 0 0 12px; }
section > .wrap > p.intro { font-size: 18px; max-width: 700px; margin: 0 0 32px; }
.eyebrow {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--accent-deep);
  margin: 0 0 10px;
}
section p { margin: 0 0 14px; max-width: 700px; }

/* ---- card grid ---- */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
  margin-top: 28px;
}
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px;
  box-shadow: var(--shadow);
}
.card h3 { font-size: 20px; margin: 0 0 8px; }
.card p { font-size: 15.5px; line-height: 1.55; margin: 0; color: var(--body); }

/* ---- steps ---- */
ol.steps { counter-reset: step; list-style: none; padding: 0; margin: 26px 0 0; max-width: 760px; }
ol.steps li {
  counter-increment: step;
  position: relative;
  padding: 0 0 22px 52px;
  border-left: 1px solid var(--line);
  margin-left: 15px;
}
ol.steps li:last-child { border-left-color: transparent; padding-bottom: 0; }
ol.steps li::before {
  content: counter(step);
  position: absolute;
  left: -16px;
  top: -2px;
  width: 31px;
  height: 31px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  display: grid;
  place-items: center;
}
ol.steps b { color: var(--ink); display: block; font-size: 17px; }

/* ---- contact ---- */
.contact-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; margin-top: 26px; }
.contact-list .card p { margin-top: 6px; }

/* ---- footer ---- */
footer {
  border-top: 1px solid var(--line);
  padding: 36px 0 56px;
  font-size: 14.5px;
  color: var(--muted);
}
footer .wrap { display: flex; flex-wrap: wrap; gap: 14px 26px; align-items: center; }
footer a { color: var(--muted); text-decoration: none; }
footer a:hover { color: var(--ink); text-decoration: underline; }
footer .copy { margin-left: auto; }
@media (max-width: 620px) { footer .copy { margin-left: 0; width: 100%; } }
/* Who makes it. Its own line under the links so it reads as the publisher of
   the site rather than one more thing to click. */
footer .parent { margin: 16px 0 0; font-size: 14px; color: var(--muted); }
footer .parent strong { color: var(--ink); font-weight: 600; }
