
/*
 * MiRiKi colour system
 * Core palette:
 *   Main dark          #0C1117
 *   Secondary dark     #151B23
 *   Primary gold       #C5A465
 *   Bright accent gold #E0BC78
 *   Warm ivory         #F7F3EC
 *   White              #FFFFFF
 *   Digital accent     #38D6C7 (used sparingly)
 */
:root {
  --xyz-dark: #0C1117;
  --xyz-dark-surface: #151B23;
  --xyz-gold: #C5A465;
  --xyz-gold-bright: #E0BC78;
  --xyz-ivory: #F7F3EC;
  --xyz-white: #FFFFFF;
  --xyz-teal: #38D6C7;

  /* Light theme */
  --xyz-bg: var(--xyz-ivory);
  --xyz-surface: var(--xyz-white);
  --xyz-text: var(--xyz-dark);
  --xyz-muted: #626A73;
  --xyz-gold-soft: #D9C79F;
  --xyz-gold-pale: #EFE7D8;
  --xyz-gold-ink: #806638;
  --xyz-teal-soft: #DDF8F4;
  --xyz-border: #DED7CB;
  --xyz-shadow: rgba(12, 17, 23, .10);
  --xyz-radius: 1.4rem;
}

[data-bs-theme="dark"] {
  --xyz-bg: var(--xyz-dark);
  --xyz-surface: var(--xyz-dark-surface);
  --xyz-text: var(--xyz-ivory);
  --xyz-muted: #AEB7C2;
  --xyz-gold-soft: #B89557;
  --xyz-gold-pale: #28261F;
  --xyz-gold-ink: var(--xyz-gold-bright);
  --xyz-teal-soft: #123A3A;
  --xyz-border: #2B333E;
  --xyz-shadow: rgba(0, 0, 0, .28);
}

html { scroll-behavior: smooth; }
body { background: var(--xyz-bg); color: var(--xyz-text); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
a { text-underline-offset: .2em; }
.skip-link { position: absolute; left: -9999px; top: .5rem; z-index: 9999; background: var(--xyz-text); color: var(--xyz-bg); padding: .6rem .9rem; border-radius: .5rem; }
.skip-link:focus { left: .5rem; }

.site-nav { background: color-mix(in srgb, var(--xyz-bg) 91%, transparent); backdrop-filter: blur(14px); border-bottom: 1px solid color-mix(in srgb, var(--xyz-border) 78%, transparent); }
.navbar-brand { font-weight: 750; letter-spacing: -.035em; color: var(--xyz-text); }
.brand-mark { width: 2rem; height: 2rem; border: 1px solid var(--xyz-gold); border-radius: .7rem; display: inline-grid; place-items: center; color: var(--xyz-gold-ink); font-size: .85rem; margin-right: .55rem; }
.navbar .nav-link { color: var(--xyz-muted); font-weight: 520; border-radius: 999px; padding-inline: .8rem !important; }
.navbar .nav-link:hover, .navbar .nav-link.active { color: var(--xyz-text); background: var(--xyz-gold-pale); }
.theme-toggle { width: 2.7rem; height: 2.7rem; border-radius: 50%; display: inline-grid; place-items: center; border: 1px solid var(--xyz-border); background: var(--xyz-surface); color: var(--xyz-text); transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease; }
.theme-toggle:hover { border-color: var(--xyz-teal); box-shadow: 0 0 0 .2rem color-mix(in srgb, var(--xyz-teal) 14%, transparent); transform: translateY(-1px); }

/* The teal accent is intentionally limited to small digital cues. */
.brand-mark { position: relative; }
.brand-mark::after { content: ""; width: .42rem; height: .42rem; border-radius: 50%; background: var(--xyz-teal); position: absolute; right: -.12rem; bottom: -.12rem; box-shadow: 0 0 0 .18rem var(--xyz-bg); }

.hero-section { padding-top: 3rem; }
.min-vh-75 { min-height: 75vh; }
.hero-title { font-weight: 650; letter-spacing: -.055em; line-height: .98; max-width: 12ch; }
.eyebrow { color: var(--xyz-gold-ink); font-size: .76rem; letter-spacing: .17em; font-weight: 760; }
.hero-proof { font-size: .92rem; }
.hero-glow { position: absolute; border-radius: 50%; filter: blur(2px); pointer-events: none; opacity: .45; }
.hero-glow-one { width: 34rem; height: 34rem; right: -12rem; top: 5rem; background: radial-gradient(circle, color-mix(in srgb, var(--xyz-gold) 30%, transparent), transparent 68%); }
.hero-glow-two { width: 20rem; height: 20rem; left: -8rem; bottom: 0; background: radial-gradient(circle, color-mix(in srgb, var(--xyz-teal) 12%, transparent), transparent 70%); }

.btn-brand { --bs-btn-bg: var(--xyz-gold); --bs-btn-border-color: var(--xyz-gold-ink); --bs-btn-hover-bg: color-mix(in srgb, var(--xyz-gold) 86%, #000); --bs-btn-hover-border-color: color-mix(in srgb, var(--xyz-gold) 86%, #000); --bs-btn-color: var(--xyz-dark); border-radius: 999px; padding-inline: 1.35rem; }
.btn-outline-brand { color: var(--xyz-text); border: 1px solid var(--xyz-border); border-radius: 999px; padding-inline: 1.35rem; background: var(--xyz-surface); }
.btn-outline-brand:hover { background: var(--xyz-gold-pale); border-color: var(--xyz-gold-soft); color: var(--xyz-text); }
.text-link { color: var(--xyz-text); font-weight: 650; text-decoration: none; border-bottom: 1px solid var(--xyz-gold-soft); padding-bottom: .2rem; }
.text-gold-light { color: var(--xyz-gold-bright) !important; }

.product-shell { background: var(--xyz-surface); border: 1px solid var(--xyz-border); padding: clamp(1.3rem, 4vw, 2.2rem); border-radius: 2rem; position: relative; box-shadow: 0 24px 70px var(--xyz-shadow); overflow: hidden; }
.product-shell::before { content: ""; position: absolute; width: .65rem; height: .65rem; border-radius: 50%; right: 1.35rem; top: 1.35rem; background: var(--xyz-teal); box-shadow: 0 0 0 .35rem color-mix(in srgb, var(--xyz-teal) 12%, transparent); }
.avatar-chip { width: 3rem; height: 3rem; border-radius: 1rem; display: grid; place-items: center; background: linear-gradient(135deg, var(--xyz-gold), var(--xyz-gold-bright)); color: var(--xyz-dark); font-weight: 700; box-shadow: 0 10px 24px color-mix(in srgb, var(--xyz-gold) 22%, transparent); }
.metric-card, .usage-card { border: 1px solid var(--xyz-border); background: color-mix(in srgb, var(--xyz-surface) 92%, var(--xyz-gold-pale)); border-radius: 1.1rem; padding: 1.2rem; height: 100%; }
.metric-card span, .metric-card small { display: block; color: var(--xyz-muted); }
.metric-card strong { display: block; margin: .35rem 0; font-size: clamp(1.25rem, 2.5vw, 1.8rem); }
.progress { height: .55rem; background: var(--xyz-gold-pale); }
.progress-bar { background: linear-gradient(90deg, var(--xyz-gold), var(--xyz-teal)); }
.quick-actions { display: grid; grid-template-columns: repeat(3, 1fr); gap: .7rem; }
.quick-actions button { border: 1px solid var(--xyz-border); background: transparent; color: var(--xyz-text); border-radius: 1rem; padding: 1rem .5rem; display: flex; gap: .35rem; flex-direction: column; align-items: center; }
.quick-actions i { color: var(--xyz-gold-ink); font-size: 1.25rem; }

.section-space { padding-block: clamp(4.5rem, 8vw, 7rem); }
.bg-surface { background: var(--xyz-surface); }
.section-title { font-size: clamp(2.3rem, 5vw, 4.2rem); font-weight: 650; letter-spacing: -.045em; line-height: 1.04; }
.feature-card { padding: 2rem; border: 1px solid var(--xyz-border); border-radius: var(--xyz-radius); background: var(--xyz-surface); height: 100%; transition: transform .25s ease, border-color .25s ease; }
.feature-card:hover { transform: translateY(-4px); border-color: var(--xyz-gold-soft); }
.feature-card h3 { margin-top: 1.8rem; font-size: 1.25rem; }
.feature-card p { color: var(--xyz-muted); margin-bottom: 0; }
.icon-badge { width: 2.8rem; height: 2.8rem; border-radius: .9rem; display: grid; place-items: center; background: var(--xyz-gold-pale); color: var(--xyz-gold-ink); font-size: 1.2rem; }

.bento-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.bento { min-height: 10rem; border: 1px solid var(--xyz-border); border-radius: 1.4rem; padding: 1.5rem; color: var(--xyz-text); text-decoration: none; background: var(--xyz-surface); }
.bento:hover { border-color: var(--xyz-gold-soft); }
.bento i { font-size: 1.5rem; color: var(--xyz-gold-ink); }
.bento h3 { margin-top: 1.2rem; font-size: 1.2rem; }
.bento p { color: var(--xyz-muted); margin-bottom: 0; }
.bento-large { grid-row: span 2; min-height: 21rem; }
.bento-wide { grid-column: span 2; }

.bg-dark-section { background: var(--xyz-dark); }
.industry-card { position: relative; display: block; color: var(--xyz-ivory); text-decoration: none; min-height: 25rem; border: 1px solid #2B333E; border-radius: 1.5rem; padding: 2rem; background: linear-gradient(145deg, var(--xyz-dark-surface), var(--xyz-dark)); overflow: hidden; }
.industry-card::after { content: ""; position: absolute; width: 13rem; height: 13rem; border: 1px solid rgba(197,164,101,.30); border-radius: 50%; right: -4rem; bottom: -4rem; }
.industry-card > i { font-size: 2.3rem; color: var(--xyz-gold-bright); }
.industry-card h3 { margin-top: 6rem; font-size: 1.8rem; }
.industry-card p { color: #AEB7C2; min-height: 4.5rem; }
.industry-card span:last-child { color: var(--xyz-gold-bright); font-weight: 650; }
.industry-number { position: absolute; right: 1.6rem; top: 1.5rem; color: #7F8996; font-size: .8rem; }

.insight-card { height: 100%; padding: 1.7rem 0; border-top: 1px solid var(--xyz-border); }
.insight-card > span, .insight-stack article > span { color: var(--xyz-gold-ink); font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.insight-card h3 { margin: 1rem 0; font-size: 1.45rem; }
.insight-card p { color: var(--xyz-muted); }
.insight-card a { color: var(--xyz-text); font-weight: 650; }

.cta-panel { background: var(--xyz-dark); color: var(--xyz-ivory); border-radius: 2rem; padding: clamp(2rem, 5vw, 4.5rem); display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.cta-panel h2 { font-size: clamp(2rem, 4vw, 3.5rem); max-width: 16ch; margin: .6rem 0; letter-spacing: -.035em; }
.cta-panel p { color: #AEB7C2; max-width: 44rem; margin-bottom: 0; }

.page-hero { padding: clamp(7rem, 13vw, 11rem) 0 clamp(4.5rem, 8vw, 7rem); border-bottom: 1px solid var(--xyz-border); position: relative; overflow: hidden; }
.page-hero::after { content: ""; width: 32rem; height: 32rem; border: 1px solid color-mix(in srgb, var(--xyz-gold-soft) 30%, transparent); border-radius: 50%; position: absolute; right: -12rem; top: -10rem; }
.page-hero h1 { font-size: clamp(3rem, 7vw, 6rem); max-width: 13ch; line-height: .98; letter-spacing: -.055em; font-weight: 650; margin: .8rem 0 1.5rem; }
.page-hero p { color: var(--xyz-muted); font-size: 1.25rem; max-width: 48rem; }
.pill { display: inline-block; background: var(--xyz-gold-pale); color: var(--xyz-gold-ink); padding: .45rem .75rem; border-radius: 999px; font-size: .72rem; font-weight: 750; letter-spacing: .08em; }
.tag { display: inline-flex; padding: .5rem .8rem; border: 1px solid var(--xyz-border); border-radius: 999px; color: var(--xyz-muted); }
.product-feature-panel { border: 1px solid var(--xyz-border); border-radius: 2rem; padding: clamp(2rem, 5vw, 4rem); background: var(--xyz-surface); }
.mini-device { width: min(19rem, 80%); margin: auto; aspect-ratio: 10/18; border: .55rem solid var(--xyz-dark-surface); border-radius: 2.3rem; padding: 2rem 1.2rem; background: linear-gradient(180deg, var(--xyz-surface), var(--xyz-gold-pale)); box-shadow: 0 30px 60px var(--xyz-shadow); }
.mini-device-top { width: 4rem; height: .45rem; background: #2B333E; border-radius: 999px; margin: -1rem auto 3rem; }
.mini-balance small,.mini-balance strong { display:block; }
.mini-balance strong { font-size: 2rem; margin-top:.4rem; }
.mini-menu { margin-top: 3rem; display:grid; gap:.8rem; }
.mini-menu span { height:3rem; background: var(--xyz-surface); border:1px solid var(--xyz-border); border-radius:1rem; }
.service-list { display:grid; gap:.6rem; }
.service-list span { border:1px solid var(--xyz-border); border-radius: .9rem; padding:.9rem 1rem; }
.service-list i { color: var(--xyz-gold-ink); margin-right:.6rem; }
.principle-list { border-top: 1px solid var(--xyz-border); }
.principle-list > div { display:grid; grid-template-columns: 4rem 1fr; gap:1rem; padding:1.35rem 0; border-bottom:1px solid var(--xyz-border); }
.principle-list strong { color:var(--xyz-gold); }

.service-deep-card { height:100%; padding:2.2rem; border:1px solid var(--xyz-border); border-radius:1.5rem; background:var(--xyz-surface); scroll-margin-top: 7rem; }
.service-deep-card > i { font-size:2rem; color:var(--xyz-gold); }
.service-deep-card h2 { margin-top:1.6rem; }
.service-deep-card p,.service-deep-card li { color:var(--xyz-muted); }
.service-deep-card li { margin:.45rem 0; }
.industry-light-card { display:block; height:100%; color:var(--xyz-text); text-decoration:none; border:1px solid var(--xyz-border); border-radius:1.5rem; padding:2rem; background:var(--xyz-surface); }
.industry-light-card > i { font-size:2.1rem; color:var(--xyz-gold); }
.industry-light-card h2 { margin-top:5rem; font-size:1.75rem; }
.industry-light-card p { color:var(--xyz-muted); min-height:5rem; }
.industry-light-card span { color:var(--xyz-gold); font-weight:650; }

.featured-insight { border:1px solid var(--xyz-border); border-radius:1.6rem; padding:clamp(2rem,5vw,4rem); background:var(--xyz-surface); min-height:100%; }
.featured-insight h2 { font-size:clamp(2rem,4vw,3.4rem); margin:1.2rem 0; letter-spacing:-.035em; }
.featured-insight p { color:var(--xyz-muted); font-size:1.1rem; }
.article-meta { color:var(--xyz-muted); margin:1.5rem 0; font-size:.9rem; }
.insight-stack { border-top:1px solid var(--xyz-border); }
.insight-stack article { padding:1.35rem 0; border-bottom:1px solid var(--xyz-border); }
.insight-stack h3 { font-size:1.3rem; margin:.65rem 0; }
.insight-stack p { color:var(--xyz-muted); margin-bottom:0; }
.values-grid { display:grid; grid-template-columns:1fr 1fr; border-top:1px solid var(--xyz-border); border-left:1px solid var(--xyz-border); }
.values-grid > div { padding:1.5rem; border-right:1px solid var(--xyz-border); border-bottom:1px solid var(--xyz-border); }
.values-grid strong { color:var(--xyz-gold); }
.values-grid h3 { font-size:1.2rem; margin-top:1.8rem; }
.values-grid p { color:var(--xyz-muted); font-size:.95rem; }
.leader-card { height:100%; }
.leader-placeholder { aspect-ratio:4/3; background:linear-gradient(145deg,var(--xyz-gold-pale),var(--xyz-surface)); border:1px solid var(--xyz-border); border-radius:1.5rem; display:grid; place-items:center; font-size:4rem; color:var(--xyz-gold); }
.leader-card h2 { margin:1.4rem 0 .2rem; font-size:1.5rem; }
.leader-card .role { color:var(--xyz-gold); font-weight:650; }
.leader-card p:last-child { color:var(--xyz-muted); }
.contact-form .form-control,.contact-form .form-select { border-color:var(--xyz-border); background:var(--xyz-surface); color:var(--xyz-text); border-radius:.9rem; }
.contact-form textarea { min-height: 10rem; }
.contact-side { background:var(--xyz-surface); border:1px solid var(--xyz-border); border-radius:1.5rem; padding:2rem; }
.contact-method { display:flex; gap:1rem; align-items:center; padding:1.2rem 0; border-bottom:1px solid var(--xyz-border); }
.contact-method:last-child { border-bottom:0; }
.contact-method > i { width:2.8rem; height:2.8rem; display:grid; place-items:center; border-radius:.9rem; background:var(--xyz-gold-pale); color:var(--xyz-gold); }
.contact-method small,.contact-method a { display:block; }
.contact-method small { color:var(--xyz-muted); }
.contact-method a { color:var(--xyz-text); font-weight:600; text-decoration:none; }

.site-footer { border-top:1px solid var(--xyz-border); background:var(--xyz-surface); }
.footer-brand { font-size:1.4rem; font-weight:750; letter-spacing:-.03em; }
.footer-heading { font-size:.75rem; text-transform:uppercase; letter-spacing:.13em; color:var(--xyz-muted); font-weight:750; }
.footer-link { display:block; color:var(--xyz-muted); text-decoration:none; margin:.55rem 0; }
.footer-link:hover { color:var(--xyz-text); }
.whatsapp-fab { position:fixed; right:1.3rem; bottom:1.3rem; z-index:1040; width:3.6rem; height:3.6rem; border-radius:50%; display:grid; place-items:center; background:var(--xyz-teal); color:white; text-decoration:none; box-shadow:0 12px 30px rgba(0,0,0,.2); font-size:1.45rem; }
.whatsapp-fab:hover { color:white; transform:translateY(-2px); }

::selection { background: color-mix(in srgb, var(--xyz-gold) 45%, transparent); color: var(--xyz-dark); }

a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--xyz-teal) 55%, transparent);
  outline-offset: 3px;
}

@media (max-width: 991.98px) {
  .site-nav .navbar-collapse { padding:1rem 0; }
  .hero-section { padding-top: 1rem; }
  .bento-large { grid-row:auto; min-height:12rem; }
  .cta-panel { align-items:flex-start; flex-direction:column; }
  .page-hero::after { opacity:.5; }
}
@media (max-width: 575.98px) {
  .hero-title { font-size: clamp(3rem, 15vw, 4.2rem); }
  .bento-grid { grid-template-columns:1fr; }
  .bento-wide { grid-column:auto; }
  .quick-actions { grid-template-columns:1fr; }
  .values-grid { grid-template-columns:1fr; }
  .page-hero h1 { font-size: 3.2rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior:auto; }
  *, *::before, *::after { animation-duration:.01ms !important; animation-iteration-count:1 !important; transition-duration:.01ms !important; }
}
