:root{
  /* brand */
  --red:#E51E25;              /* fills, buttons, numerals >=23px, icon accents, rules */
  --red-text:#C4161C;         /* 5.6:1 on white — every red text below 18.66px */
  --red-dark:var(--red-text); /* legacy alias: .btn-primary:hover */
  --red-deep:#8F1119;         /* :active */
  --soft-red:#FFF3F3;
  --soft-red-line:#F4D9DA;

  /* ink */
  --navy:#0D1424;
  --charcoal:#343A40;
  --slate:#475569;
  --muted:#6B7280;

  /* surfaces and rules */
  --white:#fff;
  --surface:#fff;
  --soft:#F7F8FA;
  --surface-alt:var(--soft);
  --line:#E8EBEF;
  --line-soft:#F0F2F5;
  --bw:1px;
  --border:var(--bw) solid var(--line);
  --border-soft:var(--bw) solid var(--line-soft);

  /* radius — the reference design sits on 4-8px, not the old 14-22px */
  --r-xs:4px; --r-sm:6px; --r-md:8px; --r-lg:12px; --r-pill:999px;

  /* spacing — 4px grid */
  --sp-1:4px; --sp-2:8px; --sp-3:12px; --sp-4:16px; --sp-5:20px;
  --sp-6:24px; --sp-8:32px; --sp-10:40px; --sp-12:48px; --sp-16:64px; --sp-20:80px;

  /* layout */
  --container:1470px; --gutter:48px; --gutter-sm:28px; --header-h:58px;

  /* elevation — the reference design is shadow-free */
  --shadow:none;
  --shadow-overlay:0 22px 55px rgba(13,20,36,.12);

  /* type */
  --type-display:clamp(3.5rem,5vw,4rem);
  --type-h2:clamp(2.35rem,3.2vw,2.625rem);
  --type-card:1.18rem;
  --gdl-type-hero:clamp(3.45rem,4.65vw,4.55rem);
  --gdl-type-h2:clamp(2.15rem,3vw,2.5rem);
  --gdl-type-h3:1.34rem;
  --gdl-type-card:1.22rem;
  --gdl-type-lead:1.08rem;
  --gdl-type-body:1rem;
  --gdl-type-card-body:.93rem;
  --gdl-type-small:.84rem;
  --gdl-type-label:.72rem;
  --gdl-type-nav:.8rem;
  --gdl-type-micro:.66rem;
  --gdl-line-body:1.68;
  --gdl-line-th:1.76;
}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:"Noto Sans Thai",system-ui,-apple-system,"Segoe UI",sans-serif;color:var(--charcoal);background:#fff;line-height:1.6}a{text-decoration:none;color:inherit}.container{width:min(1180px,calc(100% - 48px));margin:auto}.section-pad{padding:88px 0}.section-soft{background:var(--soft)}.site-header{position:sticky;top:0;z-index:20;background:rgba(255,255,255,.94);backdrop-filter:blur(14px);border-bottom:1px solid rgba(232,235,239,.7)}.nav-wrap{height:82px;display:flex;align-items:center;gap:34px}.brand{display:flex;align-items:center;gap:11px;min-width:max-content}.brand img{width:42px;height:42px;border-radius:var(--r-sm)}.brand strong{display:block;font-size:18px;letter-spacing:.02em;color:var(--navy)}.brand span{display:block;font-size:8px;letter-spacing:.08em;color:var(--muted);margin-top:-2px}.main-nav{display:flex;gap:28px;margin-left:auto}.main-nav a{font-size:14px;font-weight:600;color:var(--charcoal)}.main-nav a:hover{color:var(--red)}.nav-actions{display:flex;align-items:center;gap:14px}.btn{display:inline-flex;align-items:center;justify-content:center;min-height:46px;padding:0 20px;border-radius:var(--r-xs);font-size:14px;font-weight:700;transition:.2s}.btn-primary{background:var(--red);color:white;border:1px solid var(--red)}.btn-primary:hover{background:var(--red-dark);border-color:var(--red-dark);transform:translateY(-1px)}.btn-outline{border:1px solid var(--line);color:var(--charcoal);background:white}.btn-outline:hover{border-color:var(--red);color:var(--red)}.btn-small{min-height:40px;padding:0 16px;font-size:13px}.eyebrow{color:var(--red);font-weight:800;font-size:12px;letter-spacing:.08em;margin-bottom:13px}
.section-head h2,
.split-grid h2,
.cta-band h2{color:var(--navy);line-height:1.18;margin:0}.hero-actions{display:flex;gap:12px}.centered{text-align:center}.section-head{max-width:780px;margin:0 auto 42px}.section-head h2,.split-grid h2,.cta-band h2{font-size:clamp(30px,3.5vw,44px);letter-spacing:-.025em}.section-head p,.split-grid p,.cta-band p{color:var(--slate);font-size:16px}.narrow{max-width:820px}.cards{display:grid;gap:20px}.cards.three{grid-template-columns:repeat(3,1fr)}
.article-card{background:#fff;border:1px solid var(--line);border-radius:var(--r-md);padding:28px;box-shadow:var(--shadow)}
.mini-icon svg{width:34px;height:34px;fill:none;stroke:var(--charcoal);stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.text-link{color:var(--red);font-weight:700;font-size:14px}.split-grid{display:grid;grid-template-columns:.85fr 1.15fr;gap:56px;align-items:center}.split-grid.reverse{grid-template-columns:1.15fr .85fr}.flow-card,.process-card{border:1px solid var(--line);border-radius:var(--r-md);background:#fff;padding:30px;box-shadow:var(--shadow)}.flow-card{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}.flow-step{border-radius:var(--r-sm);background:var(--soft);padding:18px 14px;min-width:120px}.flow-step span{display:block;color:var(--red);font-size:11px;font-weight:800}.flow-step b{font-size:13px;color:var(--navy)}.flow-card i{font-style:normal;color:var(--muted)}.process-card{display:grid;grid-template-columns:repeat(9,auto);align-items:center;justify-content:space-between;gap:8px}.process-card div{font-size:11px;font-weight:800;color:var(--navy);text-align:center}.process-card span{display:block;color:var(--muted);font-weight:500;margin-top:5px}.process-card em{font-style:normal;color:var(--red)}.private-section{background:linear-gradient(180deg,#fff 0,var(--soft) 100%);border-top:1px solid var(--line-soft);border-bottom:1px solid var(--line-soft)}.principles{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-top:36px}.principles>div{background:#fff;border:1px solid var(--line);border-radius:var(--r-md);padding:24px;text-align:center}.mini-icon{height:44px;margin-bottom:10px}.principles b{display:block;color:var(--navy);font-size:14px}.principles span{display:block;font-size:12px;color:var(--muted);margin-top:6px}.article-grid .article-card{padding:0;overflow:hidden}.article-visual{height:150px;background:var(--soft);position:relative}.lines-red{background:linear-gradient(135deg,var(--soft),var(--soft-red))}.lines-red:before{content:"";position:absolute;left:12%;right:8%;top:48%;height:2px;background:var(--red);box-shadow:0 13px 0 rgba(229,30,37,.3),0 -13px 0 rgba(229,30,37,.15);transform:skewY(-8deg)}.ai-grid{background-image:linear-gradient(rgba(229,30,37,.08) 1px,transparent 1px),linear-gradient(90deg,rgba(229,30,37,.08) 1px,transparent 1px);background-size:18px 18px;background-color:var(--soft-red)}.ai-grid:before{content:"AI";position:absolute;inset:0;display:grid;place-items:center;font-size:32px;font-weight:900;color:var(--red)}.shield-grid{background:radial-gradient(circle at center,var(--soft-red) 0,var(--soft) 70%)}.shield-grid:before{content:"◇";position:absolute;inset:0;display:grid;place-items:center;font-size:70px;color:var(--red)}.article-card>span{display:block;color:var(--red);font-size:10px;font-weight:800;padding:20px 24px 4px}.article-card h3{font-size:19px;color:var(--navy);line-height:1.35;margin:4px 24px 18px}.article-card .text-link{display:block;padding:0 24px 24px}.cta-band{border:1px solid var(--soft-red-line);background:linear-gradient(100deg,var(--soft-red),#fff);border-radius:var(--r-md);padding:36px 42px;display:flex;justify-content:space-between;align-items:center;gap:30px}.cta-band p{margin-bottom:0}.footer{background:var(--navy);color:#d6dbe3;padding:56px 0 20px}.footer-grid{display:grid;grid-template-columns:1.5fr repeat(3,1fr);gap:40px}.brand.inverse strong{color:#fff}.brand.inverse span{color:#aab4c0}.footer-brand p{font-size:13px;color:#aab4c0;max-width:240px}.footer h4{margin:0 0 14px;color:#fff;font-size:14px}.footer a{display:block;color:#aab4c0;font-size:12px;margin:8px 0}.footer a:hover{color:white}.copyright{border-top:1px solid rgba(255,255,255,.1);margin-top:38px;padding-top:18px;font-size:11px;color:#8894a3;display:flex;justify-content:space-between}
@media(max-width:960px){.main-nav{display:none}
.split-grid,
.split-grid.reverse{grid-template-columns:1fr}.cards.three{grid-template-columns:1fr 1fr}.principles{grid-template-columns:1fr 1fr}.process-card{grid-template-columns:1fr}.process-card em{transform:rotate(90deg);text-align:center}.footer-grid{grid-template-columns:1fr 1fr}}
@media(max-width:640px){.container{width:min(100% - 28px,1180px)}.section-pad{padding:64px 0}.nav-wrap{height:72px}.brand strong{font-size:15px}.nav-actions .btn{display:none}
.cards.three,
.principles,
.footer-grid{grid-template-columns:1fr}.cta-band{padding:28px 24px;align-items:flex-start;flex-direction:column}.section-head h2,.split-grid h2,.cta-band h2{font-size:32px}.flow-card{display:grid;grid-template-columns:1fr}.flow-card i{transform:rotate(90deg);text-align:center}.hero-actions{flex-wrap:wrap}}.breadcrumb{font-size:12px;color:var(--muted);margin-bottom:20px}.breadcrumb a{color:var(--red)}.visual-panel{border:1px solid var(--line);border-radius:var(--r-md);background:#fff;padding:28px;box-shadow:var(--shadow)}.visual-stack{display:grid;gap:12px}.visual-stack .layer{padding:15px 18px;border-radius:var(--r-sm);background:var(--soft);border-left:3px solid var(--red);font-size:13px;color:var(--navy);font-weight:700}.section-intro{max-width:760px;margin-bottom:36px}.section-intro h2{font-size:38px;line-height:1.2;color:var(--navy);margin:0 0 12px}.section-intro p{color:var(--slate)}.feature-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.feature{padding:24px;border:1px solid var(--line);border-radius:var(--r-md);background:#fff}.feature .num{font-size:11px;color:var(--red);font-weight:800}.feature h3{font-size:18px;color:var(--navy);margin:10px 0 8px}.feature p{font-size:13px;color:var(--slate);margin:0}.lifecycle{display:grid;grid-template-columns:repeat(5,1fr);gap:12px}.life-item{position:relative;padding:22px 18px;border:1px solid var(--line);border-radius:var(--r-md);background:#fff}.life-item strong{display:block;color:var(--navy);font-size:14px}.life-item span{font-size:11px;color:var(--red);font-weight:800}.life-item p{font-size:12px;color:var(--muted);margin-bottom:0}.timeline{display:grid;grid-template-columns:repeat(6,1fr);gap:10px}.timeline>div{padding:18px 12px;border-radius:var(--r-md);background:#fff;border:1px solid var(--line);text-align:center}.timeline b{display:block;color:var(--navy);font-size:12px}.timeline span{font-size:11px;color:var(--muted)}.usecase-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}.usecase{padding:22px;border:1px solid var(--line);border-radius:var(--r-md);background:#fff}.usecase b{color:var(--navy);font-size:14px;display:block;margin:10px 0 6px}.usecase p{font-size:12px;color:var(--slate);margin:0}.quote-note{padding:22px 24px;border-radius:var(--r-md);background:var(--soft-red);border:1px solid var(--soft-red-line);color:var(--slate);font-size:13px}.two-col{display:grid;grid-template-columns:1fr 1fr;gap:24px}.scope-box{border:1px solid var(--line);border-radius:var(--r-md);padding:26px;background:#fff}.scope-box h3{color:var(--navy);margin-top:0}.scope-box ul{padding-left:20px;color:var(--slate);font-size:13px}.subnav{display:flex;gap:10px;flex-wrap:wrap;margin-top:24px}.subnav a{font-size:12px;font-weight:700;padding:8px 12px;border-radius:var(--r-pill);background:var(--soft);color:var(--slate)}.subnav a:hover{background:var(--soft-red);color:var(--red)}
@media(max-width:960px){
.two-col{grid-template-columns:1fr}.feature-grid{grid-template-columns:1fr 1fr}.lifecycle{grid-template-columns:1fr 1fr}.timeline{grid-template-columns:repeat(3,1fr)}.usecase-grid{grid-template-columns:1fr 1fr}}
@media(max-width:640px){.feature-grid,.lifecycle,.timeline,.usecase-grid{grid-template-columns:1fr}.section-intro h2{font-size:30px}}

/* v3: site completion */
.menu-toggle{display:none;width:42px;height:42px;border:1px solid var(--line);background:#fff;border-radius:var(--r-sm);padding:10px;cursor:pointer}.menu-toggle span{display:block;height:2px;background:var(--charcoal);margin:4px 0;border-radius:2px}.mobile-menu{display:none;background:#fff;border-top:1px solid var(--line);padding:10px 24px 20px}.mobile-menu a{display:block;padding:12px 0;border-bottom:1px solid var(--line-soft);font-size:14px;font-weight:600;color:var(--charcoal)}.mobile-menu.open{display:block}.content-h2{font-size:38px;line-height:1.2;color:var(--navy);margin:0 0 14px}.content-p{color:var(--slate);font-size:16px}.evidence-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.evidence-card{border:1px solid var(--line);border-radius:var(--r-md);padding:26px;background:#fff}.evidence-card b{display:block;color:var(--navy);font-size:18px}.evidence-card span{color:var(--muted);font-size:12px}.contact-grid{display:grid;grid-template-columns:.9fr 1.1fr;gap:50px}.contact-topics{display:grid;gap:12px}.contact-topics a{display:block;padding:20px;border:1px solid var(--line);border-radius:var(--r-md);background:#fff}.contact-topics a:hover{border-color:var(--soft-red-line);background:var(--soft-red)}.contact-topics b{display:block;color:var(--navy)}.contact-topics span{font-size:12px;color:var(--muted)}.contact-form-card{border:1px solid var(--line);border-radius:var(--r-md);background:#fff;padding:30px;box-shadow:var(--shadow)}.contact-form-card h3{color:var(--navy);margin-top:0}.contact-form-card p{color:var(--muted);font-size:12px}.contact-form-card form{display:grid;gap:8px}.contact-form-card label{font-size:12px;font-weight:700;color:var(--charcoal);margin-top:8px}.contact-form-card input,.contact-form-card select,.contact-form-card textarea{width:100%;border:1px solid var(--line);border-radius:var(--r-sm);background:#fff;color:var(--charcoal);font:inherit;padding:12px 13px;outline:none}.contact-form-card input:focus,.contact-form-card select:focus,.contact-form-card textarea:focus{border-color:var(--red);box-shadow:0 0 0 3px rgba(229,30,37,.08)}
@media(max-width:960px){.menu-toggle{display:block}.nav-actions{margin-left:auto}.contact-grid{grid-template-columns:1fr}.evidence-grid{grid-template-columns:1fr 1fr}.mobile-menu{box-shadow:var(--shadow)}}
@media(max-width:640px){.evidence-grid{grid-template-columns:1fr}.content-h2{font-size:30px}}

/* v5: article / accessibility / search content layer */
.skip-link{position:absolute;left:-9999px;top:8px;z-index:100;background:var(--navy);color:#fff;padding:10px 14px;border-radius:var(--r-xs)}.skip-link:focus{left:8px}:focus-visible{outline:3px solid rgba(229,30,37,.25);outline-offset:3px}
.article-hero{padding:68px 0 48px;background:linear-gradient(180deg,#fff 0,var(--soft) 100%);border-bottom:1px solid var(--line-soft)}.article-shell{max-width:900px}.article-category{display:inline-block;color:var(--red);font-size:11px;font-weight:800;letter-spacing:.08em;margin:8px 0 12px}.article-hero h1{font-size:clamp(38px,5vw,60px);line-height:1.16;letter-spacing:-.035em;color:var(--navy);margin:0}.article-deck{font-size:18px;color:var(--slate);max-width:800px;margin:22px 0 14px}.article-meta{font-size:12px;color:var(--muted)}.article-layout{display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:54px;align-items:start}.article-body{max-width:780px}.direct-answer{padding:26px 28px;border-radius:var(--r-md);background:var(--soft-red);border:1px solid var(--soft-red-line);margin-bottom:38px}.direct-answer span{font-size:11px;font-weight:800;color:var(--red);letter-spacing:.06em}.direct-answer p{font-size:17px;color:var(--navy);margin:8px 0 0;line-height:1.75}.article-section{padding:12px 0 24px}.article-section h2{font-size:28px;color:var(--navy);line-height:1.3;margin:0 0 12px}.article-section p{font-size:16px;color:var(--slate);margin:0;line-height:1.8}.faq-list{display:grid;gap:10px}.faq-item{border:1px solid var(--line);border-radius:var(--r-sm);background:#fff;padding:0 18px}.faq-item summary{cursor:pointer;color:var(--navy);font-weight:700;padding:16px 0}.faq-item p{font-size:14px;padding:0 0 17px}.article-note{margin-top:28px;padding:18px 20px;border-left:3px solid var(--red);background:var(--soft);border-radius:var(--r-sm);color:var(--muted);font-size:12px}.article-aside{position:sticky;top:110px;display:grid;gap:14px}.aside-card{border:1px solid var(--line);border-radius:var(--r-md);background:#fff;padding:20px}.aside-card span{display:block;color:var(--muted);font-size:11px;margin-bottom:12px}.insight-feature-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:18px}.insight-feature{border:1px solid var(--line);border-radius:var(--r-md);background:#fff;padding:25px;display:flex;flex-direction:column;min-height:220px}.insight-feature .tag{font-size:10px;color:var(--red);font-weight:800;letter-spacing:.06em}.insight-feature h3{font-size:20px;color:var(--navy);line-height:1.35;margin:12px 0 8px}.insight-feature p{font-size:13px;color:var(--slate);margin:0}.insight-feature .text-link{margin-top:auto;padding-top:20px}
@media(max-width:960px){.article-layout{grid-template-columns:1fr}.article-aside{position:static;grid-template-columns:1fr 1fr}.insight-feature-grid{grid-template-columns:1fr 1fr}}
@media(max-width:640px){.article-hero{padding-top:46px}.article-hero h1{font-size:38px}.article-deck{font-size:16px}.article-aside,.insight-feature-grid{grid-template-columns:1fr}.article-section h2{font-size:25px}}


/* =========================================================
   v6 Responsive QA hardening
   Target widths: 1440 / 1280 / 1024 / 768 / 430 / 390 / 360
   ========================================================= */

/* Global overflow protection */
html, body { max-width: 100%; overflow-x: clip; }
img, svg, video, canvas { max-width: 100%; height: auto; }
main,
section,
.container,
.split-grid,
.cards,
.feature-grid,
.lifecycle,
.timeline,
.usecase-grid,
.article-layout,
.contact-grid,
.footer-grid{ min-width: 0; }
h1, h2, h3, h4, p, a, span, strong, summary {
  overflow-wrap: anywhere;
  word-break: normal;
}
input, select, textarea, button { max-width: 100%; }
/* Better touch targets while preserving the visual style */
.main-nav a,
.mobile-menu a,
.text-link{ min-height: 44px; display: inline-flex; align-items: center; }
.mobile-menu a { display:flex; }
.menu-toggle { min-width: 44px; min-height: 44px; }

/* Desktop refinement */
@media (max-width: 1180px) {
  .container { width: min(100% - 40px, 1180px); }
  .nav-wrap { gap: 22px; }
  .main-nav { gap: 20px; }
  .main-nav a { font-size: 13px; }
}

/* Small desktop / landscape tablet */
@media (max-width: 1024px) {
  .container { width: min(100% - 36px, 1180px); }
  .section-pad { padding: 76px 0; }
.split-grid,
.split-grid.reverse{
    grid-template-columns: 1fr;
  }
.visual-panel{ max-width: 760px; width:100%; margin-inline:auto; }
  .cards.three, .feature-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .principles, .usecase-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .lifecycle { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .timeline { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .footer-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .article-layout { grid-template-columns: 1fr; gap: 34px; }
  .article-aside { position: static; grid-template-columns: repeat(2,minmax(0,1fr)); }
  .contact-grid { grid-template-columns: 1fr; }
}

/* Tablet */
@media (max-width: 768px) {
  .container { width: min(100% - 32px, 1180px); }
  .site-header { backdrop-filter: blur(10px); }
  .nav-wrap { height: 72px; gap: 14px; }
  .brand { min-width: 0; }
  .brand img { width: 38px; height: 38px; }
  .brand strong { font-size: 15px; white-space: nowrap; }
  .brand span { font-size: 7px; }
  .nav-actions { gap: 8px; }
  .nav-actions .btn { display: none; }
  .menu-toggle { display:block; }
  .main-nav { display:none; }
.article-deck{ font-size: 16px; }
  .section-head h2, .split-grid h2, .cta-band h2,
  .section-intro h2, .content-h2 { font-size: 32px; }

  .hero-actions { flex-wrap: wrap; }
  .hero-actions .btn { flex: 1 1 180px; }
.article-card,
.feature,
.scope-box,
.contact-form-card{ padding: 22px; }
  .flow-card { display:grid; grid-template-columns: 1fr; }
  .flow-card i { transform: rotate(90deg); text-align:center; }
  .process-card { grid-template-columns: 1fr; }
  .process-card em { transform:rotate(90deg); text-align:center; }
  .cta-band { padding: 30px; align-items:flex-start; flex-direction:column; }
  .cta-band .btn { width:100%; }

  .article-hero { padding: 50px 0 38px; }
  .article-hero h1 { font-size: clamp(34px,8vw,46px); }
  .direct-answer { padding:22px; }
  .direct-answer p { font-size:16px; }
  .article-section h2 { font-size:26px; }

  .contact-form-card input,
  .contact-form-card select,
  .contact-form-card textarea { font-size:16px; } /* prevents iOS zoom */
}

/* Large phone */
@media (max-width: 480px) {
  .container { width: min(100% - 28px, 1180px); }
  .section-pad { padding: 58px 0; }
  .brand span { display:none; }
  .brand strong { font-size:14px; }
  .brand img { width:36px; height:36px; }
  .menu-toggle { width:44px; height:44px; }
  .section-head, .section-intro { margin-bottom: 28px; }
  .section-head h2, .split-grid h2, .cta-band h2,
  .section-intro h2, .content-h2 { font-size:29px; }
  .hero-actions { display:grid; grid-template-columns:1fr; width:100%; }
  .hero-actions .btn { width:100%; }
.cards.three,
.feature-grid,
.principles,
.lifecycle,
.timeline,
.usecase-grid,
.footer-grid,
.evidence-grid,
.insight-feature-grid,
.article-aside{
    grid-template-columns:1fr;
  }
.insight-feature{ min-height:0; }
  .article-layout { gap:26px; }
  .article-aside { gap:12px; }
  .article-hero h1 { font-size:36px; }
  .article-deck { font-size:15px; }
  .direct-answer { margin-bottom:28px; }
  .faq-item { padding-inline:15px; }

  .footer { padding-top:46px; }
  .footer-grid { gap:26px; }
  .copyright { flex-direction:column; gap:8px; align-items:flex-start; }

  .contact-form-card { padding:22px 18px; }
  .contact-topics a { padding:17px; }
}

/* 390 / 360 class phones */
@media (max-width: 390px) {
  .container { width: min(100% - 24px, 1180px); }
  .nav-wrap { gap:8px; }
  .brand { gap:8px; }
  .brand strong { font-size:13px; letter-spacing:0; }
  .article-hero h1 { font-size:33px; }
  .section-head h2, .split-grid h2, .cta-band h2,
  .section-intro h2, .content-h2 { font-size:27px; }
.feature,
.scope-box{ padding:20px; }
  .cta-band { padding:24px 20px; }
  .flow-card, .process-card, .visual-panel { padding:22px; }
}

@media (max-width: 360px) {
  .container { width: min(100% - 20px, 1180px); }
  .brand strong { font-size:12.5px; }
  .brand img { width:34px; height:34px; }
  .article-hero h1 { font-size:31px; }
  .btn { min-height:46px; padding-inline:16px; }
  .mobile-menu { padding-inline:18px; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior:auto; }
  *, *::before, *::after {
    animation-duration:.01ms !important;
    animation-iteration-count:1 !important;
    transition-duration:.01ms !important;
  }
}
.delivery-steps{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px;align-items:stretch}
.delivery-step{position:relative;background:#fff;border:1px solid var(--line);border-radius:var(--r-md);padding:20px 16px;min-height:138px}
.delivery-step .step-no{display:inline-flex;width:28px;height:28px;border-radius:50%;align-items:center;justify-content:center;background:var(--soft-red);color:var(--red);font-weight:800;font-size:11px;margin-bottom:14px}
.delivery-step h3{font-size:15px;color:var(--navy);margin:0 0 6px}
.delivery-step p{font-size:11px;color:var(--muted);margin:0;line-height:1.55}
.trust-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.trust-card{background:#fff;border:1px solid var(--line);border-radius:var(--r-md);padding:24px}
.trust-card .icon-shell{width:42px;height:42px;border-radius:var(--r-sm);background:var(--soft-red);display:flex;align-items:center;justify-content:center;color:var(--red);margin-bottom:16px}
.trust-card h3{font-size:17px;color:var(--navy);margin:0 0 7px}
.trust-card p{font-size:12px;color:var(--slate);margin:0;line-height:1.65}
.start-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.start-card{display:flex;flex-direction:column;background:#fff;border:1px solid var(--line);border-radius:var(--r-md);padding:25px;min-height:230px}
.start-card .eyebrow{font-size:10px;font-weight:800;letter-spacing:.07em;color:var(--red)}
.start-card h3{font-size:19px;color:var(--navy);margin:12px 0 8px}
.start-card p{font-size:12px;color:var(--slate);margin:0 0 18px;line-height:1.65}
.start-card .btn,.start-card .text-link{margin-top:auto}
.scope-note{border:1px solid var(--soft-red-line);background:var(--soft-red);border-radius:var(--r-md);padding:18px 20px;color:var(--navy);font-size:12px;line-height:1.65}
.metric-note{font-size:10px;color:var(--muted);margin-top:5px}
@media(max-width:1024px){.delivery-steps{grid-template-columns:repeat(3,1fr)}.trust-grid,.start-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:640px){
.delivery-steps,
.trust-grid,
.start-grid{grid-template-columns:1fr}
.delivery-step,
.start-card{min-height:0}}

/* =========================================================
   v8 Production Readiness: case studies, evidence, form
   ========================================================= */
.case-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.case-card{display:flex;flex-direction:column;background:#fff;border:1px solid var(--line);border-radius:var(--r-md);padding:24px;min-height:230px}
.case-card .case-org{font-size:10px;color:var(--red);font-weight:800;letter-spacing:.06em}
.case-card h3{font-size:18px;line-height:1.38;color:var(--navy);margin:12px 0 8px}
.case-card p{font-size:12px;color:var(--slate);line-height:1.65;margin:0 0 18px}
.case-card .text-link{margin-top:auto}
.evidence-badge{display:inline-flex;align-items:center;gap:8px;background:var(--soft-red);color:var(--red);border:1px solid var(--soft-red-line);border-radius:var(--r-pill);padding:8px 11px;font-size:10px;font-weight:800}
.evidence-table{width:100%;border-collapse:separate;border-spacing:0;border:1px solid var(--line);border-radius:var(--r-md);overflow:hidden;background:#fff}
.evidence-table th,.evidence-table td{text-align:left;padding:15px 16px;border-bottom:1px solid var(--line);vertical-align:top}
.evidence-table th{font-size:11px;color:var(--navy);background:var(--soft)}
.evidence-table td{font-size:12px;color:var(--slate)}
.evidence-table tr:last-child td{border-bottom:0}
.form-consent{display:flex;gap:10px;align-items:flex-start;font-size:12px;color:var(--slate);line-height:1.5;margin-top:10px}
.form-consent input{margin-top:3px;flex:0 0 auto}
.form-status{min-height:24px;font-size:12px;margin-top:12px}
.form-status.error{color:var(--red-text)}.form-status.success{color:#087f6b}
.hp-field{position:absolute!important;left:-10000px!important;width:1px!important;height:1px!important;overflow:hidden!important}
.case-detail{max-width:830px}
.case-fact{border-left:3px solid var(--red);padding:14px 18px;background:var(--soft-red);border-radius:0 var(--r-sm) var(--r-sm) 0;margin:20px 0}
.case-fact strong{display:block;color:var(--navy);font-size:13px;margin-bottom:4px}.case-fact p{margin:0;color:var(--slate);font-size:13px;line-height:1.7}
@media(max-width:1024px){.case-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:640px){.case-grid{grid-template-columns:1fr}.evidence-table{display:block;overflow-x:auto;white-space:normal}.evidence-table th,.evidence-table td{min-width:140px}}
.cluster-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.cluster-card{background:#fff;border:1px solid var(--line);border-radius:var(--r-md);padding:22px}
.cluster-card h3{font-size:17px;color:var(--navy);margin:0 0 10px}.cluster-card ul{padding-left:18px;margin:0}.cluster-card li{font-size:12px;color:var(--slate);margin:7px 0}
.case-template-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.case-template-box{border:1px solid var(--line);border-radius:var(--r-md);padding:20px;background:#fff}.case-template-box h3{font-size:16px;color:var(--navy);margin:0 0 8px}.case-template-box p{font-size:12px;color:var(--slate);margin:0;line-height:1.65}
@media(max-width:1024px){
.cluster-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:640px){
.cluster-grid,
.case-template-grid{grid-template-columns:1fr}}

/* v10 Visual Hierarchy */
body{font-size:16px;line-height:1.75;color:var(--charcoal)}
h1,h2,h3,h4{text-wrap:balance;letter-spacing:-.02em}p,li{text-wrap:pretty}
.article-hero h1{font-size:var(--type-display);line-height:1.15;font-weight:700;letter-spacing:-.035em}
.section-head h2,.section-intro h2,.split-grid h2,.content-h2,.cta-band h2{font-size:var(--type-h2);line-height:1.3;font-weight:700}
.feature h3,
.trust-card h3,
.start-card h3,
.case-card h3,
.cluster-card h3{font-size:var(--type-card);line-height:1.45;font-weight:600}
.feature p,
.trust-card p,
.start-card p,
.case-card p{font-size:.95rem;line-height:1.72}
.main-nav a{font-size:.94rem;font-weight:500}.btn{font-size:.94rem;font-weight:600}
.section-kicker,
.eyebrow,
.article-category,
.case-org{font-size:.78rem;letter-spacing:.075em}
.feature,
.trust-card,
.start-card,
.case-card,
.cluster-card{padding:30px}
.icon-shell{width:58px!important;height:58px!important;min-width:58px!important;min-height:58px!important;border-radius:var(--r-md)!important}
.icon-shell svg{width:32px!important;height:32px!important;stroke-width:1.9!important}
.section-pad{padding-block:88px}.section-intro{max-width:820px;margin-bottom:36px}
@media(max-width:768px){
.article-hero h1{font-size:clamp(2.45rem,9vw,3.25rem);line-height:1.22}.section-head h2,.section-intro h2,.split-grid h2,.content-h2,.cta-band h2{font-size:clamp(1.85rem,6vw,2.25rem);line-height:1.35}}
@media(max-width:480px){body{font-size:16px;line-height:1.78}
.article-hero h1{font-size:2.35rem}
.icon-shell{width:54px!important;height:54px!important;min-width:54px!important;min-height:54px!important}}
/* =========================================================
   v11 Sprint 1 — Icon Library + Hero Refinement + Mega Menu
   ========================================================= */
.mini-icon img,
.icon-shell img{
 width:34px;height:34px;display:block
}
.mini-icon,
.icon-shell{
 display:flex;align-items:center;justify-content:center
}
.mini-icon{width:48px!important;height:48px!important}
.icon-shell{width:60px!important;height:60px!important}
.main-nav.mega-nav{display:flex;align-items:center;gap:24px}
.mega-item{position:relative;display:flex;align-items:center}
.mega-trigger{appearance:none;border:0;background:transparent;font:inherit;color:var(--navy);padding:12px 0;min-height:44px;display:flex;align-items:center;gap:6px;cursor:pointer;font-size:.94rem;font-weight:500}
.mega-panel{position:absolute;top:calc(100% + 14px);left:-40px;width:min(780px,80vw);display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;background:#fff;border:1px solid var(--line);border-radius:var(--r-md);padding:26px;box-shadow:var(--shadow-overlay);opacity:0;visibility:hidden;transform:translateY(-6px);transition:.18s ease;z-index:60}
.mega-panel-small{width:min(540px,70vw);grid-template-columns:repeat(2,minmax(0,1fr))}
.mega-item.open .mega-panel{opacity:1;visibility:visible;transform:translateY(0)}
.mega-col{display:flex;flex-direction:column;gap:7px;min-width:0}
.mega-col a{min-height:0;padding:5px 0;font-size:13px;color:var(--slate)}
.mega-col a:hover{color:var(--red)}
.mega-col .mega-title{font-size:15px;color:var(--navy);font-weight:700;margin-bottom:5px}
.mega-eyebrow{font-size:10px;font-weight:800;color:var(--red);letter-spacing:.08em;margin-bottom:4px}
.icon-gallery{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:14px}
.icon-gallery-card{border:1px solid var(--line);background:#fff;border-radius:var(--r-md);padding:18px;display:flex;flex-direction:column;align-items:center;gap:12px}
.icon-gallery-card img{width:42px;height:42px}
.icon-gallery-card span{font-size:11px;color:var(--slate);text-align:center}
@media(max-width:1024px){
 .main-nav.mega-nav{display:none}
 .icon-gallery{grid-template-columns:repeat(4,1fr)}
}
@media(max-width:640px){
.mini-icon img,
.icon-shell img{width:31px;height:31px}
 .icon-gallery{grid-template-columns:repeat(2,1fr)}
}

/* =========================================================
   v12 Sprint 2 — Sales Proof
   ========================================================= */
.flagship-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.flagship-card{display:flex;flex-direction:column;background:#fff;border:1px solid var(--line);border-radius:var(--r-md);padding:28px;min-height:285px}
.flagship-card .flagship-org{font-size:11px;color:var(--red);font-weight:800;letter-spacing:.06em}
.flagship-card h3{font-size:20px;line-height:1.4;color:var(--navy);margin:12px 0 8px}
.flagship-card p{font-size:14px;line-height:1.7;color:var(--slate);margin:0 0 18px}
.flagship-card .proof-state{display:inline-flex;align-self:flex-start;border-radius:var(--r-pill);padding:7px 10px;background:var(--soft-red);color:var(--red);font-size:10px;font-weight:800;margin-bottom:14px}
.flagship-card .text-link{margin-top:auto}
.trust-inline{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-top:30px}
.trust-inline-item{border:1px solid var(--line);border-radius:var(--r-md);background:#fff;padding:18px}
.trust-inline-item strong{display:block;color:var(--navy);font-size:14px;margin-bottom:4px}
.trust-inline-item span{display:block;color:var(--muted);font-size:11px;line-height:1.55}
.resource-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.resource-card{display:flex;flex-direction:column;border:1px solid var(--line);background:#fff;border-radius:var(--r-md);padding:28px;min-height:270px}
.resource-card .resource-type{font-size:10px;color:var(--red);font-weight:800;letter-spacing:.07em}
.resource-card h3{font-size:20px;color:var(--navy);margin:12px 0 8px;line-height:1.4}
.resource-card p{font-size:13px;color:var(--slate);line-height:1.7;margin:0 0 18px}
.resource-card .btn,.resource-card .text-link{margin-top:auto}
.case-evidence-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.case-evidence-box{border:1px solid var(--line);border-radius:var(--r-md);padding:20px;background:#fff}
.case-evidence-box h3{font-size:15px;color:var(--navy);margin:0 0 7px}
.case-evidence-box p{font-size:12px;color:var(--slate);line-height:1.65;margin:0}
.proof-warning{margin-top:20px;border-left:3px solid var(--red);background:var(--soft-red);border-radius:0 var(--r-sm) var(--r-sm) 0;padding:17px 20px;font-size:12px;color:var(--slate);line-height:1.65}
@media(max-width:1024px){.flagship-grid,.resource-grid{grid-template-columns:repeat(2,1fr)}.trust-inline{grid-template-columns:repeat(2,1fr)}}
@media(max-width:640px){.flagship-grid,.resource-grid,.trust-inline,.case-evidence-grid{grid-template-columns:1fr}}

/* v13 Sprint 3 — Authority */
.authority-grid,.term-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.authority-card,.term-card{display:flex;flex-direction:column;border:1px solid var(--line);border-radius:var(--r-md);background:#fff;padding:24px;min-height:220px}
.authority-card h3,.term-card h3{font-size:19px;color:var(--navy);line-height:1.4;margin:10px 0 8px}
.authority-card p,.term-card p{font-size:13px;color:var(--slate);line-height:1.7;margin:0 0 16px}
.authority-card .text-link,.term-card .text-link{margin-top:auto}.authority-type,.term-abbr{font-size:10px;color:var(--red);font-weight:800;letter-spacing:.07em}
.compare-table{width:100%;border-collapse:separate;border-spacing:0;border:1px solid var(--line);border-radius:var(--r-md);overflow:hidden;background:#fff}
.compare-table th,.compare-table td{padding:15px 16px;border-bottom:1px solid var(--line);text-align:left;vertical-align:top}.compare-table th{background:var(--soft);color:var(--navy);font-size:12px}.compare-table td{color:var(--slate);font-size:13px;line-height:1.65}.compare-table tr:last-child td{border-bottom:0}
.related-terms{display:flex;flex-wrap:wrap;gap:8px}.related-terms a{border:1px solid var(--line);border-radius:var(--r-pill);padding:8px 11px;font-size:11px;color:var(--slate);background:#fff}
.knowledge-map{border:1px solid var(--line);border-radius:var(--r-md);background:#fff;padding:28px;overflow:auto}.kg-level{display:flex;gap:12px;min-width:760px;margin:12px 0}.kg-node{flex:1;border:1px solid var(--line);border-radius:var(--r-sm);padding:15px;background:#fff;color:var(--navy);font-size:12px;text-align:center}.kg-node.primary{border-color:var(--soft-red-line);background:var(--soft-red);color:var(--red);font-weight:800}.kg-arrow{text-align:center;color:var(--red);font-size:20px}
@media(max-width:1024px){.authority-grid,.term-grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:640px){.authority-grid,.term-grid{grid-template-columns:1fr}.compare-table{display:block;overflow-x:auto}}

/* =========================================================
   v14 Sprint 4 — Accessibility / Performance hardening
   ========================================================= */
:focus-visible{outline:3px solid rgba(229,30,37,.32)!important;outline-offset:3px!important}
a,button,input,select,textarea,summary{scroll-margin-top:96px}
button,
.btn,
.main-nav a,
.mobile-menu a{touch-action:manipulation}
@media (forced-colors:active){
.btn,
.feature,
.faq-item,
.mega-panel{border:1px solid CanvasText}}
@media (prefers-reduced-motion:reduce){
 html{scroll-behavior:auto!important}
 *,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}
}
@media (max-width:480px){
 input,select,textarea{font-size:16px!important}
 .mega-panel{display:none!important}
}
.home-domain-section{padding-block:92px!important;overflow:hidden}
.home-domain-section .split-grid{align-items:center;gap:58px}
.home-domain-section.alt{background:var(--soft)}
.home-domain-section + .home-domain-section{border-top:1px solid rgba(203,213,225,.55)}
.home-trust-section,
.home-process-section,
.home-insights-section,
.home-resources-section{padding-block:72px!important}
.home-resources-section .resource-card{min-height:220px}
.main-nav.mega-nav{gap:28px}
.main-nav.mega-nav>a,.mega-trigger{white-space:nowrap}
.home-domain-section.reverse .split-grid{direction:rtl}
.home-domain-section.reverse .split-grid>*{direction:ltr}
@media(max-width:1024px){
.home-domain-section.reverse .split-grid{direction:ltr}
}
@media(max-width:640px){
 .home-domain-section{padding-block:68px!important}
.home-trust-section,
.home-process-section,
.home-insights-section,
.home-resources-section{padding-block:58px!important}
}

/* =========================================================
   v15.4 — Typography Normalization Pass
   Goal: clearer hierarchy, calmer body copy, consistent TH/EN
   ========================================================= */


/* Global body */
html[lang="th"] body{
  font-size:16px;
  line-height:var(--gdl-line-th);
}
html[lang="en"] body{
  font-size:16px;
  line-height:var(--gdl-line-body);
}
body{
  font-weight:400;
  letter-spacing:0;
}
/* Hero typography */
.article-hero h1{
  font-size:var(--gdl-type-hero);
  line-height:1.10;
  font-weight:700;
  letter-spacing:-.04em;
}
.article-deck{
  font-size:var(--gdl-type-lead);
  line-height:1.66;
  font-weight:400;
  color:var(--slate);
}

/* Major section headings */
.section-intro h2,
.section-head h2,
.content-h2,
.split-grid h2,
.cta-band h2{
  font-size:var(--gdl-type-h2);
  line-height:1.28;
  font-weight:700;
  letter-spacing:-.027em;
}
.section-intro>p,
.section-head>p{
  font-size:1rem;
  line-height:1.70;
  color:var(--slate);
}

/* Standard H3 */
h3{
  font-size:var(--gdl-type-h3);
  line-height:1.40;
}
/* Card title hierarchy */
.feature h3,
.trust-card h3,
.start-card h3,
.case-card h3,
.cluster-card h3,
.flagship-card h3,
.resource-card h3,
.authority-card h3,
.term-card h3,
.case-template-box h3,
.case-evidence-box h3{
  font-size:var(--gdl-type-card);
  line-height:1.38;
  font-weight:650;
  letter-spacing:-.018em;
  color:var(--navy);
}
/* Card body */
.feature p,
.trust-card p,
.start-card p,
.case-card p,
.cluster-card p,
.flagship-card p,
.resource-card p,
.authority-card p,
.term-card p,
.case-template-box p,
.case-evidence-box p{
  font-size:var(--gdl-type-card-body);
  line-height:1.64;
  font-weight:400;
  color:var(--slate);
}

/* Generic paragraph */
article p,
.content-p,
.article-body p{
  font-size:var(--gdl-type-body);
  line-height:1.72;
}
/* Labels / kickers */
.section-kicker,
.eyebrow,
.article-category,
.case-org,
.flagship-org,
.authority-type,
.term-abbr,
.resource-type,
.mega-eyebrow{
  font-size:var(--gdl-type-label);
  line-height:1.25;
  font-weight:800;
  letter-spacing:.075em;
}
/* Navigation */
.main-nav a,
.mega-trigger{
  font-size:.89rem;
  line-height:1.3;
  font-weight:500;
}
.mega-col a{
  font-size:.79rem;
  line-height:1.42;
}
.mega-col .mega-title{
  font-size:.93rem;
  font-weight:700;
}

/* CTA */
.btn,
.text-link{
  font-size:.90rem;
  line-height:1.2;
}
.btn{
  font-weight:650;
}
/* Process / numbered cards — the exact issue from the supplied screenshot */
.delivery-step,
.value-card{
  font-size:inherit;
}
.delivery-step .step-no{
  font-size:.82rem;
  line-height:1;
  font-weight:750;
  color:var(--red);
}
.delivery-step h3,
.value-card h3{
  font-size:1.28rem;
  line-height:1.38;
  font-weight:650;
  margin-bottom:12px;
}
.delivery-step p,
.value-card p{
  font-size:.92rem;
  line-height:1.62;
  color:var(--slate);
}

/* Glossary + comparison */
.term-card h3{font-size:1.16rem}
.term-card p{font-size:.88rem;line-height:1.62}
.compare-table th{
  font-size:.78rem;
  line-height:1.35;
  font-weight:700;
}
.compare-table td{
  font-size:.88rem;
  line-height:1.58;
}

/* Article / insight typography */
.article-body{
  font-size:1rem;
}
.article-body h2,
.article-section h2{
  font-size:1.72rem;
  line-height:1.34;
  font-weight:700;
}
.article-body h3{
  font-size:1.22rem;
  line-height:1.40;
}
.article-meta,
.breadcrumb{
  font-size:.76rem;
  line-height:1.4;
}

/* FAQ */
.faq-item summary{
  font-size:.96rem;
  line-height:1.45;
  font-weight:650;
}
.faq-item p{
  font-size:.90rem;
  line-height:1.65;
}

/* Form */
label{
  font-size:.84rem;
  line-height:1.35;
  font-weight:600;
}
input,select,textarea{
  font-size:.95rem;
  line-height:1.4;
}

/* Footer */
.footer{
  font-size:.82rem;
}
.footer a,
.footer p,
.footer li{
  font-size:.82rem;
  line-height:1.58;
}
/* TH-specific line height: same font size, slightly more breathing room */
html[lang="th"] .feature p,
html[lang="th"] .trust-card p,
html[lang="th"] .start-card p,
html[lang="th"] .case-card p,
html[lang="th"] .cluster-card p,
html[lang="th"] .flagship-card p,
html[lang="th"] .resource-card p,
html[lang="th"] .authority-card p,
html[lang="th"] .term-card p,
html[lang="th"] .delivery-step p,
html[lang="th"] .value-card p{
  line-height:1.72;
}
/* Consistent vertical rhythm */
.feature h3,
.trust-card h3,
.start-card h3,
.case-card h3,
.cluster-card h3,
.resource-card h3,
.authority-card h3,
.term-card h3{
  margin-top:16px;
  margin-bottom:9px;
}
.feature p,
.trust-card p,
.start-card p,
.case-card p,
.cluster-card p,
.resource-card p,
.authority-card p,
.term-card p{
  margin-top:0;
}

/* Responsive */
@media(max-width:768px){
  :root{
    --gdl-type-hero:clamp(2.55rem,9.5vw,3.3rem);
    --gdl-type-h2:clamp(1.85rem,6.3vw,2.15rem);
    --gdl-type-card:1.14rem;
    --gdl-type-lead:1rem;
  }
}
@media(max-width:480px){
.feature p,
.trust-card p,
.start-card p,
.case-card p,
.cluster-card p,
.resource-card p,
.authority-card p,
.term-card p{
    font-size:.91rem;
  }
}

/* =========================================================
   v15.5 — Reference Design Match Pass
   Actual HTML/CSS implementation based on approved visual.
   ========================================================= */

/* ---------- global visual rhythm ---------- */
body{
  background:#fff;
}

/* =========================================================
   v16 Golden Master — Home rebuilt from approved 1536x1024 reference
   ========================================================= */
.gm-home{background:#fff}
.gm-home .container,.gm-header .nav-wrap{width:min(1470px,calc(100% - 48px))!important}
.gm-header .brand img{width:34px!important;height:34px!important}
.gm-header .brand div{display:none!important}
/* height, nav type, nav gap and the header button moved to the v18 navbar
   section at the end of this file — they are defined once, there. */


.gm-solutions{padding:10px 0 8px}
.gm-section-title{margin:0 0 12px 22px;color:var(--navy);font-size:16px!important;line-height:1.35!important;font-weight:650!important}
.gm-solution-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}
.gm-solution-card{min-height:128px;display:grid;grid-template-columns:72px 1fr;gap:15px;align-items:center;padding:16px 18px;border:1px solid var(--line);border-radius:var(--r-xs);background:#fff}
.gm-solution-icon{width:66px;height:66px;border:1px solid var(--line-soft);border-radius:50%;display:flex;align-items:center;justify-content:center;background:linear-gradient(145deg,var(--soft-red),#fff)}
.gm-solution-icon img{width:42px;height:42px}
.gm-solution-card h2{margin:0;color:var(--navy);font-size:15px!important;line-height:1.3!important;font-weight:650!important}
.gm-solution-card p{margin:6px 0 8px;color:var(--slate);font-size:10.5px!important;line-height:1.55!important}
.gm-solution-card a{font-size:10.5px!important;color:var(--red);font-weight:700}

.gm-deeper{border-top:1px solid var(--line-soft)}
@media(max-width:1024px){
 .gm-hero-grid{grid-template-columns:1fr}
 .gm-hero-visual{order:-1;height:360px}
 .gm-solution-grid{grid-template-columns:1fr}
}
@media(max-width:640px){
 .gm-home .container,.gm-header .nav-wrap{width:calc(100% - 28px)!important}
 .gm-hero{padding-top:12px}
 .gm-hero-visual{height:300px}
 .gm-hero-copy{padding:18px 0 26px}
 .gm-hero h1{font-size:39px!important}
 .gm-actions{flex-direction:column}
 .gm-actions .btn{width:100%}
}

/* =========================================================
   v17 — GDL design system
   Canonical layer. Written to win on specificity, not volume:
   no rule here overrides by force.
   ========================================================= */

/* ---------- chrome: nav + language switcher ---------- */

.gm-nav{gap:22px}
.gm-nav>.mega-item,.gm-nav>a{flex:0 0 auto}
.gm-header .gm-nav>a,.gm-header .gm-nav .mega-trigger{font-size:var(--gdl-type-nav)}

.gm-lang{
  position:relative;
  display:inline-flex;
  align-items:center;
  gap:var(--sp-1);
  font-size:var(--gdl-type-nav);
  font-weight:600;
  color:var(--slate);
}
.gm-lang-globe{flex:0 0 auto;color:var(--muted);transition:color .16s ease}
.gm-lang-current{color:var(--navy)}
.gm-lang-sep{color:var(--line)}
.gm-lang-alt{color:var(--slate)}
.gm-lang-alt:hover{color:var(--red-text)}
.gm-lang:hover .gm-lang-globe{color:var(--red)}

/* The enhanced form: site.js folds the pair into one trigger + menu. */
.gm-lang-btn{
  display:inline-flex;
  align-items:center;
  gap:var(--sp-1);
  min-height:32px;
  padding:0 var(--sp-2);
  border:0;
  border-radius:var(--r-xs);
  background:none;
  font:inherit;
  color:inherit;
  cursor:pointer;
}
.gm-lang-btn:hover{background:var(--soft)}
.gm-lang-btn:hover .gm-lang-globe{color:var(--red)}
.gm-lang-chevron{color:var(--muted);font-size:11px;transition:transform .18s ease}
.gm-lang.open .gm-lang-chevron{transform:rotate(180deg)}
.gm-lang-menu{
  position:absolute;
  top:calc(100% + 6px);
  right:0;
  z-index:30;
  margin:0;
  padding:var(--sp-1);
  list-style:none;
  min-width:88px;
  background:var(--surface);
  border:var(--border);
  border-radius:var(--r-sm);
  box-shadow:var(--shadow-overlay);
}
.gm-lang-menu .gm-lang-alt{
  display:block;
  padding:var(--sp-2) var(--sp-3);
  border-radius:var(--r-xs);
  min-height:0;
}
.gm-lang-menu .gm-lang-alt:hover{background:var(--soft-red);color:var(--red-text)}

@media(max-width:640px){
  .gm-lang{display:inline-flex}
  .gm-lang-menu{right:auto;left:0}
}

/* ---------- page shell ---------- */

/* .gm-page is the specificity hook that lets this layer restyle the older
   .page-hero and .article-hero templates on 122 pages without renaming their
   markup and without overriding by force. */
.gm-page{background:var(--surface)}
/* ---------- hero, text-only variant ---------- */
.gm-page .article-hero{
  padding:var(--sp-6) 0 0;
  background:var(--surface);
  border-bottom:0;
}
.gm-page .article-hero .article-shell{max-width:900px}
.gm-page .article-hero .breadcrumb{
  font-size:10px;
  line-height:1.4;
  color:var(--muted);
  margin:0 0 12px;
}
.gm-page .article-hero .breadcrumb a{color:var(--muted)}
.gm-page .article-hero .breadcrumb a:hover{color:var(--red-text)}
.gm-page .article-hero .article-category{
  display:block;
  margin:0 0 10px;
  color:var(--red-text);
  font-size:10px;
  font-weight:800;
  letter-spacing:.055em;
}
.gm-page .article-hero h1{
  margin:0;
  color:var(--navy);
  font-size:clamp(32px,3.4vw,47px);
  line-height:1.12;
  letter-spacing:-.035em;
  font-weight:700;
}
.gm-page .article-hero h1 .red{display:block;color:var(--red)}
.gm-page .article-hero .article-deck{
  margin:15px 0 0;
  max-width:640px;
  color:var(--slate);
  font-size:13.5px;
  line-height:1.68;
}
.gm-page .article-hero .article-meta{
  margin-top:12px;
  color:var(--muted);
  font-size:10px;
}
/* the thin rule the design draws under every hero */
.gm-page .article-hero+section{border-top:var(--border-soft)}
/* the first content section sits closer to the hero than the old 88px */
.gm-page .article-hero+.section-pad{padding-top:var(--sp-10)}

@media(max-width:768px){
.gm-page .article-hero{padding-top:var(--sp-5)}
.gm-page .article-hero .article-deck{font-size:14px}
}

/* One measure for the whole page: content lines up with the logo and the
   header CTA instead of sitting in a narrower, centred column. */
.gm-page .container{width:min(var(--container),calc(100% - var(--gutter)))}
.gm-page .article-hero .article-shell{max-width:none}
.gm-page .article-hero h1{max-width:900px}
.gm-page .article-body{max-width:780px}

@media(max-width:640px){
  .gm-page .container{width:calc(100% - var(--gutter-sm))}
}

/* ---------- hero, two-column variant ---------- */

/* One hero for all 18 pages that have an illustration: the home page and the
   eight primary pages in each language. The 40/60 split, the 390px visual box
   and the 47px headline come from the approved reference composition. */
.gm-hero{padding:var(--sp-6) 0 0;background:var(--surface)}
.gm-hero-grid{
  display:grid;
  grid-template-columns:40% 60%;
  align-items:center;
  min-height:390px;
}

.gm-hero-copy{padding:var(--sp-6) var(--sp-6) var(--sp-6) 0}

.gm-breadcrumb{
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:var(--sp-2);
  margin:0 0 var(--sp-3);
  color:var(--muted);
  font-size:10px;
  line-height:1.4;
}
.gm-breadcrumb a{color:var(--muted)}
.gm-breadcrumb a:hover{color:var(--red-text)}

.gm-kicker{
  display:block;
  margin:0 0 var(--sp-3);
  color:var(--red-text);
  font-size:11px;
  font-weight:800;
  letter-spacing:.055em;
}
.gm-hero h1{
  margin:0;
  max-width:650px;
  color:var(--navy);
  font-size:clamp(32px,3.4vw,47px);
  line-height:1.12;
  letter-spacing:-.035em;
  font-weight:700;
}
.gm-hero h1 .red{display:block;color:var(--red)}

.gm-lead{
  margin:var(--sp-4) 0 0;
  max-width:590px;
  color:var(--slate);
  font-size:13.5px;
  line-height:1.7;
}
.gm-actions{display:flex;gap:var(--sp-3);margin-top:var(--sp-5)}
.gm-actions .btn{min-height:42px;padding:0 var(--sp-5);font-size:12px}

.gm-hero-visual{
  height:390px;
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
}
.gm-hero-visual img{
  display:block;
  width:100%;
  height:100%;
  object-fit:contain;
  object-position:center;
}

/* the outlined companion to .btn-primary, used by every hero */
.btn-secondary{
  background:var(--surface);
  color:var(--navy);
  border:var(--bw) solid var(--line);
}
.btn-secondary:hover{border-color:var(--red);color:var(--red-text)}

/* content sections sit tighter than the pre-v17 88px */
.gm-page>.section-pad{padding-block:58px}

@media(max-width:1024px){
.gm-hero-grid{grid-template-columns:1fr}
.gm-hero-copy{order:2;padding-inline:0}
.gm-hero-visual{order:1;height:340px}
}
@media(max-width:640px){
  .gm-hero{padding-top:var(--sp-3)}
.gm-hero-visual{height:280px}
  .gm-actions{flex-direction:column}
  .gm-actions .btn{width:100%}
}

/* .btn is inline-flex, so the space before a trailing arrow collapses */
.btn{gap:var(--sp-2)}

/* ---------- hero, text-only variant ---------- */

/* Pages with no illustration of their own: one column, same parts, same
   rhythm, so the two hero variants read as one component. */
.gm-hero--text{padding-bottom:var(--sp-6)}
.gm-hero--text .container{max-width:none}
.gm-hero--text h1{max-width:900px}
.gm-hero--text .gm-lead{max-width:640px}

/* ---------- strip: a bordered row of N icon-and-label cells ---------- */

/* Replaces four near-identical implementations: the capability strip, the
   company stat strip, the contact strip and the home proof strip. Column
   count is data, not a class: style="--cols:4". */
.gm-strip-section{padding:0 0 var(--sp-5);background:var(--surface)}
.gm-strip-title{
  margin:0 0 var(--sp-3);
  color:var(--navy);
  font-size:14px;
  line-height:1.35;
  font-weight:650;
}
.gm-strip{
  display:grid;
  grid-template-columns:repeat(var(--cols,5),minmax(0,1fr));
  background:var(--surface);
  border-top:var(--border);
  border-bottom:var(--border);
}
.gm-strip--boxed{
  border:var(--border);
  border-radius:var(--r-md);
  overflow:hidden;
}
.gm-strip-item{
  position:relative;
  min-height:112px;
  padding:var(--sp-4) var(--sp-4) var(--sp-3);
  text-align:center;
}
.gm-strip-item:not(:last-child)::after{
  content:"";
  position:absolute;
  top:var(--sp-5);
  bottom:var(--sp-5);
  right:0;
  width:1px;
  background:var(--line-soft);
}
.gm-strip-icon{
  width:52px;
  height:52px;
  margin:0 auto var(--sp-2);
  display:flex;
  align-items:center;
  justify-content:center;
  border:var(--border-soft);
  border-radius:50%;
  background:var(--surface);
}
.gm-strip-icon img{width:29px;height:29px}
.gm-strip-item strong{
  display:block;
  margin-bottom:var(--sp-1);
  color:var(--navy);
  font-size:11.5px;
  line-height:1.35;
  font-weight:650;
}
.gm-strip-item span{
  display:block;
  max-width:190px;
  margin:0 auto;
  color:var(--muted);
  font-size:9.5px;
  line-height:1.42;
}

/* stat cells lead with a big red figure instead of an icon */
.gm-strip-item--stat{min-height:0;padding-block:var(--sp-4)}
.gm-strip-item--stat strong{
  margin-bottom:var(--sp-1);
  color:var(--red);
  font-size:23px;
  line-height:1;
  font-weight:700;
}
.gm-strip-item--stat span{max-width:none;font-size:10px;color:var(--slate)}

/* inline cells put the icon beside the label instead of above it */
.gm-strip-item--inline{
  display:grid;
  grid-template-columns:38px 1fr;
  gap:var(--sp-3);
  align-items:center;
  min-height:0;
  padding:var(--sp-4) var(--sp-5);
  text-align:left;
}
.gm-strip-item--inline>img,
.gm-strip-item--inline .gm-strip-icon{width:32px;height:32px;margin:0;border:0}
.gm-strip-item--inline .gm-strip-icon img{width:32px;height:32px}
.gm-strip-item--inline span{max-width:none;margin:0}

@media(max-width:1024px){
  .gm-strip{grid-template-columns:repeat(2,minmax(0,1fr));border-radius:0}
  .gm-strip-item:nth-child(2n)::after{display:none}
  .gm-strip-item{border-bottom:var(--border-soft)}
}
@media(max-width:640px){
  .gm-strip{grid-template-columns:1fr}
  .gm-strip-item::after{display:none}
  .gm-strip-item:last-child{border-bottom:0}
}

/* Narrow columns line up with the hero rather than floating mid-page — but
   they line up with the hero's TEXT EDGE, not with the viewport edge. A flat
   margin-inline:0 dropped the page gutter entirely and pushed the column flush
   against the left of the screen. The start margin below reproduces exactly
   what margin-inline:auto gives a full-width .container: half the leftover
   space once the 1470px measure is reached, and half the gutter below that. */
.gm-page .container.narrow{
  margin-inline:max(calc(var(--gutter) / 2),calc((100% - var(--container)) / 2)) auto;
}

/* ---------- contact form ---------- */

/* The generic field rule sets width:100% on every input in the card, which
   included the consent checkbox: at 100% it filled the flex row and squeezed
   the label text into a one-character column. A checkbox is not a text field. */
.contact-form-card input[type="checkbox"],
.contact-form-card input[type="radio"]{
  width:auto;
  padding:0;
  border-radius:var(--r-xs);
  accent-color:var(--red);
}
.form-consent{
  gap:var(--sp-2);
  margin-top:var(--sp-4);
  font-size:11.5px;
  line-height:1.55;
}
.contact-form-card .btn{justify-self:start;margin-top:var(--sp-4);min-height:44px;padding:0 var(--sp-6)}
.contact-form-card h3{font-size:var(--gdl-type-h3);margin-bottom:var(--sp-2)}
.contact-form-card label{margin-top:var(--sp-3);font-size:11.5px}
.contact-form-card input,
.contact-form-card select,
.contact-form-card textarea{font-size:13.5px}

/* ---------- shortcut row ---------- */

/* Four named engagements that used to occupy a full-width band of their own,
   above a section asking the same question. They belong next to the form. */
.gm-shortcuts{
  margin-top:var(--sp-6);
  padding-top:var(--sp-5);
  border-top:var(--border-soft);
}
.gm-shortcuts-label{
  display:block;
  margin-bottom:var(--sp-3);
  color:var(--muted);
  font-size:var(--gdl-type-micro);
  font-weight:700;
  letter-spacing:.055em;
}
.gm-shortcuts-row{display:flex;flex-wrap:wrap;gap:var(--sp-2)}
.gm-shortcuts-row a{
  display:inline-flex;
  align-items:center;
  min-height:34px;
  padding:0 var(--sp-4);
  border:var(--border);
  border-radius:var(--r-pill);
  background:var(--surface);
  color:var(--slate);
  font-size:11.5px;
  font-weight:600;
}
.gm-shortcuts-row a:hover{
  border-color:var(--red);
  background:var(--soft-red);
  color:var(--red-text);
}

@media(max-width:640px){
  .contact-form-card .btn{justify-self:stretch;width:100%}
}

/* =========================================================
   v17.1 — one gutter ladder for every container
   .gm-page .container (0,2,0) outranked the whole responsive .container
   ladder below it, so on 138 of 140 pages the gutter was a flat 48px from
   any width down to 641px and 28px under that — the 40/36/32/24/20 steps
   never applied. The gutter is now a single custom property that every
   container family reads, so one ladder drives all of them.
   ========================================================= */
:root{--gutter:48px}
@media(max-width:1180px){:root{--gutter:40px}}
@media(max-width:1024px){:root{--gutter:36px}}
@media(max-width:768px) {:root{--gutter:32px}}
@media(max-width:640px) {:root{--gutter:28px}}
@media(max-width:390px) {:root{--gutter:24px}}
@media(max-width:360px) {:root{--gutter:20px}}
/* kept in sync for anything still reading the old name */
:root{--gutter-sm:var(--gutter)}

/* The three container families, all on the same ladder and all centred.
   Placed last so they win on source order rather than on !important —
   except against the two v16 rules that already shipped !important. */
.container{width:min(1180px,calc(100% - var(--gutter)));margin-inline:auto}
/* The footer sits outside <main class="gm-page">, so it was the one band still
   capped at the pre-v17 1180px measure: on a wide screen its columns started
   145px inboard of the header logo. It belongs on the same 1470px measure. */
.gm-page .container,
.footer .container{width:min(var(--container),calc(100% - var(--gutter)))}
.gm-home .container,
.gm-header .nav-wrap{width:min(var(--container),calc(100% - var(--gutter)))!important;margin-inline:auto!important}

/* =========================================================
   v18 — navbar
   The header was the last band still running on the v16 emergency layer:
   an 11px !important nav, a text "⌄" for the chevron, and no state at all
   beyond a colour swap on hover. This section owns the whole bar — height,
   type, states, panels, language switcher, mobile drawer. The v16 rules it
   replaces were deleted rather than overridden, so the bar is described in
   one place. Radii stay on the 4-8px house scale; nothing here is a pill.
   ========================================================= */

:root{--header-h:64px}

.gm-header{
  position:sticky;top:0;z-index:50;
  height:var(--header-h);min-height:var(--header-h);
  background:rgba(255,255,255,.88);
  -webkit-backdrop-filter:saturate(180%) blur(14px);
  backdrop-filter:saturate(180%) blur(14px);
  border-bottom:1px solid var(--line);
  box-shadow:none;
  transition:border-color .2s ease,box-shadow .2s ease;
}
/* site.js sets this once the page has scrolled: the bar lifts off the content
   instead of sitting on a hairline that vanishes over a white section. */
.gm-header.is-stuck{
  border-color:rgba(232,235,239,.9);
  box-shadow:0 1px 2px rgba(13,20,36,.04),0 10px 28px -18px rgba(13,20,36,.28);
}
.gm-header .nav-wrap{height:var(--header-h);min-height:var(--header-h);gap:var(--sp-6)}
.gm-header .brand{border-radius:var(--r-sm);transition:opacity .16s ease}
.gm-header .brand:hover{opacity:.82}

/* ---------- links and triggers ---------- */

.gm-header .gm-nav{gap:2px;margin-left:auto;align-items:center}
.gm-header .gm-nav>a,
.gm-header .gm-nav .mega-trigger{
  position:relative;
  display:inline-flex;align-items:center;gap:6px;
  height:34px;min-height:34px;padding:0 11px;
  border-radius:var(--r-sm);
  font-size:var(--gdl-type-nav);
  font-weight:600;
  color:var(--slate);
  white-space:nowrap;
  transition:color .16s ease,background-color .16s ease;
}
.gm-header .gm-nav>a:hover,
.gm-header .gm-nav .mega-trigger:hover,
.gm-header .gm-nav .mega-item.open .mega-trigger{
  color:var(--navy);
  background:var(--soft);
}
/* The current page, marked by site.js. A 2px rule under the label rather than
   a filled chip, so the active item reads as position and the hover chip stays
   readable as "you are about to go here". */
.gm-header .gm-nav>a[aria-current="page"],
.gm-header .gm-nav .mega-item.is-current .mega-trigger{color:var(--navy)}
.gm-header .gm-nav>a[aria-current="page"]::after,
.gm-header .gm-nav .mega-item.is-current .mega-trigger::after{
  content:"";position:absolute;left:11px;right:11px;bottom:4px;
  height:2px;border-radius:2px;background:var(--red);
}
.gm-header .gm-nav .mega-item.is-current .mega-trigger::after{right:27px}

.nav-chevron{
  flex:0 0 auto;width:10px;height:10px;
  color:var(--muted);
  transition:transform .2s ease,color .16s ease;
}
.mega-item.open .nav-chevron,
.gm-lang.open .nav-chevron{transform:rotate(180deg);color:var(--red)}
.mega-trigger:hover .nav-chevron{color:var(--slate)}

/* ---------- mega panel ---------- */

.gm-header .mega-panel{
  top:calc(100% + 8px);left:-12px;
  padding:var(--sp-6);
  gap:var(--sp-6);
  border:1px solid var(--line);
  border-radius:var(--r-lg);
  box-shadow:0 2px 4px rgba(13,20,36,.04),0 28px 60px -26px rgba(13,20,36,.34);
  transform:translateY(-8px);
  transition:opacity .18s ease,transform .18s ease,visibility .18s ease;
}
.gm-header .mega-item.open .mega-panel{transform:translateY(0)}
.gm-header .mega-col+.mega-col{border-left:1px solid var(--line-soft);padding-left:var(--sp-6)}
.gm-header .mega-col{gap:2px}
.gm-header .mega-col a{
  padding:7px 9px;
  margin-inline:-9px;
  border-radius:var(--r-xs);
  color:var(--slate);
  transition:color .14s ease,background-color .14s ease;
}
.gm-header .mega-col a:hover{background:var(--soft);color:var(--red-text)}
.gm-header .mega-col .mega-title{color:var(--navy);margin-bottom:var(--sp-1)}
.gm-header .mega-col .mega-title:hover{color:var(--red-text)}
.gm-header .mega-eyebrow{margin-bottom:var(--sp-2)}

/* ---------- language switcher + header CTA ---------- */

.gm-header .gm-lang-btn{
  height:34px;min-height:34px;
  padding:0 10px;
  border:1px solid var(--line);
  border-radius:var(--r-sm);
  font-size:var(--gdl-type-nav);
  font-weight:600;
  color:var(--slate);
  transition:color .16s ease,background-color .16s ease,border-color .16s ease;
}
.gm-header .gm-lang-btn:hover{background:var(--soft);border-color:#DDE2E8;color:var(--navy)}
.gm-header .gm-lang.open .gm-lang-btn{background:var(--soft);border-color:#DDE2E8;color:var(--navy)}
.gm-header .gm-lang-current{color:inherit}
.gm-header .gm-lang-menu{border-radius:var(--r-sm);box-shadow:0 2px 4px rgba(13,20,36,.04),0 18px 40px -22px rgba(13,20,36,.34)}
.gm-header .gm-lang-menu .gm-lang-alt{font-size:var(--gdl-type-nav);font-weight:600}

.gm-header .nav-actions{gap:var(--sp-2)}
.gm-header .nav-actions .btn{
  min-height:34px;
  padding:0 16px;
  border-radius:var(--r-sm);
  font-size:var(--gdl-type-nav);
  font-weight:700;
  box-shadow:0 1px 2px rgba(229,30,37,.2);
}
.gm-header .nav-actions .btn:hover{box-shadow:0 4px 12px -2px rgba(229,30,37,.36)}

/* ---------- mobile drawer ---------- */

.gm-header .menu-toggle{
  position:relative;
  width:40px;height:40px;
  border-radius:var(--r-sm);
  padding:11px 9px;
  transition:background-color .16s ease,border-color .16s ease;
}
.gm-header .menu-toggle:hover{background:var(--soft)}
.gm-header .menu-toggle span{
  transition:transform .22s ease,opacity .16s ease;
  transform-origin:center;
}
.gm-header .menu-toggle[aria-expanded="true"] span:nth-child(1){transform:translateY(6px) rotate(45deg)}
.gm-header .menu-toggle[aria-expanded="true"] span:nth-child(2){opacity:0}
.gm-header .menu-toggle[aria-expanded="true"] span:nth-child(3){transform:translateY(-6px) rotate(-45deg)}

.gm-header .mobile-menu{
  padding-block:var(--sp-2) var(--sp-4);
  border-top:1px solid var(--line);
  background:var(--surface);
  box-shadow:0 18px 40px -26px rgba(13,20,36,.4);
}
.gm-header .mobile-menu a{
  border-bottom:0;
  padding:12px 14px;
  margin-inline:-14px;
  border-radius:var(--r-sm);
  color:var(--charcoal);
  transition:color .14s ease,background-color .14s ease;
}
.gm-header .mobile-menu a:hover{background:var(--soft);color:var(--red-text)}
.gm-header .mobile-menu a[aria-current="page"]{background:var(--soft-red);color:var(--red-text)}

@media(max-width:768px){
  :root{--header-h:60px}
}
/* Anchor flip, set by site.js when a left-anchored panel would leave the
   viewport — the last two triggers sit within 300px of the right edge. */
.gm-header .mega-panel.align-right{left:auto;right:-12px}
.gm-header .mega-col a[aria-current="page"]{background:var(--soft-red);color:var(--red-text)}

/* =========================================================
   v17.2 — Confirmed Header / Navigation Pass
   Scope: header only. Hero/content intentionally unchanged.
   ========================================================= */
.v17-2-header{
  height:64px!important;
  min-height:64px!important;
  background:rgba(255,255,255,.97)!important;
  border-bottom:1px solid #e7ebef!important;
  box-shadow:none!important;
}
.v17-2-header .nav-wrap{
  width:min(1460px,calc(100% - 48px))!important;
  height:64px!important;
  min-height:64px!important;
  padding:0!important;
  gap:22px!important;
}
.v17-2-header .brand{
  flex:0 0 auto!important;
  min-width:0!important;
}
.v17-2-header .brand img{
  width:44px!important;
  height:44px!important;
  border-radius:10px!important;
}
.v17-2-header .v17-2-nav{
  margin-left:auto!important;
  display:flex!important;
  align-items:center!important;
  gap:24px!important;
}
.v17-2-header .v17-2-nav>a,
.v17-2-header .mega-trigger{
  min-height:44px!important;
  padding:0!important;
  color:#202936!important;
  font-size:13px!important;
  line-height:1.25!important;
  font-weight:550!important;
  white-space:nowrap!important;
}
.v17-2-header .v17-2-nav>a:hover,
.v17-2-header .mega-trigger:hover,
.v17-2-header .mega-item.is-current>.mega-trigger,
.v17-2-header .v17-2-nav>a[aria-current="page"]{
  color:#d9141c!important;
}
.v17-2-header .nav-chevron{
  width:10px!important;
  height:10px!important;
  margin-left:3px!important;
  transition:transform .16s ease!important;
}
.v17-2-header .mega-item.open>.mega-trigger .nav-chevron{
  transform:rotate(180deg)!important;
}
.v17-2-header .mega-panel{
  top:calc(100% + 8px)!important;
  left:-28px!important;
  width:min(720px,78vw)!important;
  padding:22px!important;
  gap:22px!important;
  border-radius:14px!important;
  border:1px solid #e3e8ed!important;
  box-shadow:0 18px 45px rgba(13,20,36,.12)!important;
}
.v17-2-header .mega-panel-small{
  width:min(500px,68vw)!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
}
.v17-2-header .mega-panel.align-right{
  left:auto!important;
  right:-24px!important;
}
.v17-2-header .mega-col{
  gap:5px!important;
}
.v17-2-header .mega-eyebrow{
  margin-bottom:4px!important;
  font-size:9px!important;
  letter-spacing:.08em!important;
  color:#d9141c!important;
}
.v17-2-header .mega-col a{
  min-height:0!important;
  padding:5px 0!important;
  font-size:12px!important;
  line-height:1.35!important;
  color:#526071!important;
}
.v17-2-header .mega-col .mega-title{
  font-size:14px!important;
  line-height:1.3!important;
  font-weight:700!important;
  color:#17202f!important;
}
.v17-2-header .mega-col .mega-more{
  margin-top:5px!important;
  color:#d9141c!important;
  font-weight:700!important;
}
.v17-2-header .nav-actions{
  margin-left:0!important;
  gap:10px!important;
  flex:0 0 auto!important;
}
.v17-2-header .gm-lang{
  min-width:52px!important;
}
.v17-2-header .gm-lang-btn,
.v17-2-header .gm-lang-current,
.v17-2-header .gm-lang-alt{
  font-size:12px!important;
}
.v17-2-header .v17-2-header-cta{
  min-height:38px!important;
  height:38px!important;
  padding:0 16px!important;
  border-radius:5px!important;
  font-size:12px!important;
  font-weight:650!important;
}

/* Compact desktop: remove one non-essential top-level item before going mobile. */
@media (max-width:1180px) and (min-width:1025px){
  .v17-2-header .nav-wrap{
    width:calc(100% - 34px)!important;
    gap:16px!important;
  }
  .v17-2-header .v17-2-nav{
    gap:17px!important;
  }
  .v17-2-header .v17-2-nav>a,
  .v17-2-header .mega-trigger{
    font-size:12px!important;
  }
  .v17-2-header .nav-resources{
    display:none!important;
  }
  .v17-2-header .v17-2-header-cta{
    padding-inline:13px!important;
  }
  .v17-2-header .brand img{
    width:42px!important;
    height:42px!important;
  }
}

/* Tablet/mobile switch happens deliberately at 1024. */
@media (max-width:1024px){
  .v17-2-header{
    height:60px!important;
    min-height:60px!important;
  }
  .v17-2-header .nav-wrap{
    width:calc(100% - 28px)!important;
    height:60px!important;
    min-height:60px!important;
  }
  .v17-2-header .v17-2-nav{
    display:none!important;
  }
  .v17-2-header .brand img{
    width:40px!important;
    height:40px!important;
  }
  .v17-2-header .nav-actions{
    margin-left:auto!important;
  }
  .v17-2-header .v17-2-header-cta{
    display:none!important;
  }
  .v17-2-header .menu-toggle{
    display:block!important;
    width:42px!important;
    height:42px!important;
    min-width:42px!important;
    min-height:42px!important;
    padding:9px!important;
    border-radius:8px!important;
  }
  .v17-2-header .v17-2-mobile{
    display:none!important;
    padding:10px 18px 20px!important;
    border-top:1px solid #e7ebef!important;
    background:#fff!important;
    max-height:calc(100vh - 60px)!important;
    overflow:auto!important;
    box-shadow:0 16px 34px rgba(13,20,36,.08)!important;
  }
  .v17-2-header .v17-2-mobile.open{
    display:block!important;
  }
  .v17-2-header .mobile-accordion{
    border-bottom:1px solid #edf0f3!important;
  }
  .v17-2-header .mobile-accordion-trigger{
    width:100%!important;
    min-height:48px!important;
    display:flex!important;
    align-items:center!important;
    justify-content:space-between!important;
    gap:12px!important;
    padding:0 4px!important;
    border:0!important;
    background:#fff!important;
    color:#202936!important;
    font:inherit!important;
    font-size:14px!important;
    font-weight:650!important;
    text-align:left!important;
    cursor:pointer!important;
  }
  .v17-2-header .mobile-accordion-trigger .nav-chevron{
    transition:transform .16s ease!important;
  }
  .v17-2-header .mobile-accordion.open .mobile-accordion-trigger .nav-chevron{
    transform:rotate(180deg)!important;
  }
  .v17-2-header .mobile-accordion-panel{
    display:none!important;
    padding:0 0 10px 10px!important;
  }
  .v17-2-header .mobile-accordion.open .mobile-accordion-panel{
    display:block!important;
  }
  .v17-2-header .mobile-accordion-panel a,
  .v17-2-header .mobile-direct{
    min-height:42px!important;
    display:flex!important;
    align-items:center!important;
    padding:0 8px!important;
    border:0!important;
    color:#526071!important;
    font-size:13px!important;
    font-weight:500!important;
  }
  .v17-2-header .mobile-accordion-panel a:hover,
  .v17-2-header .mobile-direct:hover{
    color:#d9141c!important;
    background:#fff7f7!important;
  }
  .v17-2-header .mobile-direct{
    border-bottom:1px solid #edf0f3!important;
  }
  .v17-2-header .mobile-contact{
    margin-top:12px!important;
    min-height:44px!important;
    justify-content:center!important;
    border:1px solid #e51e25!important;
    border-radius:6px!important;
    background:#e51e25!important;
    color:#fff!important;
    font-weight:700!important;
  }
  .v17-2-header .mobile-contact:hover{
    background:#c4161c!important;
    color:#fff!important;
  }
}

@media (max-width:480px){
  .v17-2-header .nav-wrap{
    width:calc(100% - 20px)!important;
  }
  .v17-2-header .gm-lang{
    min-width:46px!important;
  }
}

/* =========================================================
   v17.3 — Hero Refinement
   Scope: primary Hero only. No Solution Card/Body section changes.
   ========================================================= */

/* Desktop >=1180: retain two-column 40/60, improve readability */
.gm-hero{
  padding-top:22px;
}
.gm-hero-grid{
  grid-template-columns:40% 60%;
  min-height:378px;
  column-gap:18px;
}
.gm-hero-copy{
  padding:26px 28px 26px 0;
}
html[lang="th"] .gm-hero h1{
  max-width:560px;
}
html[lang="en"] .gm-hero h1{
  max-width:640px;
}
.gm-hero h1{
  font-size:clamp(36px,3.55vw,49px);
  line-height:1.12;
}
.gm-lead{
  max-width:560px;
  font-size:15.5px;
  line-height:1.68;
  margin-top:16px;
}
html[lang="th"] .gm-lead{
  line-height:1.76;
}
.gm-actions{
  gap:12px;
  margin-top:20px;
}
.gm-actions .btn{
  min-height:44px;
  height:44px;
  padding-inline:20px;
  font-size:13px;
}
.gm-hero-visual{
  height:378px;
  overflow:hidden;
}
.gm-hero-visual img{
  transform-origin:center center;
  transition:none;
}

/* Per-page visual compensation for whitespace inside SVG/WebP artwork */
.gm-hero--home .gm-hero-visual img{transform:scale(1.05)}
.gm-hero--lending .gm-hero-visual img{transform:scale(1.08)}
.gm-hero--ai .gm-hero-visual img{transform:scale(1.03)}
.gm-hero--private-ai .gm-hero-visual img{transform:scale(1.08)}
.gm-hero--consulting .gm-hero-visual img{transform:scale(1.10)}
.gm-hero--services .gm-hero-visual img{transform:scale(1.02)}
.gm-hero--insights .gm-hero-visual img{transform:scale(1.08)}
.gm-hero--about .gm-hero-visual img{transform:scale(1.06)}
.gm-hero--contact .gm-hero-visual img{transform:scale(1.08)}

/* Compact desktop / landscape tablet:
   stay two-column at 1024 instead of switching too early. */
@media (min-width:820px) and (max-width:1179px){
  .gm-hero{
    padding-top:18px;
  }
  .gm-hero-grid{
    grid-template-columns:45% 55%;
    min-height:350px;
    column-gap:14px;
  }
  .gm-hero-copy{
    order:1!important;
    padding:22px 20px 22px 0;
  }
  .gm-hero-visual{
    order:2!important;
    height:350px;
  }
  .gm-hero h1{
    font-size:clamp(36px,4.25vw,43px);
    line-height:1.13;
  }
  html[lang="th"] .gm-hero h1{max-width:500px}
  html[lang="en"] .gm-hero h1{max-width:570px}
  .gm-lead{
    font-size:15px;
    max-width:500px;
  }
  .gm-actions .btn{
    min-height:42px;
    height:42px;
    padding-inline:17px;
    font-size:12px;
  }

  .gm-hero--home .gm-hero-visual img{transform:scale(1.02)}
  .gm-hero--lending .gm-hero-visual img{transform:scale(1.05)}
  .gm-hero--ai .gm-hero-visual img{transform:scale(1.01)}
  .gm-hero--private-ai .gm-hero-visual img{transform:scale(1.05)}
  .gm-hero--consulting .gm-hero-visual img{transform:scale(1.07)}
  .gm-hero--services .gm-hero-visual img{transform:scale(1.00)}
  .gm-hero--insights .gm-hero-visual img{transform:scale(1.05)}
  .gm-hero--about .gm-hero-visual img{transform:scale(1.03)}
  .gm-hero--contact .gm-hero-visual img{transform:scale(1.05)}
}

/* Tablet / mobile <=819: copy always first, visual second */
@media (max-width:819px){
  .gm-hero{
    padding-top:16px;
  }
  .gm-hero-grid{
    grid-template-columns:1fr!important;
    min-height:0;
  }
  .gm-hero-copy{
    order:1!important;
    padding:18px 0 14px!important;
  }
  .gm-hero-visual{
    order:2!important;
    height:300px;
    margin-top:2px;
  }
  .gm-hero h1{
    font-size:clamp(34px,7.5vw,39px);
    line-height:1.15;
  }
  html[lang="th"] .gm-hero h1,
  html[lang="en"] .gm-hero h1{
    max-width:620px;
  }
  .gm-lead{
    font-size:15px;
    max-width:620px;
  }
  .gm-actions{
    margin-top:18px;
  }

  .gm-hero--home .gm-hero-visual img,
  .gm-hero--lending .gm-hero-visual img,
  .gm-hero--ai .gm-hero-visual img,
  .gm-hero--private-ai .gm-hero-visual img,
  .gm-hero--consulting .gm-hero-visual img,
  .gm-hero--services .gm-hero-visual img,
  .gm-hero--insights .gm-hero-visual img,
  .gm-hero--about .gm-hero-visual img,
  .gm-hero--contact .gm-hero-visual img{
    transform:scale(1.00);
  }
}

@media (max-width:520px){
  .gm-hero-copy{
    padding-top:14px!important;
  }
  .gm-hero-visual{
    height:260px;
  }
  .gm-hero h1{
    font-size:34px;
  }
  .gm-lead{
    font-size:14.5px;
  }
  .gm-actions{
    flex-direction:column;
    align-items:stretch;
  }
  .gm-actions .btn{
    width:100%;
    min-height:44px;
    height:44px;
  }
}

/* =========================================================
   v17.4 — Home Solution Cards + Proof Metrics
   Scope: Home only.
   ========================================================= */

/* Solution cards */
.gm-solutions{
  padding-top:12px;
  padding-bottom:10px;
}
.gm-section-title{
  margin-bottom:14px;
  font-size:18px;
  line-height:1.35;
}
.gm-solution-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:14px;
  align-items:stretch;
}
.gm-solution-card{
  min-height:168px;
  height:100%;
  display:grid;
  grid-template-columns:72px minmax(0,1fr);
  column-gap:18px;
  align-items:start;
  padding:24px 24px 20px;
  border:1px solid #e5e9ee;
  border-radius:12px;
  background:#fff;
}
.gm-solution-icon{
  width:68px;
  height:68px;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  background:#fff8f7;
  border:1px solid #f0e7e7;
}
.gm-solution-icon img{
  width:42px;
  height:42px;
}
.gm-solution-card>div:last-child{
  min-height:118px;
  display:flex;
  flex-direction:column;
  align-items:flex-start;
}
.gm-solution-card h2{
  margin:0 0 8px;
  font-size:18px;
  line-height:1.35;
  font-weight:650;
  color:#131b29;
}
.gm-solution-card p{
  margin:0;
  max-width:38ch;
  font-size:13.5px;
  line-height:1.62;
  color:#596579;
}
html[lang="th"] .gm-solution-card p{
  line-height:1.70;
}
.gm-solution-card a{
  margin-top:auto;
  padding-top:14px;
  font-size:12.5px;
  line-height:1.2;
  color:#df0c12;
  font-weight:700;
}
.gm-solution-card:hover{
  border-color:#efc7c9;
}

/* Proof metrics */
.gm-strip-section{
  padding-top:0;
  padding-bottom:22px;
}
.gm-strip.gm-strip--boxed{
  border:1px solid #e5e9ee;
  border-radius:10px;
  background:#fff;
}
.gm-strip-item--stat{
  min-height:94px;
  padding:18px 22px;
  grid-template-columns:48px minmax(0,1fr);
  gap:15px;
  align-items:center;
}
.gm-strip-item--stat .gm-strip-icon{
  width:46px;
  height:46px;
  display:flex;
  align-items:center;
  justify-content:center;
}
.gm-strip-item--stat .gm-strip-icon img{
  width:36px;
  height:36px;
}
.gm-strip-item--stat strong{
  display:block;
  margin:0 0 5px;
  color:#df0c12;
  font-size:28px;
  line-height:1;
  font-weight:720;
}
.gm-strip-item--stat span{
  display:block;
  color:#334155;
  line-height:1.38;
}
.gm-strip-item--stat span b{
  display:block;
  font-size:12.5px;
  line-height:1.35;
  font-weight:650;
  color:#253044;
}
.gm-strip-item--stat span small{
  display:block;
  margin-top:3px;
  font-size:9.8px;
  line-height:1.45;
  color:#7a8594;
  font-weight:400;
}

/* Compact Desktop — 1024/1180 */
@media (min-width:820px) and (max-width:1179px){
  .gm-solution-grid{
    gap:10px;
  }
  .gm-solution-card{
    min-height:164px;
    grid-template-columns:60px minmax(0,1fr);
    column-gap:13px;
    padding:20px 17px 18px;
  }
  .gm-solution-icon{
    width:58px;
    height:58px;
  }
  .gm-solution-icon img{
    width:36px;
    height:36px;
  }
  .gm-solution-card h2{
    font-size:16px;
  }
  .gm-solution-card p{
    font-size:12px;
    line-height:1.58;
  }
  html[lang="th"] .gm-solution-card p{
    line-height:1.66;
  }
  .gm-solution-card a{
    font-size:11.5px;
  }

  .gm-strip.gm-strip--boxed{
    grid-template-columns:repeat(2,1fr)!important;
  }
  .gm-strip-item--stat{
    min-height:84px;
    padding:15px 18px;
  }
  .gm-strip-item--stat:nth-child(2)::after{
    display:none;
  }
  .gm-strip-item--stat:nth-child(-n+2){
    border-bottom:1px solid #e5e9ee;
  }
}

/* Tablet/mobile */
@media (max-width:819px){
  .gm-solutions{
    padding-top:10px;
  }
  .gm-solution-grid{
    grid-template-columns:1fr;
    gap:10px;
  }
  .gm-solution-card{
    min-height:0;
    grid-template-columns:64px minmax(0,1fr);
    padding:20px;
  }
  .gm-solution-icon{
    width:60px;
    height:60px;
  }
  .gm-solution-icon img{
    width:37px;
    height:37px;
  }
  .gm-solution-card>div:last-child{
    min-height:0;
  }
  .gm-solution-card p{
    max-width:none;
    font-size:13px;
  }
  .gm-solution-card a{
    margin-top:10px;
    padding-top:0;
  }

  .gm-strip.gm-strip--boxed{
    grid-template-columns:repeat(2,1fr)!important;
  }
  .gm-strip-item--stat{
    min-height:86px;
    padding:15px;
  }
}

@media (max-width:599px){
  .gm-solution-card{
    grid-template-columns:56px minmax(0,1fr);
    column-gap:14px;
    padding:18px 16px;
  }
  .gm-solution-icon{
    width:54px;
    height:54px;
  }
  .gm-solution-icon img{
    width:33px;
    height:33px;
  }
  .gm-solution-card h2{
    font-size:16px;
  }
  .gm-solution-card p{
    font-size:12.5px;
  }

  .gm-strip.gm-strip--boxed{
    grid-template-columns:1fr!important;
  }
  .gm-strip-item--stat{
    min-height:76px;
    grid-template-columns:43px minmax(0,1fr);
    gap:12px;
    padding:14px 16px;
    border-bottom:1px solid #e5e9ee;
  }
  .gm-strip-item--stat:last-child{
    border-bottom:0;
  }
  .gm-strip-item--stat::after{
    display:none!important;
  }
  .gm-strip-item--stat strong{
    font-size:24px;
  }
}

/* =========================================================
   v17.5 — Home Body Refinement
   Scope: Lending / AI Fintech Factory / Private AI body sections only
   ========================================================= */
.gm-home-domain{
  position:relative;
  padding:76px 0;
  overflow:hidden;
  border-top:1px solid #edf0f3;
  background:#fff;
}
.gm-home-domain[data-domain="ai"]{
  background:#fafbfc;
}
.gm-home-domain[data-domain="private"]{
  background:linear-gradient(180deg,#fff 0%,#fffafb 100%);
}
.gm-domain-grid{
  display:grid;
  grid-template-columns:minmax(0,.86fr) minmax(460px,1.14fr);
  gap:54px;
  align-items:center;
}
.gm-home-domain--reverse .gm-domain-copy{order:2}
.gm-home-domain--reverse .gm-domain-visual{order:1}
.gm-domain-copy{
  max-width:620px;
}
.gm-domain-eyebrow{
  display:block;
  margin-bottom:12px;
  color:#df0c12;
  font-size:11px;
  line-height:1.2;
  font-weight:800;
  letter-spacing:.075em;
}
.gm-domain-copy h2{
  margin:0;
  color:#131b29;
  font-size:clamp(30px,2.55vw,39px);
  line-height:1.20;
  letter-spacing:-.027em;
  font-weight:700;
  text-wrap:balance;
}
.gm-domain-copy p{
  margin:17px 0 0;
  max-width:580px;
  color:#536074;
  font-size:15px;
  line-height:1.68;
}
html[lang="th"] .gm-domain-copy p{
  line-height:1.76;
}
.gm-domain-steps{
  display:flex;
  flex-wrap:wrap;
  gap:7px;
  margin-top:21px;
}
.gm-domain-step{
  display:inline-flex;
  min-height:30px;
  align-items:center;
  padding:6px 10px;
  border:1px solid #e4e8ed;
  border-radius:999px;
  background:#fff;
  color:#475569;
  font-size:10.5px;
  line-height:1;
  font-weight:600;
}
.gm-domain-step:first-child{
  border-color:#efc5c8;
  background:#fff6f6;
  color:#d9141c;
}
.gm-domain-cta{
  margin-top:23px;
  min-height:42px;
  padding-inline:17px;
  border-color:#a6afb9;
  color:#1f2937;
  background:#fff;
  font-size:12px;
}
.gm-domain-visual{
  position:relative;
  height:360px;
  min-width:0;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:22px;
  overflow:hidden;
  background:
    radial-gradient(circle at 70% 40%,rgba(229,30,37,.045),transparent 35%),
    #fff;
}
.gm-home-domain[data-domain="ai"] .gm-domain-visual{
  background:
    radial-gradient(circle at 35% 45%,rgba(229,30,37,.05),transparent 37%),
    #fff;
}
.gm-home-domain[data-domain="private"] .gm-domain-visual{
  border:1px solid #f2e5e6;
  background:
    radial-gradient(circle at 65% 42%,rgba(229,30,37,.055),transparent 36%),
    #fff;
}
.gm-domain-visual::after{
  content:"";
  position:absolute;
  inset:20px;
  border:1px dashed rgba(203,213,225,.6);
  border-radius:18px;
  pointer-events:none;
}
.gm-domain-visual img{
  position:relative;
  z-index:1;
  width:100%;
  height:100%;
  object-fit:contain;
  transform:scale(1.03);
}
.gm-home-domain[data-domain="lending"] .gm-domain-visual img{transform:scale(1.06)}
.gm-home-domain[data-domain="ai"] .gm-domain-visual img{transform:scale(1.01)}
.gm-home-domain[data-domain="private"] .gm-domain-visual img{transform:scale(1.05)}

/* Compact desktop */
@media (min-width:820px) and (max-width:1179px){
  .gm-home-domain{
    padding:62px 0;
  }
  .gm-domain-grid{
    grid-template-columns:minmax(0,.95fr) minmax(390px,1.05fr);
    gap:34px;
  }
  .gm-domain-copy h2{
    font-size:clamp(28px,3vw,34px);
  }
  .gm-domain-copy p{
    font-size:14px;
  }
  .gm-domain-visual{
    height:320px;
  }
}

/* Tablet / mobile: always copy first */
@media (max-width:819px){
  .gm-home-domain{
    padding:54px 0;
  }
  .gm-domain-grid{
    grid-template-columns:1fr;
    gap:26px;
  }
  .gm-home-domain--reverse .gm-domain-copy{order:1}
  .gm-home-domain--reverse .gm-domain-visual{order:2}
  .gm-domain-copy{
    max-width:none;
  }
  .gm-domain-copy h2{
    font-size:clamp(28px,6vw,34px);
  }
  .gm-domain-copy p{
    max-width:650px;
  }
  .gm-domain-visual{
    height:300px;
  }
}

@media (max-width:520px){
  .gm-home-domain{
    padding:44px 0;
  }
  .gm-domain-copy h2{
    font-size:28px;
  }
  .gm-domain-copy p{
    font-size:14px;
  }
  .gm-domain-steps{
    gap:6px;
    margin-top:17px;
  }
  .gm-domain-step{
    font-size:10px;
  }
  .gm-domain-cta{
    width:100%;
    justify-content:center;
  }
  .gm-domain-visual{
    height:250px;
    border-radius:16px;
  }
  .gm-domain-visual::after{
    inset:12px;
    border-radius:12px;
  }
}
