/* indiestudio.app — from the Claude Design project (design/claude-design/indiestudio.io.dc.html). */
:root {
  --bg: #fbfbfa;
  --bg-alt: #f2f2f0;
  --ink: #1b1b1d;
  --ink-2: #2c2c30;
  --muted: #55555c;
  --faint: #77777e;
  --faint-2: #8a8a90;
  --line: rgba(0, 0, 0, 0.12);
  --line-soft: rgba(0, 0, 0, 0.08);
  --accent: oklch(0.5 0.17 258);
  --accent-hover: oklch(0.42 0.17 258);
  --stage: linear-gradient(150deg, #e4e8ef, #d5dce8 55%, #e3dfe8);
  --gutter: clamp(20px, 5vw, 40px);
  --section: clamp(64px, 9vw, 112px);
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hover); }
img { max-width: 100%; height: auto; display: block; }
.grow { flex: 1; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 var(--gutter); }
[id] { scroll-margin-top: 60px; }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 10;
  background: rgba(251, 251, 250, 0.86);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}
.nav-row { height: 60px; display: flex; align-items: center; gap: 32px; }
/* Logo: an app square left open at one corner, and the idea dot that fills it (design/brand). */
.brand { display: flex; align-items: center; gap: 8px; color: var(--ink); font-size: 19px; letter-spacing: -0.035em; line-height: 1; }
.brand:hover { color: var(--ink); }
.brand .mark { flex-shrink: 0; color: var(--ink); }
.brand .dot { fill: var(--accent); transition: transform 0.3s cubic-bezier(0.2, 0.7, 0.2, 1); transform-origin: 25.6px 6.4px; }
.brand:hover .dot { transform: scale(1.18); }
.brand .word { font-weight: 430; color: #3a3a40; }
.brand .word b { font-weight: 700; color: var(--ink); }
.nav-links { display: flex; gap: 28px; font-size: 14px; }
.nav-links a { color: #4a4a50; }
.nav-links a:hover { color: var(--ink); }
@media (max-width: 759px) { .nav-links { display: none; } .nav-row { gap: 16px; } }

/* Buttons */
.btn {
  height: 46px; padding: 0 22px; border-radius: 23px; border: 0;
  display: inline-flex; align-items: center; justify-content: center;
  font: inherit; font-size: 16px; font-weight: 550; color: #fff; background: var(--accent); cursor: pointer;
}
.btn:hover { color: #fff; background: var(--accent-hover); }
.btn-sm { height: 34px; padding: 0 16px; border-radius: 17px; font-size: 14px; }
.btn-ghost { color: var(--ink); background: transparent; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.16); }
.btn-ghost:hover { color: var(--ink); background: rgba(0, 0, 0, 0.04); }
.btn-block { width: 100%; height: 48px; border-radius: 24px; }
.btn[disabled] { opacity: 0.6; cursor: default; }

/* Type */
.eyebrow { font-size: 13px; font-weight: 600; color: var(--accent); }
h1, h2 { margin: 0; font-weight: 650; text-wrap: balance; }
h1 { font-size: clamp(40px, 7.2vw, 84px); line-height: 1.02; letter-spacing: -0.035em; max-width: 900px; }
h2 { font-size: clamp(30px, 4.4vw, 48px); line-height: 1.08; letter-spacing: -0.03em; }
.lede { margin: 0; font-size: clamp(18px, 2vw, 22px); line-height: 1.45; color: var(--muted); max-width: 680px; text-wrap: pretty; }
.sub { margin: 0; font-size: 17px; color: var(--muted); text-wrap: pretty; }
.small { font-size: 13px; color: var(--faint); }
.head { display: flex; flex-direction: column; gap: 12px; max-width: 700px; }

/* Hero */
.hero { padding: clamp(56px, 10vw, 120px) 0 clamp(40px, 6vw, 64px); display: flex; flex-direction: column; gap: 24px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; padding-top: 8px; }

/* App window on a soft stage */
.stage { border-radius: clamp(14px, 2vw, 28px); background: var(--stage); padding: clamp(14px, 4.5vw, 56px); }
.stage img { width: 100%; border-radius: clamp(6px, 1.2vw, 16px); filter: drop-shadow(0 18px 40px rgba(20, 30, 60, 0.18)); }

/* Three facts / two columns */
.cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: clamp(28px, 4vw, 48px); }
.col { border-top: 1px solid var(--line); padding-top: 20px; display: flex; flex-direction: column; gap: 8px; }
.col h3 { margin: 0; font-size: 20px; font-weight: 650; letter-spacing: -0.2px; }
.col p { margin: 0; font-size: 16px; color: var(--muted); }
.col .kicker { font-size: 13px; color: var(--faint-2); }
.col .big { font-size: 24px; font-weight: 650; letter-spacing: -0.3px; margin: 0; }
.facts { padding: clamp(56px, 8vw, 96px) 0; }

/* Pipeline */
.section { padding: var(--section) 0; display: flex; flex-direction: column; gap: clamp(32px, 5vw, 56px); }
.section.tight-top { padding-top: clamp(40px, 6vw, 72px); }
.alt { background: var(--bg-alt); }
.phases { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); }
.phase { display: flex; flex-direction: column; gap: 12px; padding-right: 14px; }
.rail { display: flex; align-items: center; }
.dot { width: 11px; height: 11px; border-radius: 50%; flex-shrink: 0; background: var(--bg); box-shadow: inset 0 0 0 1.5px var(--accent); }
.phase.you .dot { background: var(--accent); }
.rail::after { content: ""; flex: 1; height: 1px; background: rgba(0, 0, 0, 0.14); margin-right: -14px; }
.phase:last-child .rail::after { background: transparent; }
.num { font-size: 12px; color: var(--faint-2); font-variant-numeric: tabular-nums; }
.phase strong { font-size: 16px; font-weight: 650; letter-spacing: -0.1px; margin-top: -8px; }
.phase span.line { font-size: 13.5px; line-height: 1.4; color: var(--muted); text-wrap: pretty; }
@media (max-width: 899px) {
  .phases { grid-template-columns: 1fr; }
  .phase { display: grid; grid-template-columns: 11px 1fr; column-gap: 16px; row-gap: 2px; padding: 0 0 22px; position: relative; }
  .rail { grid-row: 1 / span 3; align-self: stretch; flex-direction: column; padding-top: 6px; }
  .rail::after { width: 1px; height: auto; flex: 1; margin: 0 0 -28px; }
  .num { display: none; }
  .phase strong { margin-top: 0; }
  .phase span.line { font-size: 15px; }
}

/* Guard checks */
.checks { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 0 48px; margin: 0; padding: 0; list-style: none; }
.checks li { display: flex; gap: 18px; padding: 16px 0; border-top: 1px solid rgba(0, 0, 0, 0.1); }
.checks code { width: 84px; flex-shrink: 0; font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 13.5px; color: var(--accent); padding-top: 1px; }
.checks span { font-size: 15.5px; color: var(--ink-2); text-wrap: pretty; }

/* Pricing */
.pricing { padding: var(--section) var(--gutter); }
.price-card {
  max-width: 560px; margin: 0 auto; border-radius: 24px; background: #fff;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.07), 0 10px 40px rgba(0, 0, 0, 0.05);
  padding: clamp(28px, 5vw, 44px); display: flex; flex-direction: column; gap: 24px;
}
.price-card h3 { margin: 0; font-size: 17px; font-weight: 650; }
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.plan {
  position: relative; display: flex; flex-direction: column; gap: 4px; padding: 16px 18px; border-radius: 16px;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.12); cursor: pointer; color: var(--ink);
}
.plan input { position: absolute; opacity: 0; pointer-events: none; }
.plan:has(input:checked) { box-shadow: inset 0 0 0 2px var(--accent); }
.plan:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; }
.plan .amount { font-size: 40px; font-weight: 650; letter-spacing: -0.04em; line-height: 1.05; }
.plan .per { font-size: 15px; color: var(--muted); }
.plan .note { font-size: 13px; color: var(--faint); }
@media (max-width: 420px) { .plans { grid-template-columns: 1fr; } }
.includes { list-style: none; margin: 0; padding: 0; }
.includes li { display: flex; align-items: center; gap: 12px; padding: 11px 0; border-top: 1px solid var(--line-soft); font-size: 16px; }
.includes li.free { color: var(--muted); }
.includes svg { flex-shrink: 0; }
.renewal { font-size: 13px; color: var(--faint); text-align: center; margin: -10px 0 0; }

/* Beta form */
.beta { max-width: 560px; margin: 0 auto; display: flex; flex-direction: column; gap: 16px; text-align: center; align-items: center; }
.beta form { display: flex; gap: 10px; width: 100%; flex-wrap: wrap; justify-content: center; }
.beta input[type="email"] {
  flex: 1 1 260px; height: 46px; border-radius: 23px; border: 0; padding: 0 20px; font: inherit; font-size: 16px;
  background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.16);
}
.beta input[type="email"]:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.beta .status { min-height: 1.5em; font-size: 15px; color: var(--muted); margin: 0; }

/* FAQ */
.faq { max-width: 800px; margin: 0 auto; padding: var(--section) var(--gutter); display: flex; flex-direction: column; gap: 28px; }
.faq-list { border-bottom: 1px solid rgba(0, 0, 0, 0.1); }
.faq details { border-top: 1px solid rgba(0, 0, 0, 0.1); }
.faq summary { display: flex; align-items: center; gap: 16px; padding: 20px 0; cursor: pointer; font-size: 17px; font-weight: 600; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; width: 20px; text-align: center; font-size: 20px; font-weight: 400; color: var(--faint-2); }
.faq details[open] summary::after { content: "−"; }
.faq summary span { flex: 1; }
.faq details p { margin: 0; padding: 0 36px 22px 0; font-size: 16px; color: var(--muted); text-wrap: pretty; }

/* Footer */
.footer { border-top: 1px solid var(--line-soft); }
.footer-row { padding-top: 28px; padding-bottom: 28px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; font-size: 13.5px; color: var(--faint); }
.footer-row .byline { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.footer-row a { color: var(--muted); }
.footer-row .parent { display: inline-flex; align-items: center; }
/* gen2apps wordmark, as on the other studio products */
.g2a { font-size: 16px; letter-spacing: -0.025em; display: inline-flex; align-items: baseline; line-height: 1; }
.g2a b { font-weight: 650; color: var(--ink); }
.g2a i { font-weight: 550; font-style: italic; color: oklch(64% 0.17 42); font-size: 1.08em; margin: 0 -0.025em 0 -0.015em; display: inline-block; transition: transform 0.3s cubic-bezier(0.2, 0.7, 0.2, 1); }
.parent:hover .g2a i { transform: rotate(-6deg); }

/* Text pages */
.prose { max-width: 720px; margin: 0 auto; padding: clamp(48px, 8vw, 96px) var(--gutter); }
.prose h1 { font-size: clamp(34px, 5vw, 48px); margin-bottom: 8px; }
.prose h2 { font-size: 22px; letter-spacing: -0.2px; margin: 36px 0 8px; }
.prose p, .prose li { font-size: 16.5px; color: var(--ink-2); }
.prose .updated { color: var(--faint); font-size: 14px; }

/* Works with: the coding agents — each on a chip in its brand colour */
.agents {
  position: relative; isolation: isolate;
  padding: clamp(40px, 6vw, 72px) clamp(20px, 4vw, 48px); margin: clamp(8px, 2vw, 24px) 0 clamp(56px, 8vw, 96px);
  border-radius: clamp(18px, 2.4vw, 32px); overflow: hidden;
  display: flex; flex-direction: column; gap: clamp(24px, 4vw, 40px);
  background:
    radial-gradient(60% 80% at 0% 0%, rgba(217, 119, 87, 0.28), transparent 62%),
    radial-gradient(50% 70% at 100% 10%, rgba(105, 80, 239, 0.26), transparent 62%),
    radial-gradient(60% 80% at 60% 100%, rgba(66, 133, 244, 0.24), transparent 62%),
    radial-gradient(40% 60% at 10% 100%, rgba(31, 157, 107, 0.2), transparent 62%),
    #f6f5f3;
}
.agent-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.agent-grid li {
  display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 16px;
  background: rgba(255, 255, 255, 0.82); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.06), 0 6px 18px rgba(30, 30, 60, 0.05);
  font-size: 15px; font-weight: 600; color: var(--ink-2);
  transition: transform 0.2s cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 0.2s;
}
.agent-grid li:hover { transform: translateY(-2px); box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.06), 0 12px 28px rgba(30, 30, 60, 0.10); }
.agent-grid li.custom { background: rgba(255, 255, 255, 0.45); box-shadow: inset 0 0 0 1.5px rgba(31, 95, 200, 0.35); color: var(--muted); }
.agent-grid li.custom .agent-logo { --chip: linear-gradient(135deg, oklch(0.6 0.15 258), oklch(0.5 0.17 258)); }
.agent-grid code { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 12.5px; font-weight: 500; color: var(--accent); }
.agent-logo {
  width: 38px; height: 38px; flex-shrink: 0; border-radius: 11px; display: inline-grid; place-items: center;
  background: var(--chip, var(--ink)); color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22), 0 2px 6px rgba(0, 0, 0, 0.12);
}
.agent-logo svg { width: 21px; height: 21px; }
.agents .small { color: #6f6f76; }
@media (max-width: 420px) { .agent-grid { grid-template-columns: 1fr 1fr; gap: 10px; } .agent-grid li { padding: 10px; gap: 10px; font-size: 14px; } .agent-logo { width: 34px; height: 34px; } .agent-logo svg { width: 19px; height: 19px; } }
@media (max-width: 759px) { .footer-row .byline { flex-basis: 100%; } .footer-row .grow { display: none; } }

/* Stacks: four columns on wide screens */
.cols.stacks { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); margin-bottom: clamp(28px, 4vw, 48px); }
.col code.inline { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 0.92em; padding: 1px 5px; border-radius: 5px; background: rgba(0, 0, 0, 0.06); }
