/* WebEire design system 2.0 — loaded last, overrides the older stylesheets.
   To switch the redesign off, remove the theme.css <link> from app/Views/layouts/*.php. */

/* ---------- 1. Tokens ---------- */
:root{
  --font-primary:"Inter",system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;
  --font-display:"Plus Jakarta Sans","Inter",system-ui,sans-serif;
  --ink:#0a1628; --ink-2:#14263d; --text:#2a3a50; --muted:#5b6b7f; --line:#e3e9f0; --soft:#f5f8fb; --white:#fff;
  --accent:#0d9b76; --accent-2:#0a809a; --accent-soft:#e6f7f1; --coral:#f0664a;
  --radius:22px; --radius-sm:14px; --max:1240px;
  --shadow-sm:0 1px 2px rgba(10,22,40,.05),0 6px 18px rgba(10,22,40,.05);
  --shadow:0 2px 4px rgba(10,22,40,.04),0 18px 48px rgba(10,22,40,.09);
  --shadow-lg:0 4px 10px rgba(10,22,40,.06),0 34px 80px rgba(10,22,40,.18);
  --grad:linear-gradient(135deg,#10b088 0%,#0a8ea6 100%);
  --ease:cubic-bezier(.2,.7,.2,1);
}

/* ---------- 2. Base ---------- */
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{font-family:var(--font-primary);font-size:17px;line-height:1.68;color:var(--text);background:#fff;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased}
body button,body input,body select,body textarea{font-family:var(--font-primary)}
h1,h2,h3,h4{font-family:var(--font-display);color:var(--ink);letter-spacing:-.03em}
.site-main{overflow-x:clip}
img{max-width:100%;height:auto}
::selection{background:#c9f1e4;color:var(--ink)}
a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline:3px solid rgba(13,155,118,.5);outline-offset:3px;border-radius:10px}
.skip-link:focus{background:var(--ink);color:#fff;padding:12px 18px;border-radius:12px}
@media (prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

/* ---------- 3. Buttons ---------- */
body .btn{min-height:48px;padding:0 24px;border-radius:14px;font-family:var(--font-primary);font-size:15.5px;font-weight:700;letter-spacing:-.005em;transition:transform .2s var(--ease),box-shadow .2s var(--ease),background .2s,border-color .2s}
body .btn:hover{transform:translateY(-2px)}
body .btn:active{transform:translateY(0)}
body .btn-primary{background:var(--grad);color:#fff;box-shadow:0 8px 22px rgba(13,155,118,.28),inset 0 1px 0 rgba(255,255,255,.28)}
body .btn-primary:hover{box-shadow:0 14px 34px rgba(13,155,118,.36),inset 0 1px 0 rgba(255,255,255,.28)}
body .btn-dark{background:var(--ink);color:#fff;box-shadow:0 8px 20px rgba(10,22,40,.2)}
body .btn-dark:hover{background:#13294a}
body .btn-ghost{background:#fff;color:var(--ink);border:1.5px solid var(--line);box-shadow:none}
body .btn-ghost:hover{border-color:#c7d2df;box-shadow:var(--shadow-sm)}
body .btn-light{background:#fff;color:var(--ink);box-shadow:0 8px 24px rgba(0,0,0,.16)}
body .btn-quiet{background:transparent;color:var(--ink);box-shadow:none;border:0}
body .btn-quiet:hover{background:var(--soft)}
body .btn-sm{min-height:40px;padding:0 16px;font-size:14px;border-radius:12px}

/* ---------- 4. Header and navigation ---------- */
body .site-header{background:rgba(255,255,255,.84);backdrop-filter:saturate(180%) blur(18px);-webkit-backdrop-filter:saturate(180%) blur(18px);border-bottom:1px solid rgba(227,233,240,.9)}
body .nav-wrap{height:80px;gap:28px;width:min(var(--max),calc(100% - 48px))}
body .brand img{height:44px;width:auto}
body .desktop-nav{display:flex;align-items:center;justify-content:flex-end;gap:4px;flex:1}
body .desktop-nav .nav-item>a{display:inline-flex;align-items:center;gap:6px;padding:10px 16px;border-radius:999px;font-size:15.5px;font-weight:600;color:var(--ink-2);transition:background .18s,color .18s}
body .desktop-nav .nav-item>a:hover,body .desktop-nav .nav-item>a.is-active{background:var(--soft);color:var(--ink)}
body .nav-actions{display:flex;align-items:center;gap:10px;margin-left:auto}
body .nav-dropdown{border-radius:18px;border:1px solid var(--line);box-shadow:var(--shadow);padding:10px}
body .site-header .menu-toggle{border-radius:14px;border:1.5px solid var(--line);background:#fff}

/* ---------- 5. Sections, headings, eyebrows ---------- */
body .content-wide{width:min(var(--max),calc(100% - 48px))}
body .content-narrow{width:min(780px,calc(100% - 48px))}
body .content-section{padding:clamp(56px,8vw,112px) 0}
body .section-heading{align-items:flex-end;margin-bottom:clamp(30px,4vw,56px);gap:24px 48px}
body .section-heading h2,body .content-section h2{font-size:clamp(30px,4.2vw,52px);line-height:1.1;letter-spacing:-.03em;font-weight:800}
body .section-heading p{font-size:18px;color:var(--muted);max-width:520px}
body .eyebrow{display:inline-flex;align-items:center;gap:10px;font-size:12.5px;font-weight:800;letter-spacing:.14em;color:var(--accent);margin-bottom:18px}
body .eyebrow::before{content:"";width:28px;height:2px;border-radius:2px;background:currentColor;opacity:.7}
body .prose{font-size:18px;line-height:1.8;color:var(--text)}
body .prose h2{font-size:clamp(26px,3vw,36px);margin:1.6em 0 .5em}
body .prose h3{font-size:22px;margin:1.4em 0 .4em}
body .prose a{color:var(--accent-2);text-decoration:underline;text-underline-offset:3px}

/* ---------- 6. Hero ---------- */
body .hero-section{position:relative;min-height:0;padding:clamp(48px,7vw,104px) 0 clamp(56px,8vw,120px);gap:clamp(36px,6vw,84px);grid-template-columns:minmax(0,1.08fr) minmax(0,.92fr);align-items:center}
body .hero-section::before{content:"";position:absolute;z-index:-1;left:50%;top:0;bottom:0;width:100vw;transform:translateX(-50%);
  background:radial-gradient(55% 70% at 88% 0%,rgba(13,155,118,.15),transparent 62%),radial-gradient(45% 60% at 0% 25%,rgba(240,102,74,.10),transparent 62%),linear-gradient(#fbfdfe,#fff)}
body .hero-copy h1{font-size:clamp(40px,6.2vw,78px);line-height:1.04;letter-spacing:-.034em;font-weight:800;margin-bottom:26px;max-width:12.5em}
body .hero-copy p{font-size:clamp(18px,1.7vw,21px);line-height:1.7;color:var(--muted);max-width:34em}
body .hero-actions{display:flex;flex-wrap:wrap;gap:14px;margin-top:34px}
body .hero-actions .btn{min-height:54px;padding:0 30px;font-size:16px}
body .hero-proof{display:flex;flex-wrap:wrap;gap:10px 22px;margin-top:34px;padding:0;color:var(--muted);font-size:14.5px;font-weight:600}
body .hero-proof span{display:inline-flex;align-items:center;gap:8px}
body .hero-proof span::before{content:"";width:8px;height:8px;border-radius:50%;background:var(--accent)}
body .hero-studio{min-height:0;border-radius:32px;padding:28px;box-shadow:var(--shadow-lg)}
body .hero-capability{border-radius:16px}

/* ---------- 7. Cards ---------- */
body .feature-card,body .content-card,body .product-card,body .post-card,body .case-card,body .process-card,body .stat-card,body .testimonial-card{background:#fff;border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow-sm);transition:transform .28s var(--ease),box-shadow .28s var(--ease),border-color .28s}
body .feature-card:hover,body .content-card:hover,body .product-card:hover,body .post-card:hover,body .case-card:hover,body .process-card:hover{transform:translateY(-5px);box-shadow:var(--shadow);border-color:#d3dde9}
body .feature-card{padding:clamp(24px,2.6vw,34px);min-height:0}
body .feature-card h3,body .content-card h3,body .process-card h3{font-size:clamp(19px,1.7vw,22px);line-height:1.25;font-weight:700;margin:0 0 10px}
body .feature-card p,body .content-card p,body .process-card p{font-size:16px;line-height:1.7;color:var(--muted)}
body .feature-card-top{display:flex;align-items:center;gap:14px;width:100%;margin-bottom:22px}
body .feature-icon{width:56px;height:56px;border-radius:16px;display:grid;place-items:center;font-size:22px;font-weight:800;color:var(--accent);background:var(--accent-soft);flex:none}
body .feature-card-top small{margin-left:auto;font-size:13px;font-weight:700;color:#9aa8b8;letter-spacing:.08em}
body .feature-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr));gap:clamp(16px,2vw,26px)}
body .process-number{display:grid;place-items:center;width:46px;height:46px;border-radius:14px;background:var(--ink);color:#fff;font-weight:800;margin-bottom:18px}
body .stats-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:20px}
body .stat-card{padding:28px;text-align:left}
body .stat-card strong{font-family:var(--font-display);font-size:clamp(34px,4vw,48px);letter-spacing:-.04em;color:var(--ink)}

/* case studies / references */
body .case-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,460px),1fr));gap:clamp(16px,2vw,28px)}
body .case-card{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,.9fr);overflow:hidden;padding:0}
body .case-body{padding:clamp(24px,2.6vw,36px);display:flex;flex-direction:column;align-items:flex-start;gap:6px}
body .case-body h3{font-size:clamp(20px,2vw,25px);line-height:1.2}
body .case-tag{display:inline-block;font-size:12px;font-weight:800;letter-spacing:.1em;text-transform:uppercase;color:var(--accent-2);background:rgba(10,128,154,.09);padding:6px 12px;border-radius:999px;margin-bottom:10px}
body .case-result{font-size:14px;font-weight:600;color:var(--muted)}
body .case-link{margin-top:auto;padding-top:14px;font-weight:700;color:var(--accent-2)}
body .case-image{min-height:200px;background:var(--soft);overflow:hidden}
body .case-image img{width:100%;height:100%;object-fit:cover;object-position:top;transition:transform .6s var(--ease)}
body .case-card:hover .case-image img{transform:scale(1.04)}

/* products and posts */
body .product-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,340px),1fr));gap:clamp(18px,2.2vw,30px)}
body .product-card,body .post-card{padding:0;overflow:hidden}
body .product-card-media,body .home-insight-image{display:block;aspect-ratio:16/10;overflow:hidden;background:var(--soft)}
body .product-card-media img,body .home-insight-image img{width:100%;height:100%;object-fit:cover;transition:transform .6s var(--ease)}
body .product-card:hover .product-card-media img,body .post-card:hover img{transform:scale(1.05)}
body .product-card-body,body .home-insight-copy{padding:clamp(22px,2.4vw,30px);display:flex;flex-direction:column;flex:1}
body .product-card h3,body .post-card h3{font-size:clamp(20px,1.9vw,24px);margin:0 0 10px}
body .product-badge{border-radius:999px;font-weight:800}
body .price-line strong{font-family:var(--font-display);font-size:24px;letter-spacing:-.03em;color:var(--ink)}
body .product-arrow{width:44px;height:44px;border-radius:14px;display:grid;place-items:center;background:var(--ink);color:#fff;transition:transform .2s var(--ease),background .2s}
body .product-card:hover .product-arrow{transform:translate(3px,-3px);background:var(--accent)}

/* call-to-action band */
body .cta-panel{position:relative;overflow:hidden;padding:clamp(32px,5vw,64px);border-radius:clamp(24px,3vw,36px);background:radial-gradient(60% 120% at 100% 0%,rgba(16,176,136,.35),transparent 60%),linear-gradient(135deg,#08162a,#0b2e46);gap:28px 48px;box-shadow:var(--shadow-lg)}
body .cta-panel h2{font-size:clamp(28px,3.6vw,46px);line-height:1.08;color:#fff}
body .cta-panel p{font-size:18px;color:#bcd0de}
body .cta-panel .btn{min-height:54px;padding:0 30px;font-size:16px;white-space:nowrap}

/* faq */
body .faq-item{border:1px solid var(--line);border-radius:18px;background:#fff;margin-bottom:12px;padding:0 24px;box-shadow:var(--shadow-sm)}
body .faq-item summary{padding:20px 0;font-weight:700;font-size:17.5px;color:var(--ink);cursor:pointer}
body .faq-answer{padding-bottom:20px;color:var(--muted)}

/* ---------- 8. Page headers (products, blog, contact, legal) ---------- */
body .page-hero{position:relative;padding:clamp(48px,7vw,96px) 0 clamp(36px,5vw,64px);background:radial-gradient(50% 120% at 90% 0%,rgba(13,155,118,.12),transparent 62%),radial-gradient(40% 100% at 0% 0%,rgba(240,102,74,.08),transparent 60%),linear-gradient(180deg,#f8fbfd,#fff);border-bottom:1px solid var(--line)}
body .page-hero h1{font-size:clamp(36px,5.2vw,64px);line-height:1.06;letter-spacing:-.034em;font-weight:800;max-width:15em;margin-bottom:16px}
body .page-hero p{font-size:clamp(17px,1.5vw,20px);color:var(--muted);max-width:40em}

/* catalogue + blog controls */
body .catalogue-search,body .search-panel{background:#fff;border:1px solid var(--line);border-radius:20px;padding:18px;box-shadow:var(--shadow-sm)}
body .catalogue-filters a,body .category-panel a{border-radius:999px;font-weight:600}
body .catalogue-filters a.active{background:var(--ink);color:#fff}

/* product detail */
body .product-detail-modern{display:grid;grid-template-columns:minmax(0,1fr) 400px;gap:clamp(28px,4vw,64px);align-items:start;padding-block:clamp(24px,4vw,56px)}
body .product-intro h1{font-size:clamp(34px,4.6vw,58px);line-height:1.05;letter-spacing:-.045em;font-weight:800}
body .product-intro .lead{font-size:20px;color:var(--muted)}
body .product-main-media{border-radius:var(--radius);overflow:hidden;box-shadow:var(--shadow)}
body .purchase-panel{position:sticky;top:104px;background:#fff;border:1px solid var(--line);border-radius:26px;padding:28px;box-shadow:var(--shadow)}
body .purchase-option{padding:18px 0;border-top:1px solid var(--line)}
body .purchase-option .option-row strong{font-family:var(--font-display);font-size:28px;letter-spacing:-.035em;color:var(--ink)}
body .purchase-button{width:100%}
body .back-link{font-weight:600;color:var(--muted)}
body .back-link:hover{color:var(--ink)}

/* blog article */
body .post-article-modern .post-head{padding:clamp(36px,6vw,80px) 0 28px;max-width:860px;margin-inline:auto;width:calc(100% - 48px)}
body .post-head h1{font-size:clamp(34px,5vw,60px);line-height:1.05;letter-spacing:-.045em;font-weight:800}
body .post-image-modern{width:min(1040px,calc(100% - 48px));margin:0 auto 24px;border-radius:var(--radius);overflow:hidden;box-shadow:var(--shadow)}

/* ---------- 9. Forms (public + account) ---------- */
body .form-shell{width:min(520px,calc(100% - 40px));margin:clamp(36px,6vw,80px) auto;padding:clamp(26px,4vw,42px);border:1px solid var(--line);border-radius:28px;box-shadow:var(--shadow)}
body .form-shell h1{font-size:clamp(28px,3.6vw,38px);font-weight:800;letter-spacing:-.04em}
body .site-main .field label,body .account-main .field label,body .form-shell label{font-size:14px;font-weight:700;color:var(--ink);margin-bottom:8px}
body .site-main input:not([type=checkbox]):not([type=radio]):not([type=hidden]):not([type=range]),body .site-main select,body .site-main textarea,body .account-main input:not([type=checkbox]):not([type=radio]):not([type=hidden]),body .account-main select,body .account-main textarea{min-height:52px;border:1.5px solid var(--line);border-radius:14px;padding:13px 16px;background:#fff;color:var(--ink);font-size:16px;transition:border-color .18s,box-shadow .18s}
body .site-main textarea,body .account-main textarea{min-height:140px}
body .site-main input:focus,body .site-main select:focus,body .site-main textarea:focus,body .account-main input:focus,body .account-main select:focus,body .account-main textarea:focus{border-color:var(--accent);box-shadow:0 0 0 4px rgba(13,155,118,.16);outline:0}
body .alert{border-radius:16px;padding:14px 18px;font-weight:600;margin:15px auto;}

/* contact page */
body .contact-card,body .contact-business{border-radius:var(--radius);border:1px solid var(--line);box-shadow:var(--shadow-sm)}

/* ---------- 10. Footer, cookie banner ---------- */
body .cookie-banner{border-radius:22px;border:1px solid var(--line);box-shadow:var(--shadow-lg);max-width:460px}
body .privacy-settings-link{border-radius:999px;box-shadow:var(--shadow-sm);font-weight:600}

/* ---------- 10b. Refinements (beat older, more specific rules) ---------- */
body .product-intro h1,body .post-head h1{letter-spacing:-.034em;line-height:1.08}
body .feature-card.feature-card-modern{padding:clamp(24px,2.6vw,34px) clamp(24px,2.6vw,34px) 52px;position:relative}
body .feature-card .feature-icon{width:56px;height:56px;border-radius:16px;font-size:26px;line-height:1;background:var(--accent-soft)}
body .feature-card .feature-card-line{left:clamp(24px,2.6vw,34px);right:clamp(24px,2.6vw,34px);bottom:24px}
body .process-card{padding:clamp(24px,2.6vw,32px)}
body .home-products .product-card-body p{color:var(--muted);font-size:16px}

/* ---------- 10c. Layout rhythm ---------- */
/* products: two items share the row instead of leaving it half empty; a lone item stays a sensible width */
body .product-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,360px),1fr))}
body .product-grid:has(>:only-child){grid-template-columns:minmax(0,560px)}
/* a single article becomes a wide featured card */
body .home-insights-grid>.home-insight-card:only-child{grid-column:1/-1;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);align-items:stretch}
body .home-insights-grid>.home-insight-card:only-child .home-insight-image{aspect-ratio:auto;min-height:260px;height:100%}
body .home-insights-grid>.home-insight-card:only-child .home-insight-image img{object-fit:cover}
body .home-insights-grid>.home-insight-card:only-child .home-insight-copy{justify-content:center;padding:clamp(24px,4vw,56px)}
body .home-insights-grid>.home-insight-card:only-child h3{font-size:clamp(24px,3vw,36px)}
/* the closing call to action replaces the footer one on the home page */
body.is-home .site-main>.content-section:last-child{padding-bottom:clamp(40px,6vw,88px)}
/* section backgrounds alternate softly */
body .home-insights{background:linear-gradient(180deg,#fff,var(--soft))}
@media (max-width:860px){body .home-insights-grid>.home-insight-card:only-child{grid-template-columns:1fr}}

/* ---------- 10d. Artwork shapes ---------- */
/* project screenshots are about 2:1, so show them whole on top of the card */
body .case-card{grid-template-columns:1fr}
body .case-image{order:-1;aspect-ratio:2/1;min-height:0}
body .case-image img{object-position:top left}
/* square product art: when only one or two products exist, lay each card out sideways */
@media (min-width:900px){
  body .product-grid:not(:has(>:nth-child(3))) .product-card-modern{display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr)}
  body .product-grid:not(:has(>:nth-child(3))) .product-card-media{aspect-ratio:1/1;width:100%;height:auto;align-self:center;min-width:0}
  body .product-grid:not(:has(>:nth-child(3))) .product-card-media img{width:100%;height:100%}
  body .product-grid:not(:has(>:nth-child(3))) .product-card-body{justify-content:center;min-width:0}
}
body .product-card.product-card-modern{min-height:0; padding: 0 25px;}
body .product-card-media{aspect-ratio:1/1}
body .product-card-media img{object-fit:cover}
body .home-insights-grid>.home-insight-card:only-child .home-insight-image{background:#fff}
body .home-insights-grid>.home-insight-card:only-child .home-insight-image img{object-fit:contain;padding:clamp(12px,3vw,40px)}
body .hero-proof{font-size:15px;gap:12px 26px}

/* ---------- 10e. Long-form content ---------- */
body .product-long-content .content-section,body .post-content-modern .content-section{padding:clamp(14px,2vw,26px) 0}
body .product-long-content .content-narrow,body .product-long-content .content-wide{width:100%}
body .product-long-content h2{font-size:clamp(24px,3vw,34px);margin-top:.4em}
body .post-content-modern .prose{font-size:clamp(17px,1.4vw,19px);line-height:1.85}

/* ---------- 10f. Blog index and footer details ---------- */
body .blog-grid-index>.post-card-index:only-child{grid-column:1/-1;display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);padding:0;overflow:hidden}
body .blog-grid-index>.post-card-index:only-child .post-card-image{display:block;background:#fff;aspect-ratio:auto;min-height:260px}
body .blog-grid-index>.post-card-index:only-child .post-card-image img{width:100%;height:100%;object-fit:contain;padding:clamp(12px,3vw,36px)}
body .blog-grid-index>.post-card-index:only-child .post-card-copy{display:flex;flex-direction:column;justify-content:center;padding:clamp(22px,3.4vw,44px)}
body .blog-grid-index>.post-card-index:only-child h2{font-size:clamp(26px,3vw,38px);line-height:1.1}
body .blog-grid-index .post-card-image img{transition:transform .6s var(--ease)}
@media (max-width:760px){body .blog-grid-index>.post-card-index:only-child{grid-template-columns:1fr}}

/* ---------- 10g. Admin and account polish ---------- */
body .admin-mobile-toggle{display:inline-flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;border-radius:12px;border:1.5px solid var(--line);background:#fff;cursor:pointer}
body .admin-mobile-toggle span{display:block;width:20px;height:2px;border-radius:2px;background:var(--ink)}
body .admin-table th{font-size:11.5px;letter-spacing:.08em;text-transform:uppercase;color:#66768a;font-weight:700}
body .admin-table tbody tr{transition:background .15s}
body .admin-table tbody tr:hover{background:#f5f9fb}
body .admin-card,body .panel{border-radius:18px}
body .account-settings-card,body .panel.account-settings-card{box-shadow:var(--shadow-sm)}

/* ---------- 10h. Checkout panel ---------- */
body .checkout-controls{display:grid;grid-template-columns:1fr;gap:10px;margin-top:16px}
body .checkout-controls select{min-height:48px;font-size:15px;background:#fff;border:1.5px solid var(--line);border-radius:14px;padding:0 14px;color:var(--ink)}
body .checkout-controls .btn{width:100%;min-height:54px;font-size:16px}
body .purchase-terms{margin-top:16px}
body .purchase-terms summary{font-size:14px;font-weight:700;color:var(--ink);cursor:pointer;padding:6px 0}
body .purchase-consents{display:grid;gap:10px;margin-top:10px}
body .purchase-consents label{display:flex;align-items:flex-start;gap:12px;padding:14px 16px;border:1.5px solid var(--line);border-radius:14px;background:#fff;font-size:14px;line-height:1.55;color:var(--text);cursor:pointer;transition:border-color .2s,background .2s,box-shadow .2s}
body .purchase-consents label:hover{border-color:#bfd0de}
body .purchase-consents input[type=checkbox]{flex:none;width:22px;height:22px;margin:1px 0 0;accent-color:var(--accent);cursor:pointer}
body .purchase-consents label:has(input:checked){border-color:var(--accent);background:var(--accent-soft)}
body .consent-note{margin:12px 0 0;padding:12px 14px;border-radius:12px;background:#fff3ef;border:1px solid #f4bfae;color:#9b3118;font-size:14px;font-weight:600;line-height:1.5}
body .consent-note[hidden]{display:none}
body .purchase-consents.needs-consent label:has(input:invalid){border-color:var(--coral);background:#fff8f6;box-shadow:0 0 0 4px rgba(240,102,74,.14);animation:consentNudge .45s var(--ease)}
@keyframes consentNudge{0%,100%{transform:translateX(0)}25%{transform:translateX(-6px)}60%{transform:translateX(5px)}}

/* ---------- 10i. Footer (design system 2.0) ---------- */
body .site-footer.wf{position:relative;margin-top:0;background:#060d1a;color:#a8b6c7;overflow:hidden;isolation:isolate}
body .site-footer.wf::before{content:"";position:absolute;inset:0;z-index:-1;background:radial-gradient(60% 55% at 85% -5%,rgba(16,176,136,.20),transparent 62%),radial-gradient(45% 50% at 0% 100%,rgba(10,142,166,.16),transparent 60%)}
.wf-bg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:.1;z-index:-2}
.wf-wrap{width:min(var(--max),calc(100% - 48px));margin-inline:auto;padding:clamp(44px,6vw,84px) 0 84px}
.wf a{color:inherit;text-decoration:none}

/* call to action card */
.wf-cta{display:flex;align-items:center;justify-content:space-between;gap:24px 48px;padding:clamp(26px,4vw,48px);margin-bottom:clamp(40px,6vw,72px);border-radius:28px;background:linear-gradient(135deg,rgba(16,176,136,.24),rgba(10,142,166,.14) 55%,rgba(255,255,255,.04));border:1px solid rgba(255,255,255,.13);box-shadow:0 24px 60px rgba(0,0,0,.28)}
.wf-eyebrow{display:inline-block;font-size:12.5px;font-weight:800;letter-spacing:.14em;text-transform:uppercase;color:#5fe0bd}
.wf .wf-cta h2{font-size:clamp(24px,3vw,38px);line-height:1.12;color:#fff;margin:8px 0 10px;max-width:20em}
.wf-cta p{margin:0;max-width:46ch;color:#b9c8d8;font-size:17px;line-height:1.65}
.wf-cta .btn{flex:none;min-height:54px;padding:0 30px;font-size:16px;white-space:nowrap}

/* main grid: brand on the left, link columns on the right */
.wf-main{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,2fr);gap:clamp(32px,5vw,88px);padding-bottom:clamp(32px,4vw,52px)}
.wf-logo{display:inline-block}
.wf-logo img{height:44px;width:auto}
.wf-tagline{font-family:var(--font-display);font-size:clamp(19px,1.7vw,22px);line-height:1.38;font-weight:700;letter-spacing:-.02em;color:#fff;margin:22px 0 12px;max-width:21em}
.wf-desc{font-size:15.5px;line-height:1.75;margin:0 0 24px;max-width:34em;color:#a8b6c7}
.wf-social{display:flex;flex-wrap:wrap;gap:10px;list-style:none;margin:0;padding:0}
.wf-social a{display:inline-flex;align-items:center;gap:9px;min-height:42px;padding:0 15px 0 8px;border-radius:999px;border:1px solid rgba(255,255,255,.14);background:rgba(255,255,255,.03);font-size:14px;font-weight:600;color:#dbe5f0;transition:background .2s,color .2s,transform .2s var(--ease),border-color .2s}
.wf-social a:hover{background:#fff;color:var(--ink);border-color:#fff;transform:translateY(-2px)}
.wf-social-ico{display:grid;place-items:center;width:28px;height:28px;border-radius:50%;background:rgba(255,255,255,.1);font-size:13px;font-weight:700;line-height:1}
.wf-social a:hover .wf-social-ico{background:var(--accent-soft);color:var(--accent)}

.wf-cols{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:clamp(26px,3vw,52px);align-content:start}
.wf-col h3{font-family:var(--font-display);font-size:12.5px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:#7f93a8;margin:4px 0 18px}
.wf-col ul{list-style:none;margin:0;padding:0;display:grid;gap:2px}
.wf-col>ul a{display:inline-block;padding:6px 0;font-size:15.5px;color:#c4d0de;transition:color .18s,transform .18s var(--ease)}
.wf-col>ul a:hover{color:#fff;transform:translateX(4px)}
.wf-contact{grid-column:span 1}
.wf-contact-list li{display:flex;align-items:flex-start;gap:12px;padding:7px 0;color:#c4d0de;font-size:15.5px;line-height:1.55;overflow-wrap:anywhere}
.wf-contact-list a:hover{color:#fff}
.wf-ico{flex:none;display:grid;place-items:center;width:36px;height:36px;border-radius:11px;background:rgba(255,255,255,.07);color:#5fe0bd}
.wf-legal-ids{display:flex;flex-wrap:wrap;gap:8px;margin:14px 0 0;font-size:12.5px;color:#8b9db2}
.wf-legal-ids strong{flex:1 0 100%;color:#c4d0de;font-weight:600;font-size:13.5px}
.wf-legal-ids span{padding:5px 11px;border-radius:999px;border:1px solid rgba(255,255,255,.12)}

/* works with */
.wf-badges{display:flex;flex-wrap:wrap;align-items:center;gap:12px;padding:24px 0;border-top:1px solid rgba(255,255,255,.1)}
.wf-badges-label{margin-right:8px;font-size:12.5px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:#7f93a8}
.wf-badge{display:inline-flex;align-items:center;min-height:46px;padding:0 16px;border-radius:14px;background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.09);color:#c4d0de;transition:background .2s,transform .2s var(--ease)}
a.wf-badge:hover{background:rgba(255,255,255,.1);transform:translateY(-2px)}
.wf-badge img{height:22px;width:auto;max-width:120px;opacity:.9}

/* bottom bar */
.wf-bottom{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px 28px;padding-top:22px;border-top:1px solid rgba(255,255,255,.1);font-size:14px;color:#8b9db2}
.wf-bottom p{margin:0}
.wf-note{margin-right:auto!important}
.wf-top{display:inline-flex;align-items:center;gap:8px;min-height:40px;padding:0 16px;border-radius:999px;border:1px solid rgba(255,255,255,.14);font-weight:600;color:#dbe5f0;transition:background .2s,color .2s}
.wf-top:hover{background:#fff;color:var(--ink)}

body.is-home .wf-cta{display:none}
body.is-home .wf-wrap{padding-top:clamp(48px,6vw,88px)}

@media (max-width:1024px){
  .wf-main{grid-template-columns:1fr}
  .wf-tagline,.wf-desc{max-width:36em}
}
@media (max-width:760px){
  .wf-wrap{width:calc(100% - 40px);padding-bottom:92px}
  body .purchase-panel{padding:20px}
  body .purchase-consents label{padding:12px;gap:10px}
  .wf-cta{flex-direction:column;align-items:flex-start;border-radius:22px}
  .wf-cta .btn{width:100%}
  .wf-cols{grid-template-columns:repeat(2,minmax(0,1fr));gap:28px 20px}
  .wf-contact{grid-column:1/-1}
  .wf-note{margin-right:0!important;flex:1 0 100%}
  .wf-bottom{align-items:flex-start}
}
@media (max-width:420px){
  .wf-social a{flex:1 1 calc(50% - 10px);justify-content:flex-start}
}

/* ---------- 11. Tablet ---------- */
body .product-copy,body .purchase-panel,body .product-long-content,body .product-media-gallery{min-width:0}
body .product-thumbs{display:flex;gap:10px;overflow-x:auto;scrollbar-width:thin;padding-bottom:6px}
body .product-thumbs>*{flex:none}
body .product-long-content img,body .prose img,body .prose table,body .prose iframe{max-width:100%}
body .prose table{display:block;overflow-x:auto}
@media (max-width:1024px){
  body .product-detail-modern{grid-template-columns:minmax(0,1fr)}
  body .purchase-panel{position:static}
  body .case-card{grid-template-columns:1fr}
  body .case-image{order:-1;min-height:220px}
}

@media (min-width:601px) and (max-width:1024px){
  body .process-grid,body .feature-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  body .stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}

/* ---------- 12. Phone ---------- */
@media (max-width:860px){
  body .hero-section{grid-template-columns:1fr;padding-top:36px}
  body .hero-studio{max-width:640px}
  body .section-heading{flex-direction:column;align-items:flex-start}
  body .cta-panel{flex-direction:column;align-items:flex-start}
}
@media (max-width:600px){
  body{font-size:16px;line-height:1.65}
  body .content-wide,body .content-narrow,body .nav-wrap{width:calc(100% - 40px)}
  body .nav-wrap{height:68px;gap:12px}
  body .brand img{height:38px}
  body .hero-copy h1{font-size:clamp(34px,10vw,44px);letter-spacing:-.04em}
  body .hero-actions{flex-direction:column;align-items:stretch}
  body .hero-actions .btn,body .cta-panel .btn{width:100%}
  body .section-heading h2,body .content-section h2{font-size:clamp(27px,8vw,34px)}
  body .feature-card,body .content-card{padding:22px}
  body .product-grid,body .case-grid{grid-template-columns:1fr}
  body .page-hero h1{font-size:clamp(32px,9.5vw,42px)}
  body .cookie-banner{left:12px;right:12px;bottom:12px;max-width:none}
  /* account bar: compact buttons so labels stay on one line */
  body .nav-actions{gap:6px}
  body .nav-actions .btn,body .nav-actions form .btn{min-height:38px;padding:0 12px;font-size:13px;white-space:nowrap;border-radius:11px}
  body .site-header .brand img{height:32px}
  body .btn{min-height:50px}
  /* card groups become swipeable rows: shorter page, next card peeks in as a hint */
  body .process-grid,body .feature-grid,body .case-grid{display:flex;gap:14px;overflow-x:auto;scroll-snap-type:x mandatory;scroll-padding-inline:20px;-webkit-overflow-scrolling:touch;margin-inline:-20px;padding:4px 20px 20px;scrollbar-width:none}
  body .process-grid::-webkit-scrollbar,body .feature-grid::-webkit-scrollbar,body .case-grid::-webkit-scrollbar{display:none}
  body .process-grid>*,body .feature-grid>*,body .case-grid>*{flex:0 0 84%;scroll-snap-align:start}
  body .stats-grid{grid-template-columns:repeat(2,1fr)}
}

/* ---------- 13. Bot-protection widget (reCAPTCHA / Turnstile) ---------- */
body .captcha-box{margin:0 0 16px;min-height:0}
body .captcha-note{margin:8px 0 0;font-size:14px;line-height:1.5;color:#b42318}
body .captcha-legal{margin:0 0 14px;font-size:12.5px;line-height:1.55;color:var(--muted)}
body .captcha-legal a{color:inherit;text-decoration:underline}
.grecaptcha-badge{visibility:hidden}
@media(max-width:400px){body .captcha-box .g-recaptcha{transform:scale(.88);transform-origin:0 0;height:68px}}

/* ---------- 14. Image viewer (product pictures) ---------- */
body .product-main-media.is-zoomable{position:relative;cursor:zoom-in}
body .product-main-media.is-zoomable::after{content:"";position:absolute;right:14px;bottom:14px;width:40px;height:40px;border-radius:50%;background:rgba(10,22,40,.72) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m21 21-4.3-4.3M11 8v6M8 11h6'/%3E%3C/svg%3E") center/20px no-repeat;opacity:.9;transition:transform .2s,opacity .2s;pointer-events:none}
body .product-main-media.is-zoomable:hover::after{transform:scale(1.08);opacity:1}
body .product-main-media.is-zoomable:focus-visible{outline:3px solid var(--accent);outline-offset:3px}
body .product-long-content img.is-zoomable{cursor:zoom-in}
.wl{position:fixed;inset:0;z-index:1000;display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:8px;padding:12px;background:rgba(6,12,24,.92);backdrop-filter:blur(6px);animation:wl-in .18s ease}
.wl[hidden]{display:none}
@keyframes wl-in{from{opacity:0}to{opacity:1}}
.wl-open{overflow:hidden}
.wl-stage{grid-column:2;margin:0;display:grid;justify-items:center;align-content:center;gap:12px;max-height:calc(100dvh - 24px);overflow:hidden;min-width:0}
.wl-stage img{max-width:100%;max-height:calc(100dvh - 90px);width:auto;height:auto;object-fit:contain;border-radius:10px;background:#fff;box-shadow:0 20px 70px rgba(0,0,0,.5);cursor:zoom-in;transition:opacity .2s}
.wl-loading .wl-stage img{opacity:.25}
.wl-zoomed .wl-stage{overflow:auto;align-content:start;justify-items:start}
.wl-zoomed .wl-stage img{max-width:100%;max-height:none;cursor:zoom-out;margin:0 auto;}
.wl-stage figcaption{max-width:70ch;text-align:center;color:#d4deea;font-size:14px;line-height:1.5}
.wl-zoomed .wl-stage figcaption{display:none}
.wl-nav,.wl-close{display:grid;place-items:center;width:48px;height:48px;border:0;border-radius:50%;background:rgba(255,255,255,.12);color:#fff;font-size:30px;line-height:1;cursor:pointer;transition:background .15s}
.wl-nav:hover,.wl-close:hover{background:rgba(255,255,255,.24)}
.wl-nav[hidden]{display:none}
.wl-prev{grid-column:1}.wl-next{grid-column:3}
.wl-close{position:absolute;top:14px;right:14px;z-index:2;font-size:28px}
.wl-count{position:absolute;left:50%;bottom:14px;transform:translateX(-50%);padding:4px 12px;border-radius:999px;background:rgba(255,255,255,.12);color:#fff;font-size:13px}
.wl-count:empty{display:none}
@media(max-width:640px){.wl{grid-template-columns:minmax(0,1fr);padding:56px 8px 40px}.wl-stage{grid-column:1}.wl-nav{position:absolute;top:50%;transform:translateY(-50%);width:42px;height:42px;font-size:26px;background:rgba(10,22,40,.55)}.wl-prev{left:8px}.wl-next{right:8px}.wl-stage img{max-height:calc(100dvh - 120px)}}
@media(prefers-reduced-motion:reduce){.wl{animation:none}}

/* ---------- 15. Full Setup Service (product page + confirmations) ---------- */
body .setup-offer{display:flex;gap:12px;align-items:flex-start;margin:14px 0 4px;padding:14px 16px;border:1.5px dashed #9ddbc7;border-radius:14px;background:#f3fbf8;cursor:pointer;transition:border-color .15s,background .15s}
body .setup-offer:hover{border-color:var(--accent);background:#ecf9f4}
body .setup-offer input{flex:0 0 auto;width:20px;height:20px;margin-top:2px;accent-color:var(--accent)}
body .setup-offer-body{display:grid;gap:3px;min-width:0}
body .setup-offer-body strong{font-size:15px;line-height:1.35;color:var(--ink)}
body .setup-offer-body em{font-style:normal;font-weight:700;color:var(--accent)}
body .setup-offer-body small{font-size:13.5px;line-height:1.5;color:var(--muted)}
body .setup-total{margin:6px 2px 10px;font-size:14px;font-weight:600;color:var(--ink)}
body .setup-total[hidden]{display:none}
body .checkout-setup-note{display:grid;gap:4px;margin:18px 0;padding:16px 18px;border:1px solid #bfe9d9;border-radius:14px;background:#e9f8f2;text-align:left;color:#0b5a42}
body .checkout-setup-note span{font-size:14.5px;line-height:1.55}

/* ---------- 16. Account: update notices and download groups ---------- */
body .update-banner{display:flex;align-items:center;gap:16px;margin:0 0 22px;padding:16px 20px;border:1px solid #9ddbc7;border-radius:16px;background:linear-gradient(135deg,#ecf9f4,#f3fbf8);color:#0b5a42}
body .update-banner>div{flex:1;min-width:0}
body .update-banner strong{display:block;font-size:16px;color:#064c38}
body .update-banner p{margin:3px 0 0;font-size:14.5px;line-height:1.55;color:#2c6b57}
body .update-banner-icon{display:grid;place-items:center;flex:0 0 auto;width:40px;height:40px;border-radius:50%;background:var(--grad);color:#fff;font-size:22px;font-weight:700}
body .update-banner-compact{margin:12px 0 4px;padding:12px 16px}
body .update-banner-compact strong{font-size:15px}
body .download-group{margin:0 0 26px}
body .download-group-head{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin:0 0 12px}
body .download-group-head h2{margin:0;font-size:20px}
body .download-card{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin:0 0 12px;padding:18px 20px;border:1px solid var(--line);border-radius:16px;background:#fff}
body .download-card.has-update{border-color:#9ddbc7;box-shadow:0 0 0 3px rgba(13,155,118,.08)}
body .download-info{min-width:0;flex:1}
body .download-info h3{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:0 0 4px;font-size:17px;word-break:break-word}
body .download-info p{margin:2px 0;font-size:14.5px;color:var(--muted)}
body .update-badge{display:inline-flex;align-items:center;padding:3px 11px;border-radius:999px;background:var(--grad);color:#fff;font-size:12.5px;font-weight:700;letter-spacing:.02em;white-space:nowrap}
body .update-note{color:#0b5a42!important;font-weight:500}
body .download-current{color:#0b6a4d!important;font-weight:600}
body .release-notes{margin:10px 0 0;padding:10px 14px;border-radius:12px;background:#f5f8fb;font-size:14.5px}
body .release-notes summary{cursor:pointer;font-weight:650;color:var(--ink)}
body .release-notes div{margin-top:8px;line-height:1.6;color:var(--text)}
body .nav-badge{display:inline-grid;place-items:center;min-width:20px;height:20px;padding:0 6px;margin-left:6px;border-radius:999px;background:var(--coral);color:#fff;font-size:12px;font-weight:700;line-height:1}
@media(max-width:640px){body .download-card,body .update-banner{flex-direction:column;align-items:stretch}body .download-card .btn,body .update-banner .btn{width:100%}body .update-banner-icon{width:34px;height:34px}}

/* ---------- 17. Account: order page ---------- */
body .ord-actions{display:flex;gap:10px;flex-wrap:wrap}
body .ord-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:0 0 22px}
body .ord-summary>div{padding:16px 18px;border:1px solid var(--line);border-radius:14px;background:#fff}
body .ord-summary span{display:block;font-size:13px;font-weight:600;color:var(--muted)}
body .ord-summary strong{display:block;margin-top:6px;font-size:19px;line-height:1.25;color:var(--ink);word-break:break-word}
body .ord-card .panel-head{padding-bottom:6px}
body .ord-lines{padding:4px 22px 18px}
body .ord-line{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;padding:14px 0;border-bottom:1px solid var(--line)}
body .ord-line a{font-weight:700;font-size:16px;color:var(--ink);text-decoration:none}
body .ord-line a:hover{color:var(--accent)}
body .ord-line small{display:block;margin-top:2px;color:var(--muted);font-size:13.5px}
body .ord-line strong{font-size:16px;color:var(--ink);white-space:nowrap}
body .ord-totals{display:grid;gap:6px;margin:14px 0 0 auto;max-width:340px}
body .ord-totals>div{display:flex;justify-content:space-between;gap:16px;font-size:14.5px;color:var(--muted)}
body .ord-total-main{margin-top:4px;padding-top:10px;border-top:2px solid var(--ink);font-size:18px!important;font-weight:800;color:var(--ink)!important}
body .ord-empty{margin:0;padding:6px 22px 20px;color:var(--muted)}
body .ord-help{display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap;margin:22px 0 0;padding:20px 22px;border:1px solid #bfe9d9;border-radius:16px;background:linear-gradient(135deg,#f0fbf7,#f6fbfd)}
body .ord-help strong{display:block;font-size:17px;color:var(--ink)}
body .ord-help p{margin:3px 0 0;color:var(--muted);font-size:14.5px}
body .ord-help-links{display:flex;gap:10px;flex-wrap:wrap}
@media(max-width:820px){body .ord-summary{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:520px){body .ord-summary{grid-template-columns:1fr}body .ord-actions,body .ord-help-links{width:100%}body .ord-actions .btn,body .ord-help-links .btn{flex:1}}

/* ---------- 18. Account: support cases ---------- */
body .sup-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:0 0 20px}
body .sup-stats>div{padding:16px 18px;border:1px solid var(--line);border-radius:14px;background:#fff}
body .sup-stats strong{display:block;font-size:26px;line-height:1.1;color:var(--ink);font-family:var(--font-display)}
body .sup-stats span{display:block;margin-top:4px;font-size:13.5px;font-weight:600;color:var(--muted)}
body .sup-list{display:grid;gap:12px}
body .sup-case{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:18px 20px;border:1px solid var(--line);border-radius:16px;background:#fff;text-decoration:none;color:inherit;transition:border-color .15s,box-shadow .15s,transform .15s}
body .sup-case:hover{border-color:#9ddbc7;box-shadow:0 8px 24px rgba(10,22,40,.07);transform:translateY(-1px)}
body .sup-case.is-unread{border-color:#9ddbc7;background:linear-gradient(135deg,#f3fbf8,#fff)}
body .sup-case-main{min-width:0}
body .sup-case-main strong{display:block;font-size:16.5px;line-height:1.35;color:var(--ink);word-break:break-word}
body .sup-case-main span{display:block;margin-top:3px;font-size:13.5px;color:var(--muted)}
body .sup-case-side{display:flex;align-items:center;gap:12px;flex:0 0 auto;flex-wrap:wrap;justify-content:flex-end}
body .sup-case-side small{color:var(--muted);font-size:13px}
body .sup-new{padding:3px 10px;border-radius:999px;background:var(--coral);color:#fff;font-size:12px;font-weight:700}
body .status-open{background:#e8f0fd;color:#1d4fb8}
body .status-awaiting_customer{background:#fff1d6;color:#8a5300}
body .status-resolved{background:#e6f7f1;color:#067a59}
body .status-closed{background:#eaeef3;color:#334155}
body .sup-empty{display:grid;justify-items:center;gap:10px;padding:48px 24px;text-align:center}
body .sup-empty-icon{display:grid;place-items:center;width:56px;height:56px;border-radius:16px;background:var(--accent-soft);color:var(--accent);font:800 26px var(--font-display)}
body .sup-empty h2{margin:6px 0 0;font-size:22px}
body .sup-empty p{max-width:46ch;margin:0 0 10px;color:var(--muted)}
body .sup-form{padding:26px}
body .sup-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 20px}
body .sup-span-2{grid-column:1 / -1}
body .sup-grid .field{margin:0}
body .sup-grid textarea{min-height:200px}
body .sup-hint{display:block;margin-top:6px;font-size:13px;color:var(--muted)}
body .sup-form-foot{display:flex;align-items:center;gap:16px;flex-wrap:wrap;margin-top:22px;padding-top:20px;border-top:1px solid var(--line)}
body .sup-form-foot span{font-size:13.5px;color:var(--muted)}
body .sup-layout{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:22px;align-items:start}
body .sup-thread{display:grid;gap:16px;margin:0 0 20px}
body .sup-msg{display:flex;gap:12px;align-items:flex-start}
body .sup-msg.is-customer{flex-direction:row-reverse}
body .sup-avatar{display:grid;place-items:center;flex:0 0 auto;width:38px;height:38px;border-radius:50%;background:#e8eef4;color:var(--ink);font:800 15px var(--font-display)}
body .sup-msg.is-agent .sup-avatar{background:var(--grad);color:#fff}
body .sup-bubble{min-width:0;max-width:min(640px,100%);padding:14px 18px;border:1px solid var(--line);border-radius:16px;background:#fff}
body .sup-msg.is-agent .sup-bubble{border-color:#bfe9d9;background:#f3fbf8}
body .sup-bubble header{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:0 0 6px;font-size:13.5px}
body .sup-bubble header strong{color:var(--ink)}
body .sup-bubble time{margin-left:auto;color:var(--muted);font-size:12.5px}
body .sup-tag{padding:1px 8px;border-radius:999px;background:#e6f7f1;color:#067a59;font-size:12px;font-weight:600}
body .sup-body{font-size:15.5px;line-height:1.7;color:var(--text);word-break:break-word}
body .sup-files{display:flex;flex-wrap:wrap;gap:10px;margin-top:12px}
body .sup-file{display:flex;align-items:center;gap:10px;max-width:260px;padding:8px 12px;border:1px solid var(--line);border-radius:12px;background:#fff;color:var(--ink);font-size:13.5px;font-weight:600;text-decoration:none;word-break:break-all}
body .sup-file img{width:48px;height:48px;object-fit:cover;border-radius:8px}
body .sup-file small{display:block;font-weight:400;color:var(--muted)}
body .sup-file-icon{display:grid;place-items:center;width:40px;height:40px;border-radius:8px;background:#eef2f7;color:var(--muted);font-size:11px;font-weight:800}
body .sup-closed{margin:0 0 14px;padding:12px 16px;border:1px dashed #bfe9d9;border-radius:12px;background:#f3fbf8;color:#2c6b57;font-size:14.5px}
body .sup-reply{padding:20px}
body .sup-reply label{display:block;margin:0 0 8px;font-weight:700;color:var(--ink)}
body .sup-reply textarea{width:100%;min-height:130px}
body .sup-reply-foot{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;margin-top:12px}
body .sup-reply-foot input[type=file]{font-size:13.5px;max-width:100%}
body .sup-dl{display:grid;grid-template-columns:auto 1fr;gap:8px 14px;margin:0;padding:6px 22px 18px;font-size:14px}
body .sup-dl dt{color:var(--muted)}
body .sup-dl dd{margin:0;color:var(--ink);font-weight:600;text-align:right;word-break:break-word}
body .sup-close{padding:0 22px 20px}
body .sup-close .btn{width:100%}
@media(max-width:900px){body .sup-layout{grid-template-columns:minmax(0,1fr)}}
@media(max-width:640px){body .sup-grid{grid-template-columns:minmax(0,1fr)}body .sup-case{flex-direction:column;align-items:flex-start}body .sup-case-side{justify-content:flex-start}body .sup-stats{gap:10px}body .sup-msg.is-customer{flex-direction:row}body .sup-form{padding:20px}}

/* ---------- 19. Mobile pass: readable text, buying first, tidier blog filters ---------- */
/* nothing below 12px, anywhere */
body :is(.hero-proof span,.hero-studio-head span,.hero-studio-head strong,.hero-studio-feature small,.hero-studio-foot span,.hero-studio-foot strong,.hero-capability small,.process-number,.product-type,.product-sku,.purchase-secure,.post-meta,.category-kicker,.price-line small,.post-end span,.product-card small,.post-card small){font-size:max(12px,.75rem)}
body :is(.hero-studio-feature p,.hero-capability strong){font-size:max(12.5px,.78rem)}
body small{font-size:max(12px,.8em)}

@media(max-width:800px){
  /* On a phone the purchase panel used to come after the whole description (about 15,000 px down). Put it right after the pictures. */
  body .product-detail-modern{display:flex;flex-direction:column;gap:22px}
  body .product-detail-modern>.product-copy{display:contents}
  body .product-detail-modern>*,body .product-detail-modern .product-copy>*{min-width:0;max-width:100%}
  body .product-detail-modern .product-intro{order:1;margin:0}
  body .product-detail-modern .product-media-gallery,body .product-detail-modern .product-main-placeholder{order:2}
  body .product-detail-modern .product-benefits{order:3}
  body .product-detail-modern>.purchase-panel{order:4;margin:0}
  body .product-detail-modern .product-long-content{order:5;margin-top:10px}
}

@media(max-width:780px){
  /* blog: compact topic chips and search so the first article is visible sooner */
  body .category-panel{padding:14px 16px;border-radius:16px}
  body .category-panel h2{margin:2px 0 10px;font-size:20px}
  body .category-panel nav{display:flex;flex-wrap:nowrap;gap:8px;overflow-x:auto;padding-bottom:4px;scrollbar-width:none}
  body .category-panel nav::-webkit-scrollbar{display:none}
  body .category-panel nav a{flex:0 0 auto;white-space:nowrap}
  body .catalogue-search{padding:14px;margin:0 0 14px}
}
/* footer call-to-action button: dark text on the white button (it inherited the pale footer link colour) */
body .site-footer .wf-cta .btn-light,body .site-footer .wf-cta .wf-cta-btn{color:var(--ink)!important}
body .site-footer .wf-cta .wf-cta-btn:hover{color:var(--accent)!important}

/* ---------- 20. Mobile pass 2: account area ---------- */
body .nav-actions .btn{font-size:max(12.5px,.8rem)}
@media(max-width:800px){
  /* menu: one compact swipeable row instead of a tall box with a scrollbar */
  body .account-shell{gap:14px;margin-top:16px}
  body .account-sidebar{padding:6px;border-radius:14px;overflow-x:auto;scrollbar-width:none}
  body .account-sidebar::-webkit-scrollbar{display:none}
  body .account-nav{display:flex;flex-direction:row;gap:4px;padding:0;min-width:max-content}
  body .account-nav a{display:inline-flex;align-items:center;flex:0 0 auto;min-height:40px;padding:0 14px;border-radius:10px;white-space:nowrap}
}
@media(max-width:700px){
  /* tables in the account area turn into cards */
  body .data-table.is-stackable{min-width:0;display:block}
  body .data-table.is-stackable thead{display:none}
  body .data-table.is-stackable tbody{display:grid;gap:10px;padding:12px}
  body .data-table.is-stackable tr{display:block;padding:12px 14px;border:1px solid var(--line);border-radius:12px;background:#fff}
  body .data-table.is-stackable td{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;padding:5px 0;border:0;text-align:right;word-break:break-word}
  body .data-table.is-stackable td::before{content:attr(data-label);flex:0 0 36%;max-width:42%;padding-top:2px;text-align:left;color:var(--muted);font-size:12px;font-weight:700;letter-spacing:.05em;text-transform:uppercase}
  body .data-table.is-stackable td:first-child{display:block;padding:0 0 6px;text-align:left;font-weight:700}
  body .data-table.is-stackable td:first-child::before,body .data-table.is-stackable td:not([data-label])::before{display:none}
  body .data-table.is-stackable td[colspan]{display:block;padding:18px 0;text-align:center}
  body .data-table.is-stackable td[colspan]::before{display:none}
}
@media(max-width:520px){
  body .account-stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  body .account-stat{padding:14px 16px}
  body .ord-summary{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  body .ord-summary>div{padding:13px 14px}
  body .ord-summary strong{font-size:16px}
  body .ord-help-links{flex-direction:column}
  body .ord-help-links .btn{width:100%;white-space:normal}
  body .update-banner .btn{width:100%}
}
@media(max-width:360px){body .ord-summary{grid-template-columns:1fr}}

@media(max-width:700px){
  body .data-table.is-stackable td:has(form){display:block;text-align:left}
  body .data-table.is-stackable td:has(form)::before{display:block;max-width:none;margin:0 0 6px}
}

/* ---------- 21. Text floors that must win over older, more specific rules ---------- */
body :is(.hero-proof span,.hero-studio-head span,.hero-studio-head strong,.hero-studio-feature small,.hero-studio-foot span,.hero-studio-foot strong,.hero-capability small,.process-number,.product-type,.product-sku,.purchase-secure,.post-meta,.category-kicker,.price-line small,.post-end span,.product-card small,.post-card small,.product-card-modern .product-type,.post-card .post-meta,.product-card .product-type){font-size:max(12px,.75rem)!important}
body small{font-size:max(12px,.8em)!important}
body .nav-actions .btn,body .nav-actions form .btn{font-size:max(12.5px,.8rem)!important}

/* ---------- 22. Last small-text and header-fit fixes ---------- */
body :is(.account-kicker,.account-quick-icon,.status,.purchase-option em,.option-row em,.price-line em){font-size:max(12px,.75rem)!important}
@media(max-width:430px){
  body .nav-wrap{gap:8px}
  body .brand img{width:118px}
  body .nav-actions{gap:5px}
  body .nav-actions .btn,body .nav-actions form .btn{padding:0 9px!important;min-height:36px!important}
}
@media(max-width:430px){
  /* account header: the logo is already a link to the website, so "View website" makes room for Admin and Sign out */
  body.account-body .nav-actions .btn[href="/"]{display:none}
}
/* purchase panel trust list and a few account labels were 8-11px */
body .purchase-trust-list p,body .purchase-trust-list strong{font-size:13px!important;line-height:1.5}
body .purchase-trust-list span{font-size:12px!important}
body .table-tools span,body .account-card-icon{font-size:max(12px,.75rem)!important}

/* ---------- 23. Product page on phones (iPhone Safari and Chrome) ---------- */
@media(max-width:800px){
  body .product-detail-modern{padding-block:12px 40px;gap:16px}
  body .product-page-head{padding-top:10px}
  /* heading block */
  body .product-intro{padding:4px 0 6px}
  body .product-intro h1{font-size:clamp(28px,8vw,34px);line-height:1.12;margin:6px 0 10px}
  body .product-intro .lead{font-size:16px;line-height:1.6}
  body .product-sku{display:block;margin-top:6px}

  /* gallery: the card hugs the picture, thumbnails sit in one swipeable row */
  body .product-media-gallery{margin:0 0 6px}
  body .product-main-media{min-height:0;border-radius:20px;background:#fff;box-shadow:0 10px 30px rgba(10,22,40,.08)}
  body .product-main-media img{display:block;width:100%;height:auto;aspect-ratio:auto}
  body .product-thumbs{flex-wrap:nowrap;gap:10px;margin-top:12px;padding:2px 2px 10px;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x proximity;-webkit-overflow-scrolling:touch;scrollbar-width:none}
  body .product-thumbs::-webkit-scrollbar{display:none}
  body .product-thumbs button{flex:0 0 76px;width:76px;height:76px;min-width:76px;min-height:76px;border-radius:14px;opacity:.75;scroll-snap-align:start}
  body .product-thumbs button.active{opacity:1}
  body .product-thumbs img{width:100%;height:100%;object-fit:cover}

  /* purchase panel: the outer card no longer adds padding on top of the inner sections */
  body .purchase-panel-modern{padding:0;border-radius:22px;box-shadow:0 12px 36px rgba(10,22,40,.1)}
  body .purchase-panel-modern .purchase-panel-top{padding:20px 18px 14px;background:none;border-bottom:0}
  body .purchase-panel-modern .purchase-panel-top h2{font-size:22px;margin:8px 0 4px}
  body .purchase-panel-modern .purchase-panel-top p{font-size:14px;line-height:1.5}
  body .purchase-panel-modern .purchase-option{padding:18px;border-top:1px solid var(--line);border-bottom:0}
  body .purchase-panel-modern .option-row strong{font-size:28px}
  body .purchase-panel-modern .purchase-button,body .purchase-panel-modern .checkout-controls .btn{min-height:52px;font-size:16px}
  body .purchase-panel-modern .purchase-trust-list{padding:16px 18px;gap:12px}
  body .purchase-panel-modern .purchase-note{margin:0 14px 16px}
  body .setup-offer{margin:12px 0 4px;padding:13px 14px}

  /* description: comfortable reading size instead of 18px / 2.0 */
  body .product-long-content{font-size:16px;line-height:1.65;margin-top:6px}
  body .product-long-content p{font-size:16px;line-height:1.65;margin:0 0 14px}
  body .product-long-content p:empty,body .product-long-content p:has(>br:only-child){display:none}
  body .product-long-content ul,body .product-long-content ol{margin:0 0 16px;padding-left:20px}
  body .product-long-content li{margin:0 0 9px;line-height:1.6;font-size:16px}
  body .product-long-content h2{font-size:24px!important;line-height:1.2;margin:26px 0 10px!important}
  body .product-long-content h3{font-size:19px!important;line-height:1.25;margin:20px 0 8px!important}
  body .product-long-content .content-section{padding:8px 0!important}
  body .product-long-content .section-heading{margin-bottom:12px}
  body .product-long-content .feature-grid{gap:12px}
  body .product-long-content .feature-card{padding:18px}

  /* long descriptions are folded; the button unfolds them */
  body .product-long-content.is-folded:not(.is-open){position:relative;max-height:1000px;overflow:hidden}
  body .product-long-content.is-folded:not(.is-open)::after{content:"";position:absolute;left:0;right:0;bottom:0;height:140px;background:linear-gradient(to bottom,rgba(255,255,255,0),#fff 85%);pointer-events:none}
  body .product-more{display:flex;align-items:center;justify-content:center;width:100%;min-height:50px;margin:6px 0 0;padding:0 18px;border:1.5px solid var(--line);border-radius:14px;background:#fff;color:var(--ink);font:700 15px var(--font-primary);cursor:pointer;-webkit-tap-highlight-color:transparent}
  body .product-more:active{background:var(--soft)}
  body .product-more[hidden]{display:none}
}
@media(min-width:801px){body .product-more{display:none}}

/* iPhone: fields below 16px make Safari zoom the page when you tap them */
@media(max-width:800px){
  body:not(.admin-body) :is(input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=file]),select,textarea){font-size:16px}
}
/* the floating "Privacy settings" pill covered text on every page; on phones it becomes a small round button */
@media(max-width:800px){
  body .privacy-settings-link{left:12px;right:auto;bottom:calc(12px + env(safe-area-inset-bottom));width:40px;height:40px;padding:0;overflow:hidden;font-size:0;line-height:0;border-radius:50%;opacity:.88;
    background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%230a1628' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3 4 6v6c0 5 3.5 8 8 9 4.5-1 8-4 8-9V6l-8-3Z'/%3E%3Cpath d='m9 12 2 2 4-4'/%3E%3C/svg%3E") center/20px no-repeat}
  body .cookie-banner{padding-bottom:max(16px,env(safe-area-inset-bottom))}
}
@media(max-width:800px){body .product-detail-modern>.product-more,body .product-detail-modern .product-copy>.product-more{order:6}}
