/* Self-hosted fonts (SIL Open Font License) */
@font-face { font-family: "Bricolage Grotesque"; font-style: normal; font-display: swap; font-weight: 200 800; src: url(../fonts/bricolage-grotesque-latin-ext-opsz-normal.woff2) format("woff2"); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Bricolage Grotesque"; font-style: normal; font-display: swap; font-weight: 200 800; src: url(../fonts/bricolage-grotesque-latin-opsz-normal.woff2) format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Instrument Sans"; font-style: normal; font-display: swap; font-weight: 400 700; src: url(../fonts/instrument-sans-latin-ext-wght-normal.woff2) format("woff2"); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Instrument Sans"; font-style: normal; font-display: swap; font-weight: 400 700; src: url(../fonts/instrument-sans-latin-wght-normal.woff2) format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-display: swap; font-weight: 400; src: url(../fonts/ibm-plex-mono-latin-ext-400-normal.woff2) format("woff2"); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-display: swap; font-weight: 400; src: url(../fonts/ibm-plex-mono-latin-400-normal.woff2) format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-display: swap; font-weight: 600; src: url(../fonts/ibm-plex-mono-latin-ext-600-normal.woff2) format("woff2"); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-display: swap; font-weight: 600; src: url(../fonts/ibm-plex-mono-latin-600-normal.woff2) format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }

/* Aloval Software Hub — public site styles */

:root {
  --ink: #06264d;
  --ink-2: #33435c;
  --muted: #5d6c82;
  --paper: #ffffff;
  --mist: #f2f5f9;
  --mist-2: #e8edf4;
  --line: #dde4ec;
  --gold: #ec9d05;
  --teal: #046571;
  --blue: #1f4fb8;
  --red: #b42318;
  --navy-2: #0b3870;

  --display: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --body: "Instrument Sans", "Segoe UI", system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, Consolas, monospace;

  --wrap: 1180px;
  --gutter: 20px;
  --r-sm: 6px;
  --r: 10px;
  --r-lg: 16px;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1.0625rem/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
a { color: var(--blue); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; border-radius: 4px; }

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 650;
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0 0 .5em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.3rem, 4.6vw, 3.75rem); letter-spacing: -0.032em; }
h2 { font-size: clamp(1.75rem, 3vw, 2.45rem); }
h3 { font-size: 1.25rem; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.measure { max-width: 64ch; }
.lede { font-size: 1.1875rem; color: var(--ink-2); max-width: 58ch; }
.muted { color: var(--muted); }
.icon { width: 22px; height: 22px; flex: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 10px 14px; z-index: 100; border-radius: var(--r-sm); }
.skip:focus { left: 8px; color: #fff; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 48px; padding: .7rem 1.25rem;
  border: 1.5px solid transparent; border-radius: var(--r);
  font: 600 1rem/1.2 var(--body); text-decoration: none; cursor: pointer;
  transition: background-color .15s, border-color .15s, color .15s;
}
.btn .icon { width: 19px; height: 19px; }
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: var(--navy-2); color: #fff; }
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover { background: #d68c00; color: var(--ink); }
.btn-outline { border-color: var(--line); color: var(--ink); background: #fff; }
.btn-outline:hover { border-color: var(--ink); color: var(--ink); }
.btn-ghost-light { border-color: rgba(255,255,255,.35); color: #fff; }
.btn-ghost-light:hover { border-color: #fff; color: #fff; }
.btn-sm { min-height: 40px; padding: .45rem .95rem; font-size: .9375rem; }
.btn-block { width: 100%; }
.text-link { font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: .35rem; }
.text-link .icon { width: 18px; height: 18px; transition: transform .15s; }
.text-link:hover .icon { transform: translateX(3px); }

/* ---------- Notices ---------- */
.notice { max-width: var(--wrap); margin: 16px auto 0; padding: 14px 18px; border-radius: var(--r); border: 1px solid; font-weight: 500; width: calc(100% - 2 * var(--gutter)); }
.notice-success { background: #effbe1; border-color: #c5e99a; color: #2f5207; }
.notice-error { background: #fdf0ee; border-color: #f2c4bd; color: var(--red); }
.notice-info { background: #eef3fd; border-color: #c8d6f5; color: #1c3d86; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: saturate(1.4) blur(8px);
}
.site-header .wrap { display: flex; align-items: center; gap: 28px; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); flex: none; }
.brand img { width: 48px; height: 48px; }
.brand-name { font: 700 1.125rem/1 var(--display); letter-spacing: -0.02em; }
.brand-name span { display: block; font: 500 .75rem/1.3 var(--body); color: var(--muted); letter-spacing: 0; margin-top: 2px; }
.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav a { color: var(--ink-2); text-decoration: none; font-weight: 500; padding: 8px 12px; border-radius: var(--r-sm); }
.nav a:hover { color: var(--ink); background: var(--mist); }
.nav a[aria-current="page"] { color: var(--ink); box-shadow: inset 0 -2px 0 var(--teal); border-radius: 0; }
.header-actions { display: flex; align-items: center; gap: 14px; }
.header-phone { display: inline-flex; align-items: center; gap: 6px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: .9375rem; white-space: nowrap; }
.header-phone .icon { width: 18px; height: 18px; color: var(--teal); }
.menu-toggle { display: none; margin-left: auto; background: none; border: 1px solid var(--line); border-radius: var(--r-sm); width: 44px; height: 44px; align-items: center; justify-content: center; color: var(--ink); cursor: pointer; }
.menu-toggle .icon-close { display: none; }
.menu-open .menu-toggle .icon-close { display: block; }
.menu-open .menu-toggle .icon-open { display: none; }

/* ---------- Hero ---------- */
.hero { padding: 64px 0 72px; border-bottom: 1px solid var(--line); overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: 56px; align-items: center; }
.hero h1 { max-width: 15ch; margin-bottom: .45em; }
.hero h1 .mark { background: linear-gradient(transparent 62%, rgba(236,157,5,.5) 62%, rgba(236,157,5,.5) 92%, transparent 92%); padding: 0 .06em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 32px; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 0; padding: 0; list-style: none; color: var(--ink-2); font-size: .9375rem; }
.hero-facts li { display: flex; align-items: center; gap: 7px; }
.hero-facts .icon { width: 18px; height: 18px; color: var(--teal); }

/* Receipt demo */
.receipt-stage { position: relative; display: flex; flex-direction: column; align-items: center; }
.receipt-stage::before {
  content: ""; position: absolute; inset: 44px -28px -20px 28px;
  background: var(--mist); border-radius: 28px; z-index: -1;
}
.receipt-switch { display: inline-flex; padding: 4px; gap: 2px; background: #fff; border: 1px solid var(--line); border-radius: 999px; margin-bottom: 18px; }
.receipt-switch button {
  border: 0; background: none; padding: 8px 16px; border-radius: 999px; cursor: pointer;
  font: 600 .875rem/1 var(--body); color: var(--muted); min-height: 36px;
}
.receipt-switch button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.receipt {
  width: 100%; max-width: 380px; background: #fff; color: #1d2633;
  font: 400 .8125rem/1.55 var(--mono);
  padding: 22px 22px 30px; border-radius: 4px 4px 0 0;
  box-shadow: 0 1px 0 var(--line), 0 24px 48px -20px rgba(6,38,77,.28);
  position: relative;
  --tear: 10px;
  -webkit-mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / calc(var(--tear) * 2) 100%;
          mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / calc(var(--tear) * 2) 100%;
}
.receipt-head { text-align: center; border-bottom: 1px dashed #b9c2cf; padding-bottom: 12px; margin-bottom: 10px; }
.receipt-head strong { display: block; font-weight: 600; font-size: .875rem; letter-spacing: .02em; }
.receipt-head span { color: #6b7686; }
.receipt-lines { list-style: none; margin: 0; padding: 0; min-height: 252px; }
.receipt-lines li { display: grid; grid-template-columns: 44px 1fr auto; gap: 8px; padding: 6px 0; border-bottom: 1px dotted #d5dbe3; }
.receipt-lines li:last-child { border-bottom: 0; }
.receipt-lines time { color: #8691a1; }
.receipt-lines b { font-weight: 600; white-space: nowrap; }
.receipt-lines .tag { display: block; color: #6b7686; font-size: .75rem; }
.receipt-lines .ok b { color: var(--teal); }
.receipt-lines .warn b { color: #a4570a; }
.receipt-foot { border-top: 1px dashed #b9c2cf; margin-top: 10px; padding-top: 10px; display: flex; justify-content: space-between; font-weight: 600; }
.receipt-note { font-size: .8125rem; color: var(--muted); margin-top: 14px; text-align: center; }
.receipt.printing li { animation: print .38s ease-out both; }
@keyframes print { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* ---------- Sections ---------- */
.section { padding: 88px 0; }
.section-mist { background: var(--mist); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 40px; }
.section-head h2 { margin-bottom: .3em; }
.section-head p { color: var(--muted); margin: 0; max-width: 56ch; }

/* Sector index */
.sectors { border-top: 1px solid var(--ink); }
.sector {
  display: grid; grid-template-columns: 52px minmax(180px, 1fr) minmax(0, 2fr) auto;
  gap: 24px; align-items: center; padding: 22px 4px;
  border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink);
}
.sector:hover { background: linear-gradient(90deg, var(--mist), transparent 85%); color: var(--ink); }
.sector-icon { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 12px; background: var(--mist); color: var(--ink); }
.sector:hover .sector-icon { background: var(--gold); }
.sector-icon .icon { width: 24px; height: 24px; }
.sector h3 { margin: 0; font-size: 1.3rem; }
.sector p { margin: 0; color: var(--muted); }
.sector-count { font-weight: 600; color: var(--blue); white-space: nowrap; display: flex; align-items: center; gap: 6px; font-size: .9375rem; }
.sector-count .icon { width: 18px; height: 18px; }

/* Product cards */
.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.product-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.product-card:hover { border-color: #b8c4d3; }
.product-card .visual { aspect-ratio: 16 / 9; border-bottom: 1px solid var(--line); }
.product-card .body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.product-card .category { font-size: .875rem; font-weight: 600; color: var(--teal); margin-bottom: 6px; }
.product-card h3 { margin-bottom: .45em; }
.product-card h3 a { color: var(--ink); text-decoration: none; }
.product-card h3 a::after { content: ""; position: absolute; inset: 0; }
.product-card { position: relative; }
.product-card p { color: var(--muted); font-size: 1rem; margin-bottom: 18px; }
.product-card .foot { margin-top: auto; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-top: 16px; border-top: 1px solid var(--line); font-size: .9375rem; }
.product-card .price { color: var(--ink-2); font-weight: 500; }
.product-card .more { color: var(--blue); font-weight: 600; display: inline-flex; align-items: center; gap: 4px; }
.product-card .more .icon { width: 17px; height: 17px; }

/* Visual placeholder when there is no screenshot */
.visual { position: relative; display: grid; place-items: center; overflow: hidden; background: var(--mist); }
.visual img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.visual-placeholder {
  background:
    linear-gradient(var(--mist-2) 1px, transparent 1px) 0 0 / 22px 22px,
    linear-gradient(90deg, var(--mist-2) 1px, transparent 1px) 0 0 / 22px 22px,
    var(--mist);
}
.visual-placeholder .badge {
  width: 64px; height: 64px; display: grid; place-items: center;
  background: #fff; border: 1px solid var(--line); border-radius: 16px; color: var(--ink);
  box-shadow: 0 10px 24px -14px rgba(6,38,77,.35);
}
.visual-placeholder .badge .icon { width: 30px; height: 30px; }
.visual-placeholder.lg .badge { width: 88px; height: 88px; border-radius: 22px; }
.visual-placeholder.lg .badge .icon { width: 42px; height: 42px; }

/* Built-in capabilities */
.split { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 64px; align-items: start; }
.split-sticky { position: sticky; top: 110px; }
.capabilities { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 36px 40px; }
.capabilities li { padding-top: 18px; border-top: 2px solid var(--ink); }
.capabilities .icon { width: 28px; height: 28px; color: var(--teal); margin-bottom: 14px; }
.capabilities h3 { font-size: 1.15rem; margin-bottom: .35em; }
.capabilities p { color: var(--muted); margin: 0; font-size: 1rem; }

/* Process (a real sequence, so numbered) */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; counter-reset: step; }
.steps li { position: relative; padding: 0 22px 0 0; counter-increment: step; }
.steps li::before {
  content: counter(step); display: grid; place-items: center;
  width: 40px; height: 40px; border-radius: 50%; margin-bottom: 18px;
  background: #fff; border: 1.5px solid var(--ink); font: 700 1rem/1 var(--display); position: relative; z-index: 1;
}
.steps li::after { content: ""; position: absolute; top: 20px; left: 40px; right: 0; height: 1.5px; background: var(--line); }
.steps li:last-child::after { display: none; }
.steps h3 { font-size: 1.1rem; margin-bottom: .35em; }
.steps p { color: var(--muted); font-size: .9688rem; margin: 0; }

/* Call to action band */
.cta-band { background: var(--ink); color: #fff; padding: 72px 0; }
.cta-band .wrap { display: grid; grid-template-columns: minmax(0, 1.2fr) auto; gap: 40px; align-items: center; }
.cta-band h2 { color: #fff; margin-bottom: .35em; }
.cta-band p { color: #c3cedd; margin: 0; max-width: 54ch; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Page heads ---------- */
.page-head { padding: 56px 0 48px; border-bottom: 1px solid var(--line); background: var(--mist); }
.page-head h1 { font-size: clamp(2.1rem, 4vw, 3.2rem); max-width: 20ch; }
.page-head .lede { margin-bottom: 0; }
.crumbs { font-size: .9375rem; color: var(--muted); margin-bottom: 18px; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--ink); }

/* Catalogue filters */
.filters { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; margin-top: 30px; }
.search-box { position: relative; flex: 1 1 280px; max-width: 420px; }
.search-box .icon { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); width: 20px; height: 20px; }
.search-box input { width: 100%; padding-left: 44px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  border: 1px solid var(--line); background: #fff; color: var(--ink-2);
  padding: 8px 14px; border-radius: 999px; font: 500 .9375rem/1.2 var(--body); cursor: pointer; min-height: 40px;
}
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.result-count { color: var(--muted); font-size: .9375rem; margin: 0 0 22px; }
.empty-state { text-align: center; padding: 56px 20px; border: 1px dashed var(--line); border-radius: var(--r-lg); }
.empty-state h2 { font-size: 1.5rem; }

/* ---------- Product detail ---------- */
.product-hero { padding: 40px 0 64px; border-bottom: 1px solid var(--line); }
.product-hero .grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.product-hero .category { font-weight: 600; color: var(--teal); display: flex; align-items: center; gap: 8px; margin-bottom: 14px; }
.product-hero .category .icon { width: 20px; height: 20px; }
.product-hero h1 { font-size: clamp(2.1rem, 4vw, 3.25rem); }
.audience { display: flex; gap: 10px; align-items: flex-start; color: var(--ink-2); margin: 18px 0 0; padding: 14px 16px; background: var(--mist); border-radius: var(--r); font-size: 1rem; }
.audience strong { white-space: nowrap; }
.product-hero .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.screen {
  border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: #fff;
  box-shadow: 0 30px 60px -32px rgba(6,38,77,.35);
}
.screen-bar { display: flex; gap: 6px; padding: 11px 14px; border-bottom: 1px solid var(--line); background: #fbfcfd; }
.screen-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--mist-2); }
.screen .visual { aspect-ratio: 16 / 10; }

.detail-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 64px; align-items: start; }
.prose p { color: var(--ink-2); max-width: 66ch; }
.feature-list { list-style: none; margin: 8px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; }
.feature-list li { display: flex; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--line); color: var(--ink-2); }
.feature-list .icon { width: 20px; height: 20px; color: var(--teal); margin-top: 3px; }
.aside-box { position: sticky; top: 100px; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px; background: #fff; }
.aside-box .label { color: var(--muted); font-size: .9375rem; margin-bottom: 2px; }
.aside-box .price { font: 650 1.6rem/1.2 var(--display); letter-spacing: -0.02em; margin-bottom: 14px; }
.aside-box .stack { display: grid; gap: 10px; margin: 20px 0; }
.aside-box ul { list-style: none; padding: 18px 0 0; margin: 0; border-top: 1px solid var(--line); display: grid; gap: 10px; font-size: .9688rem; color: var(--ink-2); }
.aside-box li { display: flex; gap: 10px; }
.aside-box li .icon { width: 19px; height: 19px; color: var(--teal); margin-top: 2px; }
.mt-section { margin-top: 64px; }

/* ---------- Services ---------- */
.service-list { border-top: 1px solid var(--ink); }
.service { display: grid; grid-template-columns: 56px minmax(0, 1fr) minmax(0, 1.25fr); gap: 28px; padding: 34px 0; border-bottom: 1px solid var(--line); }
.service .sector-icon { width: 52px; height: 52px; }
.service h2 { font-size: 1.5rem; margin-bottom: .3em; }
.service p { color: var(--muted); }
.service ul { list-style: none; margin: 0 0 14px; padding: 0; display: grid; gap: 8px; color: var(--ink-2); }
.service li { display: flex; gap: 10px; }
.service li .icon { width: 19px; height: 19px; color: var(--teal); margin-top: 3px; }

/* ---------- About ---------- */
.values { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
.values li { border-top: 2px solid var(--ink); padding-top: 18px; }
.values h3 { font-size: 1.2rem; }
.values p { color: var(--muted); margin: 0; }
.fact-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: #fff; }
.fact-row div { padding: 26px; border-right: 1px solid var(--line); }
.fact-row div:last-child { border-right: 0; }
.fact-row strong { display: block; font: 650 1.2rem/1.3 var(--display); margin-bottom: 4px; }
.fact-row span { color: var(--muted); font-size: .9688rem; }

/* ---------- Forms ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
.field label { display: block; font-weight: 600; font-size: .9375rem; margin-bottom: 6px; }
.field .hint { font-weight: 400; color: var(--muted); }
input[type="text"], input[type="email"], input[type="tel"], input[type="search"], input[type="password"], input[type="number"], input[type="url"], select, textarea {
  width: 100%; min-height: 48px; padding: 11px 14px;
  font: 400 1rem/1.4 var(--body); color: var(--ink);
  background: #fff; border: 1.5px solid #cdd6e1; border-radius: var(--r);
  transition: border-color .15s, box-shadow .15s;
}
textarea { min-height: 140px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(31,79,184,.15); }
.field-error input, .field-error textarea { border-color: var(--red); }
.error-list { margin: 0 0 22px; padding: 14px 18px 14px 36px; background: #fdf0ee; border: 1px solid #f2c4bd; color: var(--red); border-radius: var(--r); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-card { border: 1px solid var(--line); border-radius: var(--r-lg); padding: 32px; background: #fff; }
.form-card h2 { font-size: 1.5rem; }
.form-note { font-size: .875rem; color: var(--muted); margin: 12px 0 0; }

.contact-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 56px; align-items: start; }
.channels { list-style: none; margin: 0 0 32px; padding: 0; border-top: 1px solid var(--line); }
.channels li { border-bottom: 1px solid var(--line); }
.channels li > a, .channels li > div { display: flex; gap: 14px; align-items: flex-start; padding: 18px 0; text-decoration: none; color: var(--ink); }
.channels a:hover strong { color: var(--blue); }
.channels .icon { width: 22px; height: 22px; color: var(--teal); margin-top: 2px; }
.channels strong { display: block; font-weight: 600; }
.channels span { color: var(--muted); font-size: .9688rem; }

/* Narrow single-column pages (legal, checkout, status) */
.narrow { max-width: 760px; }
.legal h2 { font-size: 1.4rem; margin-top: 1.8em; }
.legal p, .legal li { color: var(--ink-2); }
.legal .updated { color: var(--muted); font-size: .9375rem; }
.summary-table { width: 100%; border-collapse: collapse; margin: 18px 0 24px; }
.summary-table th, .summary-table td { text-align: left; padding: 12px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.summary-table th { color: var(--muted); font-weight: 500; width: 40%; }
.status-mark { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 18px; }
.status-mark.ok { background: #effbe1; color: var(--teal); }
.status-mark.bad { background: #fdf0ee; color: var(--red); }
.status-mark .icon { width: 28px; height: 28px; }
code { font-family: var(--mono); font-size: .9em; background: var(--mist); padding: 2px 6px; border-radius: 4px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #c3cedd; padding: 64px 0 28px; border-top: 1px solid var(--navy-2); }
.cta-band + .site-footer { border-top-color: var(--navy-2); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.site-footer h2 { font-size: 1rem; color: #fff; font-family: var(--body); font-weight: 600; letter-spacing: 0; margin-bottom: 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer a { color: #c3cedd; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-brand .brand { color: #fff; margin-bottom: 16px; }
.footer-brand .brand-name span { color: #93a3ba; }
.footer-brand p { max-width: 34ch; }
.footer-bottom { margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--navy-2); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .9375rem; color: #93a3ba; }

/* Floating WhatsApp button */
.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 40;
  display: inline-flex; align-items: center; gap: 8px; padding: 12px 18px 12px 14px;
  background: #1f8f4e; color: #fff; text-decoration: none; font-weight: 600; border-radius: 999px;
  box-shadow: 0 12px 28px -10px rgba(10,60,30,.55);
}
.wa-float:hover { background: #187a42; color: #fff; }
.wa-float .icon { width: 22px; height: 22px; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .nav a { padding: 8px 9px; }
  .header-phone { display: none; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 36px; }
  .steps li:nth-child(3)::after { display: none; }
  .detail-grid { grid-template-columns: minmax(0, 1fr) 320px; gap: 40px; }
}

@media (max-width: 900px) {
  :root { --gutter: 18px; }
  .menu-toggle { display: inline-flex; }
  .nav, .header-actions { display: none; }
  .menu-open .nav {
    display: flex; flex-direction: column; align-items: stretch; gap: 0;
    position: absolute; left: 0; right: 0; top: 100%;
    background: #fff; border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 18px;
    box-shadow: 0 18px 30px -18px rgba(6,38,77,.25);
  }
  .menu-open .nav a { padding: 14px 4px; border-bottom: 1px solid var(--line); border-radius: 0; }
  .menu-open .nav a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--teal); padding-left: 14px; }
  .menu-open .nav .btn { margin-top: 14px; border-bottom: 0; color: #fff; justify-content: center; padding: .7rem 1.25rem; }
  .hero { padding: 40px 0 56px; }
  .hero .wrap, .split, .detail-grid, .contact-grid, .product-hero .grid, .cta-band .wrap { grid-template-columns: 1fr; gap: 40px; }
  .receipt-stage::before { inset: 40px -20px -40px -20px; }
  .split-sticky, .aside-box { position: static; }
  .sector { grid-template-columns: 48px 1fr; gap: 6px 16px; }
  .sector-icon { grid-row: span 2; }
  .sector p { grid-column: 2; }
  .sector-count { grid-column: 2; margin-top: 6px; }
  .service { grid-template-columns: 52px 1fr; }
  .service > div:last-child { grid-column: 2; }
  .values, .fact-row { grid-template-columns: 1fr; }
  .fact-row div { border-right: 0; border-bottom: 1px solid var(--line); }
  .fact-row div:last-child { border-bottom: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .section { padding: 64px 0; }
}

@media (max-width: 640px) {
  :root { --gutter: 16px; }
  body { font-size: 1rem; }
  .brand-name span { display: none; }
  .product-grid, .capabilities, .feature-list, .form-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; row-gap: 0; }
  .steps li { display: grid; grid-template-columns: 40px 1fr; column-gap: 16px; padding: 0 0 26px; }
  .steps li::before { grid-row: span 2; margin: 0; }
  .steps li::after { top: 40px; bottom: 0; left: 20px; right: auto; width: 1.5px; height: auto; display: block; }
  .steps li:nth-child(3)::after { display: block; }
  .steps li:last-child::after { display: none; }
  .section-head { flex-direction: column; align-items: flex-start; }
  .hero-actions .btn, .cta-actions .btn, .product-hero .actions .btn { flex: 1 1 100%; }
  .form-card { padding: 22px; }
  .page-head { padding: 40px 0 36px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .wa-float span { display: none; }
  .wa-float { padding: 14px; }
  .receipt { font-size: .75rem; padding: 18px 16px 26px; }
  .receipt-lines li { grid-template-columns: 40px 1fr auto; gap: 6px; }
}

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

@media print {
  .site-header, .site-footer, .wa-float, .cta-band { display: none; }
}

/* ---------- Additions ---------- */
.nav .mobile-only-cta { display: none; }
@media (max-width: 900px) { .menu-open .nav .mobile-only-cta { display: inline-flex; } }
.product-grid > div > .product-card { height: 100%; }
.steps-compact { grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 8px; }
@media (max-width: 1080px) {
  .steps-compact { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps-compact li:nth-child(3)::after { display: block; }
  .steps-compact li:nth-child(2)::after { display: none; }
}
@media (max-width: 640px) { .steps-compact { grid-template-columns: 1fr; } .steps-compact li:nth-child(2)::after { display: block; } }

/* App-screen sketch used when a product has no screenshot yet */
.visual-placeholder { background: linear-gradient(160deg, #eef2f7, #e3e9f1); padding: 7% 8% 0; place-items: end center; }
.sketch {
  width: 100%; height: 100%; display: grid; grid-template-columns: 22% 1fr;
  background: #fff; border: 1px solid var(--line); border-bottom: 0; border-radius: 10px 10px 0 0;
  box-shadow: 0 16px 32px -20px rgba(6,38,77,.35); overflow: hidden;
}
.sk-side { background: var(--ink); padding: 14% 12%; display: flex; flex-direction: column; gap: 9%; }
.sk-side i { display: block; height: 5px; border-radius: 3px; background: rgba(255,255,255,.22); }
.sk-side i:first-child { background: var(--gold); width: 70%; }
.sk-main { padding: 6% 7%; display: flex; flex-direction: column; gap: 9%; }
.sk-head { display: flex; align-items: center; gap: 8px; }
.sk-head b { display: block; height: 7px; width: 42%; border-radius: 4px; background: var(--mist-2); }
.visual-placeholder .badge {
  width: 30px; height: 30px; border-radius: 8px; box-shadow: none;
  background: var(--mist); border: 0; display: grid; place-items: center; color: var(--ink);
}
.visual-placeholder .badge .icon { width: 17px; height: 17px; }
.sk-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; }
.sk-stats i { display: block; height: 26px; border-radius: 6px; border: 1px solid var(--line); background: #fbfcfd; }
.sk-stats i:first-child { background: rgba(236,157,5,.22); border-color: rgba(236,157,5,.45); }
.sk-rows { display: grid; gap: 8px; }
.sk-rows i { display: block; height: 6px; border-radius: 3px; background: var(--mist); }
.sk-rows i:nth-child(2) { width: 85%; }
.sk-rows i:nth-child(3) { width: 65%; }
.visual-placeholder.lg { padding: 6% 7% 0; }
.visual-placeholder.lg .badge { width: 44px; height: 44px; border-radius: 11px; }
.visual-placeholder.lg .badge .icon { width: 24px; height: 24px; }
.visual-placeholder.lg .sk-stats i { height: 52px; }
.visual-placeholder.lg .sk-rows i { height: 9px; }
.visual-placeholder.lg .sk-head b { height: 11px; }
.search-box input[type="search"] { padding-left: 44px; }
.section-tight { padding-top: 40px; }
.receipt-switch button { white-space: nowrap; }
@media (max-width: 900px) { .menu-open .nav .btn { border-radius: var(--r); } }
@media (max-width: 420px) {
  .receipt-switch button { padding: 8px 11px; font-size: .8125rem; }
}

/* FAQ */
.faq { border-top: 1px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 20px 40px 20px 0; position: relative;
  font: 600 1.125rem/1.35 var(--display); letter-spacing: -0.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 8px; top: 50%; width: 10px; height: 10px; margin-top: -7px;
  border-right: 2px solid var(--teal); border-bottom: 2px solid var(--teal); transform: rotate(45deg); transition: transform .2s;
}
.faq details[open] summary::after { transform: rotate(225deg); margin-top: -2px; }
.faq summary:hover { color: var(--blue); }
.faq details p { color: var(--ink-2); margin: -6px 0 20px; max-width: 62ch; }

/* ===================== Affiliate programme ===================== */
.aff-hero { background: var(--ink); color: #fff; padding: 72px 0 80px; }
.aff-hero .wrap { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 56px; align-items: center; }
.aff-hero h1 { color: #fff; max-width: 16ch; }
.aff-hero .lede { color: #c3cedd; }
.aff-calc { background: #fff; color: var(--ink); border-radius: var(--r-lg); padding: 26px; border-top: 6px solid var(--gold); }
.aff-calc-title { font: 650 1.15rem/1.3 var(--display); margin: 0 0 12px; }
.aff-calc table { width: 100%; border-collapse: collapse; font-size: .9688rem; }
.aff-calc th { text-align: left; font-weight: 500; color: var(--muted); font-size: .8438rem; padding: 0 0 8px; }
.aff-calc td { padding: 11px 0; border-top: 1px solid var(--line); }
.aff-calc td strong { color: var(--teal); }
.aff-calc-note { font-size: .8438rem; color: var(--muted); margin: 12px 0 0; }
.aff-rules { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.aff-rules h3 { font-size: 1.15rem; padding-top: 16px; border-top: 2px solid var(--ink); }
.aff-rules ul, .aff-guidelines ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.aff-rules li, .aff-guidelines li { display: flex; gap: 10px; color: var(--ink-2); }
.aff-rules li .icon, .aff-guidelines li .icon { width: 20px; height: 20px; color: var(--teal); margin-top: 2px; }
.aff-rules ul.no li .icon, .aff-guidelines li .icon-close { color: var(--red); }
.check-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px 16px; margin-top: 6px; }
label.check { display: flex; gap: 9px; align-items: flex-start; font-weight: 400; font-size: .9688rem; }
label.check input { width: 18px; height: 18px; margin-top: 3px; flex: none; accent-color: var(--ink); }
.aff-form fieldset { margin: 0 0 22px; }
.aff-form legend { float: left; width: 100%; padding: 0; }
.aff-form legend + * { clear: both; }
.aff-auth { max-width: 460px; }
.aff-auth h1 { font-size: 1.9rem; }

/* Portal */
.aff-top { background: var(--mist); border-bottom: 1px solid var(--line); padding: 32px 0 0; }
.aff-top-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; padding-bottom: 20px; }
.aff-top h1 { font-size: clamp(1.8rem, 3vw, 2.4rem); margin: 0; }
.aff-hello { color: var(--muted); margin: 0 0 6px; font-size: .9375rem; }
.aff-tabs { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.aff-tabs a { padding: 12px 14px; color: var(--ink-2); text-decoration: none; font-weight: 500; white-space: nowrap; border-bottom: 3px solid transparent; }
.aff-tabs a:hover { color: var(--ink); }
.aff-tabs a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--gold); }
.aff-status { border: 1px solid var(--line); border-left: 6px solid var(--gold); border-radius: var(--r-lg); padding: 28px; background: #fff; max-width: 760px; }
.aff-status-approved, .aff-status-pending { border-left-color: var(--gold); }
.aff-status-rejected, .aff-status-suspended, .aff-status-terminated { border-left-color: var(--red); }
.aff-status-label { font-weight: 600; color: var(--muted); margin: 0 0 4px; }
.aff-status h2 { font-size: 1.5rem; }
.aff-request { margin: 0 0 18px; padding: 14px 18px; background: var(--mist); border-radius: var(--r); }
.aff-reply { display: grid; gap: 10px; max-width: 560px; }
.aff-reply label { font-weight: 600; }
.aff-reply .btn { justify-self: start; }
.aff-inline-notice { margin: 0 0 20px; width: auto; max-width: none; }
.btn-link { background: none; border: 0; padding: 0; color: var(--blue); font: inherit; font-weight: 600; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.aff-link-box { display: flex; gap: 24px; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; padding: 24px; border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; margin-bottom: 20px; }
.aff-link-box > div { flex: 1 1 420px; }
.aff-link-box label { font-weight: 600; display: block; margin-bottom: 8px; }
.aff-link-box .muted { margin: 10px 0 0; font-size: .9375rem; }
.copy-row { display: flex; gap: 8px; }
.copy-row input { flex: 1; min-width: 0; font-family: var(--mono); font-size: .9375rem; }
.aff-cards { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 14px; margin-bottom: 14px; }
.aff-card { border: 1px solid var(--line); border-radius: var(--r-lg); padding: 18px 20px; background: #fff; }
.aff-card span { color: var(--muted); font-size: .9063rem; display: block; }
.aff-card strong { display: block; font: 650 1.6rem/1.25 var(--display); letter-spacing: -0.02em; margin: 4px 0; }
.aff-card a { font-weight: 600; font-size: .9375rem; }
.aff-card em { font-style: normal; color: var(--muted); font-size: .875rem; }
.aff-card-main { background: var(--ink); border-color: var(--ink); color: #fff; }
.aff-card-main span, .aff-card-main em { color: #b8c5d6; }
.aff-card-main strong { font-size: 2rem; color: #fff; }
.aff-card-main a { color: var(--gold); }
.aff-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; }
.aff-stats > div { padding: 18px 20px; border-right: 1px solid var(--line); }
.aff-stats > div:last-child { border-right: 0; }
.aff-stats span { display: block; color: var(--muted); font-size: .9063rem; }
.aff-stats strong { display: block; font: 650 1.4rem/1.3 var(--display); margin: 4px 0 2px; }
.aff-stats em { font-style: normal; color: var(--muted); font-size: .8438rem; }
.aff-footnote { font-size: .8438rem; margin: 10px 0 28px; }
.two-panels { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.panel-lite { border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px; background: #fff; }
.panel-lite-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 12px; }
.panel-lite-head h2 { font-size: 1.2rem; margin: 0; }
.panel-lite-head a { font-weight: 600; font-size: .9375rem; }
.aff-activity { list-style: none; margin: 0; padding: 0; }
.aff-activity li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); }
.aff-activity small { display: block; color: var(--muted); font-size: .8438rem; }
.aff-activity b, .data-table b { font-weight: 600; white-space: nowrap; }
.neg { color: var(--red); }
.aff-payout-line { font-size: 1.1rem; margin: 0 0 8px; }
.pill { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: .8125rem; font-weight: 600; background: var(--mist); color: var(--ink-2); white-space: nowrap; }
.pill-paid, .pill-customer, .pill-verified { background: #e6f4f1; color: var(--teal); }
.pill-requested, .pill-approved, .pill-lead, .pill-unverified { background: #fff4e0; color: #8a5a00; }
.pill-flagged, .pill-rejected, .pill-failed { background: #fdf0ee; color: var(--red); }
.table-card { border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; overflow-x: auto; }
.data-table { width: 100%; border-collapse: collapse; font-size: .9688rem; }
.data-table th, .data-table td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.data-table th { font-size: .8438rem; font-weight: 600; color: var(--muted); background: #fafbfc; white-space: nowrap; }
.data-table tr:last-child td { border-bottom: 0; }
.data-table .num { text-align: right; white-space: nowrap; }
.data-table .sub { display: block; color: var(--muted); font-size: .8438rem; }
.empty-note { padding: 32px; text-align: center; color: var(--muted); margin: 0; }
.pager { display: flex; justify-content: space-between; align-items: center; margin-top: 16px; font-size: .9375rem; color: var(--muted); }
.pager a { font-weight: 600; }
.aff-summary-line { display: flex; flex-wrap: wrap; gap: 10px 28px; align-items: center; margin-bottom: 16px; color: var(--ink-2); }
.aff-summary-line .btn { margin-left: auto; }
.payout-request { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; padding: 28px; border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; align-items: center; }
.label-sm { color: var(--muted); margin: 0; }
.big-amount { font: 650 2.4rem/1.15 var(--display); letter-spacing: -0.02em; margin: 4px 0 8px; }
.payout-form label { font-weight: 600; display: block; margin-bottom: 8px; }
.aff-guidelines { padding: 22px 24px; border: 1px solid var(--line); border-left: 6px solid var(--teal); border-radius: var(--r-lg); background: #fff; margin-bottom: 36px; }
.aff-guidelines h2 { font-size: 1.2rem; }
.aff-h2 { font-size: 1.35rem; margin: 36px 0 12px; }
.post-list { display: grid; gap: 14px; }
.post-item { display: grid; grid-template-columns: 1fr auto; gap: 14px; align-items: start; padding: 16px; border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; }
.post-item textarea { min-height: 0; border: 0; padding: 0; resize: none; background: none; color: var(--ink-2); }
.post-item textarea:focus { box-shadow: none; }
.post-actions { display: flex; flex-direction: column; gap: 8px; }
.link-input { font-family: var(--mono); font-size: .8125rem; min-height: 36px; padding: 6px 10px; margin-bottom: 4px; }
.share-image { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; align-items: center; }
.share-image img { border-radius: var(--r); border: 1px solid var(--line); }
.profile-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: start; }
.profile-grid .form-card h2 { font-size: 1.25rem; }
.terms-update { border-left: 6px solid var(--gold); margin-bottom: 20px; }
dl.kv { display: grid; grid-template-columns: 110px 1fr; gap: 8px 14px; margin: 0 0 18px; }
dl.kv dt { color: var(--muted); }
dl.kv dd { margin: 0; }
details > summary.btn { list-style: none; display: inline-flex; }
details > summary.btn::-webkit-details-marker { display: none; }
input:disabled { background: var(--mist); color: var(--muted); }

@media (max-width: 1080px) {
  .aff-cards { grid-template-columns: 1fr 1fr; }
  .aff-stats { grid-template-columns: 1fr 1fr; }
  .aff-stats > div:nth-child(2) { border-right: 0; }
  .aff-stats > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}
@media (max-width: 900px) {
  .aff-hero .wrap, .aff-rules, .two-panels, .payout-request, .profile-grid, .share-image { grid-template-columns: 1fr; }
  .check-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .aff-cards, .aff-stats { grid-template-columns: 1fr; }
  .aff-stats > div { border-right: 0; border-bottom: 1px solid var(--line); }
  .aff-stats > div:last-child { border-bottom: 0; }
  .check-grid { grid-template-columns: 1fr; }
  .copy-row { flex-direction: column; }
  .post-item { grid-template-columns: 1fr; }
  .post-actions { flex-direction: row; }
  .aff-top-row { flex-direction: column; align-items: flex-start; }
  /* Tables become stacked cards on phones */
  .data-table thead { display: none; }
  .data-table, .data-table tbody, .data-table tr, .data-table td { display: block; width: 100%; }
  .data-table tr { padding: 12px 16px; border-bottom: 1px solid var(--line); }
  .data-table td { border: 0; padding: 4px 0; display: flex; justify-content: space-between; gap: 16px; text-align: right; }
  .data-table td[data-label]::before { content: attr(data-label); color: var(--muted); font-size: .8438rem; text-align: left; flex: none; }
  .data-table .num { text-align: right; }
}
