/* TOP4HoneyChains brand tokens (D-65): one source for the public pages (landing, sign-in, beekeeper page, Honey Story)
   and, later, the app shell. Load this file first; page styles use only these variables.
   Fonts: Bricolage Grotesque (display) and Instrument Sans (text), self-hosted, SIL Open Font License 1.1
   (licence: OFL.txt next to each font under wwwroot/fonts); woff2 from the Fontsource npm packages 5.3.0, latin and latin-ext subsets only. */
@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-display: swap;
  font-weight: 500;
  src: url(../fonts/bricolage-grotesque/bricolage-grotesque-latin-ext-500-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: 500;
  src: url(../fonts/bricolage-grotesque/bricolage-grotesque-latin-500-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: 'Bricolage Grotesque';
  font-style: normal;
  font-display: swap;
  font-weight: 700;
  src: url(../fonts/bricolage-grotesque/bricolage-grotesque-latin-ext-700-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: 700;
  src: url(../fonts/bricolage-grotesque/bricolage-grotesque-latin-700-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: 'Bricolage Grotesque';
  font-style: normal;
  font-display: swap;
  font-weight: 800;
  src: url(../fonts/bricolage-grotesque/bricolage-grotesque-latin-ext-800-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: 800;
  src: url(../fonts/bricolage-grotesque/bricolage-grotesque-latin-800-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;
  src: url(../fonts/instrument-sans/instrument-sans-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: 'Instrument Sans';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url(../fonts/instrument-sans/instrument-sans-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: 'Instrument Sans';
  font-style: normal;
  font-display: swap;
  font-weight: 500;
  src: url(../fonts/instrument-sans/instrument-sans-latin-ext-500-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: 500;
  src: url(../fonts/instrument-sans/instrument-sans-latin-500-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: 600;
  src: url(../fonts/instrument-sans/instrument-sans-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: 'Instrument Sans';
  font-style: normal;
  font-display: swap;
  font-weight: 600;
  src: url(../fonts/instrument-sans/instrument-sans-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;
}
@font-face {
  font-family: 'Instrument Sans';
  font-style: normal;
  font-display: swap;
  font-weight: 700;
  src: url(../fonts/instrument-sans/instrument-sans-latin-ext-700-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: 700;
  src: url(../fonts/instrument-sans/instrument-sans-latin-700-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;
}

:root {
    /* Palette v2 "honey foam" (D-68). White is the dominant surface; foam and cream are soft tints only.
       No black and no dark brown anywhere, shadows included. Ratios are against white unless noted. */
    --b-white: #FFFFFF;
    --b-foam: #FFFBF0;
    --b-cream: #FFF4D6;
    --b-honey-light: #FFE7AE;    /* glow bands: body text only on it (7.0:1), not muted */

    /* text */
    --b-ink: #574A40;            /* body, 8.5:1 */
    --b-ink-2: #574A40;
    --b-heading: #8C5E2E;        /* headings, 5.6:1; 5.1:1 on cream */
    --b-muted: #7B6A5C;          /* 5.2:1; 4.7:1 on cream */

    /* surfaces and lines */
    --b-paper: #FFFFFF;
    --b-paper-2: #FFFBF0;
    --b-card: #FFFFFF;
    --b-line: #F2E3C6;
    --b-track: #FFF4D6;
    --b-input-line: #A88456;     /* form borders, 3.4:1 */
    --b-placeholder: #8F6F4C;    /* 4.6:1 */

    /* honey: fills, badges, highlights; text on the gradient is --b-on-honey (5.1:1 at the darkest end) */
    --b-honey-grad: linear-gradient(135deg, #FFD25A 0%, #FFB547 55%, #FFA23A 100%);
    --b-honey-grad-hover: linear-gradient(135deg, #FFDB78 0%, #FFC062 55%, #FFAE52 100%);
    --b-on-honey: #4A3F36;
    --b-honey: #FFB547;
    --b-honey-hi: #FFD25A;
    --b-honey-glow: #FFE7AE;
    --b-honey-soft: #FFF4D6;
    --b-honey-ink: #8C5E2E;      /* text on cream, 5.1:1 */
    --b-kicker: #8C5E2E;

    /* trust: #0B7A75 for text (5.2:1), #2BC4BC for details only (icons, dots, underlines, focus glow), never text */
    --b-trust: #0B7A75;
    --b-trust-accent: #2BC4BC;
    --b-green: #0B7A75;
    --b-green-dark: #08605C;
    --b-green-soft: #E8F8F7;
    --b-green-line: #BDEBE8;

    /* the former dark zones are light honey-glow sections now (names kept for the stylesheets) */
    --b-night: #FFF8E8;
    --b-night-2: #FFF4D6;
    --b-night-line: rgba(200, 146, 79, 0.25);
    --b-night-text: #8C5E2E;
    --b-night-muted: #574A40;
    --b-focus: #0B7A75;


    /* type */
    --b-display: 'Bricolage Grotesque', system-ui, sans-serif;
    --b-text: 'Instrument Sans', system-ui, sans-serif;

    /* shape; warm, very soft shadows */
    --b-radius-s: 10px;
    --b-radius: 16px;
    --b-radius-l: 24px;
    --b-radius-pill: 999px;
    --b-shadow-s: 0 2px 8px rgba(200, 146, 79, 0.10);
    --b-shadow: 0 10px 28px rgba(200, 146, 79, 0.14);
    --b-shadow-l: 0 24px 60px rgba(200, 146, 79, 0.18);
    --b-glow: 0 0 0 1px rgba(255, 181, 71, 0.45), 0 18px 50px rgba(255, 170, 60, 0.28);
    --b-focus-ring: 0 0 0 3px #FFFFFF, 0 0 0 5px #0B7A75, 0 0 0 9px rgba(43, 196, 188, 0.30);

    /* motion */
    --b-ease: cubic-bezier(.2, .7, .2, 1);
    --b-fast: 160ms;
    --b-mid: 320ms;
    --b-slow: 700ms;
    --b-touch: 44px;             /* minimum touch target */
}

@media (prefers-reduced-motion: reduce) {
    :root { --b-fast: 0ms; --b-mid: 0ms; --b-slow: 0ms; }
}

/* shared helpers */
.b-focus:focus-visible, .b-btn:focus-visible, .b-link:focus-visible {
    outline: 3px solid var(--b-focus);
    outline-offset: 3px;
    box-shadow: 0 0 0 8px rgba(43, 196, 188, 0.25);
}
.b-visually-hidden {
    position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.b-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    min-height: var(--b-touch); padding: 0 22px; border-radius: var(--b-radius-pill); border: 1px solid transparent;
    font-family: var(--b-text); font-weight: 600; font-size: 16px; line-height: 1; text-decoration: none; cursor: pointer;
    transition: transform var(--b-fast) var(--b-ease);   /* D-70: only transform and opacity move */
}
.b-btn:hover { transform: translateY(-1px); }
.b-btn-honey { background: var(--b-honey-grad); color: var(--b-on-honey); border-color: #FFC45E; box-shadow: 0 8px 22px rgba(255, 162, 58, 0.30); }
.b-btn-honey:hover { background: var(--b-honey-grad-hover); color: var(--b-on-honey); }
.b-btn-ghost { background: var(--b-white); color: var(--b-heading); border-color: var(--b-input-line); }
.b-btn-ghost:hover { background: var(--b-foam); color: var(--b-heading); }
/* formerly a dark button; now a light outline in the heading colour */
.b-btn-ink { background: var(--b-white); color: var(--b-heading); border-color: var(--b-input-line); }
.b-btn-ink:hover { background: var(--b-foam); color: var(--b-heading); }

/* logo images from the brand kit (docs/brand, D-69): never recoloured or redrawn, exempt from text contrast */
.b-logo { display: block; height: auto; max-width: 100%; }

/* D-70: animated mark + W3 wordmark (top bars, sign-in form); sizes of the <honey-mark> and the wordmark image */
.b-brand-mark .honey-mark { width: 46px; height: 40px; }
.b-brand-word { width: 177px; height: 13px; }

/* D-70: "Developed by" Intala Lab: one caramel tone, full colour on hover and focus (opacity only) */
.intala-credit { display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap; }
/* a footer line with the credit: copyright, separator and credit centred on one line; the separator goes when it wraps */
.b-credit-row { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; }
@media (max-width: 575.98px) { .b-credit-sep { display: none; } }
.intala-logo { display: inline-grid; align-items: center; min-height: 44px; vertical-align: middle; line-height: 0; }
.intala-logo img { grid-area: 1 / 1; display: block; width: 84px; height: 30px; transition: opacity 200ms ease; }
.intala-logo .intala-color { opacity: 0; }
.intala-logo:hover .intala-color, .intala-logo:focus-visible .intala-color { opacity: 1; }
.intala-logo:hover .intala-mono, .intala-logo:focus-visible .intala-mono { opacity: 0; }
@media (prefers-reduced-motion: reduce) { .intala-logo img { transition: none; } }
