/* Simple Shopfront check site: Simple Reels family look (Robert HQ/SIMPLE-REELS-DESIGN-RULES.md).
   Outfit, light by default with a sun/moon switch, calm; brand colour only for buttons, links and chosen items. */
@font-face { font-family: "Outfit"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("/check/fonts/outfit-latin-wght-normal.woff2") format("woff2"); }
@font-face { font-family: "Outfit"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("/check/fonts/outfit-latin-ext-wght-normal.woff2") format("woff2"); unicode-range: U+0100-024F, U+1E00-1EFF, U+20A0-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --bg: #f8fafc; --card: #ffffff; --line: #e2e8f0; --text: #1e1b4b; --muted: #475569;
  --brand: #4f46e5; --brand-text: #4f46e5; --brand-soft: #eef2ff; --on-brand: #ffffff;
  --good: #15803d; --good-soft: #dcfce7; --warn: #b45309; --warn-soft: #fef3c7; --bad: #b91c1c;
  color-scheme: light;
}
:root[data-theme="dark"] {
  --bg: #0b1120; --card: #131b2c; --line: #263247; --text: #f1f5f9; --muted: #b6c2d4;
  --brand: #4f46e5; --brand-text: #a5b4fc; --brand-soft: #1e1b4b; --on-brand: #ffffff;
  --good: #4ade80; --good-soft: #14321f; --warn: #fbbf24; --warn-soft: #3a2a0a; --bad: #f87171;
  color-scheme: dark;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: "Outfit", system-ui, sans-serif; background: var(--bg); color: var(--text); font-size: 16px; line-height: 1.55; }
a { color: var(--brand-text); text-underline-offset: 3px; }
p { margin: 0 0 12px; }
.wrap { max-width: 880px; margin: 0 auto; padding: 32px 16px 64px; }
.wrap--wide { max-width: 1240px; }
.narrow { max-width: 560px; margin: 24px auto; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.center { text-align: center; }

/* Header and footer: logo left, a few links, language, theme, one main button */
.site-head { background: var(--card); border-bottom: 1px solid var(--line); }
.site-head__in { max-width: 1240px; margin: 0 auto; padding: 12px 16px; display: flex; align-items: center; gap: 10px 18px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); margin-right: auto; }
.brand__mark { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 9px; background: var(--brand); color: #fff; font-weight: 700; font-size: 17px; }
.brand__name { font-weight: 600; font-size: 18px; }
.site-nav { display: flex; gap: 16px; font-size: 15px; }
.site-nav a { color: var(--muted); text-decoration: none; }
.site-nav a:hover { color: var(--text); }
.lang { font-size: 14px; color: var(--muted); border: 1px solid var(--line); border-radius: 8px; padding: 4px 8px; }
.theme-toggle { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 9px; border: 1px solid var(--line); background: var(--card); color: var(--text); cursor: pointer; }
.theme-toggle .moon { display: none; }
:root[data-theme="dark"] .theme-toggle .sun { display: none; }
:root[data-theme="dark"] .theme-toggle .moon { display: inline; }
.site-foot { border-top: 1px solid var(--line); background: var(--card); }
.site-foot__in { max-width: 1240px; margin: 0 auto; padding: 22px 16px; color: var(--muted); font-size: 14px; }
.site-foot__in p { margin: 0 0 6px; }
.site-nav a[aria-current="page"] { color: var(--brand-text); }
/* Phones: logo, language and light/dark on the first row; the links on a second row (the logo itself goes home) */
@media (max-width: 640px) {
  .site-head__in { gap: 8px 10px; }
  .site-nav { order: 10; width: 100%; flex-wrap: wrap; gap: 4px 16px; font-size: 14px; }
  .site-nav .nav-home { display: none; }
  .site-head .head-cta { display: none; }
}
@media (max-width: 340px) { .brand__name { display: none; } }

/* Buttons: one main (indigo) per area, others outline */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 42px; padding: 9px 16px; border-radius: 10px; border: 1px solid var(--line); background: var(--card); color: var(--text); font: inherit; font-weight: 500; text-decoration: none; cursor: pointer; }
.btn:hover { border-color: var(--brand-text); }
.btn--main { background: var(--brand); border-color: var(--brand); color: var(--on-brand); }
.btn--main:hover { filter: brightness(1.08); }
.btn[disabled] { opacity: .6; cursor: default; }

/* Headings: one page heading (24 px), one section heading (18 px); the two big website headlines */
.page-title { font-size: 24px; font-weight: 600; margin: 0 0 8px; line-height: 1.25; }
.section-title { font-size: 18px; font-weight: 600; margin: 0 0 8px; }
.hero h1 { font-size: clamp(2.3rem, 5vw, 3.6rem); font-weight: 800; line-height: 1.08; letter-spacing: -0.02em; margin: 0 0 14px; }
.eyebrow { color: var(--brand-text); font-size: 14px; font-weight: 500; margin: 0 0 8px; }
.lead { font-size: 19px; color: var(--muted); max-width: 40em; }

.card { background: var(--card); border: 1px solid var(--line); border-radius: 12px; }
.pad { padding: 20px 22px; }

/* Hero and the check form */
.hero { padding: 40px 0 8px; }
.check-form { display: flex; gap: 10px; flex-wrap: wrap; margin: 22px 0 10px; }
.check-form input { flex: 1 1 260px; }
input[type="text"], input[type="url"], input[type="email"], input[type="number"], select, textarea {
  font: inherit; color: var(--text); background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; min-height: 44px; width: 100%; }
input:focus, select:focus, textarea:focus, .btn:focus-visible, a:focus-visible { outline: 2px solid var(--brand-text); outline-offset: 2px; }
.field { display: grid; gap: 4px; margin: 0 0 14px; }
.field__label { font-size: 14px; font-weight: 500; }
.field__hint { font-size: 13px; color: var(--muted); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-error { color: var(--bad); font-size: 15px; }

/* What we look at */
.topics { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; margin: 28px 0; padding: 0; list-style: none; }
.topics li { padding: 14px 16px; }
.row-title { font-size: 14px; font-weight: 500; margin: 0 0 2px; }
.row-line { font-size: 14px; color: var(--muted); margin: 0; }

/* Progress while checking */
.progress { margin: 28px 0; }
.steps { list-style: none; padding: 0; margin: 12px 0 0; }
.steps li { display: flex; gap: 10px; align-items: center; padding: 6px 0; color: var(--muted); font-size: 15px; }
.steps li .dot { width: 10px; height: 10px; border-radius: 50%; border: 2px solid var(--line); flex: none; }
.steps li.now { color: var(--text); }
.steps li.now .dot { border-color: var(--brand-text); }
.steps li.done .dot { background: var(--good); border-color: var(--good); }

/* The report */
.report { margin: 28px 0; }
.report-head { margin-bottom: 18px; }
.report-section { margin: 26px 0 0; }
.finding { padding: 16px 18px; margin: 0 0 10px; }
.finding__top { display: flex; gap: 10px; align-items: flex-start; justify-content: space-between; flex-wrap: wrap; }
.finding__title { font-size: 15px; font-weight: 500; margin: 0; }
.finding__area { font-size: 12px; color: var(--muted); margin: 0 0 2px; font-weight: 500; }
.finding__detail { color: var(--muted); font-size: 15px; margin: 6px 0 0; }
.finding details { margin-top: 10px; font-size: 15px; }
.finding summary { cursor: pointer; color: var(--brand-text); }
.finding ol { margin: 8px 0 0; padding-left: 20px; }
.finding ol li { margin: 0 0 4px; overflow-wrap: anywhere; }
.finding__links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.tick { color: var(--good); margin-right: 6px; }
.badge { display: inline-block; font-size: 12px; font-weight: 500; border-radius: 999px; padding: 3px 10px; border: 1px solid var(--line); color: var(--muted); white-space: nowrap; }
.badge--us { background: var(--brand-soft); border-color: transparent; color: var(--brand-text); }
.badge--self { background: var(--card); }
.badge--good { background: var(--good-soft); border-color: transparent; color: var(--good); }
.badge--hand { background: var(--warn-soft); border-color: transparent; color: var(--warn); }
.limits { margin: 0; padding-left: 20px; color: var(--muted); font-size: 15px; }

/* "How you look on Google" preview: drawn like a search result on purpose */
.serp { background: #ffffff; color: #202124; border: 1px solid var(--line); border-radius: 12px; padding: 18px 20px; font-family: Arial, sans-serif; /* style-check: ok (imitates Google's result) */ }
.serp__site { display: flex; gap: 10px; align-items: center; font-size: 14px; }
.serp__fav { width: 26px; height: 26px; border-radius: 50%; background: #f1f3f4; display: grid; place-items: center; font-size: 12px; color: #5f6368; }
.serp__name { color: #202124; }
.serp__url { color: #4d5156; font-size: 12px; }
.serp__title { color: #1a0dab; font-size: 20px; line-height: 1.3; margin: 8px 0 4px; }
.serp__desc { color: #4d5156; font-size: 14px; line-height: 1.58; margin: 0; }

/* The ending: weekly check + "Tell me when it's ready" */
.final { margin: 40px 0 0; padding: 28px 22px; }
.notify { display: flex; gap: 10px; flex-wrap: wrap; align-items: flex-end; margin-top: 14px; }
.notify .field { flex: 1 1 260px; margin: 0; }
.placeholder { border: 1px dashed var(--line); border-radius: 10px; padding: 10px 14px; color: var(--muted); }

/* Sample form */
.sample-form fieldset { border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px 4px; margin: 0 0 16px; }
.sample-form legend { font-size: 14px; font-weight: 500; padding: 0 6px; }
.two-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.product-row { display: grid; grid-template-columns: 1fr 120px; gap: 10px; margin-bottom: 10px; }
.check-row { display: flex; gap: 8px; align-items: center; font-size: 15px; margin: 0 0 8px; }
.colour-row { display: flex; gap: 12px; align-items: center; }
.colour-row input[type="color"] { width: 54px; height: 40px; border: 1px solid var(--line); border-radius: 8px; background: var(--card); padding: 2px; }
/* Logo chooser: the real file input stays in the page (keyboard and screen readers use it), drawn as our outline button */
.file-pick { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.file-pick input[type="file"] { position: absolute; width: 1px; height: 1px; opacity: 0; overflow: hidden; }
.file-pick .btn { cursor: pointer; }
.file-pick:focus-within .btn { outline: 2px solid var(--brand-text); outline-offset: 2px; }
.file-name { font-size: 14px; color: var(--muted); }
.logo-preview { display: flex; gap: 12px; align-items: center; margin-top: 8px; }
.logo-preview img { max-height: 48px; max-width: 160px; border: 1px solid var(--line); border-radius: 8px; background: #fff; padding: 4px; }
.swatch { width: 22px; height: 22px; border-radius: 6px; border: 1px solid var(--line); display: inline-block; }
@media (max-width: 560px) { .two-cols { grid-template-columns: 1fr; } .product-row { grid-template-columns: 1fr 96px; } }

/* Sample viewer: three looks as tabs, page and screen switches, the frame */
.sample-head { margin: 8px 0 18px; }
.look-tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.look-tab { display: grid; gap: 2px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--card); text-decoration: none; color: var(--text); }
.look-tab[aria-current="true"] { border-color: var(--brand-text); background: var(--brand-soft); }
.look-tab__name { font-size: 14px; font-weight: 500; }
.look-tab__line { font-size: 13px; color: var(--muted); }
.viewer-bar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 14px 0; }
.seg { display: inline-flex; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: var(--card); }
.seg__item { padding: 8px 14px; font-size: 14px; color: var(--muted); text-decoration: none; }
.seg__item[aria-current="true"] { background: var(--brand-soft); color: var(--brand-text); }
.like-form { margin-left: auto; }
.frame { margin: 0 auto 12px; }
.frame--desktop .frame__screen { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: #fff; height: 900px; position: relative; }
.frame--desktop iframe { border: 0; width: 1280px; height: 1100px; transform-origin: 0 0; display: block; }
.frame--phone { width: 410px; max-width: 100%; border: 10px solid #1f2937; border-radius: 36px; background: #1f2937; }
.frame--phone .frame__screen { border-radius: 26px; overflow: hidden; background: #fff; }
.frame--phone iframe { border: 0; width: 100%; height: 780px; display: block; }
.offer { margin-top: 24px; }
.more-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
@media (max-width: 640px) { .look-tabs { grid-template-columns: 1fr; } .like-form { margin-left: 0; } .frame--desktop .frame__screen { height: 520px; } }

/* Home, Plans, How it works: plain sections with the family's big section headline (only outside cards) */
.sr { margin: 44px 0 0; }
.sr h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); font-weight: 800; line-height: 1.12; letter-spacing: -0.01em; margin: 0 0 12px; }
.sr > .muted { max-width: 46em; }
.final-cta { padding: 12px 0 8px; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 0; }
.speed { margin-top: 36px; }
.path { list-style: none; margin: 18px 0 12px; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px; }
.path li { display: grid; align-content: start; gap: 4px; }
.path__n { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line); color: var(--brand-text); font-size: 14px; font-weight: 500; margin-bottom: 6px; }
.path__link { font-size: 14px; margin-top: 6px; }
.plan-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; margin: 16px 0; }
.plan-grid--2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.plan { display: grid; align-content: start; gap: 4px; }
.plan__name { font-size: 18px; font-weight: 600; margin: 0 0 2px; }
.plan__price { font-size: 16px; font-weight: 500; margin: 0; }
.plan__line { margin: 8px 0 4px; }
.plan .row-line { margin: 0; }
.ticks, .plain-list, .numbered { margin: 8px 0 12px; padding-left: 0; list-style: none; font-size: 15px; }
.ticks li, .plain-list li { position: relative; padding: 3px 0 3px 22px; }
.ticks li::before { content: "✓"; position: absolute; left: 2px; color: var(--good); }
.plain-list li::before { content: ""; position: absolute; left: 6px; top: 13px; width: 5px; height: 5px; border-radius: 50%; background: var(--muted); }
.numbered { counter-reset: n; }
.numbered li { counter-increment: n; position: relative; padding: 4px 0 4px 30px; }
.numbered li::before { content: counter(n); position: absolute; left: 0; top: 5px; width: 22px; height: 22px; border-radius: 50%; border: 1px solid var(--line); font-size: 13px; display: grid; place-items: center; color: var(--brand-text); }
.two-lists { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; }
.note { margin-top: 4px; }
.rows { list-style: none; margin: 8px 0 18px; padding: 0; border: 1px solid var(--line); border-radius: 12px; background: var(--card); }
.rows__item { display: flex; gap: 6px 18px; justify-content: space-between; align-items: baseline; padding: 12px 16px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.rows__item:first-child { border-top: 0; }
.rows__item > div { flex: 1 1 260px; }
.rows__price { margin: 0; font-size: 14px; text-align: right; }
.steps-list { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 10px; }
.faq { display: grid; gap: 8px; margin-top: 14px; }
.faq details { padding: 0; }
.faq summary { cursor: pointer; padding: 14px 18px; font-weight: 500; font-size: 15px; }
.faq details p { padding: 0 18px 14px; margin: 0; color: var(--muted); font-size: 15px; }

/* Proposal form and the proposal */
.choices { display: grid; gap: 6px; margin: 0 0 12px; }
.choice { display: flex; gap: 10px; align-items: center; font-size: 15px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 10px; cursor: pointer; }
.choice:has(input:checked) { border-color: var(--brand-text); background: var(--brand-soft); }
.choice input { accent-color: var(--brand); width: 18px; height: 18px; margin: 0; }
textarea { resize: vertical; }
.proposal .card { margin: 0 0 14px; }
.price-list { margin: 12px 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.price-list > div { display: flex; gap: 6px 16px; flex-wrap: wrap; justify-content: space-between; padding: 9px 0; border-bottom: 1px solid var(--line); }
.price-list dt { color: var(--muted); font-size: 15px; }
.price-list dd { margin: 0; font-size: 15px; font-weight: 500; }
.note-text { white-space: pre-line; overflow-wrap: anywhere; }
.thumb { width: 320px; max-width: 100%; height: 200px; overflow: hidden; border: 1px solid var(--line); border-radius: 10px; background: #fff; margin: 10px 0; }
.thumb iframe { width: 1280px; height: 800px; border: 0; transform: scale(.25); transform-origin: 0 0; pointer-events: none; display: block; }
.interest { border-color: var(--brand-text); }
.print-only { display: none; }
.leads { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }

@media print {
  :root, :root[data-theme="dark"] { --bg: #ffffff; --card: #ffffff; --line: #d5dbe3; --text: #1e1b4b; --muted: #475569; --brand-text: #4f46e5; --brand-soft: #eef2ff; --good: #15803d; color-scheme: light; }
  .site-head, .site-foot, .final, .check-start, .topics-wrap, .no-print, .interest form, .thumb { display: none !important; }
  .print-only { display: block; }
  body { background: #fff; font-size: 13px; }
  .wrap { padding: 0; max-width: none; }
  .proposal .card { break-inside: avoid; border-color: #d5dbe3; }
  a { color: inherit; text-decoration: none; }
}
.text-2xl { font-size: 24px; } .font-semibold { font-weight: 600; }
