/* EasyUpscale website — one stylesheet, light and dark, system fonts only (no external requests). */

:root {
  --bg: #fbfaff;
  --bg-soft: #f3f0fb;
  --surface: #ffffff;
  --text: #17132b;
  --muted: #5d5873;
  --faint: #8b86a0;
  --line: #e3def0;
  --accent: #7c3aed;
  --license: #9c5200;
  --accent-strong: #6d28d9;
  --accent-soft: #efe7ff;
  --pink: #e07bf8;
  --ok: #0f8a5a;
  --shadow: 0 24px 60px -24px rgba(63, 29, 140, .35), 0 2px 8px rgba(23, 19, 43, .06);
  --radius: 20px;
  --font: "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --font-display: "Segoe UI Variable Display", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  color-scheme: light;
}

html[data-theme="dark"] {
  --bg: #0d0a16;
  --bg-soft: #130f20;
  --surface: #171227;
  --text: #f4f1fb;
  --muted: #b0a9c6;
  --faint: #7f7898;
  --line: #2a2340;
  --accent: #8b5cf6;
  --license: #ffb454;
  --accent-strong: #a78bfa;
  --accent-soft: #231a40;
  --ok: #3ddc97;
  --shadow: 0 28px 70px -28px rgba(0, 0, 0, .8), 0 2px 8px rgba(0, 0, 0, .4);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 17px/1.6 var(--font); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.1; letter-spacing: -.03em; margin: 0; }
p { margin: 0; }
.wrap { width: min(1180px, 100% - 40px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--accent); color: #fff; padding: 10px 16px; border-radius: 10px; z-index: 100; }
.skip:focus { left: 12px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

/* the EasyUpscale lettering: Outfit (SIL Open Font License), served from this site */
@font-face { font-family: "Outfit"; src: url("fonts/Outfit.ttf") format("truetype"); font-weight: 100 900; font-display: swap; }

/* theme-dependent images: only the matching one is shown */
.only-light { display: block; }
.only-dark { display: none; }
html[data-theme="dark"] .only-light { display: none; }
html[data-theme="dark"] .only-dark { display: block; }

/* header */
.top { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; gap: 24px; height: 68px; width: min(1320px, 100% - 40px); }
.brand { display: inline-flex; align-items: baseline; gap: .04em; text-decoration: none; font: 800 clamp(26px, 2.6vw, 36px)/1 "Outfit", var(--font-display); letter-spacing: -.02em; color: var(--text); white-space: nowrap; }
.brand-mark { height: 1em; width: auto; flex: none; align-self: baseline; }
.brand-name { display: inline-block; }
.top .brand-name { position: relative; top: -3px; }      /* the title text sits a little higher than the baseline; the icon stays where it was */
.nav { display: flex; gap: 26px; margin-left: auto; font-size: 15px; color: var(--muted); }
.nav a { text-decoration: none; padding: 6px 2px; }
.nav a:hover { color: var(--text); }
.tools { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.lang { position: relative; font-size: 13px; font-weight: 700; }
.lang summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 6px; height: 38px; padding: 0 14px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); background: var(--surface); user-select: none; }
.lang summary::-webkit-details-marker { display: none; }
.lang summary::after { content: ""; width: 6px; height: 6px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); }
.lang[open] summary, .lang summary:hover { border-color: var(--accent); color: var(--text); }
.lang ul { position: absolute; right: 0; top: calc(100% + 8px); margin: 0; padding: 6px; list-style: none; min-width: 160px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); z-index: 60; }
.lang a { display: block; padding: 10px 12px; border-radius: 10px; text-decoration: none; font-size: 14px; font-weight: 600; color: var(--text); }
.lang a:hover { background: var(--accent-soft); }
.lang a[aria-current="true"] { color: var(--accent-strong); background: var(--accent-soft); }
.icon-btn { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); color: var(--text); display: grid; place-items: center; cursor: pointer; }
.icon-btn:hover { border-color: var(--accent); }
.icon-btn svg { width: 18px; height: 18px; }
.sun { display: none; }
html[data-theme="dark"] .sun { display: block; }
html[data-theme="dark"] .moon { display: none; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 50px; padding: 0 24px; border-radius: 14px; font: 600 16px var(--font); text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: transform .15s, box-shadow .2s, background .2s; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: linear-gradient(135deg, #8b5cf6, #6d28d9); color: #fff; box-shadow: 0 12px 30px -10px rgba(109, 40, 217, .6); }
.btn-primary:hover { box-shadow: 0 16px 36px -10px rgba(109, 40, 217, .75); }
.btn-buy { background: var(--text); color: var(--bg); border-color: var(--text); font-weight: 800; }
.btn-buy:hover { box-shadow: 0 0 0 3px var(--accent-soft), 0 12px 30px -12px rgba(109, 40, 217, .5); }
/* "Buy a license": the amber outline of the licence chip in the app, a violet wash on hover */
.btn-license { background: transparent; color: var(--license); border-color: var(--license); font-weight: 700; }
.btn-license:hover { background: rgba(124, 58, 237, .16); color: var(--text); border-color: var(--accent); }
.btn-ghost { background: var(--surface); color: var(--text); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--accent); }
.btn[aria-disabled="true"] { opacity: .65; cursor: default; transform: none; }
.btn-sm { height: 40px; padding: 0 16px; font-size: 14px; border-radius: 12px; }
.btn-cta { height: 46px; padding: 0 26px; font-size: 16px; font-weight: 800; border-radius: 14px; }

/* hero: the headline, the two buttons and the real app window, centred */
.hero { padding: 64px 0 56px; position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: -20% -10% auto; height: 70%; background: radial-gradient(60% 60% at 50% 0%, color-mix(in srgb, var(--accent) 24%, transparent), transparent 70%); pointer-events: none; }
.hero .wrap { position: relative; display: grid; gap: 52px; justify-items: center; }
.hero-text { text-align: center; max-width: 860px; display: flex; flex-direction: column; align-items: center; }
.hero-shot { width: min(1180px, 100%); }
.window { border-radius: 16px; overflow: hidden; border: 1px solid color-mix(in srgb, var(--accent) 35%, var(--line)); box-shadow: 0 40px 90px -30px rgba(76, 29, 149, .55), 0 2px 10px rgba(0, 0, 0, .25); background: var(--surface); }
.window img { width: 100%; height: auto; }
.smartnote { display: flex; gap: 10px; align-items: flex-start; max-width: 760px; color: var(--muted); font-size: 14px; line-height: 1.5; }
.smartnote svg { flex: none; width: 18px; height: 18px; margin-top: 2px; color: #c77d00; }
.smartnote strong { color: var(--text); font-weight: 650; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-strong); }
.eyebrow::before { content: ""; width: 22px; height: 2px; background: linear-gradient(90deg, var(--pink), var(--accent)); border-radius: 2px; }
.hero h1 { font-size: clamp(40px, 6vw, 76px); margin: 18px 0 20px; }
.hero h1 em, .grad { font-style: normal; background: linear-gradient(100deg, var(--pink), var(--accent)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: 20px; color: var(--muted); max-width: 640px; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; margin: 30px 0 22px; justify-content: center; }
.btn-lg { height: 56px; padding: 0 30px; font-size: 17px; border-radius: 16px; }
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; padding: 0; margin: 0; list-style: none; color: var(--muted); font-size: 14px; }
.chips li::before { content: "✓"; color: var(--ok); font-weight: 800; margin-right: 8px; }

/* before / after */
.compare { position: relative; aspect-ratio: 3 / 2; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: var(--bg-soft); --pos: 50%; touch-action: pan-y; user-select: none; }
.compare img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.compare .after-wrap { position: absolute; inset: 0; }
.compare .before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.compare .before img { image-rendering: auto; }
.compare .line { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 3px; margin-left: -1.5px; background: #fff; box-shadow: 0 0 0 1px rgba(0,0,0,.15); pointer-events: none; }
.compare .knob { position: absolute; top: 50%; left: var(--pos); width: 46px; height: 46px; margin: -23px 0 0 -23px; border-radius: 50%; background: #fff; color: #5b21b6; display: grid; place-items: center; box-shadow: 0 6px 20px rgba(0,0,0,.35); pointer-events: none; font-weight: 800; }
.compare input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.compare input:focus-visible ~ .knob { outline: 3px solid var(--accent); outline-offset: 3px; }
.tag { position: absolute; top: 14px; padding: 5px 11px; border-radius: 999px; background: rgba(15, 10, 30, .72); color: #fff; font-size: 12px; font-weight: 700; backdrop-filter: blur(6px); pointer-events: none; }
.tag-l { left: 14px; } .tag-r { right: 14px; }
.trial { margin-top: 18px; padding: 12px 16px; border-radius: 14px; background: var(--accent-soft); border: 1px solid var(--line); color: var(--text); font-size: 15px; line-height: 1.5; max-width: 520px; }
.alert { display: flex; gap: 12px; align-items: flex-start; margin-top: 18px; padding: 14px 16px; max-width: 520px; border-radius: 14px; border: 2px solid #e9a21b; background: #fff6e0; color: #4a3200; font-size: 15px; line-height: 1.5; }
.alert svg { flex: none; width: 26px; height: 26px; color: #c77d00; margin-top: 1px; }
.alert strong { display: block; margin-bottom: 2px; font-size: 16px; }
html[data-theme="dark"] .alert { background: #2d2108; border-color: #e9a21b; color: #ffe2a3; }
html[data-theme="dark"] .alert svg { color: #f5b73c; }
.sales-note { margin-top: 12px; color: var(--muted); font-size: 14px; line-height: 1.5; }
.cap { display: flex; justify-content: space-between; color: var(--faint); font-size: 14px; margin-top: 12px; }

/* sections */
section { padding: 90px 0; }
.head { max-width: 720px; margin-bottom: 44px; }
.head h2 { font-size: clamp(32px, 4vw, 48px); margin: 14px 0 14px; }
.head p { color: var(--muted); font-size: 18px; }
.band { background: var(--bg-soft); border-block: 1px solid var(--line); }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding: 36px 0; }
.stat strong { display: block; font: 800 34px var(--font-display); letter-spacing: -.03em; }
.stat span { color: var(--muted); font-size: 15px; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-bottom: 44px; }
.step { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.step b { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: var(--accent-soft); color: var(--accent-strong); font: 800 17px var(--font-display); margin-bottom: 16px; }
.step h3 { font-size: 21px; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 16px; }
.shot { border-radius: 16px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); }
.shot img { width: 100%; height: auto; }

.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.result .compare { aspect-ratio: 3 / 2; }

.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.card h3 { font-size: 21px; margin: 14px 0 8px; }
.card p { color: var(--muted); font-size: 16px; }
.card .ico { width: 44px; height: 44px; border-radius: 13px; background: var(--accent-soft); color: var(--accent-strong); display: grid; place-items: center; }
.card .ico svg { width: 22px; height: 22px; }
.card.wide { grid-column: span 2; }

.privacy { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.privacy ul { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 12px; }
.privacy li { display: flex; gap: 12px; color: var(--text); }
.privacy li::before { content: "✓"; color: var(--ok); font-weight: 800; }
.verify { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.verify h3 { font-size: 20px; margin-bottom: 10px; }
.verify p { color: var(--muted); font-size: 16px; }

.pricing { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; max-width: 900px; }
.plan { background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 34px; display: flex; flex-direction: column; gap: 14px; }
.plan.pro { border-color: var(--accent); box-shadow: var(--shadow); background: linear-gradient(160deg, var(--accent-soft), var(--surface) 55%); }
.plan h3 { font-size: 26px; }
.price { font: 800 40px var(--font-display); letter-spacing: -.03em; }
.price small { font: 500 16px var(--font); color: var(--muted); letter-spacing: 0; }
.plan ul { list-style: none; margin: 4px 0 8px; padding: 0; display: grid; gap: 10px; color: var(--muted); font-size: 16px; }
.plan li::before { content: "✓"; color: var(--ok); font-weight: 800; margin-right: 10px; }
.plan .btn { margin-top: auto; }

.faq { max-width: 820px; display: grid; gap: 10px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 4px 22px; }
.faq summary { cursor: pointer; font-weight: 650; padding: 16px 0; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent-strong); font-size: 22px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq p { color: var(--muted); padding-bottom: 18px; }

.final { text-align: center; }
.final h2 { font-size: clamp(36px, 5vw, 58px); margin: 14px auto 16px; max-width: 760px; }
.final p { color: var(--muted); max-width: 560px; margin: 0 auto; font-size: 18px; }
.final .actions { justify-content: center; }
.note { max-width: 760px; margin: 34px auto 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; text-align: left; }
.note div { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 18px 20px; }
.note strong { display: block; margin-bottom: 4px; }
.note span { color: var(--muted); font-size: 15px; }

footer { border-top: 1px solid var(--line); padding: 36px 0 52px; color: var(--muted); font-size: 15px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 18px 36px; align-items: center; justify-content: space-between; }
footer .brand { font-size: 36px; }
footer nav { display: flex; gap: 22px; flex-wrap: wrap; }
footer .operator { flex-basis: 100%; margin: 0; font-size: 13px; color: var(--faint); }
footer a { text-decoration: none; }
footer a:hover { color: var(--text); }

/* legal pages */
.legal { padding: 56px 0 100px; }
.legal article { max-width: 780px; margin: auto; }
.legal h1 { font-size: clamp(34px, 5vw, 48px); margin-bottom: 26px; }
.legal h2 { font-size: 23px; margin: 38px 0 10px; }
.legal p, .legal li { color: var(--muted); font-size: 17px; line-height: 1.75; }
.legal ul { padding-left: 22px; display: grid; gap: 8px; }
.legal a { color: var(--accent-strong); }
.legal code { background: var(--bg-soft); border: 1px solid var(--line); border-radius: 6px; padding: 1px 6px; font-size: 14px; color: var(--text); }
.legal .legal-note { border: 1px solid #f0b45a; background: rgba(240, 180, 90, .12); border-radius: 12px; padding: 14px 18px; color: var(--text); }

/* motion: content is visible without JavaScript; with it, sections ease in */
.js .rise { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.js .rise.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .rise { opacity: 1; transform: none; transition: none; }
  .btn { transition: none; }
}

@media (max-width: 960px) {
  .privacy { grid-template-columns: 1fr; gap: 36px; }
  .nav { display: none; }
  .top .wrap { gap: 12px; }
  .tools { margin-left: auto; }
  .stats { grid-template-columns: 1fr 1fr; }
  .steps, .bento { grid-template-columns: 1fr; }
  .card.wide { grid-column: auto; }
  .grid2, .pricing, .note { grid-template-columns: 1fr; }
  section { padding: 64px 0; }
  .hero { padding-top: 44px; }
}
@media (max-width: 520px) {
  body { font-size: 16px; }
  html { scroll-padding-top: 76px; }
  .wrap, .top .wrap { width: calc(100% - 32px); }
  .top .wrap { height: 58px; gap: 8px; }
  .top .brand { font-size: 22px; }
  .top .brand-name { top: -2px; }
  footer .brand { font-size: 28px; }
  .top .btn-dl { display: none; }
  .top .btn-cta { height: 42px; padding: 0 14px; font-size: 15px; }
  .tools { gap: 8px; }
  .lang summary { height: 44px; padding: 0 12px; }
  .icon-btn { width: 44px; height: 44px; }
  .actions .btn { width: 100%; }
  .lead { font-size: 17px; }
  .hero { padding: 28px 0 24px; }
  .hero h1 { font-size: 36px; margin: 14px 0 16px; }
  section { padding: 48px 0; }
  .head { margin-bottom: 28px; }
  .head h2 { font-size: 30px; }
  .head p, .final p { font-size: 16px; }
  .stats { gap: 16px; padding: 28px 0; }
  .stat strong { font-size: 28px; }
  .step, .card, .verify { padding: 20px; }
  .plan { padding: 24px; }
  .price { font-size: 34px; }
  .faq details { padding: 2px 16px; }
  .faq summary { padding: 14px 0; }
  .knob { width: 40px; height: 40px; margin: -20px 0 0 -20px; }
  .tag { top: 10px; font-size: 11px; padding: 4px 9px; }
  .tag-l { left: 10px; } .tag-r { right: 10px; }
  .cap { flex-direction: column; gap: 2px; }
  .shotcard { padding: 12px 12px 16px; }
  .legal { padding: 36px 0 64px; }
  .legal p, .legal li { font-size: 16px; line-height: 1.7; }
  footer { padding-bottom: calc(40px + env(safe-area-inset-bottom)); }
  footer nav { gap: 4px 20px; }
  footer nav a { display: inline-block; padding: 10px 0; }
}
@media (max-width: 360px) {
  .top .brand { font-size: 20px; }
  .hero h1 { font-size: 32px; }
}
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
.btn, .icon-btn, .lang a { -webkit-tap-highlight-color: transparent; }
@media (max-width: 1360px) { .nav { display: none; } .tools { margin-left: auto; } }
.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 22px; }
.trio figure { margin: 0; }
.trio img { width: 100%; height: auto; border-radius: 16px; border: 1px solid var(--line); box-shadow: var(--shadow); aspect-ratio: 3 / 2; object-fit: cover; }
.trio figcaption { margin-top: 10px; font-weight: 650; text-align: center; }
.trio figure:last-child figcaption { color: var(--accent-strong); }
@media (max-width: 700px) { .trio { grid-template-columns: 1fr; } }
.gallery { display: grid; grid-template-columns: 1fr; gap: 28px; }
.shotcard { margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 18px 22px; display: flex; flex-direction: column; gap: 14px; }
.shotcard.wide { grid-column: span 2; }
.shotimg { display: grid; place-items: center; min-height: 0; }
.shotimg img { display: block; width: 100%; max-width: 100%; height: auto; max-height: none; border-radius: 12px; }
.shotcard.wide .shotimg img { max-height: none; width: 100%; border: 1px solid var(--line); box-shadow: var(--shadow); }
.shotcard figcaption { display: grid; gap: 4px; }
.shotcard figcaption span { color: var(--muted); font-size: 16px; }
@media (max-width: 900px) { .gallery { grid-template-columns: 1fr; } .shotcard.wide { grid-column: auto; } }
@media (max-width: 380px) { .top .icon-btn { display: none; } .top .brand { font-size: 20px; } }

.hero-compare { max-width: 900px; margin: 0 auto 40px; }
.hero-compare .cap { justify-content: center; text-align: center; }
.stat { text-align: center; }
.gallery { grid-template-columns: 1fr 1fr; }
.shotcard.wide { grid-column: span 2; }
.js .rise { transition-delay: 0s; }
@media (max-width: 960px) { .hero { padding-top: 40px; } .hero .wrap { gap: 36px; } .gallery { grid-template-columns: 1fr; } .shotcard.wide { grid-column: auto; } }
@media (max-width: 520px) { .btn-lg { height: 52px; } .hero-text .lead { font-size: 17px; } .smartnote { font-size: 13px; } }

.pricing, .faq { margin-inline: auto; }

/* the app window as a slider: it has the window's own proportions, no rounded frame of its own */
.window .compare.window-compare { border-radius: 0; box-shadow: none; background: transparent; }
.window-compare .line { bottom: auto; }
.shotimg .window-compare { width: 100%; border-radius: 12px; border: 1px solid var(--line); box-shadow: var(--shadow); }
.version { margin-top: 14px; color: var(--faint); font-size: 14px; }
