/* nusacoder.com theme "notebook" (2026-10-30): style + layout, CSS only (HTML/text unchanged).
   One audited variant (frontend-design skill), v3 redo on owner request (round 3); own skeleton, logo and favicon. Fonts self-hosted from Google Fonts (SIL OFL). */
@font-face{font-family:"Inter";font-style:normal;font-weight:400;font-display:swap;src:url(/assets/inter-400-cyrillic-ext.woff2) format("woff2");unicode-range:U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F}
@font-face{font-family:"Inter";font-style:normal;font-weight:400;font-display:swap;src:url(/assets/inter-400-cyrillic.woff2) format("woff2");unicode-range:U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116}
@font-face{font-family:"Inter";font-style:normal;font-weight:400;font-display:swap;src:url(/assets/inter-400-greek-ext.woff2) format("woff2");unicode-range:U+1F00-1FFF}
@font-face{font-family:"Inter";font-style:normal;font-weight:400;font-display:swap;src:url(/assets/inter-400-greek.woff2) format("woff2");unicode-range:U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF}
@font-face{font-family:"Inter";font-style:normal;font-weight:400;font-display:swap;src:url(/assets/inter-400-vietnamese.woff2) format("woff2");unicode-range:U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB}
@font-face{font-family:"Inter";font-style:normal;font-weight:400;font-display:swap;src:url(/assets/inter-400-latin-ext.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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:"Inter";font-style:normal;font-weight:400;font-display:swap;src:url(/assets/inter-400-latin.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:"Karla";font-style:normal;font-weight:700;font-display:swap;src:url(/assets/karla-700-latin-ext.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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:"Karla";font-style:normal;font-weight:700;font-display:swap;src:url(/assets/karla-700-latin.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:"Karla";font-style:normal;font-weight:800;font-display:swap;src:url(/assets/karla-700-latin-ext.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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:"Karla";font-style:normal;font-weight:800;font-display:swap;src:url(/assets/karla-700-latin.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}
/* ==========================================================================
   Template t1-center — "Product in the centre" (light minimal)
   Parametric: all colour / font / motif values come from the --t-* custom
   properties below (set them in a per-site demo-<domain>.css loaded AFTER this
   file).  No site names inside.  CSS only: markup, text and section order of
   the generated pages are untouched.
   Specificity: every rule is prefixed with  html body[class*="theme-"]  so it
   beats the per-theme quirks in site.css (.theme-xxx .y = 0,2,0) for ANY site.
   ========================================================================== */

:root{
  /* --- colour (set per site) --- */
  --t-bg:#fbfcfb;            /* page ground */
  --t-surface:#ffffff;       /* app window body, code boxes */
  --t-chrome:#f4f6f5;        /* window title bar / footer strip */
  --t-tint:#f1f4f3;          /* prompt bubble, light code box */
  --t-ink:#0f1f1b;           /* headings, strong text */
  --t-text:#2a3a35;          /* paragraphs */
  --t-muted:#566660;         /* captions, secondary (>= 4.5:1 on --t-bg) */
  --t-line:#e3e8e6;          /* hairlines */
  --t-line-strong:#c9d2cf;   /* dots, button outlines, input borders */
  --t-accent:#0f766e;        /* the one accent */
  --t-accent-ink:#ffffff;    /* text on the accent */
  --t-accent-text:var(--t-accent); /* accent used as text on --t-bg (>= 4.5:1) */
  /* --- type --- */
  --t-font-display:"Manrope",Inter,system-ui,sans-serif;
  --t-weight-display:800;    /* H1, brand, big numbers */
  --t-weight-sub:700;        /* H2, H3, summary */
  --t-font-body:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;
  --t-font-mono:ui-monospace,SFMono-Regular,"SF Mono",Menlo,Consolas,monospace;
  --t-tracking:-.035em;      /* display letter-spacing (0 for non-Latin fallback) */
  /* --- shape / motif --- */
  --t-btn-radius:999px;
  --t-motif:none;            /* url("data:image/svg+xml,...") monochrome shape, drawn in the accent via mask */
  --t-glow:22%;
  --t-space:clamp(30px,2.7vw,36px); /* vertical air of every quiet section (one side) */              /* strength of the accent glow behind the hero window */
  /* --- shared header UI (common/nav-ui.css) --- */
  --lang-radius:999px;
  --nav-radius:12px;
  --nav-accent:var(--t-accent);
}

/* ---------- 0. base + neutralise every theme-xxx quirk of site.css ---------- */
html{background:var(--t-bg);scroll-behavior:auto}
html body[class*="theme-"]{--bg:var(--t-bg)!important;--ink:var(--t-ink)!important;--accent:var(--t-accent)!important;
  background:var(--t-bg);background-image:none;color:var(--t-text);font-family:var(--t-font-body);font-size:16px;line-height:1.65;
  -webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
html body[class*="theme-"] main.wrap{overflow-x:clip;display:block}
html body[class*="theme-"] .wrap,html body[class*="theme-"] .header{width:min(1180px,calc(100% - 64px))}
html body[class*="theme-"] ::selection{background:color-mix(in srgb,var(--t-accent) 22%,transparent)}
html body[class*="theme-"] h1,html body[class*="theme-"] h2,html body[class*="theme-"] h3,html body[class*="theme-"] summary,html body[class*="theme-"] .brand{font-family:var(--t-font-display);color:var(--t-ink)}
html body[class*="theme-"] h1{font-weight:var(--t-weight-display);letter-spacing:var(--t-tracking);hyphens:manual;overflow-wrap:normal}
html body[class*="theme-"] h2,html body[class*="theme-"] h3,html body[class*="theme-"] summary{font-weight:var(--t-weight-sub);letter-spacing:calc(var(--t-tracking) * .6)}
html body[class*="theme-"] .hero-copy::before,html body[class*="theme-"] .hero-copy::after,html body[class*="theme-"] .home-hero::before,html body[class*="theme-"] .home-hero::after,html body[class*="theme-"] .inner-hero::before,html body[class*="theme-"] .inner-hero::after,
html body[class*="theme-"] .eyebrow::before,html body[class*="theme-"] .eyebrow::after,html body[class*="theme-"] .cards::before,html body[class*="theme-"] .cards::after,html body[class*="theme-"] .closing::before,html body[class*="theme-"] .closing::after,
html body[class*="theme-"] .scenario::before,html body[class*="theme-"] .scenario::after,html body[class*="theme-"] .split-section::before,html body[class*="theme-"] .split-section::after{content:none;display:none}
html body[class*="theme-"] a:focus-visible,html body[class*="theme-"] button:focus-visible,html body[class*="theme-"] select:focus-visible,html body[class*="theme-"] summary:focus-visible{outline:2px solid var(--t-accent);outline-offset:4px;border-radius:6px}

/* ---------- 1. header, brand, nav ---------- */
html body[class*="theme-"] .header{display:flex;align-items:center;gap:32px;min-height:76px;border-bottom:1px solid var(--t-line);background:none;box-shadow:none}
html body[class*="theme-"] .brand{font-size:20px;font-weight:var(--t-weight-display);letter-spacing:-.02em;gap:11px;color:var(--t-ink)}
html body[class*="theme-"] .brand-symbol{all:unset;display:block;flex:none;width:32px;height:32px;line-height:0}
html body[class*="theme-"] .brand-symbol svg{display:block;width:100%;height:100%}
html body[class*="theme-"] .main-nav{margin-inline:auto;gap:30px;font-size:14px;font-weight:500}
html body[class*="theme-"] .main-nav a{opacity:1;color:var(--t-muted);text-decoration:none;padding:6px 0;border-bottom:2px solid transparent;transition:color .15s,border-color .15s}
html body[class*="theme-"] .main-nav a:hover{color:var(--t-ink)}
html body[class*="theme-"] .main-nav a[aria-current]{color:var(--t-ink);font-weight:600;text-decoration:none;border-bottom-color:var(--t-accent)}
html body[class*="theme-"] .language{font-size:13px;color:var(--t-ink)}

/* ---------- 2. buttons, badge ---------- */
html body[class*="theme-"] .button{all:unset;box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;gap:10px;cursor:pointer;
  padding:15px 28px;border-radius:var(--t-btn-radius);font:600 15px/1.2 var(--t-font-body);letter-spacing:0;border:1px solid transparent;
  transition:background-color .15s,border-color .15s,color .15s}
html body[class*="theme-"] .button:hover{transform:none}
html body[class*="theme-"] .button.primary,html body[class*="theme-"] .primary{background:var(--t-accent);color:var(--t-accent-ink);border-color:var(--t-accent)}
html body[class*="theme-"] .button.primary:hover{background:color-mix(in srgb,var(--t-accent) 88%,#000)}
html body[class*="theme-"] .button.secondary,html body[class*="theme-"] .secondary{background:transparent;color:var(--t-ink);border-color:var(--t-line-strong)}
html body[class*="theme-"] .button.secondary:hover{border-color:var(--t-ink)}
html body[class*="theme-"] .button:focus-visible{outline:2px solid var(--t-accent);outline-offset:3px}
html body[class*="theme-"] .eyebrow{display:inline-flex;align-items:center;gap:8px;margin:0 0 22px;padding:6px 14px 6px 12px;border:1px solid var(--t-line);border-radius:999px;
  background:var(--t-surface);font:500 13px/1.3 var(--t-font-body);letter-spacing:0;text-transform:none;color:var(--t-muted)}
html body[class*="theme-"] .eyebrow i{width:7px;height:7px;border-radius:50%;background:var(--t-accent);flex:none}

/* ---------- 3. hero: centred statement + the app window ---------- */
html body[class*="theme-"] .hero{padding:0;min-height:0}
html body[class*="theme-"] .home-hero{all:unset;box-sizing:border-box;display:flex;flex-direction:column;align-items:center;text-align:center;position:relative;isolation:isolate;
  padding:clamp(28px,3.4vw,44px) 0 clamp(32px,3.2vw,44px);width:100%}
html body[class*="theme-"] .hero-copy{all:unset;box-sizing:border-box;display:flex;flex-direction:column;align-items:center;position:relative;z-index:1;max-width:100%}
html body[class*="theme-"] .home-hero h1{font-size:var(--t-h1-size,clamp(36px,4.4vw,60px));line-height:1.06;margin:0 auto;max-width:19ch;text-wrap:balance;text-align:center}
html body[class*="theme-"] .hero-lead{max-width:56ch;margin:20px auto 0;font-size:clamp(16px,1.3vw,18px);line-height:1.65;color:var(--t-muted);opacity:1}
html body[class*="theme-"] .actions{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:12px;margin:28px 0 0}
html body[class*="theme-"] .home-hero .agent-run{margin-top:clamp(40px,4vw,52px);max-width:1100px;position:relative;
  border-color:color-mix(in srgb,var(--t-accent) 38%,var(--t-line));
  box-shadow:0 0 0 7px color-mix(in srgb,var(--t-accent) 7%,transparent),0 48px 90px -42px color-mix(in srgb,var(--t-accent) 55%,transparent)}
html body[class*="theme-"] .home-hero::after{content:"";display:block;position:absolute;z-index:-1;inset-inline:-4%;bottom:0;height:55%;pointer-events:none;
  background:radial-gradient(55% 60% at 50% 70%,color-mix(in srgb,var(--t-accent) var(--t-glow),transparent),transparent 72%);filter:blur(18px)}

html body[class*="theme-"] .inner-hero{all:unset;box-sizing:border-box;display:flex;flex-direction:column;align-items:center;text-align:center;position:relative;width:100%;
  padding:clamp(52px,7vw,96px) 0 clamp(36px,4.5vw,60px)}
html body[class*="theme-"] .inner-hero .hero-copy{align-items:center}
html body[class*="theme-"] .inner-hero h1{font-size:clamp(34px,4.6vw,62px);line-height:1.06;margin:0 auto;max-width:20ch;text-wrap:balance}
html body[class*="theme-"] .hero-number{position:absolute;top:26px;inset-inline-end:0;margin:0;font:600 12px/1 var(--t-font-mono);letter-spacing:.08em;color:var(--t-muted);
  opacity:1;padding:6px 11px;border:1px solid var(--t-line);border-radius:999px}

/* ---------- 4. the agent window (same markup everywhere) ---------- */
html body[class*="theme-"] .agent-run{--ar-pad:24px;display:block;width:100%;max-width:1000px;margin:0 auto;border:1px solid var(--t-line-strong);border-radius:14px;overflow:hidden;
  background:var(--t-surface);color:var(--t-ink);text-align:start;font-family:var(--t-font-body);box-shadow:0 1px 2px color-mix(in srgb,var(--t-ink) 6%,transparent)}
html body[class*="theme-"] .agent-run-bar{display:grid;grid-template-columns:minmax(64px,1fr) minmax(0,auto) minmax(64px,1fr);align-items:center;gap:12px;height:46px;padding:0 16px;
  background:var(--t-chrome);border-bottom:1px solid var(--t-line);font-size:13px;color:var(--t-muted)}
html body[class*="theme-"] .agent-run-bar::before{content:"";display:block;width:57px;height:10px;justify-self:start;
  background:radial-gradient(circle at 5px 5px,var(--t-line-strong) 4.4px,transparent 5px) 0 0/19px 10px repeat-x}
html body[class*="theme-"] .agent-run-bar span:first-child{grid-column:2;text-align:center;font-weight:550;color:var(--t-muted);opacity:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
html body[class*="theme-"] .agent-run-mode{grid-column:3;justify-self:end;padding:3px 11px;border-radius:999px;font:600 12px/1.4 var(--t-font-body);white-space:nowrap;
  color:var(--t-accent-text)!important;background:var(--t-surface);border:1px solid color-mix(in srgb,var(--t-accent) 40%,transparent)}
html body[class*="theme-"] .agent-run-body{padding:var(--ar-pad)}
html body[class*="theme-"] .agent-run-prompt{display:flex;justify-content:flex-end;margin:0 0 18px}
html body[class*="theme-"] .agent-run-prompt span{max-width:min(640px,86%);padding:11px 16px;border-radius:14px 14px 4px 14px;background:var(--t-tint);color:var(--t-ink);font-size:15px;line-height:1.5}
html[dir=rtl] body[class*="theme-"] .agent-run-prompt span{border-radius:14px 14px 14px 4px}
html body[class*="theme-"] .agent-run-steps{list-style:none;margin:0;padding:0;display:block;border-top:1px solid var(--t-line)}
html body[class*="theme-"] .agent-run-steps li{display:grid;grid-template-columns:14px 104px minmax(0,1fr) auto;align-items:center;gap:0 14px;padding:10px 0;margin:0;
  border:0;border-bottom:1px solid var(--t-line);border-radius:0;background:none}
html body[class*="theme-"] .agent-run-steps li::before{content:"";width:9px;height:9px;border-radius:50%;border:1.5px solid var(--t-line-strong);box-sizing:border-box}
html body[class*="theme-"] .agent-run-steps li:has(.ar-ok)::before{background:var(--t-accent);border-color:var(--t-accent)}
html body[class*="theme-"] .ar-tool{font:600 12.5px/1.4 var(--t-font-mono);color:var(--t-accent-text);letter-spacing:0}
html body[class*="theme-"] .agent-run-steps code{font:13px/1.5 var(--t-font-mono);color:var(--t-ink);background:none;padding:0}
html body[class*="theme-"] .ar-res{font:12.5px/1.4 var(--t-font-mono);color:var(--t-muted);opacity:1;text-align:end}
html body[class*="theme-"] .ar-ok{color:var(--t-accent-text);opacity:1}
html body[class*="theme-"] .agent-run-foot{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin:18px calc(var(--ar-pad) * -1) calc(var(--ar-pad) * -1);padding:13px var(--ar-pad);
  background:var(--t-chrome);border-top:1px solid var(--t-line)}
html body[class*="theme-"] .agent-run-foot>span:first-child{flex:1 1 220px;font-size:13px;color:var(--t-muted);opacity:1}
html body[class*="theme-"] .ar-btn{display:inline-flex;align-items:center;padding:8px 18px;border-radius:9px;border:1px solid var(--t-line-strong);background:var(--t-surface);
  color:var(--t-ink);font:600 13px/1.2 var(--t-font-body)}
html body[class*="theme-"] .ar-btn-primary{background:var(--t-accent);border-color:var(--t-accent);color:var(--t-accent-ink)}

/* ---------- 5. quiet sections: hairline + air ---------- */
html body[class*="theme-"] .cards,html body[class*="theme-"] .scenario,html body[class*="theme-"] .reading,html body[class*="theme-"] .feature-matrix,html body[class*="theme-"] .split-section,html body[class*="theme-"] .faq,html body[class*="theme-"] .closing,html body[class*="theme-"] .workflow-grid,html body[class*="theme-"] .download-grid,html body[class*="theme-"] .connection{
  border:0;border-top:1px solid var(--t-line);border-radius:0;background:none;box-shadow:none;margin:0;padding-block:var(--t-space)}
html body[class*="theme-"] .product-lead{padding-bottom:var(--t-space);max-width:none}
html body[class*="theme-"] .large{font-size:clamp(18px,1.7vw,21px);line-height:1.65;color:var(--t-text);opacity:1;text-align:center;max-width:62ch;margin:0 auto}
html body[class*="theme-"] .reading{max-width:760px;margin-inline:auto}
html body[class*="theme-"] .reading h2{font-size:clamp(26px,2.6vw,34px);line-height:1.15;margin:2em 0 .55em}
html body[class*="theme-"] .reading h3{font-size:20px;line-height:1.3;margin:1.7em 0 .4em}
html body[class*="theme-"] .reading>h2:first-child,html body[class*="theme-"] .reading>p.large:first-child{margin-top:0}
html body[class*="theme-"] .reading p{color:var(--t-text);line-height:1.75;opacity:1}
html body[class*="theme-"] .text-link{color:var(--t-ink);text-decoration:none}
html body[class*="theme-"] .reading .notice,html body[class*="theme-"] .notice{margin:34px 0 0;padding:4px 0 4px 22px;border:0;border-inline-start:2px solid var(--t-accent);background:none;font-size:15px;color:var(--t-text)}
html body[class*="theme-"] .notice strong{font-family:var(--t-font-display);color:var(--t-ink)}
html body[class*="theme-"] .notice p{margin:8px 0 0}

/* facts: one row of big numbers (home) */
html body[class*="theme-"].page-0 .cards{display:grid;grid-template-columns:repeat(6,auto);justify-content:space-between;gap:36px 24px;text-align:center;padding-block:var(--t-space)}
html body[class*="theme-"].page-0 .cards article{all:unset;box-sizing:border-box;display:flex;flex-direction:column;align-items:center;min-width:0}
html body[class*="theme-"].page-0 .cards h3{order:1;margin:0;font-size:clamp(24px,2.7vw,36px);line-height:1.1;letter-spacing:var(--t-tracking);font-weight:var(--t-weight-display);color:var(--t-ink);overflow-wrap:normal;hyphens:manual}
html body[class*="theme-"].page-0 .cards .number{order:2;margin:10px 0 2px;font:600 14px/1.3 var(--t-font-body);color:var(--t-ink);opacity:1}
html body[class*="theme-"].page-0 .cards p{order:3;margin:0;font-size:13px;line-height:1.45;color:var(--t-muted);opacity:1}
/* product cards: three quiet text columns */
html body[class*="theme-"] .cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:40px clamp(32px,5vw,72px);padding-block:var(--t-space)}
html body[class*="theme-"] .cards article{all:unset;box-sizing:border-box;display:block;min-width:0;padding-top:22px;border-top:2px solid var(--t-accent)}
html body[class*="theme-"] .cards .number{font:600 12.5px/1 var(--t-font-mono);letter-spacing:.06em;color:var(--t-accent-text);opacity:1;margin:0 0 16px;display:block}
html body[class*="theme-"] .cards h3{font-size:22px;margin:0 0 10px;line-height:1.2}
html body[class*="theme-"] .cards p{font-size:16px;line-height:1.7;color:var(--t-muted);opacity:1;margin:0}

/* keyword statement */
html body[class*="theme-"] .scenario{display:flex;flex-direction:column;align-items:center;text-align:center;padding-block:var(--t-space)}
html body[class*="theme-"] .scenario::before{content:"";display:block;width:32px;height:32px;margin:0 0 20px;background:var(--t-accent);
  -webkit-mask:var(--t-motif) center/contain no-repeat;mask:var(--t-motif) center/contain no-repeat}
html body[class*="theme-"] .scenario .eyebrow{border:0;background:none;padding:0;margin:0 0 18px;font:600 14px/1.3 var(--t-font-body);color:var(--t-accent-text)}
html body[class*="theme-"] .scenario h2{font-size:clamp(30px,3.8vw,52px);line-height:1.08;max-width:19ch;margin:0 auto 26px;text-wrap:balance}
html body[class*="theme-"] .scenario p{max-width:70ch;margin:0 auto;font-size:clamp(16px,1.4vw,19px);line-height:1.7;color:var(--t-muted);opacity:1}

/* walkthroughs: clean 2x2, no boxes */
html body[class*="theme-"] .reading:has(.steps){max-width:none}
html body[class*="theme-"] .steps{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(32px,3.2vw,40px) clamp(40px,7vw,104px)}
html body[class*="theme-"] .steps article{position:static;display:flex;flex-direction:column;min-width:0;padding:0;border:0}
html body[class*="theme-"] .steps .number{position:static;margin:0 0 16px;font:600 13px/1 var(--t-font-mono);letter-spacing:.06em;color:var(--t-accent-text);opacity:1}
html body[class*="theme-"] .steps h3{margin:0 0 12px;font-size:clamp(21px,2vw,26px);line-height:1.22}
html body[class*="theme-"] .steps p{margin:0 0 16px;font-size:15px;line-height:1.66;color:var(--t-muted);opacity:1}
html body[class*="theme-"] .steps article .code-example{margin-top:0}
html body[class*="theme-"] .steps article>p:last-child{margin-bottom:0}
html body[class*="theme-"] .reading:has(.steps)>p{text-align:center;margin:clamp(36px,4vw,48px) 0 0}
html body[class*="theme-"] .code-example{background:var(--t-tint);color:var(--t-ink);border:1px solid var(--t-line);border-radius:10px;overflow:hidden;min-width:0}
html body[class*="theme-"] .code-example>div{display:flex;justify-content:space-between;align-items:center;gap:14px;padding:10px 14px;background:none;border-bottom:1px solid var(--t-line);font:500 12px/1.3 var(--t-font-body);color:var(--t-muted)}
html body[class*="theme-"] .code-example button{border:1px solid var(--t-line-strong);background:var(--t-surface);color:var(--t-ink);border-radius:7px;padding:5px 10px;font:600 11px/1.2 var(--t-font-body)}
html body[class*="theme-"] .code-example pre{margin:0;padding:16px 16px 18px;font:12.5px/1.65 var(--t-font-mono);color:var(--t-ink);white-space:pre-wrap;overflow-wrap:anywhere;tab-size:2}

/* comparison table: hairlines only */
html body[class*="theme-"] .feature-matrix{padding-block:var(--t-space)}
html body[class*="theme-"] .feature-matrix>h2{text-align:center;font-size:clamp(28px,3.2vw,44px);line-height:1.12;max-width:22ch;margin:0 auto 16px;text-wrap:balance}
html body[class*="theme-"] .feature-matrix>p{max-width:60ch;margin:0 auto 32px;text-align:center;color:var(--t-muted);opacity:1;font-size:17px}
html body[class*="theme-"] .feature-matrix table{width:100%;max-width:920px;margin-inline:auto;border-collapse:collapse;table-layout:fixed;border:0}
html body[class*="theme-"] .feature-matrix th,html body[class*="theme-"] .feature-matrix td{display:table-cell;padding:11px 18px;border:0;border-bottom:1px solid var(--t-line);text-align:start;vertical-align:top;font-size:15px;line-height:1.55;overflow-wrap:anywhere}
html body[class*="theme-"] .feature-matrix thead th{font:600 13px/1.3 var(--t-font-body);color:var(--t-muted);padding-bottom:14px;border-bottom:1px solid var(--t-line-strong);width:auto}
html body[class*="theme-"] .feature-matrix thead th:last-child{color:var(--t-accent-text);border-bottom:2px solid var(--t-accent)}
html body[class*="theme-"] .feature-matrix thead th:first-child{width:24%}
html body[class*="theme-"] .feature-matrix tbody th{width:24%;font:700 15px/1.4 var(--t-font-display);color:var(--t-ink);letter-spacing:0}
html body[class*="theme-"] .feature-matrix td{color:var(--t-muted)}
html body[class*="theme-"] .feature-matrix td:last-child{color:var(--t-ink);font-weight:600}

/* steps A-D as one horizontal row */
html body[class*="theme-"] .split-section{display:block;text-align:center}
html body[class*="theme-"] .split-section h2{font-size:clamp(28px,3.2vw,44px);line-height:1.12;max-width:22ch;margin:0 auto;text-wrap:balance}
html body[class*="theme-"] .setup{list-style:none;counter-reset:ss;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0 36px;margin:clamp(32px,3.6vw,44px) 0 0;padding:0;text-align:start}
html body[class*="theme-"] .setup li{counter-increment:ss;position:relative;padding:0;font-size:15px;line-height:1.65;color:var(--t-muted)}
html body[class*="theme-"] .setup li::before{content:counter(ss,upper-alpha);display:flex;align-items:center;justify-content:center;width:34px;height:34px;margin:0 0 18px;border-radius:50%;
  border:1.5px solid var(--t-accent);color:var(--t-accent-text);font:700 14px/1 var(--t-font-display);letter-spacing:0;background:var(--t-bg);position:relative;z-index:1}
html body[class*="theme-"] .setup li:not(:last-child)::after{content:"";display:block;position:absolute;top:17px;inset-inline-start:46px;inset-inline-end:-24px;height:1px;background:var(--t-line-strong)}
html body[class*="theme-"] .split-section p{max-width:60ch;margin:16px auto 0;color:var(--t-muted);opacity:1;font-size:17px}
html body[class*="theme-"] .split-section:has(.agent-run){display:flex;flex-direction:column;align-items:center;gap:clamp(36px,4.5vw,56px)}
html body[class*="theme-"] .split-section:has(.agent-run) h2{max-width:22ch}

/* who-for: three text columns (home) */
html body[class*="theme-"].page-0 .reading:not(:has(.steps)):not(:has(.text-link)){max-width:none;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));column-gap:clamp(32px,5vw,72px);row-gap:36px}
html body[class*="theme-"].page-0 .reading:not(:has(.steps)):not(:has(.text-link))>h2{grid-column:1/-1;margin:0 0 20px;text-align:center;font-size:clamp(28px,3.2vw,44px);line-height:1.12}
html body[class*="theme-"].page-0 .reading:not(:has(.steps)):not(:has(.text-link))>p{margin:0;font-size:15.5px;line-height:1.68;color:var(--t-muted)}
html body[class*="theme-"].page-0 .reading:not(:has(.steps)):not(:has(.text-link))>p::before{content:"";display:block;width:30px;height:2px;margin-bottom:22px;background:var(--t-accent)}

/* FAQ: hairline rows */
html body[class*="theme-"] .faq{max-width:820px;margin-inline:auto;width:100%}
html body[class*="theme-"] .faq>h2{text-align:center;font-size:clamp(28px,3.2vw,44px);line-height:1.12;margin:0 0 clamp(24px,3vw,32px)}
html body[class*="theme-"] .faq details{padding:0;border:0;border-top:1px solid var(--t-line)}
html body[class*="theme-"] .faq details:last-of-type{border-bottom:1px solid var(--t-line)}
html body[class*="theme-"] .faq summary{display:flex;align-items:center;justify-content:space-between;gap:24px;list-style:none;cursor:pointer;padding:12px 0;font-size:clamp(17px,1.4vw,19px);line-height:1.35;color:var(--t-ink)}
html body[class*="theme-"] .faq summary::-webkit-details-marker{display:none}
html body[class*="theme-"] .faq summary::after{content:"";flex:none;width:14px;height:14px;color:var(--t-muted);
  background:linear-gradient(currentColor,currentColor) center/100% 1.6px no-repeat,linear-gradient(currentColor,currentColor) center/1.6px 100% no-repeat}
html body[class*="theme-"] .faq details[open]>summary::after{background:linear-gradient(var(--t-accent),var(--t-accent)) center/100% 1.6px no-repeat}
html body[class*="theme-"] .faq details[open]>summary{color:var(--t-ink)}
html body[class*="theme-"] .faq p{max-width:68ch;margin:0 0 22px;font-size:16px;line-height:1.7;color:var(--t-muted);opacity:1}

/* closing: one centred line + button */
html body[class*="theme-"] .closing{display:flex;flex-direction:column;align-items:center;text-align:center;padding-block:calc(var(--t-space) * 1.05);max-width:none}
html body[class*="theme-"] .closing::before{content:"";display:block;width:28px;height:28px;margin:0 0 18px;background:var(--t-accent);
  -webkit-mask:var(--t-motif) center/contain no-repeat;mask:var(--t-motif) center/contain no-repeat}
html body[class*="theme-"] .closing>span{font:600 14px/1.3 var(--t-font-body);letter-spacing:0;text-transform:none;color:var(--t-accent-text);margin:0 0 16px}
html body[class*="theme-"] .closing h2{font-size:clamp(30px,4vw,54px);line-height:1.07;max-width:18ch;margin:0 auto 18px;text-wrap:balance}
html body[class*="theme-"] .closing p{max-width:52ch;margin:0 auto 34px;color:var(--t-muted);font-size:18px;opacity:1}
html body[class*="theme-"] .closing h2:last-child{margin-bottom:0}
html body[class*="theme-"] .closing>.button{margin-top:16px;padding:17px 34px;font-size:16px}
html body[class*="theme-"] .closing p + .button{margin-top:0}

/* links: a simple row */
html body[class*="theme-"].page-0 .reading:has(.text-link){max-width:none;text-align:center}
html body[class*="theme-"].page-0 .reading:has(.text-link) h2{font-size:clamp(22px,2.2vw,28px);margin:0 0 10px}
html body[class*="theme-"].page-0 .reading:has(.text-link) p{margin-inline:auto;color:var(--t-muted);max-width:60ch}
html body[class*="theme-"].page-0 .reading:has(.text-link) p:last-child{display:flex;flex-wrap:wrap;justify-content:center;gap:12px 28px;margin-top:22px;max-width:none}
html body[class*="theme-"] .reading .text-link{display:inline-block;margin:0;font-size:15px;font-weight:500;color:var(--t-ink);padding-bottom:3px;border-bottom:1px solid var(--t-line-strong);text-decoration:none;transition:border-color .15s,color .15s}
html body[class*="theme-"] .reading .text-link:hover{color:var(--t-accent-text);border-bottom-color:var(--t-accent)}

/* ---------- 6. inner pages ---------- */
html body[class*="theme-"] .reading:has(.feature-list){max-width:980px}
html body[class*="theme-"] .reading:has(.feature-list)>h2{text-align:center;margin-bottom:34px}
html body[class*="theme-"] .feature-list{list-style:none;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 clamp(32px,5vw,72px);margin:0;padding:0}
html body[class*="theme-"] .feature-list li,html body[class*="theme-"] .feature-definitions>div{all:unset;box-sizing:border-box;display:block;padding:22px 0;border-top:1px solid var(--t-line);font-size:15px;line-height:1.65;color:var(--t-muted)}
html body[class*="theme-"] .feature-list strong{display:block;margin:0 0 5px;font:700 17px/1.3 var(--t-font-display);color:var(--t-ink)}
html body[class*="theme-"] .feature-definitions dt{font:700 20px/1.3 var(--t-font-display);color:var(--t-ink);margin-bottom:8px}
html body[class*="theme-"] .feature-definitions dd{margin:0;opacity:1;color:var(--t-muted)}
/* models: the connection flow */
html body[class*="theme-"] .connection{display:flex;flex-wrap:nowrap;justify-content:center;align-items:center;gap:clamp(12px,2vw,24px);font-size:16px;padding-block:calc(var(--t-space) * .8);border-top:0}
html body[class*="theme-"] .connection span{padding:14px 28px;border:1px solid var(--t-line-strong);border-radius:999px;background:var(--t-surface);font:700 17px/1.3 var(--t-font-display);color:var(--t-ink);white-space:nowrap}
html body[class*="theme-"] .connection b{font:400 22px/1 var(--t-font-body);color:var(--t-accent-text)}
/* workflows */
html body[class*="theme-"] .workflow-grid{display:flex;flex-direction:column;gap:clamp(56px,7vw,88px);max-width:none}
html body[class*="theme-"] .workflow-grid .steps{grid-template-columns:repeat(4,minmax(0,1fr));gap:36px clamp(24px,3vw,40px)}
html body[class*="theme-"] .workflow-grid .steps article{padding-top:20px;border-top:1px solid var(--t-line-strong)}
html body[class*="theme-"] .workflow-grid .steps p{font-size:15px}
html body[class*="theme-"] .sticky-example{position:static;display:flex;flex-direction:column;align-items:center;padding:0}
html body[class*="theme-"] .sticky-example>h2{font-size:clamp(26px,3vw,38px);text-align:center;margin:0 0 30px}
html body[class*="theme-"] .sticky-example .agent-run{margin:0 auto 24px}
html body[class*="theme-"] .sticky-example .code-example{width:100%;max-width:760px}
html body[class*="theme-"] .sticky-example>p{max-width:62ch;text-align:center;color:var(--t-muted);opacity:1;font-size:16px;margin:24px 0 0}
/* download */
html body[class*="theme-"] .download-grid{display:flex;flex-direction:column;align-items:center;gap:clamp(48px,6vw,72px);padding-block:0 var(--t-space)}
html body[class*="theme-"] .download-card{all:unset;box-sizing:border-box;display:flex;flex-direction:column;align-items:center;text-align:center;gap:0;width:100%}
html body[class*="theme-"] .app-icon{width:76px;height:76px;margin:0 0 22px;border-radius:20px;background:var(--t-accent);color:var(--t-accent-ink);display:grid;place-items:center;
  font:var(--t-weight-display) 38px/1 var(--t-font-display);box-shadow:0 0 0 7px color-mix(in srgb,var(--t-accent) 9%,transparent)}
html body[class*="theme-"] .download-card h2{font-size:clamp(28px,3.2vw,42px);margin:0 0 8px}
html body[class*="theme-"] .download-card p{margin:0 0 28px;color:var(--t-muted)}
html body[class*="theme-"] .download-grid>div:last-child{width:100%}
html body[class*="theme-"] .download-grid .notice{max-width:720px;margin:48px auto 0}
/* privacy */
html body[class*="theme-"] .privacy.reading{max-width:920px}
html body[class*="theme-"] .privacy article{display:grid;grid-template-columns:minmax(0,230px) minmax(0,1fr);column-gap:clamp(24px,5vw,64px);border:0;border-top:1px solid var(--t-line);padding:34px 0 20px}
html body[class*="theme-"] .privacy article:first-of-type{border-top:0}
html body[class*="theme-"] .privacy article h2{grid-row:1 / span 6;align-self:start;margin:0;font-size:20px;line-height:1.3}
html body[class*="theme-"] .privacy article p{grid-column:2;margin:0 0 14px;font-size:16px;line-height:1.75;color:var(--t-text);opacity:1;max-width:66ch}
html body[class*="theme-"] .privacy .updated{margin:34px 0 0!important;font:12.5px/1.4 var(--t-font-mono)!important;color:var(--t-muted);opacity:1!important}

html body[class*="theme-"] .inner-hero + *,html body[class*="theme-"] .product-lead{border-top:0;padding-top:0}

/* ---------- 7. footer ---------- */
html body[class*="theme-"] footer.wrap{margin-top:0;border-top:1px solid var(--t-line);padding:44px 0 34px}
html body[class*="theme-"] .footer-top p{margin:0;font-size:14px;color:var(--t-muted);opacity:1}
html body[class*="theme-"] footer .brand{font-size:19px}
html body[class*="theme-"] footer nav{display:flex;flex-wrap:wrap;gap:12px 28px;margin:30px 0 34px;font-size:14px}
html body[class*="theme-"] footer nav a{color:var(--t-muted)}
html body[class*="theme-"] footer nav a:hover{color:var(--t-ink)}
html body[class*="theme-"] .footer-bottom{font-size:12.5px;line-height:1.6;color:var(--t-muted);opacity:1;gap:12px 40px}

/* ---------- 8. scripts the display font lacks -> heavy Inter ---------- */
html:is([lang^=ar],[lang^=hi],[lang^=th],[lang^=ja],[lang^=ko]) body[class*="theme-"]{--t-font-display:Inter,system-ui,sans-serif;--t-weight-display:800;--t-weight-sub:800;--t-tracking:0em}
html:is([lang^=ja],[lang^=ko],[lang^=th],[lang^=hi],[lang^=ar]) body[class*="theme-"] :is(h1,.scenario h2,.closing h2){line-height:1.25}
html:is([lang^=ar],[lang^=hi]) body[class*="theme-"] .setup li::before{font-family:Inter,sans-serif}

/* ---------- 9. responsive ---------- */
@media(max-width:1100px){
  html body[class*="theme-"].page-0 .cards{grid-template-columns:repeat(3,minmax(0,1fr));justify-content:stretch;gap:40px 24px}
  html body[class*="theme-"] .setup{grid-template-columns:repeat(2,minmax(0,1fr));gap:32px 36px}
  html body[class*="theme-"] .setup li:not(:last-child)::after{display:none}
  html body[class*="theme-"] .workflow-grid .steps{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:900px){
  html body[class*="theme-"].page-0 .reading:not(:has(.steps)):not(:has(.text-link)){grid-template-columns:1fr}
  html body[class*="theme-"] .cards{grid-template-columns:1fr}
  html body[class*="theme-"] .feature-list{grid-template-columns:1fr}
  html body[class*="theme-"] .privacy article{grid-template-columns:1fr}
  html body[class*="theme-"] .privacy article h2{grid-row:auto;margin-bottom:12px}
  html body[class*="theme-"] .privacy article p{grid-column:1}
}
@media(max-width:760px){
  html body[class*="theme-"] .wrap,html body[class*="theme-"] .header{width:calc(100% - 32px)}
  html body[class*="theme-"] .header{padding-block:10px}
  html body[class*="theme-"] h1,html body[class*="theme-"] h2,html body[class*="theme-"] h3{hyphens:auto;overflow-wrap:anywhere}
  html body[class*="theme-"] .home-hero{padding-top:30px}
  html body[class*="theme-"] .home-hero h1{font-size:clamp(33px,9.4vw,46px);line-height:1.07;max-width:100%}
  html body[class*="theme-"] .inner-hero{padding-top:36px}
  html body[class*="theme-"] .inner-hero h1{font-size:clamp(30px,8.4vw,40px);max-width:100%}
  html body[class*="theme-"] .eyebrow{margin-bottom:20px}
  html body[class*="theme-"] .hero-lead{margin-top:20px}
  html body[class*="theme-"] .actions{flex-direction:column;align-items:stretch;width:100%;max-width:360px;margin-top:26px}
  html body[class*="theme-"] .actions .button{width:100%}
  html body[class*="theme-"] .home-hero .agent-run{margin-top:40px}
  html body[class*="theme-"] .agent-run{--ar-pad:16px}
  html body[class*="theme-"] .agent-run-bar{grid-template-columns:auto minmax(0,1fr) auto;height:42px;padding:0 12px}
  html body[class*="theme-"] .agent-run-bar::before{width:48px}
  html body[class*="theme-"] .agent-run-bar span:first-child{grid-column:2;text-align:start}
  html body[class*="theme-"] .agent-run-prompt{margin-bottom:16px}
  html body[class*="theme-"] .agent-run-prompt span{max-width:100%;font-size:14px}
  html body[class*="theme-"] .agent-run-steps li{grid-template-columns:14px minmax(0,1fr) auto;gap:3px 10px;align-items:center;padding:11px 0}
  html body[class*="theme-"] .agent-run-steps li::before{grid-column:1;grid-row:1}
  html body[class*="theme-"] .ar-tool{grid-column:2;grid-row:1}
  html body[class*="theme-"] .ar-res{grid-column:3;grid-row:1}
  html body[class*="theme-"] .agent-run-steps code{grid-column:2 / 4;grid-row:2;white-space:normal;overflow-wrap:anywhere;font-size:12.5px}
  html body[class*="theme-"] .agent-run-foot{margin-top:18px}
  html body[class*="theme-"] .agent-run-foot>span:first-child{flex:1 1 100%}
  html body[class*="theme-"] .agent-run-foot .ar-btn{flex:1 1 0;justify-content:center}
  html body[class*="theme-"] .ar-btn{padding:8px 16px}
  html body[class*="theme-"].page-0 .cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:34px 16px}
  html body[class*="theme-"] .steps,html body[class*="theme-"] .workflow-grid .steps{grid-template-columns:1fr;gap:44px}
  html body[class*="theme-"] .setup{grid-template-columns:1fr;gap:22px}
  html body[class*="theme-"] .setup li{display:flex;gap:16px;align-items:flex-start}
  html body[class*="theme-"] .setup li::before{margin:0;flex:none}
  html body[class*="theme-"].page-0 .reading:not(:has(.steps)):not(:has(.text-link)){row-gap:26px}
  html body[class*="theme-"] .feature-matrix th,html body[class*="theme-"] .feature-matrix td{display:table-cell;width:auto;padding:14px 8px;font-size:13.5px}
  html body[class*="theme-"] .feature-matrix thead th{font-size:12px;padding-bottom:10px}
  html body[class*="theme-"] .feature-matrix thead th:first-child,html body[class*="theme-"] .feature-matrix tbody th{width:27%;font-size:13.5px}
  html body[class*="theme-"] .connection{flex-direction:column;gap:6px}
  html body[class*="theme-"] .connection span{padding:12px 24px}
  html body[class*="theme-"] .connection b{transform:rotate(90deg)}
  html body[class*="theme-"] .closing>.button{width:100%;max-width:360px}
  html body[class*="theme-"].page-0 .reading:has(.text-link) p:last-child{gap:12px 22px}
  html body[class*="theme-"] .footer-top{align-items:flex-start;flex-direction:column;gap:12px}
  html body[class*="theme-"] footer nav{gap:10px 20px}
  html body[class*="theme-"] .sticky-example>h2{margin-bottom:22px}
}
@media(prefers-reduced-motion:reduce){html body[class*="theme-"] *{transition:none!important}}

/* phones: the last two facts (privacy/OS captions are long sentences) take the full width, so no narrow columns (2026-10-30) */
@media(max-width:760px){html body[class*="theme-"].page-0 .cards article:nth-last-child(-n+2){grid-column:1/-1}}
/* demo: nusacoder.com — NusaCode (malware analyst career and learning, own lab). Values only. */
:root{
  --t-bg:#fafcfa; --t-surface:#ffffff; --t-chrome:#f2f7f3; --t-tint:#eef5ef;
  --t-ink:#0f1f14; --t-text:#2b3a2f; --t-muted:#566759;
  --t-line:#e2eae4; --t-line-strong:#c6d3c9;
  --t-accent:#15803d; --t-accent-ink:#ffffff; --t-accent-text:#13722f;
  --t-font-display:"Karla",Inter,system-ui,sans-serif; --t-weight-display:800; --t-weight-sub:700; --t-tracking:-.035em;
  --t-space:clamp(28px,2.4vw,32px);
  --t-motif:url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2032%2032'%20fill='none'%20stroke='black'%20stroke-width='2.2'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M3%206.500c4-1.500%208-1%2011%201.500v15.500c-3-2.500-7-3-11-1.500z'/%3E%3Cpath%20d='M14%208c3-2.500%207-3%2011-1.500V13'/%3E%3Cpath%20d='M6.500%2011.500h4.500M6.500%2015.500h4.500'/%3E%3Ccircle%20cx='21.500'%20cy='19'%20r='5'/%3E%3Cpath%20d='M25.200%2022.700l3.800%203.800'/%3E%3C/svg%3E");   /* open notebook + magnifier line */
}
/* Karla has no Cyrillic/Greek: heavy Inter for those languages (template.css already covers ar/hi/th/ja/ko) */
html:is([lang^=ru],[lang^=uk],[lang^=el]) body[class*="theme-"]{--t-font-display:Inter,system-ui,sans-serif;--t-weight-display:800;--t-weight-sub:800;--t-tracking:-.02em}

/* no automatic hyphenation in the main headline (long words still wrap) */
body h1{hyphens:manual;-webkit-hyphens:manual}
