/* Image Upload API, powered by Filestack
   Palette and type carried over from the original imageuploadapi.com theme:
   Poppins, orange #FF9900 pills with dark text, blue #0052CC / #246AD3, #FAFAFA bands. */

/* Poppins, latin subset, self-hosted from Google Fonts (SIL OFL 1.1, see fonts/OFL.txt) */
@font-face { font-family: Poppins; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/poppins-400.woff2") format("woff2"); }
@font-face { font-family: Poppins; font-style: normal; font-weight: 500; font-display: swap; src: url("fonts/poppins-500.woff2") format("woff2"); }
@font-face { font-family: Poppins; font-style: normal; font-weight: 600; font-display: swap; src: url("fonts/poppins-600.woff2") format("woff2"); }
@font-face { font-family: Poppins; font-style: normal; font-weight: 700; font-display: swap; src: url("fonts/poppins-700.woff2") format("woff2"); }
/* Arial scaled to Poppins metrics, so text keeps its size and line breaks while Poppins loads */
@font-face { font-family: "Poppins Fallback"; src: local("Arial"), local("Arimo"), local("Liberation Sans"), local("Helvetica"); size-adjust: 112.16%; ascent-override: 93.62%; descent-override: 31.21%; line-gap-override: 8.92%; }

:root {
  --orange: #FF9900;
  --orange-hover: #F08C00;
  --blue: #0052CC;
  --blue-nav: #246AD3;
  --blue-light: #2EA3F2;
  --blue-tint: #EEF4FD;
  --ink: #111827;
  --logo-ink: #27344A;
  --text: #373737;
  --muted: #6B6363;
  --line: #E6E6E6;
  --band: #FAFAFA;
  --white: #FFFFFF;
  --fs-red: #EF4A25;
  --ok: #187A42;
  --radius: 10px;
  --radius-lg: 16px;
  --shadow: 0 2px 18px rgba(17, 24, 39, .07);
  --shadow-hover: 0 8px 28px rgba(17, 24, 39, .11);
  --wrap: 1160px;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  font-family: Poppins, "Poppins Fallback", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 15px;
  line-height: 1.7;
  font-weight: 400;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
main p a:not([class]) { text-decoration: underline; text-underline-offset: 2px; }
h1, h2, h3, h4 { color: var(--ink); font-weight: 700; line-height: 1.25; margin: 0 0 .6em; }
h1 { font-size: clamp(32px, 4.2vw, 46px); letter-spacing: -.01em; }
h2 { font-size: clamp(24px, 2.6vw, 31px); }
h3, .feature-card h2 { font-size: 17px; font-weight: 600; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--blue-light); outline-offset: 2px; border-radius: 4px; }

.wrap { width: min(100% - 48px, var(--wrap)); margin-inline: auto; }
.section { position: relative; padding: 96px 0; overflow: hidden; }
.section--band { background: var(--band); }
.center { text-align: center; }
.lead { font-size: 16px; color: var(--muted); max-width: 640px; }
.center .lead { margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 6px; z-index: 100; }
.skip:focus { left: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

/* Doodles: the dashed-line illustrations from the original theme */
.doodle { position: absolute; pointer-events: none; user-select: none; z-index: 0; opacity: .9; }
.section > .wrap { position: relative; z-index: 1; }
@media (max-width: 900px) { .doodle { display: none; } }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: 500 15px/1 Poppins, "Poppins Fallback", sans-serif;
  padding: 14px 28px; border-radius: 50px; border: 2px solid transparent;
  cursor: pointer; text-decoration: none; transition: background .15s, transform .15s, box-shadow .15s;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-orange { background: var(--orange); color: var(--ink); }
.btn-orange:hover { background: var(--orange-hover); box-shadow: 0 6px 18px rgba(255, 153, 0, .3); }
.btn-blue { background: var(--blue); color: #fff; }
.btn-blue:hover { background: #0047B3; }
.btn-ghost { background: transparent; color: var(--blue); border-color: #C9D8F2; }
.btn-ghost:hover { border-color: var(--blue); background: var(--blue-tint); }
.btn-sm { padding: 10px 20px; font-size: 14px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .94); backdrop-filter: saturate(160%) blur(8px);
  border-bottom: 1px solid transparent; transition: border-color .2s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.nav { display: flex; align-items: center; gap: 24px; height: 76px; }
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--logo-ink); font-weight: 600; font-size: 19px; letter-spacing: -.01em; white-space: nowrap; }
.logo:hover { text-decoration: none; }
.logo svg { width: 30px; height: 30px; flex: none; }
.nav-links { display: flex; align-items: center; gap: 28px; margin-left: auto; list-style: none; padding: 0; margin-block: 0; }
.nav-links a { color: var(--ink); font-size: 14px; font-weight: 500; }
.nav-links a:hover { color: var(--blue); text-decoration: none; }
.nav-links a[aria-current="page"] { color: var(--blue); }
.nav .btn-nav { background: var(--blue-nav); color: #fff; padding: 13px 20px; font-size: 14px; border-radius: 64px; }
.nav .btn-nav:hover { background: var(--blue); }
.nav-toggle { display: none; margin-left: auto; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--ink); }
.nav-toggle svg { width: 26px; height: 26px; }
@media (max-width: 960px) {
  .nav-toggle { display: block; }
  .nav-links {
    display: none; position: absolute; top: 76px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line); padding: 8px 24px 20px;
  }
  .nav-links.is-open { display: flex; }
  .nav-links li a { display: block; padding: 12px 0; }
  .nav-links .btn-nav { margin-top: 8px; }
}

/* Powered by Filestack chip */
.fs-chip {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12.5px; font-weight: 500; color: var(--muted);
  padding: 6px 12px 6px 10px; border: 1px solid var(--line); border-radius: 40px; background: #fff;
  white-space: nowrap;
}
.fs-chip:hover { text-decoration: none; border-color: #F6B7A8; color: var(--ink); }
.fs-chip strong { color: var(--ink); font-weight: 600; }
.fs-mark { width: 14px; height: 16px; flex: none; }
.nav .fs-chip { margin-left: 4px; }
@media (max-width: 1100px) { .nav .fs-chip { display: none; } }

/* Hero */
.hero { padding: 72px 0 88px; }
.hero-grid { display: grid; grid-template-columns: 1fr 1.08fr; gap: 56px; align-items: center; }
.hero h1 { text-wrap: balance; }
.nw { white-space: nowrap; }
.hero p.lead { font-size: 16.5px; margin-bottom: 28px; color: var(--text); }
.hero .fs-chip { margin-top: 22px; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; gap: 40px; } .hero { padding-top: 40px; } .hero-media { max-width: 640px; } }

/* Cards */
.cards { display: grid; gap: 24px; }
.cards-3 { grid-template-columns: repeat(3, 1fr); }
.card {
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 36px 30px; transition: box-shadow .2s, transform .2s;
}
.card:hover { box-shadow: var(--shadow-hover); }
.feature-card { text-align: center; }
.feature-card .feature-icon { width: 76px; height: 76px; margin: 0 auto 20px; display: block; }
.feature-card p { font-size: 14px; color: var(--muted); margin: 0; }
@media (max-width: 900px) { .cards-3 { grid-template-columns: 1fr; } }

/* Split rows */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split img { border-radius: var(--radius); }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 36px; } .split .split-media { order: -1; } }
.ticks { list-style: none; padding: 0; margin: 0 0 30px; }
.ticks li { position: relative; padding-left: 30px; margin-bottom: 12px; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 5px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--blue-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.2l2.6 2.5L12 5.4' fill='none' stroke='%230052CC' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat;
}

/* Live demo */
.demo { margin-top: 44px; background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow); overflow: hidden; }
.demo-controls {
  display: flex; flex-wrap: wrap; gap: 20px 32px; align-items: flex-end;
  padding: 24px 28px; border-bottom: 1px solid var(--line);
}
.control { display: flex; flex-direction: column; gap: 8px; }
.control-label { font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.seg, .xf-seg { display: inline-flex; background: var(--band); border: 1px solid var(--line); border-radius: 40px; padding: 3px; }
.seg button, .xf-seg button {
  font: 500 13.5px/1 Poppins, "Poppins Fallback", sans-serif; color: var(--text);
  background: transparent; border: 0; border-radius: 40px; padding: 9px 16px; cursor: pointer;
}
.seg button[aria-pressed="true"], .xf-seg button[aria-pressed="true"] { background: var(--blue); color: #fff; }
.seg button:not([aria-pressed="true"]):hover, .xf-seg button:not([aria-pressed="true"]):hover { background: #fff; }
.demo-controls .btn { margin-left: auto; }
@media (max-width: 760px) { .demo-controls .btn { margin-left: 0; } }

.demo-stage { display: grid; grid-template-columns: 1fr 1fr; }
.pane { padding: 28px; display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.pane + .pane { border-left: 1px solid var(--line); background: #FCFCFD; }
.pane-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.pane-head h3 { margin: 0; font-size: 15px; }
.pane-meta { font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
.frame {
  position: relative; display: grid; place-items: center; height: 420px; border-radius: var(--radius);
  background-color: #F1F2F4;
  background-image: linear-gradient(45deg, #E8E9EC 25%, transparent 25%), linear-gradient(-45deg, #E8E9EC 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, #E8E9EC 75%), linear-gradient(-45deg, transparent 75%, #E8E9EC 75%);
  background-size: 20px 20px; background-position: 0 0, 0 10px, 10px -10px, -10px 0;
  overflow: hidden;
}
.frame img { max-height: 392px; max-width: calc(100% - 28px); width: auto; border-radius: 4px; box-shadow: 0 4px 16px rgba(0, 0, 0, .12); transition: opacity .2s; }
.frame.is-loading img { opacity: .35; }
.frame .spinner { position: absolute; width: 34px; height: 34px; border-radius: 50%; border: 3px solid rgba(0, 82, 204, .2); border-top-color: var(--blue); animation: spin .8s linear infinite; display: none; }
.frame.is-loading .spinner { display: block; }
@keyframes spin { to { transform: rotate(360deg); } }
.saving { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--ok); background: #E7F5EC; padding: 4px 10px; border-radius: 40px; }
.saving[hidden] { display: none; }
@media (max-width: 860px) {
  .demo-stage { grid-template-columns: 1fr; }
  .pane + .pane { border-left: 0; border-top: 1px solid var(--line); }
  .frame { height: 320px; } .frame img { max-height: 296px; }
}

.demo-foot { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-top: 1px solid var(--line); }
.demo-foot > div { padding: 22px 28px; min-width: 0; }
.demo-foot > div + div { border-left: 1px solid var(--line); }
@media (max-width: 860px) { .demo-foot { grid-template-columns: 1fr; } .demo-foot > div + div { border-left: 0; border-top: 1px solid var(--line); } }
.copy-btn {
  font: 500 12px/1 Poppins, "Poppins Fallback", sans-serif; color: var(--blue); background: #fff;
  border: 1px solid #C9D8F2; border-radius: 30px; padding: 6px 12px; cursor: pointer;
}
.copy-btn:hover { background: var(--blue-tint); }
.label-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; gap: 12px; }
.demo-note { font-size: 13px; color: var(--muted); margin: 14px 0 0; }
.demo-note:empty { display: none; }

/* Code panes, light editor style */
.window { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; min-width: 0; }
.window-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 16px; border-bottom: 1px solid var(--line); background: #F7F7F8; }
.code-label { font-size: 11.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: #716B7B; }
.code {
  margin: 0; padding: 18px 20px; font: 13px/1.75 var(--mono); color: #2F2A3A;
  white-space: pre-wrap; word-break: break-word; overflow-x: auto; background: #fff; tab-size: 2;
}
.code--flush { padding: 0; border: 0; }
.c-key { color: #c93d1c; font-weight: 600; }
.c-str { color: #1f8a4c; }
.c-num { color: #181325; font-weight: 700; }
.c-fn { color: #644c5e; font-weight: 600; }
.c-com { color: #ADA9B9; }

/* Tabs */
.tabs { display: flex; flex-wrap: wrap; gap: 4px; }
.tabs button {
  font: 500 12.5px/1 Poppins, "Poppins Fallback", sans-serif; color: var(--muted); background: transparent;
  border: 0; border-radius: 6px; padding: 7px 11px; cursor: pointer;
}
.tabs button[aria-selected="true"] { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(0, 0, 0, .08); }
.tabs button:hover { color: var(--ink); }
[role="tabpanel"][hidden] { display: none; }

/* Pricing */
.plans { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; margin-top: 48px; align-items: stretch; }
.plan {
  position: relative; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 34px 20px 28px; text-align: center; display: flex; flex-direction: column; border: 2px solid transparent;
}
.plan--popular { border-color: var(--orange); box-shadow: 0 10px 34px rgba(255, 153, 0, .18); }
.plan-badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--orange); color: var(--ink); font-size: 11px; font-weight: 600; letter-spacing: .06em;
  padding: 5px 12px; border-radius: 30px; white-space: nowrap;
}

.plan h3 { margin: 0 0 6px; font-size: 16px; }
.plan-price { font-size: 26px; font-weight: 700; color: var(--ink); line-height: 1.2; }
.plan-per { font-size: 13px; color: var(--muted); margin-bottom: 20px; }
.plan ul { list-style: none; padding: 0; margin: 0 0 24px; text-align: left; font-size: 13.5px; flex: 1; }
.plan li { display: flex; justify-content: space-between; gap: 10px; padding: 7px 0; border-bottom: 1px dashed var(--line); }
.plan li span:last-child { color: var(--ink); font-weight: 600; text-align: right; }
.plan .btn { width: 100%; }
.plans-note { text-align: center; font-size: 13.5px; color: var(--muted); margin-top: 28px; }
@media (max-width: 1100px) { .plans { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 720px) { .plans { grid-template-columns: 1fr; max-width: 380px; margin-inline: auto; } }

/* FAQ */
.faq { max-width: 860px; margin: 44px auto 0; display: grid; gap: 14px; }
.faq details { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); }
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 64px 22px 28px; position: relative;
  font-weight: 600; font-size: 15px; color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 26px; top: 50%; width: 22px; height: 22px; margin-top: -11px;
  border-radius: 50%; border: 1.5px solid #F28B7D;
  background: linear-gradient(#F28B7D, #F28B7D) center/10px 1.5px no-repeat, linear-gradient(#F28B7D, #F28B7D) center/1.5px 10px no-repeat;
  transition: transform .2s;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding: 0 28px 24px; color: var(--muted); font-size: 14.5px; }
.faq details > div p:last-child { margin: 0; }

/* Powered by Filestack band */
.fs-band { background: #FFF6F3; }
.fs-head { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; margin-bottom: 48px; }
.fs-title { display: flex; align-items: flex-start; gap: 18px; }
.fs-title h2 { margin: 0; }
.fs-badge { flex: none; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 14px; background: #fff; box-shadow: 0 6px 18px rgba(239, 74, 37, .16); }
.fs-badge .fs-mark { width: 24px; height: 28px; }
.fs-head p { margin: 0 0 22px; }
.fs-flow { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; counter-reset: step; }
.fs-step { position: relative; background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: 18px 18px 24px; counter-increment: step; }
.fs-step:not(:last-child)::after {
  content: ""; position: absolute; top: 72px; right: -34px; width: 28px; height: 12px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 12'%3E%3Cpath d='M1 6h20' stroke='%230052CC' stroke-width='2' stroke-dasharray='3 3' stroke-linecap='round'/%3E%3Cpath d='M20 1.5 26 6l-6 4.5' fill='none' stroke='%230052CC' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;
}
.fs-step h3 { display: flex; align-items: center; gap: 10px; margin: 20px 6px 6px; }
.fs-step h3::before { content: counter(step); display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--fs-red); color: #fff; font-size: 12.5px; font-weight: 600; }
.fs-step p { margin: 0 6px; font-size: 14px; color: var(--muted); }
.fs-visual { height: 132px; border-radius: 12px; background: var(--band); border: 1px solid #F0F0F0; display: flex; align-items: center; justify-content: center; padding: 14px; overflow: hidden; }
.fs-visual img { border-radius: 6px; object-fit: cover; }
.fs-visual strong { display: block; color: var(--ink); font-size: 13px; font-weight: 600; }
.fs-visual em { display: block; font-style: normal; color: var(--muted); font-size: 12px; }
.fs-visual--upload .drop { display: flex; align-items: center; gap: 12px; width: 100%; height: 100%; padding: 12px; border: 2px dashed #B9CEF0; border-radius: 10px; background: #fff; }
.fs-visual--upload img { width: 52px; height: 72px; }
.fs-visual--upload .drop > span { flex: 1; min-width: 0; }
.fs-visual--upload .up-bar { margin-top: 8px; }
.fs-visual--tasks { flex-direction: column; align-items: stretch; gap: 7px; }
.fs-visual--tasks code { display: block; font-family: var(--mono); font-size: 12px; color: #2F2A3A; background: #fff; border: 1px solid #ECECEC; border-radius: 7px; padding: 6px 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fs-visual--deliver { justify-content: flex-start; gap: 14px; }
.fs-visual--deliver .out { flex: none; }
.fs-visual--deliver .out-meta { min-width: 0; }
.fs-visual--deliver .out img { width: 96px; height: 96px; display: block; box-shadow: 0 6px 16px rgba(17, 24, 39, .12); }
.fs-visual--deliver em { color: var(--ok); font-weight: 500; margin-top: 2px; }
.cdn-pill { display: inline-block; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; margin-top: 10px; font-family: var(--mono); font-size: 11px; color: var(--blue); background: var(--blue-tint); border-radius: 30px; padding: 3px 9px; }
.fs-secure { display: flex; align-items: center; gap: 14px; margin-top: 28px; padding: 16px 22px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); }
.fs-secure p { margin: 0; font-size: 14.5px; color: var(--muted); }
.fs-secure strong { color: var(--ink); margin-right: 6px; }
.fs-secure-icon { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--blue-tint); color: var(--blue); }
.fs-secure-icon svg { width: 15px; height: 15px; }
@media (max-width: 1240px) { .fs-band .doodle { display: none; } }
@media (max-width: 1000px) { .fs-flow { gap: 20px; } .fs-step::after { display: none; } }
@media (max-width: 900px) { .fs-head { grid-template-columns: 1fr; gap: 20px; } .fs-flow { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .fs-title { flex-direction: column; gap: 14px; } }

/* Footer */
.site-footer { background: var(--band); padding: 64px 0 36px; border-top: 1px solid var(--line); }
.foot-grid { display: grid; grid-template-columns: 1.3fr repeat(4, 1fr); gap: 32px; margin-bottom: 44px; }
.foot-grid h4 { font-size: 13px; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 14px; }
.foot-grid ul { list-style: none; padding: 0; margin: 0; }
.foot-grid li { margin-bottom: 8px; }
.foot-grid a { color: var(--muted); font-size: 14px; }
.foot-grid a:hover { color: var(--blue); }
.foot-brand p { font-size: 13.5px; color: var(--muted); margin: 14px 0 16px; max-width: 250px; }
.foot-bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding-top: 24px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.foot-bottom nav { display: flex; gap: 18px; flex-wrap: wrap; }
.foot-bottom a { color: var(--muted); }
.socials { display: flex; gap: 8px; }
.socials a { display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid #CFCFCF; border-radius: 8px; color: var(--ink); }
.socials a:hover { border-color: var(--blue); color: var(--blue); }
.socials svg { width: 16px; height: 16px; }
@media (max-width: 900px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: 1 / -1; } }

/* Documentation */
.doc-hero { padding: 64px 0 48px; text-align: center; }
.doc-hero p { color: var(--muted); max-width: 640px; margin: 0 auto; }
.doc-layout { display: grid; grid-template-columns: 220px 1fr; gap: 56px; padding-bottom: 96px; }
.doc-toc { position: sticky; top: 100px; align-self: start; }
.doc-toc h2 { font-size: 16px; margin-bottom: 12px; }
.doc-toc ol { list-style: none; padding: 0; margin: 0; border-left: 2px solid var(--line); }
.doc-toc li a { display: block; padding: 5px 0 5px 16px; margin-left: -2px; border-left: 2px solid transparent; color: var(--muted); font-size: 14px; }
.doc-toc li a:hover { color: var(--blue); text-decoration: none; }
.doc-toc li a.is-active { color: var(--blue); border-left-color: var(--blue); font-weight: 500; }
.doc-toc li.sub a { padding-left: 30px; font-size: 13px; }
.doc-body { min-width: 0; border-left: 1px solid var(--line); padding-left: 48px; }
.doc-body > section { margin-bottom: 56px; }
.doc-body h2 { font-size: 27px; }
.doc-body h3 { font-size: 20px; font-weight: 700; margin-top: 8px; }
.doc-body h4 { font-size: 15px; margin: 28px 0 10px; }
.doc-body p, .doc-body li { font-size: 15px; }
.doc-body code:not(.code code) { font: 13px var(--mono); background: #F3F4F6; border-radius: 4px; padding: 2px 6px; color: #2F2A3A; }
.callout { background: var(--blue-tint); border-left: 4px solid var(--blue); border-radius: 0 var(--radius) var(--radius) 0; padding: 20px 24px; margin: 24px 0; }
.callout h3 { font-size: 16px; margin-bottom: 4px; }
.callout p { margin: 0; }
.endpoint { background: #fff; border-radius: var(--radius); box-shadow: 0 2px 14px rgba(17, 24, 39, .08); margin-bottom: 18px; }
.endpoint > summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 14px; padding: 18px 22px; }
.endpoint > summary::-webkit-details-marker { display: none; }
.endpoint > summary::after { content: ""; margin-left: auto; width: 9px; height: 9px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg); transition: transform .2s; flex: none; }
.endpoint[open] > summary::after { transform: rotate(-135deg); }
.endpoint-body { padding: 4px 22px 26px; border-top: 1px solid var(--line); }
.verb { font: 700 12px/1 var(--mono); padding: 6px 9px; border-radius: 5px; color: #fff; min-width: 62px; text-align: center; flex: none; }
.verb--post { background: var(--ok); }
.verb--get { background: var(--blue); }
.verb--delete { background: #C0392B; }
.endpoint-path { font: 600 14px var(--mono); color: var(--ink); overflow-wrap: anywhere; }
.endpoint-desc { font-size: 14px; color: var(--muted); }
@media (max-width: 640px) { .endpoint-desc { display: none; } }
.base-url { font: 13px var(--mono); color: var(--muted); overflow-wrap: anywhere; margin: 14px 0 0; }
.params { width: 100%; border-collapse: collapse; font-size: 14px; margin: 6px 0 20px; }
.params th, .params td { text-align: left; padding: 11px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.params th { font-size: 12px; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); font-weight: 600; background: var(--band); }
.params td:first-child { white-space: nowrap; }
.params code { font: 600 13px var(--mono) !important; background: none !important; padding: 0 !important; color: var(--ink) !important; }
.req { font-size: 11px; font-weight: 600; color: #C0392B; margin-left: 6px; }
.opt { font-size: 11px; color: var(--muted); margin-left: 6px; }
.type { font: 12px var(--mono); color: var(--muted); }
.table-scroll { overflow-x: auto; }
.doc-body .window { margin: 14px 0 20px; }
@media (max-width: 960px) {
  .doc-layout { grid-template-columns: 1fr; gap: 24px; }
  .doc-toc { position: static; }
  .doc-body { border-left: 0; padding-left: 0; }
}

/* Browser window frame, shared by the hero and the mockups */
.browser { position: relative; background: #fff; border-radius: 12px; box-shadow: 0 24px 60px rgba(17, 24, 39, .16), 0 2px 6px rgba(17, 24, 39, .06); overflow: visible; }
.browser-bar { display: flex; gap: 7px; padding: 13px 16px; border-bottom: 1px solid #EFEFEF; }
.browser-bar i { width: 11px; height: 11px; border-radius: 50%; background: #FF5F57; }
.browser-bar i:nth-child(2) { background: #FEBC2E; }
.browser-bar i:nth-child(3) { background: #28C840; }

/* Hero: one uploaded photo, three delivered variants, each set by its CDN URL */
.xf { margin: 0; }
.xf .bar-url { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.xf-url {
  display: flex; align-items: flex-start; gap: 10px; margin: 18px 24px 0; padding: 8px 12px;
  background: var(--band); border: 1px solid var(--line); border-radius: 8px;
  transition: border-color .15s, background .15s;
}
.xf-url:hover { text-decoration: none; border-color: #C9D8F2; background: #fff; }
.xf-chain { flex: 1; min-width: 0; display: grid; font: 11.5px/1.6 var(--mono); color: #4B5563; overflow-wrap: break-word; }
/* the hidden copy holds the longest chain, so the box keeps one height across variants */
.xf-chain > span { grid-area: 1 / 1; border-radius: 3px; }
.xf-sizer { visibility: hidden; }
.xf-open { flex: none; display: grid; place-items: center; width: 18px; height: 18.4px; color: var(--blue); }
.xf-open svg { width: 14px; height: 14px; }
#xf-tasks.is-new { animation: xf-flash 1.4s ease-out; }
@keyframes xf-flash { from { background: #FFE7BF; } to { background: transparent; } }
.xf-body { display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: center; padding: 24px 24px 0; }
.xf-photo { position: relative; height: 344px; aspect-ratio: 560 / 868; border-radius: 8px; overflow: hidden; }
.xf-photo picture, .xf-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.xf-crop {
  position: absolute; left: 0; right: 0; top: 17.75%; height: 64.5%;
  border: 2px dashed #fff; border-radius: 2px; box-shadow: 0 0 0 999px rgba(17, 24, 39, .45);
  transition: top .6s cubic-bezier(.2, .7, .2, 1), height .6s cubic-bezier(.2, .7, .2, 1);
}
.xf[data-variant="page"] .xf-crop { top: 0; height: 100%; }
.xf[data-variant="cart"] .xf-crop { top: 9.7%; height: 80.6%; }
.xf-crop i { position: absolute; width: 10px; height: 10px; background: #fff; border: 2px solid var(--blue); border-radius: 2px; }
.xf-crop i:nth-child(1) { left: -1px; top: -1px; } .xf-crop i:nth-child(2) { right: -1px; top: -1px; }
.xf-crop i:nth-child(3) { left: -1px; bottom: -1px; } .xf-crop i:nth-child(4) { right: -1px; bottom: -1px; }
.xf-panel { min-width: 0; }
.xf-name { display: block; font-size: 13px; font-weight: 500; color: var(--muted); }
.xf-dims { display: block; margin: 2px 0 20px; font-size: 28px; font-weight: 700; line-height: 1.2; color: var(--ink); font-variant-numeric: tabular-nums; }
.xf-meter { display: grid; gap: 14px; margin: 0 0 18px; }
.xf-meter div { display: grid; gap: 4px; }
.xf-meter dt { font-size: 12px; color: var(--muted); line-height: 1.3; }
.xf-meter dd { display: grid; grid-template-columns: 1fr 92px; align-items: center; gap: 10px; margin: 0; font-size: 12.5px; font-weight: 500; line-height: 1.3; color: var(--ink); text-align: right; font-variant-numeric: tabular-nums; }
.xf-track { display: block; height: 8px; border-radius: 4px; background: #F0F1F4; overflow: hidden; }
.xf-track b { display: block; height: 100%; border-radius: 0 4px 4px 0; background: #B9BFCA; transition: width .6s cubic-bezier(.2, .7, .2, 1); }
.xf-meter .is-out b { background: var(--blue); }
.xf-foot { padding: 14px 24px 24px; }
@media (prefers-reduced-motion: reduce) {
  .xf-crop, .xf-track b { transition: none; }
  #xf-tasks.is-new { animation: none; }
}
@media (max-width: 520px) {
  .xf-url { margin: 14px 16px 0; gap: 8px; }
  .xf-chain { font-size: 11px; }
  .xf-body { gap: 16px; padding: 18px 16px 0; }
  .xf-photo { height: 216px; }
  .xf-dims { font-size: 20px; margin-bottom: 14px; }
  .xf-meter dd { grid-template-columns: 1fr; gap: 4px; text-align: left; }
  .xf-foot { padding: 14px 16px 18px; }
  .xf-seg button { padding: 8px 11px; font-size: 12.5px; }
}
.plan-icon { width: 58px; height: 58px; margin: 0 auto 14px; display: block; }
.card-code { min-width: 0; }
.card-code .window-bar { flex-wrap: wrap; }
.faq code, .doc-body td code, .callout code { overflow-wrap: anywhere; }
.doc-body .placeholder-note { font-size: 13px; color: var(--muted); }

/* Showcase and boost mockups, built from the site's own product photos */
.bar-title, .bar-url { margin-left: 10px; font-size: 12px; color: var(--muted); line-height: 11px; }
.bar-url { font-family: var(--mono); background: var(--band); border-radius: 20px; padding: 4px 12px; margin-top: -4px; margin-bottom: -4px; line-height: 1.2; }
.split .browser img { border-radius: 6px; }
.mock-upload { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-bottom: 1px solid #F2F2F2; }
.up-icon { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 9px; background: var(--blue-tint); color: var(--blue); }
.up-icon svg { width: 18px; height: 18px; }
.up-file { flex: 1; min-width: 0; }
.up-file strong { display: block; font-size: 13px; color: var(--ink); font-weight: 600; }
.up-bar { display: block; height: 5px; border-radius: 5px; background: #EEF0F3; margin-top: 6px; overflow: hidden; }
.up-bar b { display: block; height: 100%; width: 100%; background: linear-gradient(90deg, var(--blue), var(--blue-light)); border-radius: 5px; }
.pill-ok { flex: none; display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 500; color: var(--ok); background: #E7F5EC; border-radius: 30px; padding: 5px 11px; }
.pill-ok svg { width: 12px; height: 12px; }
.mock-body { display: grid; grid-template-columns: 1fr 1.2fr; gap: 16px; padding: 16px; }
.mock-orig { position: relative; aspect-ratio: 721 / 1118; border-radius: 8px; overflow: hidden; }
.mock-orig picture, .mock-orig img { display: block; width: 100%; height: 100%; object-fit: cover; }
.crop-frame { position: absolute; left: 7px; right: 7px; top: 17.8%; aspect-ratio: 1; border: 2px dashed #fff; box-shadow: 0 0 0 999px rgba(17, 24, 39, .32); border-radius: 2px; }
.crop-frame i { position: absolute; width: 10px; height: 10px; background: #fff; border: 2px solid var(--blue); border-radius: 2px; }
.crop-frame i:nth-child(1) { left: -6px; top: -6px; } .crop-frame i:nth-child(2) { right: -6px; top: -6px; }
.crop-frame i:nth-child(3) { left: -6px; bottom: -6px; } .crop-frame i:nth-child(4) { right: -6px; bottom: -6px; }
.orig-tag { position: absolute; left: 8px; right: 8px; bottom: 8px; font-size: 11px; color: #fff; background: rgba(17, 24, 39, .72); border-radius: 6px; padding: 5px 8px; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.variants { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; justify-content: center; gap: 10px; }
.variants li { display: flex; align-items: center; gap: 12px; padding: 10px; border: 1px solid #EFEFEF; border-radius: 10px; background: #fff; }
.variants strong { display: block; font-size: 13px; color: var(--ink); font-weight: 600; }
.variants span { display: block; font-size: 12px; color: var(--muted); line-height: 1.5; }
.v-thumb { flex: none; display: block; height: 58px; overflow: hidden; border-radius: 6px; }
.v-thumb picture, .v-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 0 !important; }
.v-page { aspect-ratio: 721 / 1118; } .v-grid { aspect-ratio: 1; } .v-cart { aspect-ratio: 4 / 5; }
.shop-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; padding: 18px; }
.shop-card { display: flex; flex-direction: column; gap: 10px; }
.shop-card picture { display: block; aspect-ratio: 1; overflow: hidden; border-radius: 8px; background: var(--band); }
.shop-card img { width: 100%; height: 100%; object-fit: cover; }
.shop-meta strong { display: block; font-size: 13px; font-weight: 600; color: var(--ink); line-height: 1.3; }
.shop-meta span { font-size: 13px; color: var(--muted); }
.shop-btn { margin-top: auto; text-align: center; font-size: 12px; font-weight: 500; color: var(--ink); background: var(--orange); border-radius: 30px; padding: 6px 8px; }
@media (max-width: 520px) { .hide-sm { display: none; } .mock-body { grid-template-columns: 1fr 1.4fr; gap: 10px; padding: 10px; } .variants li { padding: 7px; gap: 8px; } .shop-grid { gap: 8px; padding: 10px; } .shop-btn { font-size: 11px; } }
