/* Idyllic ATS brochure · A4 pages
   Light editorial layout in the Idyllic palette: navy headlines with one
   orange word, handwritten orange notes, soft peach and teal accents.
   Product visuals use app.css (shared with the landing page). */

@page { size: A4; margin: 0; }
* { box-sizing: border-box; }
html, body { margin: 0; }
body { background: #e7ecf0; font-family: 'Inter', system-ui, sans-serif; color: var(--text); -webkit-print-color-adjust: exact; print-color-adjust: exact; -webkit-font-smoothing: antialiased; }

.page { position: relative; width: 210mm; height: 297mm; margin: 10mm auto; padding: 17mm 17mm 16mm; background: #fff; overflow: hidden; box-shadow: 0 3mm 12mm rgba(18, 57, 92, .14); break-after: page; page-break-after: always; }
.page:last-child { break-after: auto; page-break-after: auto; }
@media print {
  body { background: #fff; }
  .page { margin: 0; box-shadow: none; }
}

h1, h2, h3 { margin: 0; color: var(--ink); font-family: 'Inter', sans-serif; }
h1 { font-size: 46pt; font-weight: 800; line-height: 1.02; letter-spacing: -0.04em; }
h2 { font-size: 32pt; font-weight: 800; line-height: 1.04; letter-spacing: -0.035em; }
h3 { font-size: 12pt; font-weight: 700; line-height: 1.25; letter-spacing: -0.01em; }
.acc { color: var(--orange); }
.lead { margin: 5mm 0 0; max-width: 150mm; font-size: 12.5pt; line-height: 1.55; color: var(--muted); }
.kick { display: inline-flex; align-items: center; gap: 2.5mm; margin: 0 0 7mm; padding: 1.6mm 3.6mm 1.6mm 2.4mm; border-radius: 99px; border: .3mm solid var(--line); font-size: 9pt; font-weight: 500; color: var(--muted); }
.kick b { color: var(--ink); font-weight: 700; }
.kick i { width: 2mm; height: 2mm; border-radius: 50%; background: var(--teal); }
.tag { display: inline-block; margin-left: 3mm; padding: 1mm 3mm; border-radius: 99px; background: var(--orange); color: #fff; font-size: 8.5pt; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; vertical-align: 6pt; }
.cap { position: absolute; left: 17mm; bottom: 19mm; margin: 0; font-size: 8pt; color: #9aa8b5; }

/* handwritten notes + arrows */
.note { position: absolute; margin: 0; font-family: 'Kalam', cursive; font-weight: 700; font-size: 15pt; line-height: 1.12; color: var(--pen); transform: rotate(-3deg); z-index: 6; }
svg.arrow { position: absolute; overflow: visible; fill: none; stroke: var(--pen); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; z-index: 6; }

/* page footer: small logo + number */
.pfoot { position: absolute; left: 17mm; right: 17mm; bottom: 9mm; display: flex; justify-content: space-between; align-items: center; font-size: 8pt; color: #9aa8b5; }
.pfoot img { height: 7mm; width: auto; }

/* soft background shapes */
.sun { position: absolute; border-radius: 50%; background: radial-gradient(closest-side, #fdecd8 0%, rgba(253, 236, 216, .55) 55%, rgba(253, 236, 216, 0) 100%); z-index: 0; }
.sun.teal { background: radial-gradient(closest-side, #dcf2f1 0%, rgba(220, 242, 241, .5) 55%, rgba(220, 242, 241, 0) 100%); }
.page > *:not(.sun) { position: relative; z-index: 1; }
.page > .note, .page > svg.arrow, .page > .cap, .page > .pfoot, .page > .flow { position: absolute; }

/* mock-ups placed on the page */
.stage { position: relative; }
.stage > .laptop { position: absolute; z-index: 1; }
.stage > .laptop ~ .laptop { z-index: 2; } /* each laptop keeps its own pop-ups */
.stage .fcard, .stage .fchip { position: absolute; z-index: 4; }

/* ---------- 1 · cover ---------- */
.logo-lg { display: block; }
.cover-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14mm; }
.cover-top .kick { margin: 0; }
.cover .logo-lg { height: 15mm; width: auto; }
.cover-top { margin-bottom: 9mm; }
.cover-hero { display: grid; grid-template-columns: minmax(0, 1fr) 64mm; gap: 4mm; align-items: center; }
.ai-pill { display: inline-flex; align-items: center; gap: 2mm; margin: 0 0 5mm; padding: 1.6mm 3.6mm; border-radius: 99px; background: var(--orange-soft); color: var(--pen); font-size: 9pt; font-weight: 700; }
.ai-pill svg { width: 3.8mm; height: 3.8mm; fill: none; stroke: currentColor; stroke-width: 2; stroke-linejoin: round; }
.cover h1 { font-size: 35pt; line-height: 1.06; letter-spacing: -0.04em; white-space: nowrap; }
.hl-pill { display: inline-block; margin-top: 1.2mm; padding: 0 2.6mm .6mm; border-radius: 3.4mm; background: linear-gradient(100deg, #f7931e, #e0601a); color: #fff; }
.cover .lead { max-width: none; font-size: 10.5pt; margin-top: 4mm; }
.cover-ctas { display: flex; gap: 2.5mm; margin-top: 5mm; }
.cbtn { display: inline-flex; align-items: center; padding: 2.2mm 4.2mm; border-radius: 99px; background: var(--ink); color: #fff; font-size: 8.6pt; font-weight: 700; white-space: nowrap; }
.cbtn.ghost { background: #fff; color: var(--ink); border: .3mm solid var(--line); }
/* the person, in a soft orb with the four jobs around her */
.person { position: relative; width: 64mm; height: 70mm; }
.person-orb { position: absolute; left: 5mm; top: 7mm; width: 54mm; height: 54mm; border-radius: 50%; overflow: hidden; background: radial-gradient(circle at 50% 40%, #fff6ec 0%, #fde3c6 55%, #f9cf9f 100%); box-shadow: 0 4mm 10mm -5mm rgba(224, 96, 26, .45); }
.person-orb img { position: absolute; left: 50%; bottom: -1mm; width: 50mm; transform: translateX(-50%); }
.person-arc { position: absolute; left: 0; top: 2mm; width: 64mm; height: 64mm; overflow: visible; fill: none; stroke: #f2b77a; stroke-width: .5; stroke-dasharray: 1.4 1.6; }
.bub { position: absolute; z-index: 2; display: flex; align-items: center; gap: 1.8mm; padding: 1.4mm 2.8mm 1.4mm 1.4mm; border-radius: 3mm; background: #fff; box-shadow: 0 2.4mm 6mm -2.4mm rgba(18, 57, 92, .35); font-size: 7.4pt; font-weight: 700; line-height: 1.15; color: var(--ink); white-space: nowrap; }
.bub .ci { width: 6mm; height: 6mm; border-radius: 1.8mm; display: grid; place-items: center; flex: none; }
.bub .ci svg { width: 3.4mm; height: 3.4mm; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.bub .ci.teal { background: var(--teal-soft); color: var(--teal); }
.bub .ci.orange { background: var(--orange-soft); color: var(--pen); }
.bub .ci.navy { background: var(--navy-soft); color: var(--ink); }
.bub.b1 { left: 15mm; top: -5mm; }
.bub.b2 { left: -10mm; top: 20mm; }
.bub.b3 { right: -8mm; top: 16mm; }
.bub.b4 { right: -6mm; top: 48mm; }
.cover .stage { height: 100mm; margin-top: 10mm; }
/* the laptop runs off the bottom of the page, as in the mock-up */
.cover .stage > .laptop { left: -5mm; width: 186mm; top: 0; }
/* small chips floating around the laptop */
.cchip { position: absolute; z-index: 4; display: inline-flex; align-items: center; gap: 2.4mm; padding: 1.8mm 4mm 1.8mm 1.8mm; border-radius: 99px; background: #fff; border: .25mm solid var(--line); box-shadow: 0 3mm 7mm -3mm rgba(18, 57, 92, .35); white-space: nowrap; }
.cchip .ci { width: 7mm; height: 7mm; border-radius: 50%; display: grid; place-items: center; flex: none; }
.cchip .ci svg { width: 3.8mm; height: 3.8mm; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.cchip .ci.teal { background: var(--teal-soft); color: var(--teal); }
.cchip .ci.orange { background: var(--orange-soft); color: var(--pen); }
.cchip .ci.navy { background: var(--navy-soft); color: var(--ink); }
.cchip b { display: block; font-size: 9pt; color: var(--ink); line-height: 1.2; }
.cchip small { display: block; font-size: 7.5pt; color: var(--muted); line-height: 1.25; }
.cchip.c1 { left: -6mm; top: 34mm; }
.cchip.c2 { left: -2mm; top: 92mm; }
.cchip.c3 { right: 2mm; top: 100mm; }
/* start-to-finish strip along the bottom */
.flow { position: absolute; left: 17mm; right: 17mm; bottom: 13mm; display: grid; grid-template-columns: repeat(6, 1fr); }
.flow::before { content: ""; position: absolute; left: 8.3%; right: 8.3%; top: 1.8mm; height: .7mm; border-radius: 1mm; background: linear-gradient(90deg, var(--teal), var(--orange)); }
.flow span { position: relative; display: flex; flex-direction: column; align-items: center; gap: 2.4mm; font-size: 9pt; font-weight: 600; color: var(--ink); }
.flow i { width: 4.2mm; height: 4.2mm; border-radius: 50%; background: #fff; border: .7mm solid var(--teal); }
.flow span:nth-child(4) i, .flow span:nth-child(5) i { border-color: #e9a04a; }
.flow .end i { background: var(--orange); border-color: var(--orange); box-shadow: 0 0 0 1.3mm var(--orange-soft); }
.flow .end { color: var(--pen); }

/* ---------- timeline row (page 2) ---------- */
.tl { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6mm; margin-top: 8mm; }
.tl small { display: block; font-size: 9pt; font-weight: 700; color: var(--teal); }
.tl b { display: block; margin-top: 1.5mm; font-size: 12pt; color: var(--ink); }
.tl p { margin: 1.5mm 0 0; font-size: 9.6pt; line-height: 1.5; color: var(--muted); }

/* ---------- three columns of text (pages 4, 6, 7) ---------- */
.cols3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6mm; }
.col .ic, .feat .ic { width: 11mm; height: 11mm; border-radius: 3mm; display: grid; place-items: center; }
.ic svg { width: 5.4mm; height: 5.4mm; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ic.teal { background: var(--teal-soft); color: var(--teal); }
.ic.orange { background: var(--orange-soft); color: var(--pen); }
.ic.navy { background: var(--navy-soft); color: var(--ink); }
.col h3 { margin-top: 3.5mm; }
.col p { margin: 1.5mm 0 0; font-size: 9.6pt; line-height: 1.5; color: var(--muted); }
.col ul { list-style: none; padding: 0; margin: 2.5mm 0 0; display: grid; gap: 1.4mm; }
.col li { position: relative; padding-left: 4mm; font-size: 9.2pt; line-height: 1.4; color: var(--text); }
.col li::before { content: ""; position: absolute; left: .4mm; top: 1.9mm; width: 1.6mm; height: 1.6mm; border-radius: 50%; background: var(--teal); }

/* ---------- feature grid (page 5) ---------- */
.feats { display: grid; grid-template-columns: 1fr 1fr; gap: 9mm 10mm; margin-top: 13mm; }
.feat { display: grid; grid-template-columns: 11mm 1fr; gap: 0 5mm; align-items: start; }
.feat h3 { font-size: 12.5pt; margin-top: .6mm; }
.feat p { margin: 1mm 0 0; font-size: 9.8pt; line-height: 1.45; color: var(--muted); }

/* soft callout (peach) */
.callout { position: relative; margin-top: 13mm; padding: 10mm 12mm 13mm; border-radius: 5mm; background: #fdf2e6; }
.callout p { margin: 0; font-size: 13.5pt; line-height: 1.5; color: var(--text); }
.callout b { color: var(--ink); }
.callout .note { right: 12mm; bottom: 3mm; }

/* role cards (page 6) */
.role { padding: 5mm; border-radius: 4mm; border: .3mm solid var(--line); background: #fff; }
.role .who { display: inline-block; padding: 1mm 3mm; border-radius: 99px; font-size: 8.5pt; font-weight: 700; }
.role.r1 .who { background: var(--ink); color: #fff; }
.role.r2 .who { background: var(--teal-soft); color: var(--teal-deep); }
.role.r3 .who { background: var(--orange-soft); color: var(--pen); }
.role h3 { margin-top: 3mm; font-size: 11.5pt; }
.role ul { list-style: none; padding: 0; margin: 2.5mm 0 0; display: grid; gap: 1.4mm; }
.role li { position: relative; padding-left: 4mm; font-size: 9pt; line-height: 1.4; color: var(--muted); }
.role li::before { content: ""; position: absolute; left: .4mm; top: 1.8mm; width: 1.6mm; height: 1.6mm; border-radius: 50%; background: var(--orange); }

/* ---------- last page ---------- */
.steps { list-style: none; padding: 0; margin: 14mm 0 0; }
.steps li { display: grid; grid-template-columns: 20mm 1fr; align-items: baseline; padding: 6mm 0; border-bottom: .3mm solid var(--line); }
.steps li b { font-size: 22pt; font-weight: 800; color: var(--orange); }
.steps li span { font-size: 13pt; color: var(--text); }
.steps li small { display: block; margin-top: 1mm; font-size: 9.8pt; color: var(--muted); }
.live { margin-top: 15mm; padding: 11mm 12mm 12mm; border-radius: 5mm; background: var(--ink); color: #fff; }
.live h2 { color: #fff; font-size: 26pt; }
.live p { margin: 3mm 0 0; font-size: 11.5pt; color: rgba(255, 255, 255, .78); }
.live dl { display: grid; grid-template-columns: auto auto auto; justify-content: space-between; gap: 6mm; margin: 9mm 0 0; }
.live dt { font-size: 8.5pt; color: rgba(255, 255, 255, .6); }
.live dd { margin: 1.5mm 0 0; font-size: 12pt; font-weight: 700; color: #fff; white-space: nowrap; }
.last .logo-lg { height: 16mm; width: auto; margin-bottom: 16mm; }
.last .pfoot img { display: none; }
