/* iScan Photo website. One stylesheet, no frameworks, no external fonts (privacy and speed). */
:root {
  --ink: #1e1a16;
  --text: #3b342c;
  --muted: #574d42;
  --line: #e6dccd;
  --paper: #fffaf3;
  --soft: #f6efe4;
  --sand: #efe3d0;
  --blue: #1d3fcf;
  --blue-dark: #142c94;
  --blue-soft: #e6ebff;
  --rust: #9c4320;
  --rust-soft: #f9e6d8;
  --amber-soft: #fcefd9;
  --amber-ink: #6e4100;
  --green: #2c6a45;
  --radius: 18px;
  --shadow: 0 18px 40px rgba(60, 40, 20, 0.12);
  --display: Georgia, "Iowan Old Style", "Palatino Linotype", "Book Antiqua", serif;
  --body: "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 16px; }
body { margin: 0; font-family: var(--body); font-size: 18px; line-height: 1.6; color: var(--ink); background: var(--paper); overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-underline-offset: 3px; }
a:hover { color: var(--blue-dark); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--display); line-height: 1.18; margin: 0; color: var(--ink); }
h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); font-weight: 700; letter-spacing: -0.01em; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); font-weight: 700; }
h3 { font-size: 1.3rem; font-weight: 700; }
p { margin: 0; }
ul, ol { padding-left: 24px; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 780px; }
.stack { display: flex; flex-direction: column; gap: 18px; }
.lead { font-size: 1.22rem; color: var(--text); max-width: 720px; }
.muted { color: var(--muted); }
.small { font-size: 16px; }
.center { text-align: center; align-items: center; }
.section { padding: 80px 0; }
.section.tight { padding: 48px 0 80px; }
.section.soft { background: var(--soft); }
.section.sand { background: var(--sand); }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 16px; background: #fff; padding: 10px 14px; z-index: 10; }
.section-head { display: flex; flex-direction: column; gap: 12px; max-width: 760px; margin-bottom: 40px; }

/* Header */
.site-header { background: #fff; border-bottom: 1px solid var(--line); }
.site-header .bar { display: grid; grid-template-columns: auto 1fr auto; grid-template-areas: "logo nav cta"; align-items: center; gap: 12px 32px; padding-top: 14px; padding-bottom: 14px; }
.logo { grid-area: logo; display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 800; font-size: 21px; }
.logo img { width: 44px; height: 44px; }
.nav-links { grid-area: nav; display: flex; flex-wrap: wrap; gap: 4px 8px; font-weight: 600; font-size: 17px; }
.nav-links a { color: var(--ink); text-decoration: none; padding: 10px 14px; border-radius: 10px; }
.nav-links a:hover { background: var(--soft); color: var(--ink); }
.nav-links a[aria-current="page"] { background: var(--blue-soft); color: var(--blue-dark); }
.site-header .btn { grid-area: cta; }
@media (max-width: 760px) {
  .site-header .bar { grid-template-columns: 1fr auto; grid-template-areas: "logo cta" "nav nav"; padding-bottom: 8px; }
  .nav-links { gap: 4px; margin: 0 -10px; }
  .nav-links a { padding: 10px; }
}

/* Section tabs (the app, the scanning service) */
.subnav { background: var(--soft); border-bottom: 1px solid var(--line); }
.subnav .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; padding-top: 10px; padding-bottom: 10px; }
.subnav-title { font-weight: 700; color: var(--ink); text-decoration: none; font-size: 16px; }
.subnav-links { display: flex; flex-wrap: wrap; gap: 6px; }
.subnav-links a { font-size: 16px; font-weight: 600; color: var(--text); text-decoration: none; padding: 8px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); min-height: 44px; display: inline-flex; align-items: center; }
.subnav-links a:hover { border-color: var(--blue); color: var(--blue-dark); }
.subnav-links a[aria-current="page"] { background: var(--ink); border-color: var(--ink); color: #fff; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 13px 24px; border-radius: 12px; font-weight: 700; font-size: 17px; line-height: 1.2; text-align: center; text-decoration: none; border: 2px solid transparent; cursor: pointer; font-family: inherit; }
.btn-lg { min-height: 60px; padding: 16px 30px; font-size: 19px; }
.btn-small { min-height: 46px; padding: 10px 18px; font-size: 16px; }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-dark); color: #fff; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #3a332b; color: #fff; }
.btn-outline { border-color: var(--blue); color: var(--blue-dark); background: #fff; }
.btn-outline:hover { background: var(--blue-soft); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--soft); color: var(--ink); }
.btn-text { color: var(--blue-dark); padding-left: 4px; padding-right: 4px; text-decoration: underline; text-underline-offset: 4px; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.reassure { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 16px; color: var(--muted); margin: 0; padding: 0; list-style: none; }
.reassure li::before { content: "✓ "; color: var(--green); font-weight: 700; }

.pill { align-self: flex-start; display: inline-block; font-weight: 700; font-size: 15px; padding: 7px 14px; border-radius: 999px; background: var(--rust-soft); color: var(--rust); }
.pill.blue { background: var(--blue-soft); color: var(--blue-dark); }
.eyebrow { font-size: 15px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.07em; color: var(--rust); }
.eyebrow.blue { color: var(--blue); }
.eyebrow.amber { color: var(--amber-ink); }

/* Heroes */
.hero { background: linear-gradient(180deg, var(--soft), var(--paper)); padding: 72px 0 80px; overflow: hidden; }
.hero .split, .split { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; }
.split > * { flex: 1 1 420px; min-width: 0; }
.page-head { background: var(--soft); padding: 56px 0 48px; border-bottom: 1px solid var(--line); }

/* The home page picture: the app with old prints around it */
.hero-art { position: relative; padding: 24px 8px 40px; }
.hero-art .shot { position: relative; z-index: 1; }
.hero-art .print { position: absolute; width: 34%; z-index: 2; }
.hero-art .print.one { left: -4%; bottom: -2%; transform: rotate(-7deg); }
.hero-art .print.two { right: -3%; top: -2%; transform: rotate(6deg); width: 28%; }
@media (max-width: 560px) { .hero-art { padding: 16px 0 28px; } .hero-art .print { width: 40%; } .hero-art .print.two { display: none; } }

/* Screenshots and photos */
figure { margin: 0; }
.shot { background: #fff; border: 1px solid #d9cfbf; border-radius: 14px; box-shadow: var(--shadow); overflow: hidden; }
.shot::before { content: ""; display: block; height: 26px; border-bottom: 1px solid #ebe3d6; background: radial-gradient(circle at 16px 13px, #e0d6c6 5px, transparent 6px), radial-gradient(circle at 34px 13px, #e0d6c6 5px, transparent 6px), radial-gradient(circle at 52px 13px, #e0d6c6 5px, transparent 6px), #f7f2ea; }
.shot img { width: 100%; }
.print { background: #fff; padding: 8px 8px 26px; border-radius: 3px; box-shadow: 0 12px 28px rgba(60, 40, 20, 0.22); }
.print img { width: 100%; }
.photo { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.placeholder { min-height: 300px; border-radius: var(--radius); background: var(--sand); border: 2px dashed #bfae94; display: flex; align-items: center; justify-content: center; text-align: center; padding: 24px; color: var(--muted); font-size: 16px; }
.before-after { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.before-after figcaption { text-align: center; font-size: 16px; color: var(--muted); margin-top: 8px; }

/* Cards and grids */
.grid { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr)); }
.grid.two { grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }
.grid.four { grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); }
.grid.features { gap: 28px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; display: flex; flex-direction: column; gap: 14px; }
.card.raised { box-shadow: var(--shadow); }
.card.featured { border: 3px solid var(--blue); position: relative; }
.card.dark { background: var(--ink); color: #fff; border-color: var(--ink); }
.card.dark h2, .card.dark h3 { color: #fff; }
.card.dark .muted, .card.dark li { color: #ece6dd; }
.card ul { margin: 0; padding-left: 22px; color: var(--text); display: flex; flex-direction: column; gap: 6px; }
.card .push { margin-top: auto; }
.link-card { text-decoration: none; color: var(--ink); }
.link-card:hover { border-color: var(--blue); color: var(--ink); }
.link-card strong { color: var(--blue-dark); font-size: 1.1rem; }
.badge { position: absolute; top: -15px; left: 26px; background: var(--blue); color: #fff; font-size: 14px; font-weight: 700; padding: 4px 12px; border-radius: 999px; }
.price { font-family: var(--display); font-weight: 700; font-size: 2.4rem; line-height: 1.1; }
.price small { font-family: var(--body); font-size: 1rem; font-weight: 600; color: var(--muted); }
.card.dark .price small { color: #d9d1c5; }

/* Trust points */
.trust { list-style: none; margin: 0; padding: 0; display: grid; gap: 28px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.trust li { display: flex; flex-direction: column; gap: 8px; }
.trust strong { font-family: var(--display); font-size: 1.25rem; }
.icon { width: 40px; height: 40px; stroke: var(--rust); flex: none; }

/* Numbered steps */
.steps { margin: 0; padding: 0; list-style: none; display: grid; gap: 28px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); }
.steps li { display: flex; flex-direction: column; gap: 8px; }
.steps .num { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 50%; background: var(--blue); color: #fff; font-weight: 800; font-size: 1.2rem; }
.steps.big li { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; gap: 12px; }
.steps.big .shot { margin-top: 8px; }

/* Feature tour: text beside a screenshot, alternating sides */
.tour { display: flex; flex-direction: column; gap: 88px; }
.feature { display: flex; flex-wrap: wrap; gap: 40px 56px; align-items: center; }
.feature > .stack { flex: 1 1 340px; min-width: 0; }
.feature > figure, .feature > .before-after { flex: 1.5 1 440px; min-width: 0; }
.feature.flip > .stack { order: 2; }
@media (max-width: 860px) { .feature.flip > .stack { order: 0; } }
.feature ul { margin: 0; display: flex; flex-direction: column; gap: 6px; color: var(--text); }

/* Bands */
.band-blue { background: var(--blue); color: #fff; border-radius: 24px; padding: 48px; display: flex; flex-wrap: wrap; gap: 32px; align-items: center; }
.band-blue h2 { color: #fff; }
.band-blue .stack { flex: 1 1 420px; }
.band-blue p, .band-blue li { color: #eef1ff; }
.band-blue .eyebrow { color: #dce3ff; }
.band-blue .card { flex: 1 1 280px; max-width: 360px; color: var(--ink); }
.band-dark { background: var(--ink); color: #fff; }
.band-dark h2, .band-dark h3 { color: #fff; }
.band-dark p, .band-dark li { color: #ece6dd; }
.door { background: var(--sand); border-radius: 28px; padding: 48px; display: flex; flex-wrap: wrap; gap: 40px; align-items: center; }
.door > * { flex: 1 1 380px; min-width: 0; }
@media (max-width: 600px) { .band-blue, .door { padding: 28px 22px; border-radius: 20px; } .card { padding: 24px; } }

/* Checklists */
.checklist { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.checklist li { position: relative; padding-left: 36px; color: var(--text); }
.checklist li::before { content: ""; position: absolute; left: 0; top: 3px; width: 24px; height: 24px; border-radius: 6px; border: 2px solid var(--green); background: #fff; }
.checklist.done li::before { content: "✓"; color: #fff; background: var(--green); text-align: center; line-height: 20px; font-weight: 700; font-size: 15px; }

/* Chips (jump links) */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 16px; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--ink); text-decoration: none; font-weight: 600; font-size: 16px; }
.chip:hover { border-color: var(--blue); color: var(--blue-dark); }

/* Tables */
.table-box { overflow-x: auto; background: #fff; border: 1px solid var(--line); border-radius: 16px; }
table.prices { width: 100%; border-collapse: collapse; font-size: 17px; }
table.prices th { text-align: left; padding: 14px 20px; background: #fbf6ee; }
table.prices td { padding: 13px 20px; border-top: 1px solid var(--line); vertical-align: top; }
.card table.prices td { padding: 10px 0; }
.card table.prices td:last-child { padding-left: 12px; }
table.prices td:last-child, table.prices th:last-child { text-align: right; font-weight: 700; white-space: nowrap; }
table.prices .note { display: block; font-weight: 400; color: var(--muted); font-size: 15px; }
table.keys td:last-child, table.keys th:last-child { text-align: left; font-weight: 400; white-space: normal; }
table.keys th:last-child { font-weight: 700; }
kbd { font-family: inherit; font-weight: 700; background: var(--soft); border: 1px solid var(--line); border-bottom-width: 3px; border-radius: 6px; padding: 2px 8px; white-space: nowrap; }

/* Quotes */
figure.quote { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 28px; display: flex; flex-direction: column; justify-content: space-between; }
figure.quote blockquote { margin: 0; font-family: var(--display); font-size: 1.2rem; }
figure.quote blockquote::before { content: "“"; display: block; font-size: 3rem; line-height: 0.8; color: var(--rust); }
figure.quote figcaption { margin-top: 14px; color: var(--muted); font-size: 16px; }

/* FAQ and help */
.faq { display: flex; flex-direction: column; gap: 12px; max-width: 880px; }
details { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 0 22px; }
summary { font-weight: 700; cursor: pointer; padding: 18px 0; min-height: 56px; list-style-position: outside; }
details[open] { padding-bottom: 18px; }
details p, details ol, details ul { margin: 0 0 10px; color: var(--text); }
details ol { display: flex; flex-direction: column; gap: 6px; }
.help { display: flex; flex-direction: column; gap: 56px; }
.help-group { display: flex; flex-direction: column; gap: 18px; scroll-margin-top: 16px; }
.help-group > p { max-width: 780px; color: var(--text); }

/* Forms */
form.schedule { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; }
@media (max-width: 600px) { form.schedule { padding: 22px 18px; } }
form.schedule label { display: flex; flex-direction: column; gap: 6px; font-weight: 700; font-size: 17px; }
form.schedule .full { grid-column: 1 / -1; }
form.schedule .check { flex-direction: row; align-items: center; gap: 12px; font-weight: 400; }
form.schedule input[type=text], form.schedule input[type=email], form.schedule input[type=tel], form.schedule select, form.schedule textarea {
  font: inherit; font-weight: 400; padding: 12px 14px; border: 2px solid #c9bba6; border-radius: 10px; min-height: 52px; background: #fff; width: 100%; color: var(--ink);
}
form.schedule input:focus, form.schedule select:focus, form.schedule textarea:focus { border-color: var(--blue); outline: none; box-shadow: 0 0 0 3px var(--blue-soft); }
form.schedule input[type=checkbox] { width: 24px; height: 24px; flex: none; }
form.schedule .hp { position: absolute; left: -5000px; }
form.schedule button { justify-self: start; }
form.schedule fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
form.schedule legend { font-weight: 700; font-size: 17px; margin-bottom: 8px; padding: 0; }
.scale { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.scale label { flex-direction: row !important; }
.scale input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.scale label > span { display: inline-flex; align-items: center; justify-content: center; width: 50px; height: 50px; border-radius: 12px; border: 2px solid #c9bba6; font-size: 20px; font-weight: 700; cursor: pointer; background: #fff; }
.scale input:checked + span { background: var(--blue); border-color: var(--blue); color: #fff; }
.scale input:focus-visible + span { outline: 3px solid var(--blue); outline-offset: 2px; }

/* Legal and long text */
.legal { max-width: 800px; }
.legal h1 { margin-bottom: 8px; }
.legal h2 { font-size: 1.45rem; margin: 34px 0 8px; }
.legal h3 { margin: 24px 0 6px; }
.legal p, .legal ul, .legal ol { margin: 10px 0; color: var(--text); }
.legal li { margin: 4px 0; }
.legal pre { white-space: pre-wrap; font-size: 14px; background: var(--soft); padding: 16px; border-radius: 12px; overflow-x: auto; }

/* Footer */
.site-footer { background: var(--ink); color: #e3dcd2; font-size: 17px; }
.site-footer .cols { display: grid; gap: 32px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); padding: 60px 24px 32px; }
.site-footer .cols div { display: flex; flex-direction: column; gap: 4px; }
.site-footer strong { color: #fff; margin-bottom: 6px; }
.site-footer a { color: #e3dcd2; padding: 4px 0; }
.site-footer a:hover { color: #fff; }
.site-footer .legalline { padding: 0 24px 32px; font-size: 15px; color: #b8ae9f; }
