/* Source: complete UI sample. The idx- classes retain the sample component names. */
@layer tokens {
  :root{
    /* Canvas and borders. */
    --ix-canvas:#0e1e32;
    --ix-deep:#040a12;
    --ix-edge:rgba(224,240,248,.11);
    --ix-edge-strong:rgba(224,240,248,.2);

    /* Text hierarchy across all materials. */
    --ix-t-title:#f4f8fb;
    --ix-t-heading:#dce6ee;
    --ix-t-body:#b9c5ce;
    --ix-t-meta:#7f919e;

    /* Brand and product interface colors. */
    --ix-brand-blue:#0063ab;    /* Logo, site branding and primary links. */

    --ix-ui-blue:#45b7f6;       /* Engineering content, current objects and active states. */
    --ix-ui-teal:#43c9b7;       /* Secondary product interface color. */
    --ix-ui-green:#23ce8c;      /* Verified and confirmed states. */
    --ix-ui-green-hi:#88efc5;

    /* Material surfaces. */
    --ix-metal:radial-gradient(ellipse 100% 85% at 12% -28%,#9cafc02b,transparent 78%),
               linear-gradient(135deg,#1c2835,#101923 48%,#080f18);
    --ix-ceramic:radial-gradient(ellipse 115% 85% at 20% -48%,#bad4ed40,transparent 85%),
                 linear-gradient(135deg,#1b2c43,#0c1b2d 52%,#07121f);
    --ix-metal-bar:radial-gradient(ellipse 85% 260% at 18% -80%,#c4d1dc32,transparent 82%),
                   linear-gradient(115deg,#304052,#1b2939 55%,#0d1b29);
    --ix-resin-blue:radial-gradient(ellipse 85% 145% at -10% -30%,#b3e4ef45,transparent 80%),
                    linear-gradient(118deg,#204b67,#102d43 40%,#081624 82%);

    /* Surface lighting. */
    --ix-lit:inset 0 1px #edf6ff1c;                       /* Top highlight. */
    --ix-body-shadow:inset 0 1px #d9e9f422,0 26px 55px #0006;  /* Body shading. */

    /* Light fields. */
    --ix-field-blue:radial-gradient(ellipse at 78% -6%,#198dd84d,transparent 40%),
                    radial-gradient(ellipse at 10% 104%,#198dd82e,transparent 34%);

    /* Blue-to-teal heading gradient from the AFH-LR product reference. */
    --ix-title-sheen:linear-gradient(118deg,#58baf0,#63c7ec 34%,#69d2df 62%,#61d3c5 82%,#59cfae);

    /* Font families. */
    --ix-sans:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
    --ix-mono:"SFMono-Regular",Menlo,Consolas,"Liberation Mono",monospace;  /* Menlo: macOS browsers cannot load SF Mono by name. */

    /* Latin type scale. */
    --ix-display:40px;      --ix-display-lh:1.10;  --ix-display-ls:-.022em;
    --ix-heading:24px;      --ix-heading-lh:1.33;  --ix-heading-ls:-.012em;
    --ix-body-size:15px;    --ix-body-lh:1.60;     --ix-body-ls:-.011em;
    --ix-meta:13px;         --ix-meta-lh:1.50;     --ix-meta-ls:-.003em;
    --ix-w-display:520;     --ix-w-body:400;

    /* Spacing scale. */
    --ix-space-1:4px;  --ix-space-2:8px;  --ix-space-3:12px; --ix-space-4:20px;
    --ix-space-5:26px; --ix-space-6:38px; --ix-space-7:54px; --ix-space-8:78px;

    /* Corner and container sizing. */
    /* Cards, panels and product windows retain the sharp corners of the complete UI sample. */
    --ix-radius-0:0;   --ix-radius-1:1px;  /* Small controls. */
    --ix-radius-2:0px;                     /* Cards and panels. */
    --ix-radius-3:0px;                     /* Product windows. */
    /* Content width follows the window (Riley, 2026-10-21); viewport units keep it equal in nested boxes. */
    /* Narrower boundary (Riley, 2026-10-29): the side margin grows from 16 px on phones to about 8.6% of a 1440 px
       window (124 px) and stops at 160 px. Navigation, sections and footer share it; backgrounds stay full width. */
    --ix-page-margin:clamp(16px,12.8vw - 60px,160px);
    --ix-container:min(1760px,calc(100vw - 2 * var(--ix-page-margin)));

    /* Homepage and site shell: shared sizing and light recipes. */
    --ix-hairline:1px;
    --ix-focus-line:2px;
    --ix-copy-size:1rem;
    --ix-label-size:.875rem;

    --ix-hero-type:4rem;

    --ix-section-type:1.25rem;
    --ix-section-heading-type:35px;
    --ix-section-copy-type:20px;
    --ix-section-heading-mobile:28px;
    --ix-section-copy-mobile:17px;
    /* Section type (Riley, 2026-10-29): the heading and body sizes of Home section 2 ("Take your ideas further in
       electronics"), 49 px and 21.6 px at 1440 px, 32 px and 18 px on phones. */
    --ix-section-title-size:clamp(2rem,3.4vw,3.25rem);
    --ix-section-body-size:clamp(1.125rem,1.5vw,1.5rem);
    /* The space between a section heading and the text below it on AFH Technology products and About Team and
       Mission (Riley, 2026-10-29): 32 px at 1440 px, 24 px on phones. */
    --ix-section-title-gap:clamp(24px,2.2vw,32px);
    /* Product entries on Home and AFH Technology (product-cards.css): the width of one entry and the gap between the
       two. The ending card below them takes the same outer width (callout.css). Since 2026-11-03 (Riley: the entries
       were too close) the pair reaches the content edges from about 1440 px. Since the second 2026-11-03 review
       (Riley: too much space between the entries in wide windows) the gap stops at its 1440 px value, 232 px, and
       the entries grow instead (620 px at 1792 px); in narrower windows the gap is 16% of the window, and the
       entries narrow. */
    --ix-product-entry-width:30rem;
    --ix-product-entry-gap:min(16vw,14.5rem);
    --ix-card-type:1rem;
    --ix-hero-tablet:3.5rem;
    --ix-hero-mobile:2.75rem;
    --ix-mobile-heading:2.125rem;

    --ix-control-height:2.75rem;
    --ix-nav-height:4.75rem;
    --ix-edge-fade:160px;
    --ix-hero-height:42rem;
    --ix-preview-height:21rem;
    --ix-copy-width:48rem;

    --ix-text-container:var(--ix-container);
    --ix-art-container:var(--ix-container);
    --ix-card-surface:linear-gradient(137deg,#111214 4.87%,#0C0D0F 75.88%);
    --ix-card-edge:rgba(255,255,255,.06);
    --ix-card-top:inset 0 1px rgba(255,255,255,.10);
    --ix-art-settle:linear-gradient(transparent,#07080A 50%);

    --ix-nav-bg:#080f19f2;
    --ix-hero-bg:#040811;
    --ix-tool-bg:#08121d;

    --ix-hero-shade:linear-gradient(90deg,#040811 0%,#040811eb 22%,#04081191 43%,transparent 68%),linear-gradient(0deg,#040811,transparent 22%,transparent 85%,#04081180);
    --ix-hero-mobile-shade:linear-gradient(180deg,#040811 0%,#040811e6 38%,#04081133 67%,#040811a6 100%);
    --ix-value-field:radial-gradient(ellipse at 10% 0%,#198dd84d,transparent 38%),radial-gradient(ellipse at 95% 90%,#198dd82e,transparent 30%);
    --ix-product-shadow:inset 0 1px #d9e9f422,0 -4px 48px #45b7f614,0 26px 55px #0006;

    --ix-plan-mask:linear-gradient(#000 calc(100% - 88px),transparent);
    --ix-blog-cover-ratio:2.35;
    --ix-article-heading:1.125rem;

    /* Motion timing. */

    --ix-base:180ms cubic-bezier(.22,.75,.25,1);
    --ix-slow:340ms cubic-bezier(.22,.75,.25,1);
  }



}
