﻿/* epdf.ing. Neutral cool greys, one accent (the blue of the app icon), real screenshots as the only imagery. */

@font-face { font-family: "Geist"; src: url(/assets/fonts/geist.woff2) format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "IBM Plex Sans Arabic"; src: url(/assets/fonts/plex-arabic-400.woff2) format("woff2"); font-weight: 400; font-display: swap; unicode-range: U+0600-06FF, U+0750-077F, U+0870-08FF, U+200C-200F, U+FB50-FDFF, U+FE70-FEFC; }
@font-face { font-family: "IBM Plex Sans Arabic"; src: url(/assets/fonts/plex-arabic-600.woff2) format("woff2"); font-weight: 600; font-display: swap; unicode-range: U+0600-06FF, U+0750-077F, U+0870-08FF, U+200C-200F, U+FB50-FDFF, U+FE70-FEFC; }
@font-face { font-family: "IBM Plex Sans Arabic"; src: url(/assets/fonts/plex-arabic-700.woff2) format("woff2"); font-weight: 700; font-display: swap; unicode-range: U+0600-06FF, U+0750-077F, U+0870-08FF, U+200C-200F, U+FB50-FDFF, U+FE70-FEFC; }

:root {
  color-scheme: light dark;

  --bg: #fafbfc;
  --surface: #ffffff;
  --surface-2: #f2f4f7;
  --line: #e4e7ec;
  --line-2: #d0d5dd;
  --text: #0f1217;
  --text-2: #464d59;
  --text-3: #626a78;
  --accent: #2459d8;          /* links, icons, highlights */
  --btn: #2459d8;             /* primary button fill, white label */
  --btn-hover: #1d4cc0;
  --accent-tint: #ebf0fc;
  --accent-ink: #1f4fc4;      /* accent text on the tint */
  --shot-bg: #111317;
  --shot-line: rgb(16 24 40 / .10);
  --shot-shadow: 0 0 0 1px rgb(16 24 40 / .08), 0 1px 2px rgb(16 24 40 / .06), 0 12px 24px -8px rgb(16 24 40 / .10), 0 40px 80px -28px rgb(16 24 40 / .24);
  --card-shadow: 0 1px 2px rgb(16 24 40 / .04);

  --sans: "Geist", ui-sans-serif, system-ui, "Segoe UI", Roboto, sans-serif;
  --arabic: "IBM Plex Sans Arabic", "Geist", "Segoe UI", Tahoma, sans-serif;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --gutter: 32px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b0d11;
    --surface: #111419;
    --surface-2: #181c23;
    --line: #22272f;
    --line-2: #323844;
    --text: #edf0f4;
    --text-2: #b3bbc7;
    --text-3: #8d96a4;
    --accent: #6f95ff;
    --btn: #3366e8;
    --btn-hover: #2a5bd9;
    --accent-tint: rgb(111 149 255 / .13);
    --accent-ink: #9db8ff;
    --shot-bg: #0f1115;
    --shot-line: rgb(255 255 255 / .08);
    --shot-shadow: 0 0 0 1px rgb(255 255 255 / .08), 0 24px 64px -20px rgb(0 0 0 / .75);
    --card-shadow: none;
  }
}

/* Base */
*, *::before, *::after { box-sizing: border-box; }
html {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-padding-top: 88px;
}
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; background: var(--bg); color: var(--text); font-size: 17px; }
::selection { background: rgb(36 89 216 / .2); }
:lang(ar), :lang(fa), :lang(ur) { font-family: var(--arabic); }
img, video, svg { display: block; max-width: 100%; }
h1, h2, h3 { margin: 0; font-weight: 600; color: var(--text); }
p { margin: 0; }
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.skip { position: absolute; left: 16px; top: -100px; z-index: 50; background: var(--text); color: var(--bg); padding: 0 16px; border-radius: 8px; line-height: 40px; font-size: 15px; }
.skip:focus { top: 12px; }
.wrap { max-width: calc(1200px + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 44px; padding: 0 20px; border-radius: 10px; border: 1px solid transparent;
  font: 500 15.5px/1 var(--sans); letter-spacing: -.005em; text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background-color .15s, border-color .15s, color .15s, transform .15s var(--ease);
}
.btn svg { width: 16px; height: 16px; fill: currentColor; flex: none; transition: transform .2s var(--ease); }
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--btn); color: #fff; box-shadow: 0 1px 2px rgb(16 24 40 / .14), inset 0 1px 0 rgb(255 255 255 / .12); }
.btn-primary:hover { background: var(--btn-hover); }
.btn-secondary { background: var(--surface); color: var(--text); border-color: var(--line-2); box-shadow: var(--card-shadow); }
.btn-secondary:hover { border-color: var(--text-3); }
.btn-quiet { color: var(--text); padding: 0 14px; }
.btn-quiet:hover { background: var(--surface-2); }
.btn-quiet:hover svg { transform: translateX(2px); }
.btn-sm { height: 36px; padding: 0 14px; border-radius: 8px; font-size: 14.5px; }

/* Top bar */
.top { position: sticky; top: 0; z-index: 20; background: var(--bg); border-bottom: 1px solid var(--line); }
.top-in { display: flex; align-items: center; gap: 28px; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 600; font-size: 17px; letter-spacing: -.015em; }
.brand img { width: 28px; height: 28px; border-radius: 7px; }
.top-links { display: flex; gap: 2px; margin-right: auto; }
.top-links a { color: var(--text-2); text-decoration: none; font-size: 14.5px; padding: 6px 10px; border-radius: 7px; transition: color .15s, background-color .15s; }
.top-links a:hover { color: var(--text); background: var(--surface-2); }
.top .btn { margin-left: auto; }

/* Hero */
.hero { padding-top: 96px; }
.hero h1 { font-size: clamp(40px, 5.4vw, 76px); line-height: 1.02; letter-spacing: -.042em; max-width: 14.5em; }
.hero h1 .l-last { display: block; }
.lede { margin-top: 24px; max-width: 34em; font-size: clamp(18px, 1.4vw, 20px); line-height: 1.5; color: var(--text-2); text-wrap: pretty; }
.cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 36px; }
.hero-note { margin-top: 16px; font-size: 14px; color: var(--text-3); text-wrap: pretty; }

.window { position: relative; margin: 0; border-radius: 12px; overflow: hidden; background: var(--shot-bg); box-shadow: var(--shot-shadow); }
.window img, .window video { width: 100%; height: auto; }
.hero-shot { margin-top: 72px; border-radius: 14px; }
.caption-btns { position: absolute; inset: 0; width: 100%; height: 100%; fill: none; stroke: #c3c8d0; stroke-width: 1; pointer-events: none; }

/* Three reasons */
.reasons { margin-top: 112px; }
.reason-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-block: 1px solid var(--line); }
.reason-list li { padding: 40px 40px 44px; }
.reason-list li:first-child { padding-left: 0; }
.reason-list li:last-child { padding-right: 0; }
.reason-list li + li { border-left: 1px solid var(--line); }
.ic { width: 24px; height: 24px; color: var(--accent); }
.reason-list .ic { margin-bottom: 22px; }
.reason-title { font-size: 19.5px; letter-spacing: -.018em; margin-bottom: 8px; }
.reason-list p { color: var(--text-2); font-size: 15.5px; line-height: 1.55; max-width: 36ch; }

/* Sections */
.section { padding-top: 136px; }
.sec-head { max-width: 760px; margin-bottom: 56px; }
.sec-head h2, .faq h2 { font-size: clamp(30px, 3.5vw, 46px); line-height: 1.08; letter-spacing: -.034em; text-wrap: balance; }
.sec-head p { margin-top: 18px; max-width: 62ch; font-size: 18px; line-height: 1.55; color: var(--text-2); text-wrap: pretty; }

/* Feature bento */
.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 16px; }
.cell { display: flex; flex-direction: column; grid-column: span 7; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; box-shadow: var(--card-shadow); }
.cell.narrow { grid-column: span 5; }
.cell-text { padding: 28px 32px 26px; }
.cell h3 { font-size: 20px; letter-spacing: -.02em; }
.cell-text p { margin-top: 6px; max-width: 52ch; font-size: 15.5px; line-height: 1.5; color: var(--text-2); }
.cell-shot { position: relative; flex: 1 0 auto; margin: auto 0 0 32px; overflow: hidden; background: var(--shot-bg); border: 1px solid var(--shot-line); border-width: 1px 0 0 1px; border-top-left-radius: 10px; }
.cell-shot img { width: 100%; height: auto; }
.crop { min-height: 260px; }
.crop img { position: absolute; inset: 0; height: 100%; object-fit: cover; object-position: var(--fx) var(--fy); transform: scale(var(--z)); transform-origin: var(--fx) var(--fy); }
.crop-edit { --fx: 31%; --fy: 55%; --z: 1.6; }
.crop-form { --fx: 38%; --fy: 30%; --z: 1.5; }
.crop-ocr { --fx: 50%; --fy: 52%; --z: 1.8; }
.ar-shot { aspect-ratio: 4 / 3; }
.crop-wm { --fx: 58%; --fy: 37%; --z: 1.5; }

.more { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 32px 64px; margin-top: 64px; align-items: start; }
.more-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.more-list li { display: grid; grid-template-columns: 20px 190px minmax(0, 1fr); align-items: baseline; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.more-list .ic { width: 20px; height: 20px; align-self: center; }
.more-list h3 { font-size: 15.5px; letter-spacing: -.01em; }
.more-list p { font-size: 15.5px; color: var(--text-2); }
.also { padding-top: 18px; font-size: 16.5px; line-height: 1.6; color: var(--text-2); text-wrap: pretty; }

/* Arabic */
.compare { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--card-shadow); overflow: hidden; }
.cmp { display: flex; flex-direction: column; padding: 28px 32px 30px; }
.cmp + .cmp { border-left: 1px solid var(--line); }
.cmp-label { display: flex; align-items: center; gap: 10px; font-size: 14.5px; font-weight: 500; color: var(--text-2); }
.mark { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--surface-2); color: var(--text-3); }
.mark svg { width: 12px; height: 12px; fill: currentColor; }
.cmp-good .mark { background: var(--accent-tint); color: var(--accent); }
.cmp-good .cmp-label { color: var(--text); }
.cmp-sample { margin: 44px 0 40px; font-family: var(--arabic); font-size: clamp(24px, 2.3vw, 32px); line-height: 1.6; text-align: center; color: var(--text); }
.cmp-bad .cmp-sample { color: var(--text-3); }
.broken { unicode-bidi: bidi-override; direction: ltr; display: inline-flex; flex-wrap: wrap; justify-content: center; column-gap: .45em; }
.broken .w { display: inline-flex; gap: .2em; }
.broken i { display: inline-block; font-style: normal; }
.cmp-note { margin-top: auto; font-size: 14.5px; color: var(--text-3); }

.ar-more { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: center; margin-top: 72px; }
.ar-text h3 { font-size: 22px; letter-spacing: -.02em; }
.ar-text p { margin-top: 10px; font-size: 16.5px; color: var(--text-2); max-width: 40ch; }
.scripts { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 28px 0 0; padding: 0; }
.scripts li { padding: 5px 12px; font-size: 15px; line-height: 1.5; border: 1px solid var(--line-2); border-radius: 8px; background: var(--surface); }
.scripts .and-more { border-color: transparent; background: none; color: var(--text-3); padding-inline: 4px; }

/* Pricing */
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.plan { display: flex; flex-direction: column; padding: 36px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--card-shadow); }
.plan-rec { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }
.plan-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 28px; }
.plan h3 { font-size: 20px; letter-spacing: -.02em; }
.tag { font-size: 13px; font-weight: 500; line-height: 1; padding: 7px 10px; border-radius: 999px; color: var(--accent-ink); background: var(--accent-tint); }
.price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; margin-top: 28px; font-variant-numeric: tabular-nums; }
.amount { font-size: 52px; font-weight: 600; line-height: 1; letter-spacing: -.035em; }
.was { font-size: 24px; font-weight: 500; color: var(--text-3); text-decoration-thickness: 2px; letter-spacing: -.02em; }
.per { font-size: 15.5px; color: var(--text-2); }
.plan-sub { margin-top: 14px; font-size: 15px; color: var(--text-2); text-wrap: pretty; }
.checks { flex: 1 0 auto; display: grid; align-content: start; gap: 12px; list-style: none; margin: 28px 0 36px; padding: 28px 0 0; border-top: 1px solid var(--line); }
.checks li { display: grid; grid-template-columns: 16px minmax(0, 1fr); gap: 12px; font-size: 15.5px; line-height: 1.5; text-wrap: pretty; }
.checks svg { width: 16px; height: 16px; margin-top: 4px; fill: var(--accent); }
.plan .btn { width: 100%; }
.plans-note { margin-top: 24px; font-size: 14.5px; color: var(--text-3); }

/* Download */
.dl-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 32px 64px; align-items: start; }
.dl-grid .sec-head { margin-bottom: 0; }
.dl-list { display: grid; gap: 12px; list-style: none; margin: 0; padding: 0; }
.dl a {
  display: grid; grid-template-columns: 44px minmax(0, 1fr) auto auto; grid-template-areas: "os main size go";
  align-items: center; gap: 20px; padding: 18px 20px 18px 18px;
  color: var(--text); text-decoration: none; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--card-shadow);
  transition: border-color .15s, transform .15s var(--ease);
}
.dl a:hover { border-color: var(--line-2); }
.dl a:active { transform: scale(.995); }
.dl-os { grid-area: os; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 10px; background: var(--surface-2); }
.dl-os svg { width: 22px; height: 22px; fill: var(--text); }
.dl-main { grid-area: main; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.dl-name { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; font-weight: 600; font-size: 16.5px; letter-spacing: -.01em; }
.dl-kind { font-size: 14.5px; color: var(--text-2); }
.dl-size { grid-area: size; font-size: 14.5px; color: var(--text-3); font-variant-numeric: tabular-nums; white-space: nowrap; }
.dl-go { grid-area: go; display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; line-height: 1.3; border-radius: 9px; border: 1px solid var(--line-2); font-size: 14.5px; font-weight: 500; transition: background-color .15s, border-color .15s; }
.dl-go svg { width: 16px; height: 16px; fill: currentColor; transition: transform .2s var(--ease); }
.dl a:hover .dl-go { background: var(--surface-2); }
.dl a:hover .dl-go svg { transform: translateY(1px); }
.dl-yours a { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }
.dl-yours .dl-go { background: var(--btn); border-color: transparent; color: #fff; }
.dl-yours a:hover .dl-go { background: var(--btn-hover); }
.dl-rec { white-space: nowrap; font-size: 12.5px; font-weight: 500; line-height: 1; padding: 5px 9px; border-radius: 999px; color: var(--accent-ink); background: var(--accent-tint); letter-spacing: 0; }
.fine { margin-top: 20px; font-size: 14.5px; line-height: 1.6; color: var(--text-2); max-width: 70ch; }

/* Questions */
.faq-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 32px 64px; align-items: start; }
.faq h2 { position: sticky; top: 104px; }
.qa details { border-bottom: 1px solid var(--line); }
.qa details:first-child { border-top: 1px solid var(--line); }
.qa summary { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 22px 0; font-size: 17px; font-weight: 500; letter-spacing: -.01em; cursor: pointer; list-style: none; border-radius: 6px; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary svg { width: 16px; height: 16px; flex: none; color: var(--text-3); transition: transform .2s var(--ease); }
.qa summary:hover svg { color: var(--text); }
.qa details[open] summary svg { transform: rotate(45deg); }
.qa details p { padding: 0 48px 26px 0; max-width: 66ch; font-size: 16px; line-height: 1.65; color: var(--text-2); }

/* Footer */
.foot { margin-top: 136px; border-top: 1px solid var(--line); }
.foot-in { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; padding-block: 32px 40px; }
.foot-brand { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15px; }
.foot-brand img { border-radius: 5px; }
.foot-copy { margin-right: auto; font-size: 14px; color: var(--text-3); }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.foot-links a { font-size: 14px; color: var(--text-2); text-decoration: none; }
.foot-links a:hover { color: var(--text); text-decoration: underline; }

/* Secondary pages (license agreement, privacy, 404) */
.legal { max-width: calc(70ch + 2 * var(--gutter)); margin: 0 auto; padding: 88px var(--gutter) 0; }
.legal h1 { font-size: clamp(32px, 4vw, 44px); line-height: 1.1; letter-spacing: -.034em; margin-bottom: 32px; }
.legal p { margin-bottom: 18px; font-size: 16.5px; line-height: 1.7; color: var(--text-2); }
.legal p strong { color: var(--text); font-weight: 600; }
.legal pre { margin: 0; font-family: var(--sans); font-size: 15.5px; line-height: 1.7; color: var(--text-2); white-space: pre-wrap; overflow-wrap: anywhere; }
.notfound { text-align: center; padding-top: 128px; }
.notfound h1 { font-size: clamp(56px, 8vw, 96px); }
.notfound .btn { margin-top: 12px; }

/* Motion: content is visible by default; with JS and no reduced-motion preference it fades in once. */
@media (prefers-reduced-motion: no-preference) {
  .hero-head > *, .hero-shot { animation: rise .8s var(--ease) both; }
  .hero-head > :nth-child(2) { animation-delay: .06s; }
  .hero-head > :nth-child(3) { animation-delay: .12s; }
  .hero-head > :nth-child(4) { animation-delay: .16s; }
  .hero-shot { animation-duration: 1s; animation-delay: .2s; }
  .js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
  .js .reveal.in { opacity: 1; transform: none; }
}
@keyframes rise { from { opacity: 0; transform: translateY(12px); } }

/* Tablet */
@media (max-width: 1080px) {
  .reason-list li { padding: 32px 28px 36px; }
  .cell-text { padding: 24px 26px 22px; }
  .cell-shot { margin-left: 26px; }
  .more { grid-template-columns: minmax(0, 1fr); }
  .more-list li { grid-template-columns: 20px 180px minmax(0, 1fr); }
  .ar-more { gap: 40px; }
  .dl-grid { grid-template-columns: minmax(0, 1fr); }
  .dl-grid .sec-head { margin-bottom: 8px; }
}

@media (max-width: 860px) {
  :root { --gutter: 24px; }
  .top-links { display: none; }
  .hero { padding-top: 64px; }
  .hero-shot { margin-top: 48px; border-radius: 10px; }
  .reasons { margin-top: 72px; }
  .reason-list { grid-template-columns: minmax(0, 1fr); border-bottom: 0; }
  .reason-list li, .reason-list li:first-child, .reason-list li:last-child { padding: 28px 0; border-bottom: 1px solid var(--line); }
  .reason-list li + li { border-left: 0; }
  .reason-list .ic { margin-bottom: 14px; }
  .section { padding-top: 96px; }
  .sec-head { margin-bottom: 40px; }
  .bento { grid-template-columns: minmax(0, 1fr); }
  .cell, .cell.narrow { grid-column: auto; }
  .crop { min-height: 0; aspect-ratio: 5 / 4; }
  .compare { grid-template-columns: minmax(0, 1fr); }
  .cmp + .cmp { border-left: 0; border-top: 1px solid var(--line); }
  .cmp-sample { margin: 28px 0; }
  .ar-more { grid-template-columns: minmax(0, 1fr); margin-top: 48px; }
  .plans { grid-template-columns: minmax(0, 1fr); }
  .faq-grid { grid-template-columns: minmax(0, 1fr); }
  .faq h2 { position: static; }
  .foot { margin-top: 96px; }
}

/* Phone */
@media (max-width: 560px) {
  :root { --gutter: 20px; }
  body { font-size: 16px; }
  .hero { padding-top: 48px; }
  .hero h1 { font-size: clamp(36px, 10.5vw, 44px); letter-spacing: -.038em; }
  .hero h1 .l { display: block; }
  .lede { margin-top: 18px; font-size: 17.5px; }
  .cta { margin-top: 28px; }
  .cta .btn { flex: 1 1 auto; }
  .hero-shot { margin-top: 40px; }
  .section { padding-top: 80px; }
  .sec-head p { font-size: 16.5px; }
  .cell-text { padding: 22px 22px 20px; }
  .cell-shot { margin-left: 22px; }
  .more { margin-top: 40px; }
  .more-list li { grid-template-columns: 20px minmax(0, 1fr); gap: 4px 14px; padding: 16px 0; }
  .more-list .ic { grid-row: span 2; align-self: start; margin-top: 3px; }
  .more-list p { grid-column: 2; }
  .cmp { padding: 22px 22px 24px; }
  .cmp-sample { font-size: 25px; }
  .cmp-bad .cmp-sample { font-size: 21px; }
  .plan { padding: 28px 24px; }
  .amount { font-size: 46px; }
  .dl a { grid-template-columns: 40px minmax(0, 1fr) auto; grid-template-areas: "os main main" "os size go"; column-gap: 14px; row-gap: 12px; padding: 16px; }
  .dl-os { width: 40px; height: 40px; align-self: start; }
  .dl-size { font-size: 13.5px; }
  .dl-go { padding: 10px 14px; }
  .qa summary { font-size: 16.5px; padding: 20px 0; }
  .qa details p { padding-right: 0; font-size: 15.5px; }
  .foot-copy { margin-right: 0; flex-basis: 100%; order: 2; }
  .foot-links { order: 3; }
  .legal { padding-top: 56px; }
}

/* Buy page: the license request form. */
.buy-lede { font-size: 18px !important; }
.buy-terms { margin: 8px 0 36px; padding: 20px 22px; list-style: none; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); box-shadow: var(--card-shadow); }
.buy-terms li { font-size: 15.5px; line-height: 1.6; color: var(--text-2); }
.buy-terms li + li { margin-top: 6px; }
.buy-terms strong { color: var(--text); font-weight: 600; }
.buy-form { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 20px; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field-wide, .buy-actions, .buy-note { grid-column: 1 / -1; }
.field label { font-size: 14.5px; font-weight: 550; color: var(--text); }
.field .opt { font-weight: 400; color: var(--text-3); margin-left: 4px; }
.field input, .field textarea, .field select {
  font: inherit; font-size: 16px; color: var(--text); background: var(--surface);
  border: 1px solid var(--line-2); border-radius: 8px; padding: 10px 12px; min-height: 44px; width: 100%;
  transition: border-color .15s var(--ease), box-shadow .15s var(--ease);
}
.field textarea { resize: vertical; min-height: 104px; line-height: 1.5; }
.field input::placeholder, .field textarea::placeholder { color: var(--text-3); }
.field input:hover, .field textarea:hover, .field select:hover { border-color: var(--text-3); }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-tint); }
.field [aria-invalid="true"] { border-color: #c4321f; }
.field-error { margin: 0 !important; font-size: 13.5px !important; line-height: 1.4 !important; color: #b42318 !important; }
.field-error:empty { display: none; }
.buy-estimate { align-self: end; margin: 0 0 12px !important; font-size: 15px !important; color: var(--text-2) !important; font-variant-numeric: tabular-nums; }
.buy-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 4px; }
.buy-actions .btn[disabled] { opacity: .6; cursor: progress; }
.buy-status { margin: 0 !important; font-size: 15px !important; color: var(--text-2) !important; }
.buy-status.is-error { color: #b42318 !important; }
.buy-note { margin: 0 !important; font-size: 14px !important; color: var(--text-3) !important; }
.buy-done { padding: 28px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.buy-done:focus { outline: none; }
.buy-done h2 { font-size: 22px; letter-spacing: -.02em; margin-bottom: 8px; }
.buy-done p { margin: 0 !important; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.older { margin-top: 12px; }
@media (prefers-color-scheme: dark) {
  .field [aria-invalid="true"] { border-color: #f97066; }
  .field-error, .buy-status.is-error { color: #fda29b !important; }
}
@media (max-width: 640px) {
  .buy-form { grid-template-columns: 1fr; }
  .buy-estimate { margin: -8px 0 0 !important; }
}

.field select { appearance: none; cursor: pointer; padding-right: 36px; background-image: linear-gradient(45deg, transparent 50%, var(--text-3) 50%), linear-gradient(135deg, var(--text-3) 50%, transparent 50%); background-position: calc(100% - 18px) 19px, calc(100% - 13px) 19px; background-size: 5px 5px; background-repeat: no-repeat; }
