/* Campaign Brief Builder — landing. Visual idea: a printed brief form on putty paper, blue-black
   ink, perforated rules and a vermilion approval stamp (same identity as the app). */

@font-face { font-family: "Epilogue"; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/epilogue-latin-400-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Epilogue"; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/epilogue-latin-ext-400-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Epilogue"; font-style: normal; font-weight: 500; font-display: swap; src: url("/assets/fonts/epilogue-latin-500-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Epilogue"; font-style: normal; font-weight: 500; font-display: swap; src: url("/assets/fonts/epilogue-latin-ext-500-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Epilogue"; font-style: normal; font-weight: 600; font-display: swap; src: url("/assets/fonts/epilogue-latin-600-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Epilogue"; font-style: normal; font-weight: 600; font-display: swap; src: url("/assets/fonts/epilogue-latin-ext-600-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Epilogue"; font-style: normal; font-weight: 800; font-display: swap; src: url("/assets/fonts/epilogue-latin-800-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Epilogue"; font-style: normal; font-weight: 800; font-display: swap; src: url("/assets/fonts/epilogue-latin-ext-800-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 500; font-display: swap; src: url("/assets/fonts/ibm-plex-mono-latin-500-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 500; font-display: swap; src: url("/assets/fonts/ibm-plex-mono-latin-ext-500-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 600; font-display: swap; src: url("/assets/fonts/ibm-plex-mono-latin-600-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 600; font-display: swap; src: url("/assets/fonts/ibm-plex-mono-latin-ext-600-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --paper: #eceae3;
  --card: #fbfaf6;
  --sheet: #ffffff;
  --ink: #18212c;
  --soft: #4e5866;
  --faint: #6b737e;
  --line: #cfcbc0;
  --fold: #c9c4b7;
  --stamp: #d9432a;
  --stamp-dark: #b23420;
  --ok: #21785a;
  --display: "Epilogue", "Segoe UI", system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "Cascadia Mono", monospace;
  --gutter: 16px;
}

*, *::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(--paper);
  color: var(--ink);
  font-family: var(--display);
  font-size: 17px;
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--stamp-dark); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--stamp); outline-offset: 3px; border-radius: 2px; }
h1, h2, h3, p, li, dd, dt, summary { overflow-wrap: anywhere; hyphens: auto; }
h1, h2, h3 { font-weight: 800; letter-spacing: -0.025em; line-height: 1.1; margin: 0; }

.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding-inline: var(--gutter); }
.narrow { max-width: 780px; }
@media (min-width: 768px) { :root { --gutter: 32px; } }

.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; z-index: 10; }
.skip:focus { left: 8px; }

.kicker { font-family: var(--mono); font-weight: 600; font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--stamp-dark); margin: 0 0 12px; }

/* Perforated rule: heavy ink line, a short vermilion mark, a row of punched dots */
.perf { position: relative; height: 22px; border-top: 4px solid var(--ink); background-image: radial-gradient(circle, rgba(24, 33, 44, 0.45) 2px, transparent 2.6px); background-size: 14px 14px; background-position: 64px 4px; background-repeat: repeat-x; }
.perf::before { content: ""; position: absolute; left: 0; top: 4px; width: 48px; height: 8px; background: var(--stamp); border-radius: 2px; }

/* Header */
.top { padding-top: 18px; }
.top-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 24px; padding-bottom: 12px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 800; font-size: 1.1rem; letter-spacing: -0.02em; }
.nav { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 6px; margin: 0; padding: 0; }
.nav a { display: inline-block; padding: 10px 12px; min-height: 44px; color: var(--ink); text-decoration: none; font-weight: 500; border-radius: 6px; }
.nav a:hover { background: var(--card); }
.nav a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--stamp); text-decoration-thickness: 3px; text-underline-offset: 6px; }

/* Hero */
.hero { padding: 40px 0 64px; }
.hero-grid { display: grid; gap: 48px; align-items: center; }
@media (min-width: 960px) { .hero-grid { grid-template-columns: 1.15fr 0.85fr; gap: 64px; } .hero { padding: 64px 0 96px; } }
.hero h1 { font-size: clamp(2.15rem, 6.4vw, 4.1rem); }
.lead { font-size: 1.15rem; color: var(--soft); margin: 20px 0 0; max-width: 40em; }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 30px; }
.more-link { font-weight: 600; color: var(--ink); min-height: 44px; display: inline-flex; align-items: center; }
.facts { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.facts li { font-family: var(--mono); font-size: 0.85rem; font-weight: 600; padding: 4px 10px; border: 2px solid var(--ink); border-radius: 3px; background: var(--card); }
.hero-visual { position: relative; max-width: 400px; width: 100%; margin: 0 auto; padding-right: 28px; }

/* Sheet: white form page with a folded corner, the real app screen inside */
.sheet { position: relative; margin: 0; background: var(--sheet); border: 2.5px solid var(--ink); padding: 44px 14px 0; clip-path: polygon(0 0, calc(100% - 46px) 0, 100% 46px, 100% 100%, 0 100%); }
.sheet::after { content: ""; position: absolute; top: -2.5px; right: -2.5px; width: 48px; height: 48px; background: linear-gradient(to bottom left, transparent calc(50% - 1.6px), var(--ink) calc(50% - 1.6px), var(--ink) calc(50% + 1.6px), var(--fold) calc(50% + 1.6px)); border-left: 2.5px solid var(--ink); border-bottom: 2.5px solid var(--ink); }
.sheet-label { position: absolute; left: 14px; top: 14px; font-family: var(--mono); font-size: 0.7rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--soft); }
.sheet img { width: 100%; border: 1px solid var(--fold); border-bottom: 0; }

/* Rubber stamp */
.stamp { position: absolute; display: grid; place-items: center; align-content: center; gap: 0; width: 150px; height: 150px; border-radius: 50%; border: 6px solid var(--stamp); box-shadow: inset 0 0 0 5px var(--paper), inset 0 0 0 7.5px var(--stamp); color: var(--stamp); background: rgba(236, 234, 227, 0.72); transform: rotate(-10deg); text-align: center; pointer-events: none; }
.stamp span { font-family: var(--mono); font-weight: 600; font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase; }
.stamp b { font-weight: 800; font-size: 2.6rem; line-height: 1; margin: 2px 0; }
.stamp-hero { right: -6px; bottom: 34px; }
@media (max-width: 480px) { .stamp-hero { width: 118px; height: 118px; } .stamp-hero b { font-size: 2rem; } }
.stamp-small { position: static; width: 112px; height: 112px; flex: none; }
.stamp-small b { font-size: 2rem; }

/* Section heads */
section { scroll-margin-top: 16px; }
.section-head { max-width: 46em; margin-bottom: 36px; }
.section-head h2, .privacy-band h2, .download h2 { font-size: clamp(1.75rem, 4.4vw, 2.75rem); }
.section-lead { color: var(--soft); margin: 14px 0 0; }

/* Seven parts: form index */
.parts { padding: 64px 0; background: var(--card); border-block: 2px solid var(--ink); }
.parts-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(138px, 1fr)); gap: 0; border-top: 2px solid var(--ink); border-left: 1px solid var(--line); }
.part { position: relative; padding: 16px 14px 20px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.part-no { display: inline-block; font-family: var(--mono); font-weight: 600; font-size: 0.8rem; color: #fff; background: var(--ink); padding: 1px 6px; border-radius: 3px; }
.part-box { position: absolute; top: 16px; right: 14px; width: 22px; height: 22px; border: 2px solid var(--ok); border-radius: 3px; }
.part-box::after { content: ""; position: absolute; left: 6px; top: 1px; width: 6px; height: 12px; border: solid var(--ok); border-width: 0 3px 3px 0; transform: rotate(45deg); }
.part h3 { font-size: 1.05rem; letter-spacing: -0.01em; margin-top: 14px; }
.part p { margin: 6px 0 0; font-size: 0.92rem; color: var(--soft); line-height: 1.45; }

/* Feature stories */
.features { padding: 72px 0 24px; }
.feature { display: grid; gap: 32px; align-items: center; padding: 40px 0; border-top: 1px solid var(--line); }
@media (min-width: 900px) {
  .feature { grid-template-columns: 1.05fr 0.95fr; gap: 72px; padding: 56px 0; }
  .feature-flip .feature-text { order: 2; }
}
.feature-label { display: flex; align-items: center; gap: 10px; font-family: var(--mono); font-weight: 600; font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--stamp-dark); margin: 0 0 16px; }
.feature-label .no { color: #fff; background: var(--ink); padding: 1px 6px; border-radius: 3px; letter-spacing: 0.04em; }
.feature h3 { font-size: clamp(1.5rem, 3.4vw, 2.25rem); }
.feature-text > p { color: var(--soft); margin: 16px 0 0; }
.feature-visual { max-width: 360px; width: 100%; margin: 0 auto; }
.ticks { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 8px; }
.ticks li { position: relative; padding-left: 32px; font-weight: 500; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border: 2px solid var(--ink); border-radius: 3px; background: var(--card); }
.ticks li::after { content: ""; position: absolute; left: 6px; top: 6px; width: 5px; height: 10px; border: solid var(--stamp); border-width: 0 3px 3px 0; transform: rotate(45deg); }

/* Steps and extras */
.steps { padding: 72px 0; background: var(--card); border-block: 2px solid var(--ink); }
.steps-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 28px; }
@media (min-width: 768px) { .steps-list { grid-template-columns: repeat(3, 1fr); } }
.steps-list li { border-top: 4px solid var(--ink); padding-top: 14px; }
.step-no { font-weight: 800; font-size: 3rem; line-height: 1; color: var(--stamp); }
.steps-list h3 { font-size: 1.3rem; margin-top: 10px; }
.steps-list p { color: var(--soft); margin: 8px 0 0; }
.more-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 0; margin: 56px 0 0; border-top: 1px solid var(--line); }
.more-grid > div { padding: 18px 16px 18px 0; border-bottom: 1px solid var(--line); }
.more-grid dt { font-family: var(--mono); font-weight: 600; font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; }
.more-grid dd { margin: 6px 0 0; color: var(--soft); font-size: 0.95rem; }

/* Privacy band */
.privacy-band { padding: 64px 0; }
.privacy-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 28px 40px; }
.privacy-inner > div:last-child { flex: 1 1 320px; }
.privacy-band p { color: var(--soft); margin: 12px 0 0; max-width: 46em; }

/* Download */
.download { background: var(--ink); color: var(--paper); padding: 56px 0; }
.download-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 40px; }
.download-inner > div { flex: 1 1 320px; }
.download p { color: #c9ccd1; margin: 12px 0 0; }
.download a:not(.play) { color: #ffb3a3; }
.download .play { background: var(--paper); color: var(--ink); }
.download .play-mark { border-left-color: var(--stamp); }

/* Store button (neutral, no store badge artwork) */
.play { display: inline-flex; align-items: center; gap: 12px; min-height: 56px; padding: 8px 20px 8px 16px; background: var(--ink); color: #fff; text-decoration: none; border-radius: 8px; border: 2px solid var(--ink); }
.play:hover { color: #fff; background: #26313f; }
.play-mark { width: 0; height: 0; border-top: 11px solid transparent; border-bottom: 11px solid transparent; border-left: 18px solid var(--stamp); }
.play-text { display: flex; flex-direction: column; line-height: 1.15; }
.play-small { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; opacity: 0.85; }
.play-big { font-weight: 800; font-size: 1.15rem; }
.play-soon { cursor: default; opacity: 0.88; }

/* Text pages */
.page { padding: 40px 0 80px; }
.page h1 { font-size: clamp(2rem, 5.6vw, 3.2rem); }
.page h2 { font-size: 1.35rem; margin-top: 40px; letter-spacing: -0.015em; }
.page p { margin: 12px 0 0; }
.meta { font-family: var(--mono); font-size: 0.85rem; color: var(--faint); }
.numbered { padding-left: 1.4em; margin: 12px 0 0; }
.numbered li { margin: 8px 0; padding-left: 4px; }
.faq { border-top: 1px solid var(--line); padding: 4px 0; }
.faq:last-of-type { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-weight: 600; padding: 12px 0; min-height: 44px; list-style-position: outside; }
.faq p { color: var(--soft); margin: 0 0 14px; }

/* Footer */
.foot { padding: 36px 0 44px; border-top: 4px solid var(--ink); }
.foot-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px 40px; align-items: center; }
.foot-brand { display: flex; gap: 12px; align-items: center; }
.foot-name { font-weight: 800; margin: 0; }
.foot-small { margin: 2px 0 0; font-size: 0.9rem; color: var(--soft); }
.foot-links { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 20px; margin: 0; padding: 0; }
.foot-links a { display: inline-block; padding: 8px 0; min-height: 44px; color: var(--ink); }
.nohyph { hyphens: manual; overflow-wrap: normal; }
.cta-row { margin: 22px 0 30px; }
