/* guide.robosize.me page layer.
   Loads after tokens.css and bundle.css (RobosizeME Design System 1.0).
   Only layout for this page lives here. Colours, radii and easing are tokens; shadow recipes follow bundle.css. */

html { scroll-behavior: smooth; scroll-padding-top: 92px; }
body { overflow-x: hidden; }
img { height: auto; }

/* ---------- label strip above the header ---------- */
.topline { background: var(--bay) var(--noise); color: var(--ink-2); font-size: 11.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; box-shadow: inset 0 -1px 0 rgba(255,255,255,.8), inset 0 8px 14px -10px rgba(20,40,34,.25); }
.topline .wrap { display: flex; justify-content: space-between; gap: 18px; padding-top: 9px; padding-bottom: 9px; }
.topline span { white-space: nowrap; }

/* ---------- header: logo, descriptor, one keycap ---------- */
.site-header .bar { gap: 16px; }
.site-header .descriptor { color: var(--ink-2); font-size: 11.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; padding-left: 16px; border-left: 1px solid var(--line); box-shadow: -1px 0 0 rgba(255,255,255,.9); }
.site-header .head-actions { margin-left: auto; }
@media (max-width: 760px) { .site-header .descriptor, .topline .opt { display: none; } }
@media (max-width: 560px) { .topline { font-size: 10.5px; letter-spacing: .08em; } .topline .wrap { flex-wrap: wrap; justify-content: center; gap: 2px 16px; padding-top: 7px; padding-bottom: 7px; } }
@media (max-width: 520px) { .head-actions .btn { display: inline-flex; } .site-header .bar { min-height: 64px; } .logo img { height: 26px; } }

/* ---------- hero ---------- */
.guide-hero .inner { padding-top: 64px; }
.guide-hero .split { grid-template-columns: 1.08fr .92fr; gap: 56px; }
.guide-hero h1 { font-size: clamp(2rem, 3.55vw, 3.2rem); line-height: 1.06; letter-spacing: -0.04em; max-width: none; margin-bottom: 22px; }
.guide-hero .hl { color: var(--mint-ink); }
.guide-hero .lead { margin-bottom: 0; }
.hero-fig { margin: 0; }
.hero-fig .frame { position: relative; overflow: hidden; border-radius: var(--radius-quote); background: var(--graphite-f); box-shadow: 0 0 0 8px #E3E8E6, 0 0 0 9px rgba(20,40,34,.12), 0 30px 60px -28px rgba(20,40,34,.5); }
.hero-fig img { display: block; width: 100%; }
.hero-fig .overlay { position: absolute; left: 0; right: 0; bottom: 0; padding: 88px 26px 24px; color: var(--white); background: linear-gradient(180deg, rgba(18,23,22,0) 0%, rgba(18,23,22,.72) 46%, rgba(18,23,22,.94) 100%); }
.hero-fig .overlay p { margin: 0; }
.hero-fig .overlay .ov-title { font-size: 1.25rem; font-weight: 800; line-height: 1.25; letter-spacing: -0.02em; }
.hero-fig .overlay .ov-sub { margin-top: 8px; font-size: 15px; line-height: 1.5; color: var(--on-graphite-2); }
figcaption { margin-top: 16px; text-align: center; font-size: 14.5px; line-height: 1.5; color: var(--ink-2); }
@media (max-width: 900px) { .guide-hero .inner { padding-top: 40px; } .guide-hero .split { grid-template-columns: 1fr; gap: 40px; } .hero-fig { max-width: 560px; } }

/* ---------- key figures ---------- */
.figures .stats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.figures .stat p { margin: 0; }
@media (max-width: 900px) { .figures .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- article column ---------- */
.guide-body { max-width: var(--article-max); margin: 0 auto; }
.guide-body > p { margin-bottom: 1.3em; }
.guide-body mark { background: var(--mint-soft); color: var(--ink); padding: .08em .32em; border-radius: var(--radius-focus); box-shadow: inset 0 0 0 1px rgba(0,122,97,.16); -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.guide-body em { color: var(--ink); }
.guide-body blockquote p { font-weight: 500; }
.guide-body blockquote cite { display: block; margin-top: 12px; font-style: normal; font-size: 14.5px; font-weight: 700; color: var(--ink-2); }
.chapter { padding-top: 72px; }
.chapter > header { margin-bottom: 18px; }
.chapter > header .eyebrow { margin-bottom: 14px; }
.guide-body .chapter h2 { margin: 0; font-size: clamp(1.6rem, 3vw, 2.3rem); }
.guide-body .card h3, .guide-body .card h4 { text-shadow: 0 1px 0 rgba(255,255,255,.85); }
.guide-body .card p, .guide-body .card li { font-size: 1rem; line-height: 1.6; }
.guide-body .card.feature h3, .guide-body .card.feature p { text-shadow: none; }

/* blocks wider than the reading column */
.breakout { margin-left: min(0px, calc((100% - min(1040px, 100vw - 64px)) / 2)); margin-right: min(0px, calc((100% - min(1040px, 100vw - 64px)) / 2)); }

/* how it works */
.how { margin-top: 32px; }
.guide-body .how h3 { margin: 0 0 26px; font-size: 1.2rem; }
.how .steps li:last-child { padding-bottom: 0; }
.guide-body .steps li h4 { margin: 0 0 4px; font-size: 1.06rem; letter-spacing: -0.01em; line-height: 1.3; }

/* warning signs */
.signs { list-style: none; margin: 28px 0 32px; padding: 0; display: grid; gap: 14px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.guide-body .signs li { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; border-radius: var(--radius-faq); background: var(--porcelain-f); box-shadow: var(--raise-sm); font-size: 1rem; line-height: 1.5; color: var(--ink); }
.signs .job-n { flex: none; margin: 0; font-variant-numeric: tabular-nums; }

/* screenshots and photos sit in a porcelain plate */
.shot { margin: 44px 0; }
.shot .plate { padding: 10px; border-radius: var(--radius-card); background: var(--porcelain-f); box-shadow: var(--raise); }
.shot img { display: block; width: 100%; border-radius: var(--radius-input); box-shadow: 0 0 0 1px rgba(20,40,34,.08); }
.shot.narrow .plate { max-width: 560px; margin: 0 auto; }
.shot.photo .plate { max-width: 640px; margin: 0 auto; }
.tree-scroll { overflow-x: auto; border-radius: var(--radius-input); box-shadow: 0 0 0 1px rgba(20,40,34,.08); }
.tree-scroll svg { display: block; width: 100%; height: auto; font-family: var(--font); }
.swipe-hint { display: none; }
@media (max-width: 680px) { .tree-scroll svg { width: 640px; max-width: none; } .swipe-hint { display: block; } }

/* the three areas */
.areas { margin-top: 28px; align-items: stretch; }
.guide-body .areas h3 { margin: 0 0 14px; font-size: 1.2rem; }
.areas .check { margin: 0; }
.guide-body .areas .check li { margin: 10px 0; color: var(--ink-2); }

/* operator result: the one graphite card */
.card.result { margin-top: 56px; padding: 0; overflow: hidden; display: grid; grid-template-columns: 1.1fr 1fr; }
.result .txt { padding: 40px; display: flex; flex-direction: column; align-items: flex-start; }
.guide-body .result .big { margin: 0 0 16px; font-size: clamp(1.5rem, 2.9vw, 2.15rem); font-weight: 800; line-height: 1.14; letter-spacing: -0.035em; color: var(--white); }
.result .big .glow { color: var(--mint-glow-text); text-shadow: 0 0 18px rgba(0,204,161,.35); }
.guide-body .result .txt > p:not(.big) { margin: 0 0 26px; color: var(--on-graphite-2); }
.result .pic { position: relative; min-height: 280px; }
.result .pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 100%; }

/* your role */
.roles { margin-top: 28px; }
.roles .job-n { font-variant-numeric: tabular-nums; margin-bottom: 14px; }
.guide-body .roles h3 { margin: 0 0 6px; font-size: 1.2rem; }
.guide-body .roles p { margin: 0; }

/* what this is not: every line is switched off */
.nots { list-style: none; margin: 24px 0 8px; padding: 0; display: grid; gap: 14px; }
.guide-body .nots li { display: flex; gap: 14px; align-items: flex-start; color: var(--ink); }
.nots .led { margin-top: .62em; }

/* ---------- claim: the guide and the form ---------- */
.claim .split { grid-template-columns: 1.05fr 1fr; }
.claim h2 { margin-bottom: 20px; }
.claim .lead { margin-bottom: 24px; }
.claim .check li { color: var(--ink); }
.claim .trustline { margin-top: 26px; }
.guide-form { padding: 30px; }
.guide-form .gf-top { display: flex; gap: 18px; align-items: flex-start; margin-bottom: 24px; }
.guide-form .gf-top img { flex: none; width: 96px; border-radius: 8px; box-shadow: var(--raise-sm); }
.guide-form .gf-label { margin: 0 0 8px; font-size: 13px; font-weight: 700; line-height: 1.4; color: var(--mint-ink); }
.guide-form h3 { margin: 0; font-size: 1.2rem; }
.guide-form .btn { width: 100%; margin-top: 6px; }
.guide-form .after { margin: 16px 0 0; font-size: 13.5px; line-height: 1.5; color: var(--ink-3); }
.guide-form .form-error { margin: 0 0 14px; }
.guide-form .sent { padding: 8px 0 4px; }
.guide-form .sent b { display: flex; align-items: center; gap: 10px; font-size: 1.2rem; margin-bottom: 6px; }
.guide-form .sent p { margin: 0; }
[hidden] { display: none !important; }

/* ---------- founder ---------- */
.founder { max-width: 900px; margin: 0 auto; flex-direction: row; gap: 30px; align-items: flex-start; padding: 36px; }
.founder img { flex: none; width: 112px; height: 112px; border-radius: 50%; object-fit: cover; object-position: 50% 20%; box-shadow: 0 0 0 3px #fff, 0 0 0 4px rgba(20,40,34,.12), 0 4px 10px -2px rgba(20,40,34,.3); }
.founder .eyebrow { margin-bottom: 12px; }
.founder h2 { font-size: clamp(1.35rem, 2.4vw, 1.7rem); margin-bottom: 10px; }
.founder p { margin: 0; }

/* ---------- closing band ---------- */
.cta-band .kicker { margin: 0 0 16px; font-size: 11.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); }
.cta-band .note { margin: 22px 0 0; font-size: 14.5px; color: var(--ink-2); }

/* ---------- footer: one line ---------- */
.site-footer.slim { padding: 44px 0 36px; }
.site-footer.slim .foot-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 32px; }
.site-footer.slim .foot-row img { display: block; height: 26px; width: auto; }
.site-footer.slim .legal { margin-top: 28px; color: var(--ink-2); }
.site-footer.slim .legal p { margin: 0; }
.site-footer.slim .foot-links { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.site-footer.slim .foot-links a, .site-footer.slim .foot-links button { color: var(--ink-2); }

/* ---------- assessment (thank-you page) ---------- */
.assess { max-width: 760px; margin: 0 auto; }
.assess .status { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 18px; font-weight: 700; font-size: 15.5px; color: var(--ink); }
.assess h1 { font-size: clamp(1.9rem, 4vw, 2.9rem); line-height: 1.08; margin-bottom: 16px; }
.assess .lead { margin-bottom: 34px; }
.quiz { padding: 32px; }
.quiz .q-count { margin: 0 0 12px; font-size: 11.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); }
.quiz .track { height: 12px; margin: 0 0 28px; border-radius: var(--radius-pill); background: var(--seg-track); box-shadow: var(--well); overflow: hidden; }
.quiz .track i { display: block; height: 100%; width: 0; border-radius: inherit; background: var(--switch-on); box-shadow: 0 0 10px rgba(0,204,161,.45); transition: width .3s var(--ease-f); }
.quiz h2 { font-size: clamp(1.35rem, 2.6vw, 1.75rem); margin-bottom: 22px; }
.quiz .opts { display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.quiz .opts .btn { justify-content: flex-start; width: 100%; white-space: normal; text-align: left; line-height: 1.25; min-height: 52px; }
.quiz .opts .btn[aria-pressed="true"] { transform: translateY(3px); color: var(--mint-ink); box-shadow: inset 0 2px 4px rgba(20,40,34,.2), 0 0 0 1px rgba(20,40,34,.14), 0 0 0 3px rgba(0,204,161,.35); }
.quiz .nav { margin-top: 26px; }
.quiz .nav:empty { display: none; }
.quiz .working { text-align: center; padding: 12px 0; }
.quiz .working > .led { width: 14px; height: 14px; margin-bottom: 18px; }
.quiz .working h2 { margin-bottom: 8px; }
.quiz .working > p { color: var(--ink-2); margin-bottom: 24px; }
.quiz .working ul { list-style: none; margin: 0 auto; padding: 0; max-width: 460px; display: grid; gap: 12px; text-align: left; }
.quiz .working li { display: flex; gap: 12px; align-items: center; color: var(--ink-3); font-size: 15.5px; transition: color .3s; }
.quiz .working li.done { color: var(--ink); }
.quiz .estimate h2 { margin-bottom: 12px; }
.quiz .estimate > p { color: var(--ink-2); }
.quiz .estimate .mock { margin: 26px 0 22px; }
.quiz .estimate .mock .kp { margin: 0; }
.quiz .estimate .mock .kp b { font-size: clamp(20px, 4vw, 30px); color: var(--kpi-glow-text); text-shadow: 0 0 18px rgba(0,204,161,.35); }
.quiz .estimate .mock .kp span { font-size: 12px; }
.quiz .estimate .fine { font-size: 14px; color: var(--ink-3); }
.quiz .estimate .go { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; margin-top: 22px; }
.quiz .estimate .go p { margin: 0; display: inline-flex; align-items: center; gap: 9px; font-size: 14px; color: var(--ink-3); }
@media (max-width: 600px) { .quiz { padding: 22px; } .quiz .opts { grid-template-columns: 1fr; } }

/* ---------- phones ---------- */
@media (max-width: 900px) {
  .claim .split { grid-template-columns: 1fr; }
  .card.result { grid-template-columns: 1fr; }
  .result .pic { min-height: 220px; order: -1; }
}
@media (max-width: 680px) {
  .signs, .guide-body .grid.two, .guide-body .grid.three { grid-template-columns: 1fr; }
  .chapter { padding-top: 56px; }
  .result .txt { padding: 28px 24px; }
  .founder { flex-direction: column; gap: 20px; padding: 26px; }
  .guide-form { padding: 22px; }
  .shot { margin: 34px 0; }
  .shot .plate { padding: 7px; border-radius: 16px; }
  .cta-band { padding: 88px 0; }
}
@media (max-width: 560px) {
  .figures .stat .num { font-size: 2.1rem; }
  .guide-form .gf-top img { width: 72px; }
  .hero-fig .overlay { padding: 64px 20px 20px; }
  .hero-fig .overlay .ov-title { font-size: 1.1rem; }
}
@media print { .topline, .ck-banner { display: none; } }
