:root {
  --unays-paper: #fbf5eb;
  --unays-ink: #171716;
  --unays-teal: #207d70;
  --unays-coral: #ec6e5b;
  --unays-mint: #ddf0e7;
  --unays-lilac: #f3e4f3;
  --unays-peach: #fce9db;
  --unays-sage: #edf1e3;
  --unays-serif: 'DM Serif Text', Georgia, serif;
  --unays-sans: 'DM Sans', system-ui, sans-serif;
}

body.laravel-unays-ui, body.unays-public-visual {
  background: var(--unays-paper);
  color: var(--unays-ink);
  font-family: var(--unays-sans);
}
body.laravel-unays-ui .site-header, body.unays-public-visual .site-header {
  background: var(--unays-paper);
  border: 0;
  box-shadow: none;
}
body.laravel-unays-ui .site-nav {
  max-width: 1280px;
  min-height: 90px;
  padding-inline: clamp(14px, 3vw, 38px);
}
body.laravel-unays-ui .site-nav .brand img,
.unays-footer-brand img { width: 53px; height: 53px; object-fit: contain; border-radius: 50%; }
body.laravel-unays-ui .site-nav .brand span, body.laravel-unays-ui .site-nav .brand b,
body.laravel-unays-ui .desktop-links > a { color: var(--unays-ink); }
body.laravel-unays-ui .site-nav .nav-signin { border-color: var(--unays-ink); color: var(--unays-ink); border-radius: 50px; }
body.laravel-unays-ui .site-nav .nav-ai { background: #bb493b; color: #fff; border-radius: 50px; }
body.laravel-unays-ui .site-nav .nav-ai::before { content: '✦'; margin-right: 5px; }
body.laravel-unays-ui .mobile-menu { background: var(--unays-paper); border-color: #dbd6ca; }
body.laravel-unays-ui .mobile-menu a { color: var(--unays-ink); }

.unays-home { width: min(1312px, calc(100% - 60px)); margin: 14px auto 35px; }
.unays-home-hero {
  border-radius: clamp(26px, 5vw, 74px);
  background: radial-gradient(ellipse at 75% 68%, #b9dccd 0%, transparent 65%), linear-gradient(125deg, #e5f4eb, #d9eee7);
  display: grid;
  grid-template-columns: minmax(0, .93fr) minmax(0, 1.35fr);
  align-items: center;
  min-height: 450px;
  position: relative;
  isolation: isolate;
}
.unays-home-copy { padding: clamp(34px, 5.4vw, 74px) 0 clamp(34px, 5.4vw, 74px) clamp(27px, 6vw, 88px); z-index: 1; }
.unays-home-hero h1, .unays-section-heading h2, .unays-home-callout h2 {
  font-family: var(--unays-serif);
  font-weight: 400;
  color: var(--unays-ink);
  letter-spacing: -.046em;
  margin: 0;
}
.unays-home-hero h1 { font-size: clamp(43px, 6.15vw, 92px); line-height: .93; }
.unays-home-copy p { max-width: 37ch; margin: 26px 0; line-height: 1.45; font-size: clamp(15px, 1.7vw, 21px); }
.unays-home-art {
  display: block;
  width: 108%;
  height: auto;
  max-width: none;
  margin: -6% 0 -4% -7%;
  animation: unays-float 8s ease-in-out infinite;
  filter: drop-shadow(0 18px 21px #0b635c35);
}
@keyframes unays-float {
  0%, 100% { transform: translateY(0) rotate(-1deg); }
  50% { transform: translateY(-12px) rotate(1deg); }
}
.unays-design-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.unays-button {
  border: 1px solid var(--unays-ink);
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 750;
  min-height: 43px;
  padding: 9px 17px;
  text-decoration: none;
  white-space: nowrap;
}
.unays-button-dark { background: var(--unays-ink); color: #fff; }
.unays-button-outline { color: var(--unays-ink); }
.unays-button-dark:hover, .unays-button-dark:focus-visible { background: #12645b; color: #fff; }
.unays-button-outline:hover { background: #fff8; }
.unays-home-products { margin-top: clamp(28px, 5vw, 68px); }
.unays-section-heading { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); align-items: end; gap: 20px; padding: 0 3%; margin-bottom: 25px; }
.unays-section-heading h2, .unays-home-callout h2 { font-size: clamp(30px, 4.8vw, 66px); line-height: .98; }
.unays-section-heading p { max-width: 35ch; line-height: 1.45; }
.unays-chip { color: #174d45; background: #d8eee2; border: 1px solid #358f80; border-radius: 999px; width: fit-content; display: inline-block; padding: 2px 12px; margin: 0 0 7px; font-size: 13px; font-weight: 750; }
.unays-product-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.unays-tone-violet { background: radial-gradient(ellipse at 22% 100%, #ead2ed, transparent 70%), var(--unays-lilac); }
.unays-tone-mint { background: radial-gradient(ellipse at 22% 100%, #cae4d7, transparent 70%), var(--unays-mint); }
.unays-tone-peach { background: radial-gradient(ellipse at 22% 100%, #f9d5bd, transparent 70%), var(--unays-peach); }
.unays-tone-sage { background: radial-gradient(ellipse at 22% 100%, #dce8d1, transparent 70%), var(--unays-sage); }
.unays-home-card { position: relative; display: flex; flex-direction: column; padding: 20px 17px 15px; min-width: 0; overflow: hidden; color: var(--unays-ink); border-radius: 27px; text-decoration: none; border: 1px solid #3226160b; transition: transform .24s ease, box-shadow .24s ease; }
.unays-home-card:hover, .unays-home-card:focus-visible { transform: translateY(-5px); box-shadow: 0 12px 25px #30221d16; color: var(--unays-ink); }
.unays-card-title { display: flex; gap: 8px; align-items: center; }
.unays-card-title > span { color: var(--unays-teal); font-size: 26px; line-height: 1; }
.unays-card-title h3, .unays-workspace-card h2 { margin: 0; color: var(--unays-ink); font: 800 clamp(16px, 2.1vw, 29px)/1.12 var(--unays-sans); letter-spacing: -.045em; }
.unays-home-card p { margin: 6px 0 5px; max-width: 24ch; font-size: clamp(13px, 1.3vw, 17px); line-height: 1.3; }
.unays-home-card img { display: block; width: 100%; height: clamp(100px, 15vw, 202px); object-fit: contain; margin-top: auto; transition: transform .3s ease; }
.unays-home-card:hover img, .unays-home-card:focus-visible img { transform: translateY(-5px) rotate(-3deg); }
.unays-card-footer { display: flex; justify-content: space-between; align-items: center; gap: 3px; }
.unays-card-footer small { color: #244841; font-weight: 750; }
.unays-arrow { display: inline-grid; place-content: center; border: 1px solid #317c71; color: var(--unays-ink); border-radius: 999px; min-width: 39px; min-height: 29px; font-size: 19px; line-height: 1; text-decoration: none; white-space: nowrap; }
.unays-home-workspaces { display: grid; grid-template-columns: 1.16fr 1fr; gap: 14px; margin-top: 17px; }
.unays-workspace-card { border-radius: 28px; padding: clamp(18px, 3vw, 32px); overflow: hidden; }
.unays-classroom-card { display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; }
.unays-workspace-card p { margin: 8px 0 13px; }
.unays-workspace-card .unays-chip { margin: 0 0 8px; }
.unays-workspace-card ul { list-style: none; margin: 12px 0; padding: 0; font-size: 14px; }
.unays-workspace-card li { margin: 4px 0; }
.unays-workspace-card li::before { content: '✓'; margin-right: 7px; color: #16594d; }
.unays-workspace-card > img { width: 100%; height: auto; object-fit: contain; animation: unays-float 9s 1.5s ease-in-out infinite; }
.unays-school-links { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.unays-school-links > a { display: grid; justify-items: start; justify-content: start; gap: 4px; padding: 14px; border-radius: 17px; color: var(--unays-ink); background: #fff9; text-decoration: none; }
.unays-school-links > a:hover { background: #fff; }
.unays-school-links > a > span:not(.unays-arrow) { line-height: 1.25; font-size: 13px; }
.unays-school-links .unays-arrow { margin-top: 6px; }
.unays-home-callout { display: grid; grid-template-columns: 1fr minmax(0,.75fr) auto; gap: clamp(14px, 4vw, 50px); align-items: center; margin: 23px 0; padding: 25px clamp(20px, 5vw, 66px); border-radius: 30px; background: linear-gradient(120deg, #dbe9e4, #eef8ed 60%, #c8e3d3); }
.unays-home-callout h2 { font-size: clamp(28px, 3.75vw, 52px); }
.unays-home a:focus-visible, .unays-footer a:focus-visible { outline: 3px solid #1f6a60; outline-offset: 4px; }

body.laravel-unays-ui .arch-page, body.laravel-unays-ui .schools-page, body.laravel-unays-ui .uc-simple-v2,
body.laravel-unays-ui .products-page { background: var(--unays-paper); color: var(--unays-ink); }
body.laravel-unays-ui :is(.arch-hero,.schools-hero,.products-hero,.classroom-outline,.arch-band,.uc-intro) {
  border-radius: 34px;
  color: var(--unays-ink);
  background: linear-gradient(128deg, #e5f3e9, #d4ebe0);
}
body.laravel-unays-ui :is(.arch-hero,.schools-hero,.products-hero,.uc-intro) h1,
body.laravel-unays-ui :is(.arch-section,.schools-section,.arch-band,.uc-intro) h2 {
  color: var(--unays-ink);
  font-family: var(--unays-serif);
  font-weight: 400;
  letter-spacing: -.032em;
}
body.laravel-unays-ui :is(.arch-hero,.schools-hero,.products-hero,.arch-band,.classroom-outline) :is(h1,h2,h3,p) { color: var(--unays-ink); }
body.laravel-unays-ui :is(.arch-card,.package-card,.uc-card,.schools-demo,.product-row,.newsletter-form) { border-radius: 22px; box-shadow: none; }
body.laravel-unays-ui :is(.arch-card,.package-card):nth-of-type(3n + 1) { background: #f5eaf4; }
body.laravel-unays-ui :is(.arch-card,.package-card):nth-of-type(3n + 2) { background: #e6f1e7; }
body.laravel-unays-ui :is(.arch-card,.package-card):nth-of-type(3n) { background: #fceade; }
body.laravel-unays-ui .button-primary { background: var(--unays-ink); color: #fff; border-color: var(--unays-ink); border-radius: 999px; }
body.laravel-unays-ui .button-secondary { border-radius: 999px; }
body.laravel-unays-ui .newsletter-footer { background: var(--unays-paper); color: var(--unays-ink); border-color: #d4c9b8; }
body.laravel-unays-ui .newsletter-panel { padding-block: 34px; }
body.laravel-unays-ui .newsletter-panel h2 { font-family: var(--unays-serif); color: var(--unays-ink); }
.unays-footer { width: min(1210px, calc(100% - 44px)); margin: auto; padding: 24px 0 15px; }
.unays-footer-grid { display: grid; grid-template-columns: 1.55fr repeat(4, 1fr); gap: clamp(12px, 2vw, 28px); }
.unays-footer-grid > nav, .unays-footer-grid > div { min-width: 0; display: flex; flex-direction: column; gap: 7px; align-items: start; color: var(--unays-ink); }
.unays-footer-grid a { color: var(--unays-ink); text-decoration: none; font-size: 14px; }
.unays-footer-grid a:hover { color: #0d6760; text-decoration: underline; }
.unays-footer-grid h2 { margin: 6px 0 3px; font: 800 15px var(--unays-sans); color: var(--unays-ink); }
.unays-footer-brand { display: flex; align-items: center; gap: 9px; font: 800 20px var(--unays-sans) !important; }
.unays-footer-grid p { margin: 0; font-size: 13px; line-height: 1.4; max-width: 25ch; }
.unays-footer-legal { margin-top: 22px; padding-top: 11px; border-top: 1px solid #c9bcad; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; font-size: 12px; color: var(--unays-ink); }
.unays-footer-legal nav { display: flex; flex-wrap: wrap; gap: 12px; }
.unays-footer-legal a { color: inherit; }

/* Standalone public tools keep their own controls and layouts. */
body.unays-public-visual :is(.guide-hero,.hero,.page-hero,.landing-hero,.status-hero,.intro) {
  background-color: var(--unays-mint);
  color: #183a34;
}
body.unays-public-visual :is(.hero,.page-hero,.guide-hero) h1 { font-family: var(--unays-serif); }
body.unays-public-visual :is(.hero,.page-hero,.status-hero,.guide-hero,.intro) { border-radius: 28px; }
body.unays-public-visual :is(.card,.tool-card,.lesson-card,.panel) { border-radius: 19px; }
body.unays-public-visual :is(.hero-stage,.workspace-hero,.welcome-card) h1 { font-family: var(--unays-serif); }
body.unays-workspace-visual[data-theme=light] {
  --bg: #fbf5eb;
  --panel: #fffcf6;
  --surface: #fffcf6;
  --sidebar: #e5f1e7;
  --text: #20231e;
  --muted: #475f57;
  --text-muted: #475f57;
  --border: #c8d9ca;
  --accent: #14685e;
  --accent-soft: #dceee4;
  --gold: #14685e;
  background: var(--bg);
  color: var(--text);
}
body.unays-workspace-visual[data-theme=dark] { background: var(--bg); color: var(--text); }
body.unays-workspace-visual .welcome .hero-mark { width: 114px; height: 114px; }
.unays-workspace-art { position: relative; z-index: 2; width: 100%; height: 100%; object-fit: contain; animation: unays-float 8s ease-in-out infinite; }
.hero-mark:has(.unays-workspace-art) .orb-core { display: none; }
.unays-directory { padding-bottom: 28px; }
.unays-directory .unays-home-hero { min-height: 310px; }
.unays-directory .unays-home-hero h1 { font-size: clamp(40px, 5.3vw, 76px); }
.unays-directory .unays-home-art { max-height: 330px; width: 100%; object-fit: contain; margin: 0; }
.unays-directory .unays-product-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }

@media (max-width: 980px) {
  .unays-home { width: calc(100% - 34px); }
  .unays-home-hero { min-height: 340px; }
}
@media (max-width: 760px) {
  body.laravel-unays-ui .site-nav { min-height: 67px; }
  body.laravel-unays-ui .site-nav .brand img { width: 40px; height: 40px; }
  .unays-home-hero { grid-template-columns: 1fr; min-height: auto; overflow: hidden; }
  .unays-home-copy { padding: 26px 24px 2px; }
  .unays-home-art { width: min(100%, 500px); margin: -2% auto 0; }
  .unays-section-heading, .unays-home-workspaces, .unays-home-callout { grid-template-columns: 1fr; }
  .unays-section-heading { gap: 5px; margin-bottom: 15px; }
  .unays-section-heading p { margin: 6px 0; }
  .unays-product-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .unays-directory .unays-product-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .unays-home-card { border-radius: 19px; padding: 13px; }
  .unays-home-callout { gap: 8px; }
  .unays-home-callout .unays-button { justify-self: start; }
  .unays-footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .unays-footer-grid > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 380px) {
  .unays-home { width: calc(100% - 24px); }
  .unays-home-copy { padding-inline: 17px; }
  .unays-design-actions { gap: 7px; }
  .unays-button { font-size: 12px; padding-inline: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .unays-home-art, .unays-workspace-card > img, .unays-workspace-art { animation: none; }
  .unays-home-card, .unays-home-card img { transition: none; transform: none !important; }
}
