/* InkFoundry Studio website. No web fonts or trackers: the privacy policy promises none. */
:root {
  --bg: #ffffff;
  --bg-soft: #f4f6fb;
  --card: #ffffff;
  --text: #161a26;
  --muted: #5b6275;
  --line: #e2e6f0;
  --accent: #2f6fde;
  --accent-2: #7a48d6;
  --accent-text: #ffffff;
  --ok: #1e7d32;
  --warn-bg: #fff4d6;
  --warn-text: #6b4a00;
  --shadow: 0 10px 30px rgba(30, 40, 90, 0.10);
  --radius: 14px;
  --max: 1120px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #11131a;
    --bg-soft: #171a24;
    --card: #1b1f2b;
    --text: #eef0f6;
    --muted: #a3a9ba;
    --line: #2a3040;
    --accent: #5b8ff0;
    --accent-2: #9b74ea;
    --ok: #81c784;
    --warn-bg: #3a3014;
    --warn-text: #f3d98a;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }

/* draft banner: shown until every [PLACEHOLDER] is filled in */
.draft { background: var(--warn-bg); color: var(--warn-text); font-size: 14px; text-align: center; padding: 8px 16px; }

/* header */
header.top { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
header.top .wrap { display: flex; align-items: center; gap: 24px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; color: var(--text); text-decoration: none; }
.brand img { width: 32px; height: 32px; }
nav.links { display: flex; gap: 22px; margin-left: auto; }
nav.links a { color: var(--muted); text-decoration: none; font-size: 15px; }
nav.links a:hover { color: var(--text); }

.btn { display: inline-block; padding: 12px 22px; border-radius: 10px; font-weight: 600; text-decoration: none;
  background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: var(--accent-text); border: 0; }
.btn:hover { filter: brightness(1.07); }
.btn.ghost { background: transparent; color: var(--text); border: 1px solid var(--line); }
.btn.small { padding: 8px 14px; font-size: 15px; }

/* hero */
.hero { padding: 72px 0 40px; text-align: center; }
.hero h1 { font-size: clamp(34px, 5vw, 54px); line-height: 1.12; margin: 0 auto 18px; max-width: 900px; letter-spacing: -0.02em; }
.hero h1 span { background: linear-gradient(135deg, var(--accent), var(--accent-2)); -webkit-background-clip: text;
  background-clip: text; color: transparent; }
.hero p.lead { font-size: 20px; color: var(--muted); max-width: 720px; margin: 0 auto 28px; }
.hero .ctas { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.hero .fine { font-size: 14px; color: var(--muted); margin-top: 14px; }
.shot { border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow); background: var(--card); }
.hero .shot { margin: 48px auto 0; width: min(100%, 1040px); }

section { padding: 72px 0; }
section.soft { background: var(--bg-soft); }
h2 { font-size: clamp(26px, 3.4vw, 36px); line-height: 1.2; margin: 0 0 12px; letter-spacing: -0.01em; }
.sub { color: var(--muted); max-width: 720px; margin: 0 0 36px; }
.center { text-align: center; }
.center .sub { margin-left: auto; margin-right: auto; }

/* made with the app */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.gallery img { border-radius: 10px; box-shadow: var(--shadow); aspect-ratio: 2 / 3; object-fit: cover; width: 100%; }
.pages { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 18px; }
.pages img { background: #fff; border-radius: 8px; border: 1px solid var(--line); padding: 8px; aspect-ratio: 2 / 3; object-fit: contain; width: 100%; }
.caption { font-size: 14px; color: var(--muted); margin-top: 14px; }

/* steps */
.step { display: grid; grid-template-columns: 1fr 1.35fr; gap: 48px; align-items: center; margin-bottom: 72px; }
.step:last-child { margin-bottom: 0; }
.step.flip { grid-template-columns: 1.35fr 1fr; }
.step.flip .text { order: 2; }
.step .num { font-size: 14px; font-weight: 700; color: var(--accent); letter-spacing: 0.08em; text-transform: uppercase; }
.step h3 { font-size: 26px; margin: 6px 0 10px; }
.step p { color: var(--muted); margin: 0 0 10px; }
.step ul { margin: 0; padding-left: 20px; color: var(--muted); }

/* features */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.card h3 { font-size: 18px; margin: 0 0 6px; }
.card p { margin: 0; color: var(--muted); font-size: 16px; }

/* ai options */
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.two .card h3 { font-size: 20px; }
.two .card ul { margin: 10px 0 0; padding-left: 20px; color: var(--muted); }

/* pricing */
.price { max-width: 460px; margin: 0 auto; text-align: center; padding: 34px; }
.price .amount { font-size: 54px; font-weight: 800; letter-spacing: -0.02em; }
.price .amount small { font-size: 18px; font-weight: 600; color: var(--muted); }
.price .was { color: var(--muted); text-decoration: line-through; font-size: 20px; margin-right: 8px; }
.price ul { text-align: left; margin: 18px 0 24px; padding-left: 22px; color: var(--muted); }
.price .btn { width: 100%; }

/* faq */
details { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 16px 20px; margin-bottom: 10px; }
summary { cursor: pointer; font-weight: 600; }
details p { color: var(--muted); margin: 10px 0 0; }

/* footer */
footer { border-top: 1px solid var(--line); padding: 36px 0 48px; font-size: 14px; color: var(--muted); }
footer .row { display: flex; gap: 20px; flex-wrap: wrap; margin-bottom: 14px; }
footer a { color: var(--muted); }

/* legal pages */
.doc { max-width: 780px; margin: 0 auto; padding: 48px 20px 72px; }
.doc h1 { font-size: 34px; line-height: 1.2; }
.doc h2 { font-size: 22px; margin-top: 34px; }
.doc table { border-collapse: collapse; width: 100%; font-size: 15px; margin: 12px 0; }
.doc th, .doc td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; vertical-align: top; }
.doc th { background: var(--bg-soft); }

@media (max-width: 860px) {
  nav.links { display: none; }
  .step, .step.flip { grid-template-columns: 1fr; gap: 20px; }
  .step.flip .text { order: 0; }
  .grid { grid-template-columns: 1fr 1fr; }
  .gallery, .pages { grid-template-columns: 1fr 1fr; }
  .two { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .grid { grid-template-columns: 1fr; }
  header.top .btn { display: none; }
}
