/* Echipa Curaj — pastel identity, shared by public and operational surfaces. */
:root {
  --curaj-ink: #51445f;
  --curaj-muted: #716679;
  --curaj-green: #c4e490;
  --curaj-green-ink: #354b23;
  --curaj-rose: #f3dce3;
  --curaj-lavender: #eee7f5;
  --curaj-line: #e4dce9;
  --curaj-paper: #fff;
}
body { color: var(--curaj-ink); background: var(--curaj-paper); }
a { color: #69517d; }
h1,h2,h3 { color: var(--curaj-ink); letter-spacing: -.035em; }
h1 em { color: #80546e; }
button,.button { background: var(--curaj-green); color: var(--curaj-green-ink); border: 1px solid #afcf7c; border-radius: 12px; box-shadow: none; font-weight: 800; min-height: 44px; transition: background-color .16s; }
button:hover,.button:hover { background: #b5d77d; text-decoration: none; }
:focus-visible { outline: 3px solid #795a92; outline-offset: 4px; }
input,select,textarea { border: 1px solid #a99bb4; border-radius: 10px; color: var(--curaj-ink); background: white; accent-color: #69517d; }
input:focus,select:focus,textarea:focus { outline: 2px solid #795a92; outline-offset: 2px; }
.site-header { max-width: none; padding: 24px max(24px,calc((100vw - 1152px)/2)); border-bottom: 1px dashed #d7c6d8; background: #fff url('/static/pastel-garden.svg') right center / 700px auto no-repeat; }
.brand,.brand strong { color: #69517d; }
.brand strong span { color: #a25d79; }
.site-header nav a { color: var(--curaj-ink); font-weight: 700; }
.site-header nav a:hover { text-decoration: underline; }
.hero { padding-top: 64px; padding-bottom: 64px; background: none; gap: 48px; }
.hero h1 { font-size: clamp(40px,4.7vw,65px); line-height: 1.13; font-weight: 850; }
.hero .lead { color: #695770; }
.eyebrow { color: #796184; text-transform: none; letter-spacing: .025em; font-size: 13px; font-weight: 750; }
.quiet,.helptext,.muted,.preview-note,.cad-help,.selected-original small { color: var(--curaj-muted); }
.hero>.cad-preview { padding: 20px 16px 10px; background: #faf7fc url('/static/pastel-garden.svg') center / cover; border-radius: 46% 46% 24px 24px; }
.hero>.cad-preview .cad-viewport { height: 400px; }
.hero>.cad-preview .selected-original { display: none; }
.collection>h2,.soft>h2 { font-weight: 800; font-size: clamp(26px,3vw,36px); line-height: 1.25; letter-spacing: -.025em; }
.cad-viewport { background: transparent; border-radius: 24px; }
.cad-controls button { background: white; border-color: #c9b9d4; color: #69517d; }
.selected-original { border-top: 1px dashed #d7c6d8; margin-top: 16px; }
.public-counts { gap: 16px; }
.public-counts article { background: #f0f6e6; border-radius: 14px; border: 1px solid #deebcd; }
.public-counts article:nth-child(2) { background: #faf0f3; border-color: #efdae3; }
.public-counts article:nth-child(3) { background: #f4eff9; border-color: #e5daef; }
.public-counts strong { color: #69517d; }
.public-counts p,.grid p { color: #66596d; }
.collection { margin: 72px auto; }
.collection>h2 { margin-bottom: 32px; }
.character-grid { gap: 24px; }
.character-card { background: #f1f4e7; border: 1px solid #e2e8d4; border-radius: 18px; padding: 14px 14px 8px; max-width: 350px; transition: border-color .16s; }
.character-card:hover { transform: none; border-color: #9977ad; }
.character-card h3 { margin-top: 14px; }
.character-card p { margin: 5px 0; color: #66596d; }
.character-card span { color: #69517d; font-weight: 750; font-size: 13px; }
.character-card.rex { background: #eff5e5; }
.character-card.nova,.character-card.bubu { background: #f2ecf7; }
.character-card.milo { background: #faf3df; }
.character-card.aria { background: #f9eaf0; }
.soft { background: #f6f0f6 url('/static/pastel-garden.svg') right center / 65% auto no-repeat; border: 1px solid #eee3ee; border-radius: 20px; padding: 48px; }
.soft p { max-width: 660px; }
.panel { border-color: var(--curaj-line); border-radius: 16px; }
.customizer { gap: 44px; }
.preview-sticky { background: none; }
footer { background: #f6f2f8; border-top: 1px dashed #d7c6d8; color: var(--curaj-muted); }
footer .brand { color: #69517d; }
.status { color: #3a622b; }
.notice { background: #fff6d9; color: #624e24; border-color: #ab8336; }
.test-banner { background: #fff7e0; color: #68572b; }
.errorlist { color: #9d284b; }
/* Operational pages share the palette, with restrained decoration. */
.layout aside { background: #f3edf7; color: var(--curaj-ink); border-right: 1px solid var(--curaj-line); }
.layout aside a { color: #5e496f; }
.layout aside a:hover,.layout aside a[aria-current] { background: #e4d7ed; }
.layout .brand { letter-spacing: 0; }
.layout .brand small { color: var(--curaj-muted); letter-spacing: .02em; }
.layout .card,.layout .table-card { border-color: var(--curaj-line); border-radius: 12px; }
.layout .metric { color: #69517d; }
.layout th { background: #f7f3fa; color: #66596d; }
.layout td,.layout dl div { border-color: #eee7f2; }
.layout dt,.layout td[data-label]::before { color: var(--curaj-muted); }
.layout .secondary { background: white; color: #69517d; border-color: #bbaaC6; }
.layout footer { background: transparent; border: 0; padding: 0; }
@media(max-width:760px) {
  .site-header { padding: 20px; gap: 18px; background-size: 480px; }
  .site-header nav { gap: 10px 18px; }
  .hero { padding: 32px 20px; gap: 28px; }
  .hero h1 { font-size: clamp(36px,9vw,52px); }
  .hero>.cad-preview { padding: 16px 8px 8px; }
  .collection { margin: 44px auto; padding: 0 16px; }
  .character-grid { gap: 12px; }
  .character-card { padding: 8px; }
  .character-card span { font-size: 12px; }
  .soft { padding: 28px 22px; background-size: cover; }
  .customizer { gap: 24px; }
  .customizer .preview-sticky { background: transparent; position: static; }
  .public-counts { gap: 8px; }
  .public-counts article { padding: 16px 8px; }
}
@media(prefers-reduced-motion:reduce) { button,.button,.character-card { transition: none; } }

/* Shared handwritten title scale; body and controls remain Nunito. */
.hero h1{font-size:clamp(52px,5.5vw,78px);line-height:1.1}
h2,.collection>h2,.soft>h2{font-size:clamp(34px,3.5vw,46px);line-height:1.2}
h3,.character-card h3{font-size:32px;line-height:1.2}
.panel h2{font-size:34px}
.layout h1{font-size:42px}.layout h2{font-size:28px}
@media(max-width:760px){.hero h1{font-size:52px}.customizer h1,.narrow h1{font-size:42px}.character-card h3{font-size:30px}}

/* Handwritten wordmark, without symbol. */
.brand,.brand strong,.layout .brand,.layout .brand strong{font-family:"Curaj Amatic","Curaj Nunito",sans-serif!important;font-weight:700;letter-spacing:.02em;line-height:.95}
.site-header .brand{font-size:26px;min-width:85px}.site-header .brand strong{font-size:46px}
footer .brand{font-size:24px}footer .brand strong{font-size:38px}
/* Keep the home preview focused on the object and its single control. */
.hero>.cad-preview .cad-help,.hero>.cad-preview .preview-note{display:none}
.hero>.cad-preview{padding-bottom:24px}

/* Lettered watercolor wordmark: original text composition, no symbol. */
.site-header .brand,footer .brand{position:relative;isolation:isolate;display:inline-flex;flex-direction:column;align-items:center;justify-content:center;min-width:112px;padding:8px 14px;text-decoration:none}
.site-header .brand::before,footer .brand::before{content:"";position:absolute;inset:0 -6px;z-index:-1;border-radius:47% 53% 59% 41%;background:radial-gradient(ellipse at 25% 40%,#e1efc9b3,transparent 67%),radial-gradient(ellipse at 75% 35%,#f3dce3b3,transparent 65%),radial-gradient(ellipse at 55% 80%,#e3d6ee99,transparent 70%);transform:rotate(-5deg)}
.brand .brand-line{display:flex;justify-content:center;gap:3px;font-family:"Curaj Amatic",sans-serif!important;line-height:1}
.brand .brand-line span{display:inline-block;font-family:"Curaj Amatic",sans-serif!important;font-weight:700;color:#66517b}
.brand .brand-line span:nth-child(3n+1){color:#59743b;transform:rotate(-5deg)}
.brand .brand-line span:nth-child(3n+2){color:#a45a79;transform:rotate(4deg)}
.site-header .brand .brand-line:first-child{font-size:29px;letter-spacing:2px}
.site-header .brand strong.brand-line{font-size:48px;letter-spacing:1px}
footer .brand .brand-line:first-child{font-size:25px}footer .brand strong.brand-line{font-size:38px}
@media(max-width:400px){.site-header .brand{min-width:98px;padding:6px 10px}.site-header .brand strong.brand-line{font-size:43px}}

/* Approved concept 3: outlined vector wordmark and embracing C symbol. */
.site-header .brand,footer .brand{padding:0;min-width:0;display:inline-block;line-height:0}.site-header .brand::before,footer .brand::before{content:none}.brand img{display:block;width:170px;height:auto}footer .brand img{width:150px}@media(max-width:400px){.brand img{width:130px}.site-header .brand{padding:0;min-width:0}}

.layout .brand img{width:170px;max-width:100%;height:auto}.layout .brand small{font-family:"Curaj Nunito",sans-serif!important;font-size:12px;line-height:1.5;margin-top:12px}.layout aside .brand{padding:0 8px}
