/*! supertwentyplus licence: (c) 2026 Supertwentyplus Pte. Ltd. All rights reserved. Proprietary, not open source.
   Use only as provided on supertwentyplus.com (free or by subscription, under its Terms). Copying, reuse or hosting elsewhere,
   in whole or in part, needs a written licence: supertwentyplus@gmail.com. See LICENSE.txt at the site root. */
/* Theme E: Curiosity Lab two-mood hub (standby skin). Graph paper, taped index cards, calm Tools and Money. */
:root {
  --font-display: 'Space Grotesk', 'Segoe UI', system-ui, sans-serif;
  --font-body: 'Inter', 'Segoe UI', system-ui, sans-serif;
  --font-mono: 'Space Grotesk', ui-monospace, monospace;
  --font-hand: 'Caveat', 'Comic Sans MS', cursive;

  --bg: #FDFCF7; --surface: #FFFFFF;
  --ink: #16233F; --ink-2: #3D4A66; --ink-3: #5A6684;
  --line: #D5DBE7; --line-soft: #E9EDF5;
  --accent: #D94A2B; --accent-text: #B83A1F; --eyebrow: #B83A1F;
  --focus: #D94A2B; --link-hover: #B83A1F;

  --c-tools: #16233F; --c-tools-tint: #E9EDF5;
  --c-money: #16233F; --c-money-tint: #F4F6FA;
  --c-learn: #16233F; --c-learn-tint: transparent;
  --c-play:  #16233F; --c-play-tint:  transparent;

  --header-bg: transparent; --header-border: 0;
  --footer-bg: #FFFFFF; --footer-ink: var(--ink);
  --mark-bg: #FFE066; --mark-ink: #16233F; --mark-border: 2px solid #16233F; --mark-radius: 8px; --mark-shadow: none;
  --brand-accent: inherit; --brand-accent-bg: linear-gradient(transparent 55%, #FFE066 55%); --brand-weight: 700;

  --stack-gap: 56px; --hero-pad: 32px; --grid-gap: 34px 26px;
  --h1-size: 62px; --h1-weight: 700; --h1-track: -0.04em;
  --h2-size: 40px; --h2-weight: 700;

  --btn-radius: 10px; --btn-border-w: 2px; --btn-shadow: none;
  --btn-primary-bg: #16233F; --btn-primary-ink: #FFFFFF; --btn-primary-border: #16233F;
  --btn-ghost-bg: transparent; --btn-ghost-border: transparent; --btn-ghost-shadow: none;
  --input-border: 2px solid #16233F;
  --action-bg: #16233F; --action-ink: #FFFFFF;

  --widget-bg: #FFF6B8; --widget-border: 0; --widget-radius: 0;
  --widget-shadow: 0 14px 28px rgba(22, 35, 63, .14); --widget-divider: 0;
  --quiz-bg: #FFFFFF; --quiz-border: 2px solid #16233F; --quiz-right: #BFE8CF; --quiz-wrong: #F9C9BC;

  --card-border: 0; --card-radius: 2px; --card-shadow: 0 10px 22px rgba(22, 35, 63, .10); --card-hover-border: transparent;
  --card-title-weight: 700; --icon-radius: 10px;
  --group-border: 0; --group-shadow: none;

  --panel-bg: #F4F6FA; --panel-ink: #16233F; --panel-ink-2: #3D4A66; --panel-border: 1px solid #D5DBE7; --panel-radius: 12px;
  --panel-row-bg: #FFFFFF; --panel-line: #D5DBE7; --panel-icon-bg: #E9EDF5; --panel-accent: #16233F;

  --pro-bg: #16233F; --pro-ink: #FFFFFF;
  --pro-panel-bg: transparent; --pro-panel-ink: #FFFFFF; --pro-panel-ink-2: #CDD5E6; --pro-panel-border: 1px solid #3C4B6E;
  --pro-btn-bg: #FFE066; --pro-btn-ink: #16233F;
  --ad-bg: rgba(255, 255, 255, .7);

  --hue-1: #C2477E; --hue-2: #E8833A; --hue-3: #E2B41B; --hue-4: #1E9A96; --hue-5: #3E6FD8; --hue-6: #2E9B62;
}

body {
  background-color: #FDFCF7;
  background-image: linear-gradient(#E3E8F2 1px, transparent 1px), linear-gradient(90deg, #E3E8F2 1px, transparent 1px);
  background-size: 28px 28px;
}


/* E shows the password generator as a taped sticky note; the quiz stays available for skin D */
.widget-quiz { display: none; }
.widget-password { display: block; position: relative; overflow: visible; transform: rotate(-1.5deg); padding-top: 10px; }
.widget-password::before { content: ""; position: absolute; top: -14px; left: 50%; width: 110px; height: 28px; margin-left: -55px; background: rgba(217, 74, 43, .28); transform: rotate(3deg); }
.widget-password .widget-head { padding-bottom: 4px; }
.widget-password .widget-title { font-weight: 700; font-size: 18px; }
.widget-password .widget-title .icon { color: #B83A1F; }
.widget-badge { font-family: var(--font-hand); font-size: 24px; font-weight: 700; color: #B83A1F; }
.pw-output { background: #FFFFFF; border: 2px solid #16233F; }
.pw-meter { background: rgba(22, 35, 63, .15); }
#pw-strength-text { color: #16233F; }
.pw-meter span { background: #16233F; }
.widget-note { color: #3D4A66; }

.eyebrow { font-family: var(--font-hand); font-size: 30px; font-weight: 700; }
.random-app { text-decoration: underline; text-underline-offset: 4px; }
.ad-slot { border: 2px dashed #8B97B0; border-radius: 10px; }

/* Taped index cards for every category and Featured */
.sec .grid > .card, .card-featured { border-top: 6px solid var(--hue); padding-top: 24px; }
.sec .grid > .card::before, .card-featured::before {
  content: ""; position: absolute; top: -12px; right: 24px; width: 70px; height: 22px; background: rgba(255, 224, 102, .8);
}
.card-featured { overflow: visible; padding: 24px 0 0; }
.card-featured .card-icon { height: auto; padding: 0 22px; background: none; }
.card-featured .card-icon .icon { width: 36px; height: 36px; padding: 0; background: none; box-shadow: none; }
.card-kicker { font-family: var(--font-hand); font-size: 22px; font-weight: 700; color: #B83A1F; background: none; top: 18px; }
.sec .grid > .card .card-icon { width: auto; height: auto; justify-items: start; background: none; font-size: 32px; }
.sec-play .card-tag { border: 0; padding: 0; font-family: var(--font-hand); font-size: 21px; color: #B83A1F; }
.card[data-hue="1"] { --hue: var(--hue-1); } .card[data-hue="2"] { --hue: var(--hue-2); }
.card[data-hue="3"] { --hue: var(--hue-3); } .card[data-hue="4"] { --hue: var(--hue-4); }
.card[data-hue="5"] { --hue: var(--hue-5); } .card[data-hue="6"] { --hue: var(--hue-6); }
.grid > .card:nth-child(4n+1) { transform: rotate(-1.1deg); }
.grid > .card:nth-child(4n+2) { transform: rotate(0.8deg); }
.grid > .card:nth-child(4n+3) { transform: rotate(-0.5deg); }
.grid > .card:nth-child(4n)   { transform: rotate(0.9deg); }
.zone { border-left: 8px solid var(--zone-c); border-radius: 0; }
.zone-icon { background: none; color: var(--ink); }
.zone-tools { --zone-c: #16233F; } .zone-money { --zone-c: #E2B41B; }
.zone-learn { --zone-c: #3E6FD8; } .zone-play { --zone-c: #C2477E; }

/* Calm Tools band */
.band-tools { --band-bg: #FFFFFF; border-top: 2px solid #16233F; padding-top: 56px; padding-bottom: 56px; box-shadow: 0 0 0 100vmax #FFFFFF; }
.tool-group { padding: 0; background: none; }
.tool-group h3 { border-bottom: 1px solid var(--line); }
.tool-group .row:first-of-type { border-top: 0; }

/* Money sits on the page like every other category; only its Pro box stays navy */
.band-money { --band-bg: transparent; }
.sec-money .pro-panel { background: #16233F; border-color: #16233F; }
.tag-pro { background: #FFE066 !important; color: #16233F !important; }
/* App cards: lift and straighten on hover */
.grid > .card { transition: transform .18s ease, box-shadow .18s ease; }
.grid > .card:hover, .grid > .card:focus-visible { transform: translateY(-5px) rotate(0deg); box-shadow: 0 16px 30px rgba(22, 35, 63, .18); }
/* Touch screens have no hover: show the same lift while a card is pressed */
.grid > .card:active { transform: translateY(-3px) rotate(0deg) scale(.98); box-shadow: 0 10px 22px rgba(22, 35, 63, .2); }
/* Quiet "Upgradeable" tag, top right of the card */
.card-tag.tag-pro, .sec-play .card-tag.tag-pro { top: 22px; right: 20px; padding: 0; border: 0; background: none !important; color: var(--ink-2, #5B6478) !important; font-family: inherit; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; opacity: .75; }
