/* ==========================================================================
   UPLYNE — storefront stylesheet (approved Phase-1 design system)
   Inter · Violet #6A3DE8 · Ink #16151D · Night navy #0C0A24
   ========================================================================== */

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/inter-latin-var.woff2") format("woff2-variations"), url("../fonts/inter-latin-var.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+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/inter-latin-ext-var.woff2") format("woff2-variations"), url("../fonts/inter-latin-ext-var.woff2") format("woff2");
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --violet: #6A3DE8;
  --violet-700: #5328C9;
  --violet-800: #3F1BA3;
  --violet-300: #B79CFF;
  --tint: #F4F0FE;
  --tint-2: #E9E1FD;
  --ink: #16151D;
  --text: #4A4857;
  --muted: #6A6877;
  --surface: #F7F6FA;
  --line: #E7E5EE;
  --line-2: #D9D6E3;
  --white: #FFFFFF;
  --navy: #0C0A24;
  --navy-2: #16132E;
  --navy-3: #1A1740;
  --navy-4: #221E44;
  --navy-line: #25224A;
  --on-navy: #C9C6E0;
  --on-navy-2: #CFCBE8;
  --green: #157A43;
  --ok-bg: #E7F6EE; --ok: #0F6B41;
  --warn-bg: #FFF4E0; --warn: #8A4F00;
  --err-bg: #FDECEA; --err: #B42318;
  --r-chip: 8px; --r-control: 12px; --r-card: 16px; --r-panel: 24px;
  --shadow-card: 0 1px 2px rgba(22,21,29,.04), 0 8px 24px rgba(22,21,29,.05);
  --shadow-hover: 0 12px 32px rgba(83,40,201,.14);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: ui-monospace, "JetBrains Mono", SFMono-Regular, Menlo, Consolas, monospace;
  --container: 1320px;
  --gutter: 24px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--white); color: var(--ink);
  font-family: var(--font); font-size: 16px; line-height: 1.6;
  font-feature-settings: "cv11", "ss01"; -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--violet-700); }
a:hover { color: var(--violet-800); }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; line-height: 1.15; letter-spacing: -0.02em; }
p { margin: 0; }
:focus-visible { outline: 3px solid rgba(106,61,232,.45); outline-offset: 2px; border-radius: 6px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; }
.skip-link:focus { top: 12px; color: #fff; }
.icon { flex-shrink: 0; }
[hidden] { display: none !important; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.section { padding: 88px 0; }
.section--surface { background: var(--surface); }
.section--tight-top { padding-top: 40px; }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--violet-700); }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 36px; }
.section-head__titles { display: flex; flex-direction: column; gap: 10px; }
.h2 { font-size: clamp(28px, 3vw, 36px); font-weight: 700; }
.link-arrow { font-weight: 600; font-size: 15px; text-decoration: none; }
.muted { color: var(--muted); }
.note { font-size: 13.5px; color: var(--muted); margin-top: 24px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px; border-radius: var(--r-control); border: 1px solid transparent;
  font-weight: 600; font-size: 15px; line-height: 1; text-decoration: none; cursor: pointer;
  transition: background-color .18s ease, border-color .18s ease, color .18s ease, transform .18s ease, box-shadow .18s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn[disabled], .btn.is-busy { opacity: .6; pointer-events: none; }
.btn-lg { min-height: 54px; padding: 0 26px; font-size: 16px; border-radius: 14px; }
.btn-sm { min-height: 44px; padding: 0 16px; font-size: 14.5px; }
.btn-block { width: 100%; }
.btn-primary { background: var(--violet); color: #fff; }
.btn-primary:hover { background: var(--violet-700); color: #fff; }
.btn-outline { background: #fff; color: var(--ink); border-color: var(--line-2); }
.btn-outline:hover { border-color: var(--ink); color: var(--ink); }
.btn-outline-dark { background: #fff; color: var(--ink); border: 1.5px solid var(--ink); }
.btn-outline-dark:hover { background: var(--ink); color: #fff; }
.btn-soft { background: var(--tint); color: var(--violet-700); }
.btn-soft:hover { background: var(--tint-2); color: var(--violet-800); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #000; color: #fff; }
.btn-whatsapp { background: var(--green); color: #fff; }
.btn-whatsapp:hover { background: #10663A; color: #fff; }
.btn-whatsapp-soft { background: var(--ok-bg); color: var(--ok); }
.btn-whatsapp-soft:hover { background: #d4efe0; color: var(--ok); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--tint); color: var(--ink); }
.btn-ghost-navy { background: transparent; color: #fff; border-color: #4B4775; }
.btn-ghost-navy:hover { border-color: #fff; color: #fff; }
.icon-btn {
  width: 44px; height: 44px; border-radius: var(--r-control); border: 0; background: transparent;
  color: var(--ink); display: inline-flex; align-items: center; justify-content: center; position: relative;
  cursor: pointer; text-decoration: none; transition: background-color .18s ease;
}
.icon-btn:hover { background: var(--surface); color: var(--ink); }
.badge-count {
  position: absolute; top: 5px; right: 4px; min-width: 18px; height: 18px; padding: 0 5px;
  border-radius: 9px; background: var(--violet); color: #fff; font-size: 11px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}

/* ---------- Announcement ---------- */
.announcement { background: var(--ink); color: #fff; font-size: 14px; }
.announcement .container { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px 16px; padding-top: 10px; padding-bottom: 10px; text-align: center; }
.announcement__badge { padding: 2px 8px; border-radius: 6px; background: var(--violet); font-size: 12px; font-weight: 700; letter-spacing: .04em; }
.announcement a { color: #fff; font-weight: 600; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--line); }
.site-header__bar { height: 84px; display: flex; align-items: center; gap: 28px; }
.site-header__logo { display: flex; align-items: center; flex-shrink: 0; }
.site-header__logo img { width: 124px; }
.main-nav { display: flex; align-items: center; gap: 2px; flex: 1; min-width: 0; }
.main-nav a { padding: 10px 11px; border-radius: 10px; font-size: 14.5px; font-weight: 500; color: #3A3846; text-decoration: none; white-space: nowrap; transition: background-color .18s ease, color .18s ease; }
.main-nav a:hover { background: var(--surface); color: var(--ink); }
.main-nav a[aria-current="page"] { background: var(--tint); color: var(--violet-700); font-weight: 600; }
.header-actions { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.header-actions .btn-login { margin-left: 8px; }
.burger { display: none; background: var(--tint); color: var(--violet-700); }
.burger:hover { background: var(--tint-2); color: var(--violet-700); }
.header-search { border-top: 1px solid var(--line); background: #fff; }
.header-search form { display: flex; gap: 10px; padding-top: 14px; padding-bottom: 14px; }
.header-search input { flex: 1; min-width: 0; height: 48px; padding: 0 16px; border: 1px solid var(--line-2); border-radius: var(--r-control); font-size: 15.5px; }
.mobile-nav { border-top: 1px solid var(--line); background: #fff; padding: 8px 0 20px; }
.mobile-nav a.mobile-nav__link { min-height: 48px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid #F0EEF5; font-size: 16px; font-weight: 600; color: var(--ink); text-decoration: none; }
.mobile-nav a.mobile-nav__link[aria-current="page"] { color: var(--violet-700); }
.mobile-nav__auth { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 16px; }

@media (max-width: 1460px) {
  .site-header__bar { gap: 18px; }
  .main-nav a { padding: 10px 8px; font-size: 14px; }
  .header-actions .btn-login { padding: 0 14px; }
}
@media (max-width: 1340px) {
  .main-nav { display: none; }
  .burger { display: inline-flex; }
}
@media (max-width: 640px) {
  :root { --gutter: 16px; }
  .site-header__bar { height: 64px; gap: 12px; }
  .site-header__logo img { width: 108px; }
  .hide-sm { display: none !important; }
  .section { padding: 64px 0; }
}

/* ---------- Hero ---------- */
.hero { border-bottom: 1px solid #EFEDF4; }
.hero__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 480px), 1fr)); gap: 56px; align-items: center; padding-top: 80px; padding-bottom: 88px; }
.hero__copy { display: flex; flex-direction: column; gap: 28px; }
.pill { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 6px; border-radius: 999px; background: var(--tint); color: var(--violet-700); font-size: 14px; font-weight: 600; }
.pill__tag { padding: 3px 9px; border-radius: 999px; background: var(--violet); color: #fff; font-size: 12px; }
.hero h1 { font-size: clamp(36px, 5.2vw, 62px); line-height: 1.05; font-weight: 800; letter-spacing: -0.035em; }
.hero h1 .hl { color: var(--violet); }
.hero__lead { max-width: 560px; font-size: 18px; line-height: 1.65; color: var(--text); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.search-bar { display: flex; max-width: 560px; height: 56px; border: 1px solid var(--line-2); border-radius: 14px; overflow: hidden; background: #fff; transition: border-color .18s ease, box-shadow .18s ease; }
.search-bar:focus-within { border-color: var(--violet); box-shadow: 0 0 0 4px rgba(106,61,232,.12); }
.search-bar label { flex: 1; display: flex; align-items: center; gap: 10px; padding: 0 16px; color: var(--muted); min-width: 0; }
.search-bar input { flex: 1; min-width: 0; border: 0; outline: 0; font-size: 15.5px; color: var(--ink); background: transparent; }
.search-bar button { border: 0; padding: 0 22px; background: var(--ink); color: #fff; font-weight: 600; font-size: 15px; cursor: pointer; }
.search-bar--violet button { background: var(--violet); }
.search-bar--wide { max-width: 720px; }

/* Hero illustration (decorative, pure CSS) */
.hero-art { position: relative; height: 500px; }
.hero-art__bg { position: absolute; inset: 20px 0 40px 40px; border-radius: var(--r-panel); background: var(--tint); }
.hero-art__window { position: absolute; top: 0; right: 24px; left: 0; height: 330px; border-radius: 18px; background: #fff; border: 1px solid var(--line); box-shadow: 0 24px 60px rgba(40,24,110,.14); overflow: hidden; display: flex; flex-direction: column; }
.win-bar { height: 36px; flex-shrink: 0; display: flex; align-items: center; gap: 6px; padding: 0 14px; border-bottom: 1px solid #F0EEF5; }
.win-bar span { width: 9px; height: 9px; border-radius: 50%; background: #E2DFEA; }
.win-bar .win-url { margin-left: 14px; width: auto; flex: 1; max-width: 240px; height: 18px; border-radius: 6px; background: #F3F2F7; }
.win-body { flex: 1; display: flex; min-height: 0; }
.win-side { width: 120px; background: var(--navy); padding: 16px 12px; display: flex; flex-direction: column; gap: 10px; }
.bar { height: 8px; border-radius: 4px; background: #2A2752; }
.bar--accent { height: 10px; background: var(--violet); }
.win-main { flex: 1; padding: 18px; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.kpi { height: 58px; border-radius: 10px; border: 1px solid #EFEDF4; padding: 10px; display: flex; flex-direction: column; gap: 8px; }
.kpi i { display: block; height: 6px; width: 50%; border-radius: 3px; background: #E2DFEA; }
.kpi b { display: block; height: 12px; width: 68%; border-radius: 4px; background: var(--ink); }
.kpi--accent { background: var(--violet); border-color: var(--violet); }
.kpi--accent i { background: #A88BF5; } .kpi--accent b { background: #fff; }
.chart { flex: 1; border-radius: 10px; border: 1px solid #EFEDF4; padding: 14px; display: flex; align-items: flex-end; gap: 10px; }
.chart span { flex: 1; border-radius: 5px 5px 0 0; background: var(--tint-2); }
.chart span:nth-child(1) { height: 35%; } .chart span:nth-child(2) { height: 55%; } .chart span:nth-child(3) { height: 42%; }
.chart span:nth-child(4) { height: 70%; background: #C9B6FA; } .chart span:nth-child(5) { height: 62%; }
.chart span:nth-child(6) { height: 88%; background: var(--violet); } .chart span:nth-child(7) { height: 76%; background: #C9B6FA; }
.hero-art__code { position: absolute; left: -8px; bottom: 0; width: 300px; border-radius: var(--r-card); background: var(--ink); box-shadow: 0 20px 50px rgba(22,21,29,.3); padding: 16px 18px; font-family: var(--mono); font-size: 12.5px; line-height: 1.75; color: var(--on-navy); }
.hero-art__code .dots { display: flex; gap: 6px; margin-bottom: 8px; }
.hero-art__code .dots span { width: 8px; height: 8px; border-radius: 50%; background: #3A3760; }
.tok-v { color: #B79CFF; } .tok-s { color: #8FE3B5; } .tok-c { color: #8E8AB3; }
.hero-art__toast { position: absolute; right: 0; bottom: 56px; width: 250px; border-radius: var(--r-card); background: #fff; border: 1px solid var(--line); box-shadow: 0 18px 44px rgba(40,24,110,.16); padding: 14px; display: flex; gap: 12px; align-items: center; }
.hero-art__toast-icon { width: 40px; height: 40px; border-radius: 12px; background: var(--ok-bg); color: var(--ok); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.hero-art__toast strong { display: block; font-size: 14px; }
.hero-art__toast span { font-size: 12.5px; color: var(--text); }
@media (max-width: 640px) {
  .hero__grid { padding-top: 32px; padding-bottom: 40px; gap: 32px; }
  .hero__copy { gap: 18px; }
  .hero__lead { font-size: 16px; }
  .hero__ctas .btn { width: 100%; }
  .hero-art { display: none; }
}

/* ---------- Category cards ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 16px; }
.cat-card { display: flex; gap: 16px; align-items: flex-start; padding: 22px; border-radius: var(--r-card); background: #fff; border: 1px solid var(--line); text-decoration: none; color: var(--ink); transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.cat-card:hover { color: var(--ink); transform: translateY(-3px); border-color: #CFC2FA; box-shadow: var(--shadow-hover); }
.cat-card__icon { width: 48px; height: 48px; border-radius: 14px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.cat-card__name { display: block; font-weight: 700; font-size: 16px; }
.cat-card__desc { display: block; font-size: 14px; line-height: 1.5; color: var(--text); margin-top: 4px; }
.cat-card__count { display: block; font-size: 13px; color: var(--muted); margin-top: 6px; }
@media (max-width: 640px) {
  .cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .cat-card { flex-direction: column; gap: 10px; padding: 14px; }
  .cat-card__icon { width: 40px; height: 40px; border-radius: 12px; }
  .cat-card__name { font-size: 14.5px; line-height: 1.3; }
  .cat-card__desc { display: none; }
}
.tone-violet { background: var(--tint); color: var(--violet-700); }
.tone-sky { background: #DCEBFB; color: #1F5AB0; }
.tone-rose { background: #FBE1E6; color: #A82B4C; }
.tone-mint { background: #DDF3E8; color: #116B41; }
.tone-amber { background: #FCEBD2; color: #8F5005; }
.tone-ink { background: #E4E3EA; color: var(--ink); }

/* ---------- Product card ---------- */
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 20px; }
.product-grid--3 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 270px), 1fr)); }
.product-card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--r-card); overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow-card); transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.product-card:hover { transform: translateY(-4px); border-color: #CFC2FA; box-shadow: var(--shadow-hover); }
.product-card__media { position: relative; height: 176px; display: block; overflow: hidden; }
.product-card__media img { width: 100%; height: 100%; object-fit: cover; }
.product-card__badge { position: absolute; top: 14px; left: 14px; padding: 4px 10px; border-radius: var(--r-chip); background: var(--ink); color: #fff; font-size: 12px; font-weight: 700; z-index: 1; }
.product-card__wish { position: absolute; top: 10px; right: 10px; z-index: 1; background: rgba(255,255,255,.92); }
.product-card__wish:hover { background: #fff; }
.product-card__wish[aria-pressed="true"] { color: var(--err); }
.product-card__wish[aria-pressed="true"] svg { fill: currentColor; }
.product-card__body { padding: 18px 18px 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.product-card__cat { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--violet-700); text-decoration: none; }
.product-card__title { font-size: 17px; line-height: 1.3; font-weight: 600; letter-spacing: -0.01em; }
.product-card__title a { color: var(--ink); text-decoration: none; }
.product-card__title a:hover { color: var(--violet-700); }
.product-card__desc { font-size: 14px; line-height: 1.5; color: var(--text); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.price-row { display: flex; align-items: baseline; gap: 8px; margin-top: auto; padding-top: 2px; }
.price { font-size: 21px; font-weight: 800; letter-spacing: -0.01em; }
.price-was { font-size: 14px; color: var(--muted); }
.product-card__actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 4px; }
.product-card__actions .btn { min-height: 44px; padding: 0 10px; font-size: 14px; }
.product-card__actions .btn-span { grid-column: 1 / -1; }
.product-card form { margin: 0; }

/* CSS-drawn placeholder thumbnail used until the admin uploads a cover image */
.thumb { width: 100%; height: 100%; padding: 22px 22px 0; display: flex; align-items: flex-end; }
.thumb__win { width: 100%; height: 118px; background: #fff; border-radius: 10px 10px 0 0; box-shadow: 0 -4px 20px rgba(22,21,29,.08); display: flex; flex-direction: column; overflow: hidden; }
.thumb__bar { height: 22px; display: flex; align-items: center; gap: 5px; padding: 0 10px; border-bottom: 1px solid #F0EEF5; }
.thumb__bar span { width: 7px; height: 7px; border-radius: 50%; background: #E2DFEA; }
.thumb__body { flex: 1; display: flex; gap: 8px; padding: 10px; }
.thumb__side { width: 42px; border-radius: 6px; background: var(--thumb-deep); }
.thumb__main { flex: 1; display: flex; flex-direction: column; gap: 6px; }
.thumb__line { height: 7px; border-radius: 4px; background: #F0EEF5; }
.thumb__line--title { height: 9px; width: 55%; background: #E9E7F0; }
.thumb__tiles { display: flex; gap: 6px; }
.thumb__tiles span { flex: 1; height: 30px; border-radius: 6px; background: #F3F2F7; }
.thumb__tiles span:first-child { background: var(--thumb-bg); }
.t-violet { --thumb-bg: #EDE6FD; --thumb-deep: #6A3DE8; background: #EDE6FD; }
.t-mint   { --thumb-bg: #DDF3E8; --thumb-deep: #178A55; background: #DDF3E8; }
.t-amber  { --thumb-bg: #FCEBD2; --thumb-deep: #C27013; background: #FCEBD2; }
.t-sky    { --thumb-bg: #DCEBFB; --thumb-deep: #2867C5; background: #DCEBFB; }
.t-rose   { --thumb-bg: #FBE1E6; --thumb-deep: #C2365A; background: #FBE1E6; }
.t-ink    { --thumb-bg: #E4E3EA; --thumb-deep: #16151D; background: #E4E3EA; }

/* ---------- Tabs (segmented) ---------- */
.segmented { display: flex; gap: 4px; padding: 4px; border-radius: 14px; background: #F3F2F7; }
.segmented button { min-height: 40px; padding: 0 18px; border: 0; border-radius: 10px; background: transparent; color: var(--text); font-weight: 600; font-size: 14.5px; cursor: pointer; }
.segmented button[aria-selected="true"] { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(22,21,29,.12); }

/* ---------- Why choose ---------- */
.why { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: 56px; }
.why__intro { display: flex; flex-direction: column; gap: 16px; }
.why__intro h2 { font-size: clamp(30px, 3.4vw, 40px); font-weight: 700; line-height: 1.12; }
.why__intro p { font-size: 17px; line-height: 1.65; color: var(--text); }
.why__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: 28px 32px; }
.why__item { display: flex; flex-direction: column; gap: 10px; }
.why__icon { width: 44px; height: 44px; border-radius: 12px; background: #fff; border: 1px solid var(--line); color: var(--violet-700); display: flex; align-items: center; justify-content: center; }
.why__item h3 { font-size: 17px; font-weight: 700; letter-spacing: -0.01em; }
.why__item p { font-size: 15px; line-height: 1.6; color: var(--text); }

/* ---------- Custom development CTA ---------- */
.cta-panel { border-radius: 28px; background: var(--navy-2); color: #fff; padding: clamp(28px, 5vw, 64px); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 48px; align-items: center; }
.cta-panel__copy { display: flex; flex-direction: column; gap: 20px; }
.cta-panel .eyebrow { color: var(--violet-300); }
.cta-panel h2 { font-size: clamp(28px, 3.6vw, 44px); line-height: 1.12; font-weight: 700; }
.cta-panel p { font-size: 17px; line-height: 1.65; color: var(--on-navy-2); }
.cta-panel__btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 4px; }
.cta-panel__btns .btn { min-height: 52px; border-radius: 14px; }
.service-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.service-tile { padding: 18px; border-radius: var(--r-card); background: var(--navy-4); display: flex; flex-direction: column; gap: 6px; }
.service-tile strong { font-weight: 700; }
.service-tile span { font-size: 14px; color: var(--on-navy-2); }
@media (max-width: 640px) { .cta-panel__btns .btn { width: 100%; } .service-tiles { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq { max-width: 880px; margin: 0 auto; }
.faq__head { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 10px; margin-bottom: 28px; }
.faq__list { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary { list-style: none; cursor: pointer; min-height: 64px; padding: 18px 4px; display: flex; justify-content: space-between; align-items: center; gap: 16px; font-weight: 600; font-size: 17px; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__sign { width: 32px; height: 32px; border-radius: 10px; background: var(--tint); color: var(--violet-700); display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 20px; font-weight: 500; line-height: 1; }
.faq__sign::before { content: "+"; }
.faq__item[open] .faq__sign::before { content: "−"; }
.faq__answer { padding: 0 4px 22px; font-size: 15.5px; line-height: 1.65; color: var(--text); max-width: 720px; }
.faq__more { display: flex; justify-content: center; margin-top: 28px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: var(--on-navy); }
.site-footer__top { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 40px 32px; padding-top: 72px; }
.site-footer__brand { grid-column: span 2; max-width: 380px; display: flex; flex-direction: column; gap: 18px; }
.site-footer__brand img { width: 136px; }
.site-footer__brand p { font-size: 15px; line-height: 1.65; }
.socials { display: flex; gap: 8px; }
.socials a { width: 44px; height: 44px; border-radius: 12px; background: var(--navy-3); color: #fff; display: flex; align-items: center; justify-content: center; }
.socials a:hover { background: var(--violet); color: #fff; }
.site-footer h2 { font-size: 14px; font-weight: 600; letter-spacing: .04em; color: #fff; margin-bottom: 18px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.site-footer ul a { font-size: 14.5px; color: var(--on-navy); text-decoration: none; }
.site-footer ul a:hover { color: #fff; }
.site-footer__bottom { margin-top: 56px; border-top: 1px solid var(--navy-line); padding: 24px 0 28px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; font-size: 14px; }
.site-footer__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; }
.site-footer__meta span { display: inline-flex; align-items: center; gap: 8px; }
.site-footer__meta a { color: #fff; font-weight: 600; text-decoration: none; }
@media (max-width: 640px) { .site-footer__brand { grid-column: 1 / -1; } .site-footer__top { grid-template-columns: repeat(2, minmax(0, 1fr)); padding-top: 56px; } }

/* ---------- Page header / breadcrumb ---------- */
.page-head { background: var(--surface); border-bottom: 1px solid #EFEDF4; }
.page-head .container { padding-top: 48px; padding-bottom: 40px; display: flex; flex-direction: column; gap: 20px; }
.page-head h1 { font-size: clamp(32px, 4vw, 40px); font-weight: 800; letter-spacing: -0.03em; }
.breadcrumb { font-size: 14px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; }
.breadcrumb a { text-decoration: none; }

/* ---------- Marketplace ---------- */
.market { display: flex; flex-wrap: wrap; gap: 32px; align-items: flex-start; padding-top: 40px; padding-bottom: 96px; }
.filters { flex: 1 1 260px; max-width: 300px; display: flex; flex-direction: column; gap: 28px; padding: 24px; border: 1px solid var(--line); border-radius: var(--r-card); background: #fff; position: sticky; top: 108px; }
.filters__head { display: flex; justify-content: space-between; align-items: center; }
.filters__head h2 { font-size: 17px; font-weight: 700; letter-spacing: 0; }
.text-btn { border: 0; background: transparent; color: var(--violet-700); font-weight: 600; font-size: 14px; min-height: 44px; padding: 0 4px; cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; }
.filters fieldset { border: 0; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.filters legend { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; padding: 0; }
.check { display: flex; align-items: center; gap: 12px; min-height: 40px; font-size: 15px; cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: var(--violet); margin: 0; flex-shrink: 0; }
.check span:first-of-type { flex: 1; }
.check small { font-size: 13px; color: var(--muted); }
.price-inputs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.field { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 600; min-width: 0; }
.field input, .field select { height: 44px; padding: 0 12px; border: 1px solid var(--line-2); border-radius: 10px; font-size: 15px; font-weight: 400; min-width: 0; background: #fff; }
.field input:focus, .field select:focus { outline: 0; border-color: var(--violet); box-shadow: 0 0 0 4px rgba(106,61,232,.12); }
.filters-toggle { display: none; }
.filters__body { display: flex; flex-direction: column; gap: 28px; margin-top: 20px; }
.results { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.toolbar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; }
.toolbar__left { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.toolbar__count { font-size: 15px; color: var(--text); }
.toolbar__count strong { color: var(--ink); }
.chip { min-height: 34px; padding: 0 10px 0 12px; border: 0; border-radius: 999px; background: var(--tint); color: var(--violet-700); font-weight: 600; font-size: 13px; display: inline-flex; align-items: center; gap: 6px; text-decoration: none; cursor: pointer; }
.chip:hover { background: var(--tint-2); color: var(--violet-800); }
.sort { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; color: var(--text); }
.sort select { height: 44px; padding: 0 36px 0 14px; border: 1px solid var(--line-2); border-radius: var(--r-control); font-weight: 500; font-size: 15px; color: var(--ink); background: #fff; }
.results__grid { transition: opacity .15s ease; }
.results.is-loading .results__grid { opacity: .45; pointer-events: none; }
.empty { padding: 64px 24px; border: 1px dashed var(--line-2); border-radius: var(--r-card); background: var(--surface); display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; }
.empty strong { font-size: 18px; }
.empty p { font-size: 15px; color: var(--text); }
.empty .btn { margin-top: 8px; }
.pagination { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.pagination a, .pagination span { min-width: 44px; height: 44px; padding: 0 8px; border-radius: var(--r-control); border: 1px solid var(--line); display: inline-flex; align-items: center; justify-content: center; color: var(--ink); font-weight: 600; text-decoration: none; }
.pagination a:hover { border-color: var(--ink); }
.pagination [aria-current="page"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.pagination .is-disabled { color: #B9B7C4; }
@media (max-width: 900px) {
  .filters { position: static; max-width: none; flex-basis: 100%; }
  .filters-toggle { display: inline-flex; }
  .filters.is-collapsed .filters__body { display: none; }
}

/* ---------- Product details ---------- */
.pdp { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 520px), 1fr)); gap: 48px; align-items: start; padding-top: 28px; padding-bottom: 64px; }
.gallery { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.gallery__main { aspect-ratio: 16 / 10; border-radius: 20px; border: 1px solid var(--line); overflow: hidden; background: var(--surface); }
.gallery__main img { width: 100%; height: 100%; object-fit: cover; }
.gallery__main .thumb { padding: 32px 32px 0; }
.gallery__main .thumb__win { height: 88%; border-radius: 14px 14px 0 0; }
.gallery__main .thumb__bar { height: 34px; }
.gallery__main .thumb__side { width: 22%; }
.gallery__main .thumb__tiles span { height: 56px; }
.gallery__thumbs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.gallery__thumbs button { aspect-ratio: 16 / 10; min-height: 44px; padding: 0; border-radius: var(--r-control); border: 1px solid var(--line); overflow: hidden; cursor: pointer; background: var(--surface); }
.gallery__thumbs button[aria-pressed="true"] { border: 2px solid var(--violet); }
.gallery__thumbs img { width: 100%; height: 100%; object-fit: cover; }
.pdp__info { display: flex; flex-direction: column; gap: 22px; min-width: 0; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.tag { padding: 5px 10px; border-radius: var(--r-chip); background: var(--tint); color: var(--violet-700); font-size: 13px; font-weight: 700; text-decoration: none; }
.tag--mono { background: #F3F2F7; color: #3A3846; font-family: var(--mono); font-weight: 500; font-size: 12.5px; }
.pdp h1 { font-size: clamp(30px, 3.4vw, 42px); line-height: 1.1; font-weight: 800; letter-spacing: -0.03em; }
.pdp__lead { font-size: 17px; line-height: 1.65; color: var(--text); }
.pdp__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 12px; }
.pdp__price .price { font-size: 36px; letter-spacing: -0.02em; }
.pdp__price .price-was { font-size: 18px; }
.off-badge { padding: 4px 10px; border-radius: var(--r-chip); background: var(--ink); color: #fff; font-size: 13px; font-weight: 700; }
.addon { display: flex; gap: 14px; align-items: flex-start; padding: 18px; border-radius: var(--r-card); border: 1.5px solid var(--line); background: #fff; cursor: pointer; transition: border-color .18s ease, background-color .18s ease; }
.addon:has(input:checked) { border-color: var(--violet); background: #F8F5FF; }
.addon input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--violet); flex-shrink: 0; }
.addon__body { flex: 1; display: flex; flex-direction: column; gap: 4px; }
.addon__title { display: flex; justify-content: space-between; gap: 12px; font-weight: 700; font-size: 16px; }
.addon__body small { font-size: 14px; line-height: 1.5; color: var(--text); }
.total-row { display: flex; justify-content: space-between; align-items: center; padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.total-row span { font-size: 15px; color: var(--text); }
.total-row strong { font-size: 22px; font-weight: 800; }
.buy-btns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.buy-btns .btn { min-height: 54px; border-radius: 14px; font-size: 16px; font-weight: 700; }
.minor-btns { display: flex; flex-wrap: wrap; gap: 12px; }
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 12px; padding: 18px; border-radius: var(--r-card); background: var(--surface); margin: 0; }
.facts div { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.facts dt { font-size: 12.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.facts dd { margin: 0; font-size: 14.5px; font-weight: 600; overflow-wrap: anywhere; }
.pdp-tabs { border-top: 1px solid var(--line); }
.tablist { display: flex; gap: 4px; overflow-x: auto; border-bottom: 1px solid var(--line); margin-bottom: 32px; scrollbar-width: thin; }
.tablist button { min-height: 56px; padding: 0 18px; border: 0; background: transparent; white-space: nowrap; font-weight: 500; font-size: 15.5px; color: var(--text); cursor: pointer; box-shadow: inset 0 0 0 transparent; }
.tablist button[aria-selected="true"] { font-weight: 700; color: var(--ink); box-shadow: inset 0 -3px 0 var(--violet); }
.tab-layout { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 48px; padding-bottom: 72px; }
.tabpanel { display: flex; flex-direction: column; gap: 16px; max-width: 720px; }
.tabpanel h2 { font-size: 26px; font-weight: 700; }
.prose p { font-size: 16px; line-height: 1.7; color: #3A3846; }
.prose p + p { margin-top: 14px; }
.ticks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; line-height: 1.6; color: #3A3846; }
.ticks li::before { content: ""; width: 22px; height: 22px; margin-top: 2px; border-radius: 7px; flex-shrink: 0;
  background: var(--tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235328C9' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5 9-10'/%3E%3C/svg%3E") center / 13px no-repeat; }
.steps { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 10px; font-size: 16px; color: #3A3846; }
.changelog { display: flex; flex-direction: column; gap: 14px; padding: 24px; border: 1px solid var(--line); border-radius: var(--r-card); align-self: start; }
.changelog h3 { font-size: 17px; font-weight: 700; letter-spacing: 0; }
.changelog__entry { display: flex; flex-direction: column; gap: 4px; padding-left: 14px; border-left: 2px solid var(--tint-2); }
.changelog__entry span { font-family: var(--mono); font-size: 13px; color: var(--violet-700); }
.changelog__entry p { font-size: 15px; color: #3A3846; white-space: pre-line; }
.mobile-buybar { display: none; }
@media (max-width: 640px) {
  .pdp { gap: 28px; padding-top: 16px; }
  .gallery__thumbs { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
  .buy-btns { grid-template-columns: 1fr; }
  .mobile-buybar { display: flex; position: sticky; bottom: 0; z-index: 40; gap: 10px; align-items: center; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.97); border-top: 1px solid var(--line); }
  .mobile-buybar strong { font-size: 20px; font-weight: 800; margin-right: auto; }
}

/* ---------- Flash / toast ---------- */
.flash-stack { position: fixed; z-index: 80; right: 16px; bottom: 16px; left: 16px; display: flex; flex-direction: column; align-items: flex-end; gap: 10px; pointer-events: none; }
.flash { pointer-events: auto; max-width: 460px; display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: var(--r-control); font-size: 14.5px; font-weight: 500; line-height: 1.5; box-shadow: 0 12px 32px rgba(22,21,29,.16); animation: flash-in .22s ease; }
.flash--success { background: var(--ok-bg); color: var(--ok); }
.flash--info { background: var(--tint); color: var(--violet-800); }
.flash--error { background: var(--err-bg); color: #8E1C13; }
.flash button { margin-left: auto; border: 0; background: transparent; color: inherit; cursor: pointer; padding: 0 4px; min-height: 24px; font-size: 18px; line-height: 1; }
@keyframes flash-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ---------- Simple / status pages ---------- */
.status-page { padding: 96px 0 120px; }
.status-card { max-width: 640px; margin: 0 auto; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.status-card img { width: 72px; height: auto; }
.status-card h1 { font-size: clamp(30px, 4vw, 40px); font-weight: 800; letter-spacing: -0.03em; }
.status-card p { font-size: 17px; color: var(--text); line-height: 1.65; }
.status-card .btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 8px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ==========================================================================
   Accounts, forms, cart, checkout, content pages (same tokens as Phase 1)
   ========================================================================== */
.mono { font-family: var(--mono); font-size: .92em; }
.t-right { text-align: right; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Forms */
.form { display: flex; flex-direction: column; gap: 18px; }
.form-field { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 600; color: var(--ink); min-width: 0; }
.form-field small { font-weight: 500; color: var(--muted); }
.form-field__row { display: flex; justify-content: space-between; gap: 12px; }
.form-field__row a { font-weight: 500; text-decoration: none; }
.form-field input, .form-field select, .form-field textarea, .coupon input {
  width: 100%; min-height: 48px; padding: 0 14px; border: 1px solid var(--line-2); border-radius: var(--r-control);
  font-size: 15px; font-weight: 400; color: var(--ink); background: #fff; transition: border-color .18s ease, box-shadow .18s ease;
}
.form-field textarea { padding: 12px 14px; line-height: 1.55; resize: vertical; min-height: 120px; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus, .coupon input:focus { outline: 0; border-color: var(--violet); box-shadow: 0 0 0 4px rgba(106,61,232,.12); }
.form-field input:disabled { background: var(--surface); color: var(--text); }
.form-grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 18px; }
.form-hint { font-size: 13.5px; color: var(--muted); }
.form-error { font-size: 13.5px; color: var(--err); font-weight: 500; }

/* Notices */
.notice { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; padding: 14px 16px; border-radius: var(--r-control); font-size: 14.5px; line-height: 1.5; }
.notice form { margin: 0; }
.notice--ok { background: var(--ok-bg); color: var(--ok); }
.notice--warn { background: var(--warn-bg); color: #6B3D00; }
.notice--err { background: var(--err-bg); color: #8E1C13; }
.notice--info { background: var(--tint); color: var(--violet-800); }

/* Status pills (approved palette) */
.pill-status { display: inline-flex; align-items: center; padding: 4px 10px; border-radius: 999px; font-size: 12.5px; font-weight: 600; white-space: nowrap; }
.pill-status--ok { background: var(--ok-bg); color: var(--ok); }
.pill-status--warn { background: var(--warn-bg); color: var(--warn); }
.pill-status--err { background: var(--err-bg); color: var(--err); }
.pill-status--neutral { background: #EEF2F7; color: #3C4A5E; }
.pill-status--new, .pill-status--info { background: var(--tint); color: var(--violet-700); }

/* Auth */
.auth { padding: 64px var(--gutter) 96px; background: var(--surface); display: flex; justify-content: center; }
.auth__card { width: 100%; max-width: 460px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-panel); padding: clamp(24px, 5vw, 40px); box-shadow: var(--shadow-card); display: flex; flex-direction: column; gap: 18px; }
.auth__mark { width: 52px; height: auto; }
.auth h1 { font-size: 28px; font-weight: 800; letter-spacing: -0.03em; }
.auth__lead { color: var(--text); margin-top: -8px; }
.auth__alt { text-align: center; font-size: 14.5px; color: var(--text); }

/* Panels / tables */
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--r-card); padding: 24px; display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.panel h2 { font-size: 18px; font-weight: 700; letter-spacing: -0.01em; }
.panel__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.table-wrap { overflow-x: auto; margin: 0 -4px; position: relative; }
.table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.table th { text-align: left; font-weight: 600; color: var(--text); font-size: 13px; padding: 10px 12px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.table td { padding: 12px; border-bottom: 1px solid #F0EEF5; vertical-align: middle; }
.table tr:last-child td { border-bottom: 0; }
.table a { font-weight: 600; text-decoration: none; }
.empty--flat { border: 0; background: transparent; padding: 32px 12px; }

/* Account layout */
.acct { display: flex; flex-wrap: wrap; gap: 28px; align-items: flex-start; padding-top: 40px; padding-bottom: 96px; }
.acct-nav { flex: 1 1 240px; max-width: 280px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-card); padding: 16px; display: flex; flex-direction: column; gap: 12px; position: sticky; top: 108px; }
.acct-nav__who { display: flex; gap: 12px; align-items: center; padding: 4px 6px 12px; border-bottom: 1px solid var(--line); min-width: 0; }
.acct-nav__who span:last-child { display: flex; flex-direction: column; min-width: 0; }
.acct-nav__who small { color: var(--muted); font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.acct-nav__avatar { width: 40px; height: 40px; border-radius: 12px; background: var(--tint); color: var(--violet-700); font-weight: 800; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.acct-nav nav { display: flex; flex-direction: column; gap: 2px; }
.acct-nav nav a { min-height: 44px; padding: 0 12px; border-radius: 10px; display: flex; align-items: center; gap: 10px; color: #3A3846; font-weight: 500; text-decoration: none; font-size: 15px; }
.acct-nav nav a:hover { background: var(--surface); color: var(--ink); }
.acct-nav nav a[aria-current="page"] { background: var(--tint); color: var(--violet-700); font-weight: 600; }
.acct-verify { flex-basis: 100%; order: -1; }
.acct-main { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.acct-title { font-size: clamp(26px, 3vw, 32px); font-weight: 800; letter-spacing: -0.03em; }
.acct-title-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 170px), 1fr)); gap: 14px; }
.stat { padding: 18px; border-radius: 14px; background: #fff; border: 1px solid var(--line); display: flex; flex-direction: column; gap: 8px; text-decoration: none; color: var(--ink); transition: border-color .18s ease; }
.stat:hover { border-color: #CFC2FA; color: var(--ink); }
.stat span { font-size: 13px; font-weight: 600; color: var(--text); }
.stat strong { font-size: 26px; font-weight: 800; letter-spacing: -0.02em; }
@media (max-width: 900px) { .acct-nav { position: static; max-width: none; flex-basis: 100%; min-width: 0; width: 100%; } .acct-nav nav { flex-direction: row; overflow-x: auto; } .acct-nav nav a { white-space: nowrap; } }

/* Totals */
.totals { margin: 0; display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.totals div { display: flex; justify-content: space-between; gap: 12px; }
.totals dt { color: var(--text); }
.totals dd { margin: 0; font-weight: 600; }
.totals__save dd { color: var(--ok); }
.totals__grand { padding-top: 12px; border-top: 1px solid var(--line); }
.totals__grand dt { color: var(--ink); font-weight: 700; }
.totals__grand dd { font-size: 22px; font-weight: 800; }

/* Downloads */
.dl__head { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; flex-wrap: wrap; }
.dl__head h2 a { color: var(--ink); text-decoration: none; }
.dl__limits { font-size: 14px; color: var(--text); }
.file-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.file-list li { display: flex; align-items: center; gap: 14px; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--r-control); flex-wrap: wrap; }
.file-list__icon { width: 40px; height: 40px; border-radius: 12px; background: var(--tint); color: var(--violet-700); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.file-list__name { flex: 1; min-width: 160px; display: flex; flex-direction: column; }
.file-list__name small { color: var(--muted); font-size: 13px; }

/* Wishlist rows */
.wish-list { display: flex; flex-direction: column; gap: 12px; }
.wish-row { display: flex; gap: 16px; align-items: center; padding: 14px; border: 1px solid var(--line); border-radius: var(--r-card); background: #fff; flex-wrap: wrap; }
.wish-row__media { width: 120px; height: 76px; border-radius: 10px; overflow: hidden; flex-shrink: 0; display: block; }
.wish-row__media img { width: 100%; height: 100%; object-fit: cover; }
.wish-row__media .thumb, .cart-line__media .thumb { padding: 8px 8px 0; }
.wish-row__media .thumb__win, .cart-line__media .thumb__win { height: 60px; }
.wish-row__body { flex: 1; min-width: 160px; display: flex; flex-direction: column; gap: 4px; }
.wish-row__body h2 { font-size: 16px; }
.wish-row__body h2 a { color: var(--ink); text-decoration: none; }
.wish-row__actions { display: flex; gap: 8px; flex-wrap: wrap; }
.wish-row__actions form { margin: 0; }

/* Ticket thread */
.thread { display: flex; flex-direction: column; gap: 12px; }
.msg { padding: 16px 18px; border-radius: var(--r-card); border: 1px solid var(--line); background: #fff; max-width: 760px; }
.msg--staff { background: var(--tint); border-color: var(--tint-2); margin-left: auto; }
.msg header { display: flex; justify-content: space-between; gap: 12px; font-size: 13.5px; margin-bottom: 6px; }
.msg time { color: var(--muted); }
.msg p { font-size: 15px; line-height: 1.6; overflow-wrap: anywhere; }

/* Cart & checkout */
.page-head--slim .container { padding-top: 36px; padding-bottom: 28px; gap: 12px; }
.shop { padding-top: 32px; padding-bottom: 96px; }
.shop__grid { display: flex; flex-wrap: wrap; gap: 28px; align-items: flex-start; }
.shop__lines { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.cart-line { display: flex; gap: 18px; padding: 18px; border: 1px solid var(--line); border-radius: var(--r-card); background: #fff; flex-wrap: wrap; }
.cart-line__media { width: 140px; height: 88px; border-radius: 12px; overflow: hidden; flex-shrink: 0; display: block; }
.cart-line__media img { width: 100%; height: 100%; object-fit: cover; }
.cart-line__body { flex: 1; min-width: 200px; display: flex; flex-direction: column; gap: 6px; }
.cart-line__body h2 { font-size: 17px; }
.cart-line__body h2 a { color: var(--ink); text-decoration: none; }
.cart-line__body p { font-size: 13.5px; }
.cart-line__setup { margin: 4px 0 0; }
.cart-line__side { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; margin-left: auto; }
.cart-line__side form { margin: 0; }
.summary { flex: 1 1 320px; max-width: 400px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-card); padding: 24px; display: flex; flex-direction: column; gap: 18px; position: sticky; top: 108px; box-shadow: var(--shadow-card); }
.summary h2 { font-size: 18px; font-weight: 700; }
.summary__secure { display: flex; gap: 8px; align-items: flex-start; font-size: 13px; color: var(--muted); }
.coupon { margin: 0; }
.coupon__row { display: flex; gap: 8px; }
.coupon__row input { flex: 1; min-width: 0; text-transform: uppercase; }
.coupon__applied { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 10px 12px; border-radius: var(--r-control); background: var(--ok-bg); color: var(--ok); font-size: 14px; }
.coupon__applied span { display: inline-flex; align-items: center; gap: 6px; }
.co-items { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.co-items li { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid #F0EEF5; }
.co-items li span:first-child { display: flex; flex-direction: column; }
.co-items small { color: var(--muted); font-size: 13px; }
.co-items--center { width: 100%; max-width: 420px; }
@media (max-width: 900px) { .summary { position: static; max-width: none; } }
@media (max-width: 640px) { .cart-line__media { width: 100%; height: 140px; } .cart-line__side { flex-direction: row; align-items: center; justify-content: space-between; width: 100%; } }

.status-icon { width: 76px; height: 76px; border-radius: 24px; display: flex; align-items: center; justify-content: center; }
.status-icon--ok { background: var(--ok-bg); color: var(--ok); }
.status-icon--warn { background: var(--warn-bg); color: var(--warn); }
.status-icon--err { background: var(--err-bg); color: var(--err); }

/* Content pages */
.prose--page { max-width: 820px; }
.prose h2 { font-size: 22px; font-weight: 700; margin: 32px 0 10px; }
.prose ul { margin: 10px 0; padding-left: 22px; display: flex; flex-direction: column; gap: 6px; color: #3A3846; line-height: 1.65; }
.prose p + p, .prose ul + p { margin-top: 14px; }
.hero--sub h1 { font-size: clamp(32px, 4.2vw, 50px); }
.quote-layout { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: 48px; align-items: start; }
.quote-layout .panel { padding: clamp(20px, 3vw, 32px); }
.service-card { cursor: default; }
.service-card:hover { transform: none; box-shadow: none; border-color: var(--line); }
.service-card__links { display: flex; gap: 16px; margin-top: 10px; font-size: 14px; font-weight: 600; }
.service-card__links a { text-decoration: none; }
.contact-cards { display: flex; flex-direction: column; gap: 12px; }
.contact-card { display: flex; gap: 14px; align-items: center; padding: 18px; border: 1px solid var(--line); border-radius: var(--r-card); background: #fff; text-decoration: none; color: var(--ink); }
.contact-card span:last-child { display: flex; flex-direction: column; }
.contact-card small { color: var(--text); font-size: 14.5px; }
a.contact-card:hover { border-color: #CFC2FA; color: var(--ink); }
@media (max-width: 640px) { .stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } }

/* UPLYNE - Professional Desktop Header */
@media (min-width: 1461px) {

  .site-header__bar {
    display: flex;
    align-items: center;
    gap: 26px;
  }

  .site-header__logo {
    flex-shrink: 0;
  }

  .main-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex: 1;
    min-width: 0;
  }

  .main-nav a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 11px 14px;
    font-size: 14.5px;
    line-height: 1.4;
    white-space: nowrap;
    border-radius: 10px;
  }

  .header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: 0;
    flex-shrink: 0;
  }

  .header-actions .btn-login {
    margin-left: 8px;
  }
}


/* ========================================================
   UPLYNE INTERACTIVE HOMEPAGE SHOWCASE
   Premium Laptop Hero - Desktop / Tablet / Mobile
   Add at the END of public_html/assets/css/app.css
   ======================================================== */

.up-showcase {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: 76px 0 64px;
  background:
    radial-gradient(ellipse at 76% 23%, rgba(115, 74, 255, .13), transparent 46%),
    radial-gradient(ellipse at 48% 80%, rgba(175, 155, 255, .11), transparent 48%),
    #ffffff;
}

.up-showcase__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr);
  align-items: center;
  gap: 45px;
}

.up-showcase__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 27px;
  position: relative;
  z-index: 2;
  min-width: 0;
}

.up-showcase__topline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.up-showcase__eyebrow {
  display: inline-flex;
  align-items: center;
  padding: 9px 15px;
  background: #f3edff;
  border-radius: 100px;
  color: #6335e9;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.up-showcase__subline {
  font-size: 13px;
  color: #55516d;
  white-space: normal;
}

.up-showcase__content h1 {
  margin: 0;
  font-size: clamp(40px, 4.3vw, 66px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.055em;
  color: #16151d;
}

.up-showcase__content h1 span {
  color: #6a3de8;
  background: linear-gradient(110deg, #6334e8, #8452f5);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.up-showcase__lead {
  max-width: 580px;
  font-size: 17px;
  line-height: 1.85;
  color: #595568;
}

.up-showcase__buttons {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.up-showcase__primary,
.up-showcase__secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 55px;
  padding: 0 22px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.up-showcase__primary {
  background: #6a3de8;
  color: #fff;
  box-shadow: 0 8px 22px rgba(106,61,232,.16);
}

.up-showcase__primary:hover {
  background: #5328c9;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(106,61,232,.23);
}

.up-showcase__secondary {
  background: #fff;
  color: #16151d;
  border: 1px solid #ded9eb;
}

.up-showcase__secondary:hover {
  color: #5328c9;
  border-color: #bfaaff;
  transform: translateY(-2px);
}

.up-showcase__benefits {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 15px;
  width: 100%;
  padding-top: 8px;
}

.up-showcase__benefits > div {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.5;
  color: #454153;
}

.up-showcase__benefit-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 43px;
  height: 43px;
  flex-shrink: 0;
  border-radius: 12px;
  background: #f0eafd;
  color: #6a3de8;
}

/* ------------------------------------
   LAPTOP VISUAL AREA
------------------------------------ */

.up-showcase__visual {
  position: relative;
  width: 100%;
  min-width: 0;
  min-height: 535px;
  display: flex;
  justify-content: center;
  align-items: center;
  isolation: isolate;
}

.up-showcase__glow {
  position: absolute;
  z-index: -2;
  width: 95%;
  height: 85%;
  right: 0;
  top: 9%;
  border-radius: 42%;
  background: radial-gradient(
    ellipse,
    rgba(135, 105, 255, .22) 0%,
    rgba(170, 145, 255, .12) 40%,
    transparent 73%
  );
  filter: blur(26px);
  pointer-events: none;
}

.up-showcase__dots {
  position: absolute;
  z-index: -1;
  inset: 15% 0 8%;
  opacity: .45;
  background-image: radial-gradient(#a78bfa 1.5px, transparent 1.5px);
  background-size: 21px 21px;
  mask-image: linear-gradient(90deg, #000, transparent 38%, transparent 65%, #000);
  pointer-events: none;
}

.up-showcase__laptop {
  position: relative;
  width: 94%;
  margin-top: 35px;
  z-index: 2;
  filter: drop-shadow(0 25px 22px rgba(28,20,62,.15));
}

.up-showcase__screen {
  width: 100%;
  aspect-ratio: 16 / 10;
  padding: 11px 10px 13px;
  background: linear-gradient(140deg, #282833, #08080e 55%, #34343d);
  border: 2px solid #22222b;
  border-radius: 17px 17px 9px 9px;
  box-shadow:
    inset 0 2px 2px rgba(255,255,255,.2),
    0 7px 17px rgba(16,16,30,.12);
  overflow: hidden;
}

.up-showcase__app {
  display: flex;
  width: 100%;
  height: 100%;
  background: #ffffff;
  border-radius: 4px;
  overflow: hidden;
}

.up-showcase__side {
  width: 22%;
  min-width: 0;
  padding: 15px 7px;
  background: #f9f8fe;
  border-right: 1px solid #eae6f5;
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: #5a566a;
}

.up-showcase__side-logo {
  font-size: clamp(11px, 1.2vw, 17px);
  font-weight: 800;
  color: #6a3de8;
  margin-bottom: 12px;
  letter-spacing: -.5px;
}

.up-showcase__side-logo span {
  color: #16151d;
}

.up-showcase__side > span:not(:first-child) {
  display: block;
  padding: 6px 5px;
  border-radius: 5px;
  font-size: clamp(7px, .7vw, 10px);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.up-showcase__side-active {
  background: #efe9ff;
  color: #6233e5;
  font-weight: 700;
}

.up-showcase__app-main {
  width: 78%;
  min-width: 0;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 11px;
  overflow: hidden;
}

.up-showcase__search {
  height: 31px;
  min-height: 31px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-left: 10px;
  background: #f8f7fc;
  border: 1px solid #eeebf5;
  border-radius: 6px;
}

.up-showcase__search > span {
  color: #8c879f;
  font-size: clamp(7px, .65vw, 10px);
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.up-showcase__search a {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  padding: 0 12px;
  color: #fff;
  background: #6a3de8;
  font-size: 10px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 5px;
}

.up-showcase__spotlight {
  min-height: 116px;
  padding: 13px 15px;
  display: grid;
  grid-template-columns: 1fr .75fr;
  gap: 8px;
  background: linear-gradient(115deg, #f7f2ff, #f0eaff);
  border-radius: 9px;
  overflow: hidden;
}

.up-showcase__spotlight > div:first-child {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 5px;
}

.up-showcase__spotlight small {
  font-size: clamp(6px, .6vw, 9px);
  color: #6a3de8;
  font-weight: 700;
}

.up-showcase__spotlight strong {
  color: #171322;
  font-size: clamp(10px, 1vw, 15px);
  line-height: 1.15;
}

.up-showcase__spotlight p {
  font-size: clamp(6px, .6vw, 9px);
  color: #625c74;
}

.up-showcase__spotlight a {
  display: inline-flex;
  align-items: center;
  min-height: 21px;
  padding: 4px 9px;
  border-radius: 5px;
  background: #6a3de8;
  color: #fff;
  font-size: clamp(6px, .65vw, 9px);
  font-weight: 600;
  text-decoration: none;
}

.up-showcase__mini-chart {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  padding: 10px 8px 0;
  background: rgba(255,255,255,.55);
  border-radius: 7px;
}

.up-showcase__mini-chart i {
  flex: 1;
  border-radius: 4px 4px 0 0;
  background: #d8c9fb;
}

.up-showcase__mini-chart i:nth-child(1) { height: 37%; }
.up-showcase__mini-chart i:nth-child(2) { height: 56%; }
.up-showcase__mini-chart i:nth-child(3) { height: 45%; }
.up-showcase__mini-chart i:nth-child(4) {
  height: 82%;
  background: #7544eb;
}
.up-showcase__mini-chart i:nth-child(5) { height: 67%; }

.up-showcase__products-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}

.up-showcase__products-head strong {
  color: #171322;
  font-size: clamp(9px, .9vw, 13px);
}

.up-showcase__products-head a {
  color: #6a3de8;
  font-size: clamp(7px, .65vw, 10px);
  text-decoration: none;
  white-space: nowrap;
}

.up-showcase__products {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
  min-height: 0;
}

.up-showcase__product {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 4px;
  min-width: 0;
  padding: 6px;
  background: #fff;
  border: 1px solid #edeaf4;
  border-radius: 7px;
  text-decoration: none;
  color: #16151d;
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}

.up-showcase__product:hover {
  color: #16151d;
  transform: translateY(-3px);
  border-color: #a78bfa;
  box-shadow: 0 5px 12px rgba(106,61,232,.12);
}

.up-showcase__product-image {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 5px;
  background: #f2eefe;
}

.up-showcase__product-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.up-showcase__product-fallback {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  color: #6a3de8;
}

.up-showcase__product strong {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  font-size: clamp(7px, .64vw, 10px);
  line-height: 1.3;
  font-weight: 700;
}

.up-showcase__product small {
  color: #817b91;
  font-size: clamp(6px, .56vw, 8px);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.up-showcase__product b {
  color: #211b2f;
  font-size: clamp(8px, .75vw, 11px);
  margin-top: auto;
}

.up-showcase__no-products {
  grid-column: 1 / -1;
  padding: 18px;
  text-align: center;
  border: 1px dashed #d8cafa;
  border-radius: 8px;
  color: #655e7b;
  font-size: 12px;
}

.up-showcase__no-products a {
  display: block;
  margin-top: 7px;
  color: #6a3de8;
  font-weight: 700;
}

.up-showcase__laptop-base {
  position: relative;
  height: 16px;
  margin: 0 -5%;
  border-radius: 3px 3px 45% 45%;
  background: linear-gradient(
    180deg,
    #d2d4dc 0%,
    #8e929e 40%,
    #555866 70%,
    #c2c5ce 100%
  );
  box-shadow: 0 12px 14px rgba(15,15,30,.17);
}

.up-showcase__laptop-base::before {
  content: "";
  position: absolute;
  left: 37%;
  right: 37%;
  top: 0;
  height: 5px;
  border-radius: 0 0 9px 9px;
  background: #888b98;
}

/* ------------------------------------
   FLOATING INFO CARDS
------------------------------------ */

.up-showcase__float {
  position: absolute;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 16px;
  border: 1px solid rgba(231,225,245,.8);
  border-radius: 16px;
  background: rgba(255,255,255,.97);
  box-shadow: 0 13px 32px rgba(43,24,92,.12);
  pointer-events: none;
}

.up-showcase__float-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 45px;
  height: 45px;
  border-radius: 12px;
  color: #fff;
  background: linear-gradient(135deg, #915eff, #6333e8);
  box-shadow: 0 4px 12px rgba(106,61,232,.16);
}

.up-showcase__float-icon--green {
  color: #0d8c58;
  background: #dcf8ec;
  box-shadow: none;
}

.up-showcase__float b {
  display: block;
  font-size: 13px;
  line-height: 1.4;
  color: #171322;
}

.up-showcase__float small {
  display: block;
  font-size: 11px;
  color: #696378;
  line-height: 1.4;
}

.up-showcase__float--code {
  top: 1%;
  left: -1%;
}

.up-showcase__float--products {
  top: 1%;
  right: -1%;
}

.up-showcase__float--templates {
  bottom: 20%;
  left: -5%;
}

.up-showcase__float--custom {
  bottom: 25%;
  right: -5%;
}

/* ------------------------------------
   FEATURE / TRUST STRIP
------------------------------------ */

.up-showcase__trust {
  position: relative;
  background: #fff;
  border-top: 1px solid #f0edf8;
  border-bottom: 1px solid #f0edf8;
}

.up-showcase__trust-inner {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  padding-top: 25px;
  padding-bottom: 25px;
}

.up-showcase__trust-inner > div {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 5px;
  padding: 12px;
  border-right: 1px solid #ece8f5;
}

.up-showcase__trust-inner > div:last-child {
  border-right: 0;
}

.up-showcase__trust-inner > div > span {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 43px;
  height: 43px;
  border-radius: 12px;
  background: #f0eafd;
  color: #6a3de8;
  margin-bottom: 5px;
}

.up-showcase__trust-inner strong {
  font-size: 14px;
  color: #171322;
}

.up-showcase__trust-inner small {
  font-size: 12px;
  color: #787287;
}

/* ------------------------------------
   RESPONSIVE - LARGE DESKTOP
------------------------------------ */

@media (min-width: 1600px) {
  .up-showcase {
    padding-top: 90px;
    padding-bottom: 80px;
  }

  .up-showcase__grid {
    gap: 65px;
  }

  .up-showcase__visual {
    min-height: 580px;
  }
}

/* ------------------------------------
   RESPONSIVE - LAPTOP / TABLET
------------------------------------ */

@media (max-width: 1199px) {
  .up-showcase {
    padding: 65px 0 48px;
  }

  .up-showcase__grid {
    gap: 25px;
  }

  .up-showcase__content h1 {
    font-size: clamp(36px, 4.1vw, 52px);
  }

  .up-showcase__lead {
    font-size: 15px;
    line-height: 1.75;
  }

  .up-showcase__visual {
    min-height: 440px;
  }

  .up-showcase__laptop {
    width: 96%;
  }

  .up-showcase__float {
    padding: 9px;
    gap: 7px;
  }

  .up-showcase__float-icon {
    width: 34px;
    height: 34px;
  }

  .up-showcase__float b {
    font-size: 11px;
  }

  .up-showcase__float small {
    font-size: 9px;
  }

  .up-showcase__benefits {
    gap: 8px;
  }

  .up-showcase__benefits > div {
    font-size: 11px;
  }

  .up-showcase__benefit-icon {
    width: 35px;
    height: 35px;
  }

  .up-showcase__float--templates {
    left: -2%;
  }

  .up-showcase__float--custom {
    right: -2%;
  }
}

@media (max-width: 900px) {
  .up-showcase__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .up-showcase__content {
    max-width: 720px;
  }

  .up-showcase__content h1 {
    font-size: clamp(42px, 6vw, 62px);
  }

  .up-showcase__visual {
    width: 100%;
    max-width: 690px;
    min-height: 520px;
    margin: 0 auto;
  }

  .up-showcase__laptop {
    width: 88%;
  }

  .up-showcase__benefits {
    max-width: 620px;
  }
}

/* ------------------------------------
   RESPONSIVE - MOBILE
------------------------------------ */

@media (max-width: 640px) {
  .up-showcase {
    padding: 38px 0 36px;
  }

  .up-showcase__grid {
    gap: 28px;
  }

  .up-showcase__content {
    gap: 20px;
  }

  .up-showcase__topline {
    gap: 8px;
  }

  .up-showcase__eyebrow {
    padding: 7px 12px;
    font-size: 11px;
  }

  .up-showcase__subline {
    font-size: 11px;
  }

  .up-showcase__content h1 {
    font-size: clamp(34px, 9vw, 48px);
    line-height: 1.12;
    letter-spacing: -.045em;
  }

  .up-showcase__lead {
    font-size: 14.5px;
    line-height: 1.75;
  }

  .up-showcase__buttons {
    width: 100%;
    gap: 10px;
  }

  .up-showcase__primary,
  .up-showcase__secondary {
    width: 100%;
    min-height: 51px;
    font-size: 14px;
  }

  .up-showcase__benefits {
    gap: 9px;
  }

  .up-showcase__benefits > div {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 7px;
    font-size: 10px;
  }

  .up-showcase__visual {
    min-height: 340px;
    margin-top: 8px;
  }

  .up-showcase__laptop {
    width: 96%;
    margin-top: 15px;
  }

  .up-showcase__screen {
    padding: 6px 5px 8px;
    border-radius: 9px 9px 5px 5px;
  }

  .up-showcase__side {
    padding: 7px 3px;
    gap: 3px;
  }

  .up-showcase__side-logo {
    font-size: 10px;
    margin-bottom: 4px;
  }

  .up-showcase__side > span:not(:first-child) {
    padding: 3px 2px;
    font-size: 6px;
  }

  .up-showcase__app-main {
    padding: 5px;
    gap: 6px;
  }

  .up-showcase__search {
    height: 20px;
    min-height: 20px;
    padding-left: 5px;
  }

  .up-showcase__search > span {
    font-size: 6px;
  }

  .up-showcase__search a {
    padding: 0 6px;
    font-size: 6px;
  }

  .up-showcase__spotlight {
    min-height: 65px;
    padding: 7px;
    gap: 4px;
  }

  .up-showcase__spotlight strong {
    font-size: 8px;
  }

  .up-showcase__spotlight small,
  .up-showcase__spotlight p {
    font-size: 6px;
  }

  .up-showcase__spotlight a {
    font-size: 6px;
    min-height: 16px;
    padding: 2px 5px;
  }

  .up-showcase__products-head strong {
    font-size: 8px;
  }

  .up-showcase__products-head a {
    font-size: 7px;
  }

  .up-showcase__products {
    gap: 3px;
  }

  .up-showcase__product {
    padding: 3px;
    gap: 2px;
    border-radius: 4px;
  }

  .up-showcase__product strong {
    font-size: 6px;
  }

  .up-showcase__product small {
    display: none;
  }

  .up-showcase__product b {
    font-size: 7px;
  }

  .up-showcase__laptop-base {
    height: 10px;
  }

  .up-showcase__float {
    gap: 5px;
    padding: 6px 7px;
    border-radius: 9px;
  }

  .up-showcase__float-icon {
    width: 25px;
    height: 25px;
    border-radius: 7px;
  }

  .up-showcase__float-icon svg {
    width: 15px;
    height: 15px;
  }

  .up-showcase__float b {
    font-size: 8px;
  }

  .up-showcase__float small {
    font-size: 7px;
  }

  .up-showcase__float--code {
    top: 1%;
    left: 0;
  }

  .up-showcase__float--products {
    top: 1%;
    right: 0;
  }

  .up-showcase__float--templates {
    bottom: 5%;
    left: 0;
  }

  .up-showcase__float--custom {
    bottom: 5%;
    right: 0;
  }

  .up-showcase__trust-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
    padding-top: 12px;
    padding-bottom: 12px;
  }

  .up-showcase__trust-inner > div {
    border-bottom: 1px solid #ece8f5;
  }

  .up-showcase__trust-inner > div:nth-child(2n) {
    border-right: 0;
  }

  .up-showcase__trust-inner > div:nth-last-child(-n+2) {
    border-bottom: 0;
  }

  .up-showcase__trust-inner strong {
    font-size: 12px;
  }

  .up-showcase__trust-inner small {
    font-size: 10px;
  }
}

@media (max-width: 380px) {
  .up-showcase__visual {
    min-height: 285px;
  }

  .up-showcase__float--products,
  .up-showcase__float--templates {
    display: none;
  }

  .up-showcase__content h1 {
    font-size: 33px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .up-showcase *,
  .up-showcase__trust * {
    transition: none !important;
    animation: none !important;
  }
}

/* END UPLYNE INTERACTIVE SHOWCASE */



/* ==========================================================================
   1.1 additions: policy pages, FAQ groups, contact details, checkout terms,
   installation progress and invoice list. Uses the existing design tokens only.
   ========================================================================== */
.page-head__lead { font-size: 17px; line-height: 1.6; color: var(--text); max-width: 760px; margin: 0; }
.page-head__meta { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--muted); margin: 0; }
.page-head--policy .container { gap: 14px; }

.section--policy { padding-top: 40px; }
.policy-layout { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 48px; align-items: start; }
.policy-layout--single { grid-template-columns: minmax(0, 1fr); }
.policy-layout--single .policy-body { margin: 0 auto; }
.policy-toc { position: sticky; top: 96px; display: flex; flex-direction: column; gap: 16px; max-height: calc(100vh - 120px); overflow-y: auto; overscroll-behavior: contain; }
.policy-toc__box { border: 1px solid var(--line); border-radius: var(--r-card); padding: 16px 18px; background: #fff; }
.policy-toc__box summary { font-weight: 700; font-size: 14px; cursor: pointer; list-style: none; }
.policy-toc__box summary::-webkit-details-marker { display: none; }
.policy-toc__box ol, .policy-toc__box ul { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.policy-toc__box a { display: block; padding: 6px 8px; border-radius: 8px; font-size: 14px; line-height: 1.4; color: var(--text); text-decoration: none; }
.policy-toc__box a:hover, .policy-toc__box a[aria-current="page"] { background: var(--tint); color: var(--violet-700); }
.policy-toc__related strong { font-size: 14px; }
.policy-body { max-width: 780px; min-width: 0; }
.policy-body h2 { scroll-margin-top: 96px; font-size: 22px; letter-spacing: -0.01em; padding-top: 8px; }
.policy-body h2:first-child { margin-top: 0; }
.policy-body h3 { scroll-margin-top: 96px; font-size: 17px; font-weight: 700; margin: 22px 0 8px; color: var(--ink); }
.policy-body ol { margin: 10px 0; padding-left: 22px; display: flex; flex-direction: column; gap: 6px; color: #3A3846; line-height: 1.65; }
.policy-body li strong, .policy-body p strong { color: var(--ink); }
.policy-body a { color: var(--violet-700); text-decoration: underline; text-underline-offset: 2px; }
.policy-body ul + p, .policy-body ol + p, .policy-body p + ul, .policy-body h3 + p { margin-top: 10px; }
.policy-callout { margin: 4px 0 18px; padding: 16px 18px; border-radius: var(--r-control); background: var(--tint); border-left: 4px solid var(--violet); color: var(--violet-800); font-size: 15.5px; line-height: 1.65; }
.policy-help { margin-top: 40px; display: flex; gap: 16px; align-items: flex-start; padding: 20px; border: 1px solid var(--line); border-radius: var(--r-card); background: var(--surface); }
.policy-help strong { display: block; margin-bottom: 4px; }
.policy-help p { margin: 0; font-size: 15px; }
@media (max-width: 960px) {
  .policy-layout { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .policy-toc { position: static; max-height: none; overflow: visible; }
  .policy-toc__related { display: none; }
}

.faq--grouped { display: flex; flex-direction: column; gap: 8px; }
.faq-cats { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.faq-cats a { padding: 8px 14px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: 14px; font-weight: 500; color: var(--ink); text-decoration: none; }
.faq-cats a:hover { background: var(--tint); border-color: var(--tint-2); color: var(--violet-700); }
.faq-group { scroll-margin-top: 96px; margin-top: 18px; }
.faq-group__title { font-size: 20px; font-weight: 700; margin: 0 0 6px; letter-spacing: -0.01em; }

.contact-biz { display: flex; flex-direction: column; gap: 2px; padding: 4px 2px 8px; }
.contact-biz strong { font-size: 18px; }
.contact-biz span { font-size: 14.5px; color: var(--text); }
.contact-note { padding: 18px; border-radius: var(--r-card); background: var(--surface); border: 1px solid var(--line); }
.contact-note p { margin: 6px 0 0; font-size: 14.5px; line-height: 1.6; color: var(--text); }

.check--terms { align-items: flex-start; font-size: 14px; line-height: 1.5; color: var(--text); margin: 4px 0 12px; min-height: 0; }
.check--terms input { margin-top: 2px; }
.check--terms a { color: var(--violet-700); }

.setup-track { padding: 14px 0; border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; }
.setup-track:last-child { border-bottom: 0; }
.setup-track__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.setup-track p { margin: 0; font-size: 14.5px; line-height: 1.6; }
.setup-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.setup-steps li { position: relative; display: flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 600; color: var(--muted); padding: 10px 12px; border-radius: var(--r-control); background: var(--surface); }
.setup-steps li > span:first-child { width: 10px; height: 10px; border-radius: 50%; background: var(--line-2); flex-shrink: 0; }
.setup-steps li.is-current { background: var(--tint); color: var(--violet-700); }
.setup-steps li.is-current > span:first-child { background: var(--violet); box-shadow: 0 0 0 4px rgba(106, 61, 232, .18); }
.setup-steps li.is-done { background: var(--ok-bg); color: var(--ok); }
.setup-steps li.is-done > span:first-child { background: var(--ok); }

.doc-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.doc-list li { display: flex; align-items: center; gap: 14px; padding: 14px; border: 1px solid var(--line); border-radius: var(--r-control); flex-wrap: wrap; }
.doc-list__icon { width: 40px; height: 40px; border-radius: 10px; background: var(--tint); color: var(--violet-700); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.doc-list__body { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 180px; }
.doc-list__body small { color: var(--muted); font-size: 13px; }
.doc-list__actions { display: flex; gap: 8px; flex-wrap: wrap; }
.nowrap { white-space: nowrap; }
@media (max-width: 520px) {
  .setup-steps { grid-template-columns: 1fr; }
  .doc-list__actions { width: 100%; }
  .doc-list__actions .btn { flex: 1; justify-content: center; }
}
