/* iScan&Print website – XIS Systems */

/* Archivo (SIL Open Font License – assets/fonts/OFL.txt), served from this site: no requests to Google */
@font-face {
  font-family: "Archivo"; font-style: normal; font-display: swap;
  font-weight: 100 900; font-stretch: 62% 125%;
  src: url("/assets/fonts/archivo-latin.woff2") format("woff2-variations"), url("/assets/fonts/archivo-latin.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 {  /* includes the peso sign ₱ */
  font-family: "Archivo"; font-style: normal; font-display: swap;
  font-weight: 100 900; font-stretch: 62% 125%;
  src: url("/assets/fonts/archivo-latin-ext.woff2") format("woff2-variations"), url("/assets/fonts/archivo-latin-ext.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: #f6f8fa;
  --sheet: #ffffff;
  --ink: #102a43;
  --ink-soft: #486581;
  --line: #d9e2ec;
  --cyan: #006fb0;      /* actions */
  --cyan-bright: #00a3e0;
  --magenta: #d6006f;
  --yellow: #f5c400;
  --ok: #1e7b4f;
  --radius: 10px;
  --wide: "Archivo", "Segoe UI", system-ui, sans-serif;
  --measure: 68ch;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #0d1b2a; --sheet: #13263a; --ink: #e8eef5; --ink-soft: #9fb3c8; --line: #24405c;
    --cyan: #4fb3e8; --ok: #5fc792;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--wide); font-stretch: 100%; font-size: 17px; line-height: 1.55;
}
a { color: var(--cyan); text-underline-offset: 3px; }
a:focus-visible, button:focus-visible, .button:focus-visible { outline: 3px solid var(--cyan-bright); outline-offset: 3px; border-radius: 4px; }
img, svg { max-width: 100%; height: auto; }

.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }

/* header */
.site-head { border-bottom: 1px solid var(--line); background: var(--sheet); }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 14px; flex-wrap: wrap; }
.brand { display: flex; align-items: baseline; gap: 10px; text-decoration: none; color: var(--ink); }
.brand b { font-stretch: 125%; font-weight: 800; font-size: 1.35rem; letter-spacing: -0.01em; }
.brand span { color: var(--ink-soft); font-size: .85rem; }
.site-nav { display: flex; gap: 22px; flex-wrap: wrap; }
.site-nav a { color: var(--ink); text-decoration: none; font-size: .95rem; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--cyan); text-decoration: underline; }

/* buttons */
.button {
  display: inline-block; background: var(--cyan); color: #fff; text-decoration: none; font-weight: 700;
  padding: 12px 22px; border-radius: 8px; font-size: 1rem; border: 0; cursor: pointer;
}
.button:hover { background: #005a8f; }
.button.quiet { background: transparent; color: var(--cyan); border: 2px solid var(--cyan); padding: 10px 20px; }
.button.quiet:hover { background: rgba(0, 111, 176, .08); }

/* hero */
.hero { padding-block: 56px 64px; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.hero h1 {
  font-stretch: 125%; font-weight: 800; font-size: clamp(2.3rem, 5.2vw, 3.9rem); line-height: 1.02;
  letter-spacing: -0.02em; margin: 0 0 20px;
}
.hero p.lead { font-size: 1.2rem; color: var(--ink-soft); max-width: 46ch; margin: 0 0 28px; }
.hero .actions { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.hero .fine { font-size: .9rem; color: var(--ink-soft); margin-top: 14px; }

/* the A4 sheet with crop marks */
.sheet-figure { margin: 0; justify-self: center; width: min(420px, 100%); }
.sheet-figure figcaption { font-size: .85rem; color: var(--ink-soft); margin-top: 10px; text-align: center; }
@media (prefers-reduced-motion: no-preference) {
  .sheet-figure .card { opacity: 0; transform: translateY(-14px); animation: place .6s ease-out forwards; }
  .sheet-figure .card.back { animation-delay: .35s; }
  .sheet-figure .gap { opacity: 0; animation: show .4s ease-out .9s forwards; }
  @keyframes place { to { opacity: 1; transform: none; } }
  @keyframes show { to { opacity: 1; } }
}

/* sections */
section { padding-block: 56px; }
section + section { border-top: 1px solid var(--line); }
h2 { font-stretch: 112%; font-weight: 800; font-size: clamp(1.6rem, 3vw, 2.2rem); line-height: 1.15; margin: 0 0 12px; letter-spacing: -0.01em; }
h3 { font-stretch: 105%; font-weight: 700; font-size: 1.15rem; margin: 0 0 6px; }
.section-lead { color: var(--ink-soft); max-width: 60ch; margin: 0 0 32px; }

.jobs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; }
.job p { margin: 0; color: var(--ink-soft); }
.job svg { display: block; height: 54px; width: auto; margin-bottom: 14px; }

.also { columns: 2; column-gap: 48px; padding: 0; margin: 28px 0 0; list-style: none; max-width: 900px; }
.also li { break-inside: avoid; padding: 6px 0 6px 22px; position: relative; color: var(--ink-soft); }
.also li::before { content: ""; position: absolute; left: 0; top: .85em; width: 10px; height: 2px; background: var(--cyan); }

/* pricing */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border: 1px solid var(--line); border-radius: var(--radius); background: var(--sheet); overflow: hidden; }
.plan { padding: 28px 26px; }
.plan + .plan { border-left: 1px solid var(--line); }
.plan .price { font-stretch: 125%; font-weight: 800; font-size: 2.4rem; line-height: 1; margin: 10px 0 4px; }
.plan .per { color: var(--ink-soft); font-size: .95rem; }
.plan p { color: var(--ink-soft); margin: 14px 0 0; font-size: .95rem; }
.plan.best { background: linear-gradient(var(--sheet), var(--sheet)) padding-box; box-shadow: inset 0 4px 0 var(--cyan); }
.plan .save { display: inline-block; margin-top: 10px; font-weight: 700; color: var(--ok); }

/* download */
.download-box { display: grid; grid-template-columns: 1fr auto; gap: 28px; align-items: center; background: var(--sheet); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.download-box .meta { color: var(--ink-soft); font-size: .95rem; margin-top: 6px; }
.steps { padding-left: 1.3em; max-width: var(--measure); }
.steps li { margin-bottom: 10px; }
.note { border-left: 4px solid var(--yellow); background: var(--sheet); padding: 14px 18px; border-radius: 0 8px 8px 0; max-width: var(--measure); color: var(--ink); }

/* long text pages (terms, refund, privacy) */
.doc { padding-block: 44px 64px; }
.doc .wrap { max-width: 780px; }
.doc h1 { font-stretch: 118%; font-weight: 800; font-size: clamp(2rem, 4vw, 2.7rem); line-height: 1.1; margin: 0 0 6px; }
.doc .effective { color: var(--ink-soft); margin: 0 0 28px; }
.doc h2 { font-size: 1.3rem; margin: 34px 0 8px; font-stretch: 105%; }
.doc p, .doc li { max-width: var(--measure); }
.doc ul, .doc ol { padding-left: 1.3em; }
.doc li { margin-bottom: 6px; }
.doc table { border-collapse: collapse; width: 100%; margin: 18px 0; font-size: .95rem; background: var(--sheet); }
.doc th, .doc td { text-align: left; vertical-align: top; padding: 10px 12px; border: 1px solid var(--line); }
.doc th { font-weight: 700; }
.toc { background: var(--sheet); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 22px; margin-bottom: 8px; }
.toc ol { margin: 6px 0 0; columns: 2; column-gap: 32px; }

/* contact */
.contact-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; border: 1px solid var(--line); border-radius: var(--radius); background: var(--sheet); overflow: hidden; max-width: 860px; }
.contact-grid > div { padding: 22px 24px; border-bottom: 1px solid var(--line); }
.contact-grid > div:nth-child(odd) { border-right: 1px solid var(--line); }
.contact-grid dt { font-weight: 700; margin-bottom: 4px; }
.contact-grid dd { margin: 0; color: var(--ink-soft); }

/* small page parts (no inline styles – the Content-Security-Policy blocks them) */
.page-title { font-stretch: 118%; font-weight: 800; font-size: clamp(2rem, 4vw, 2.7rem); line-height: 1.1; margin: 0 0 10px; }
.plans-note { margin-top: 14px; color: var(--ink-soft); }
h2.spaced { margin-top: 36px; }
.also.single { columns: 1; margin-top: 8px; }
.checksum { color: var(--ink-soft); margin-top: 24px; }
.checksum .hash { word-break: break-all; }
.after-grid { margin-top: 28px; color: var(--ink-soft); }

/* footer */
.site-foot { border-top: 1px solid var(--line); padding-block: 28px 36px; font-size: .9rem; color: var(--ink-soft); background: var(--sheet); }
.site-foot .wrap { display: flex; gap: 20px 32px; justify-content: space-between; flex-wrap: wrap; }
.site-foot nav { display: flex; gap: 18px; flex-wrap: wrap; }
.site-foot a { color: var(--ink-soft); }

@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .sheet-figure { order: -1; width: min(300px, 80%); }
  .jobs { grid-template-columns: 1fr; gap: 28px; }
  .also { columns: 1; }
  .plans { grid-template-columns: 1fr; }
  .plan + .plan { border-left: 0; border-top: 1px solid var(--line); }
  .download-box { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-grid > div:nth-child(odd) { border-right: 0; }
  .toc ol { columns: 1; }
}
