/* ================================================ */
/*  Macedonia Design System — mac.css v1.0          */
/*  Shared across all public pages                  */
/* ================================================ */

/* ── VARIABLES ──────────────────────────────────── */
:root {
  /* Palette */
  --yellow:  #ffe135;
  --orange:  #ff8c2f;
  --green:   #3ecf6e;
  --red:     #ff5e5e;
  --purple:  #a855f7;
  --blue:    #38bdf8;
  --lime:    #84cc16;
  --lime2:   #65a30d;
  --navy:    #1a1a2e;
  --cream:   #fffdf4;
  --sand:    #fff8e1;

  /* Per-page accent — override in page <style> */
  --accent:       var(--orange);
  --accent-light: #fff3e6;
  --hero-bg:      var(--yellow);
}

/* ── RESET & BASE ───────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Nunito', ui-rounded, system-ui, sans-serif;
  background: var(--cream);
  color: var(--navy);
  overflow-x: hidden;
}

/* ── NAV ────────────────────────────────────────── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  height: 64px;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 2rem;
  background: rgba(255,253,244,.92);
  backdrop-filter: blur(16px);
  border-bottom: 2.5px solid var(--navy);
  box-shadow: 0 3px 0 var(--accent);
}
.nav-logo {
  display: flex; align-items: center; gap: .55rem;
  text-decoration: none; color: var(--navy);
  font-size: 1.2rem; font-weight: 900; letter-spacing: -.5px;
}
.nav-logo img { width: 34px; height: 34px; object-fit: contain; }
.nav-hi { color: var(--accent); }
.nav-links { display: flex; align-items: center; gap: 1.25rem; }
.nav-links a {
  color: var(--navy); font-size: .9rem; font-weight: 800;
  text-decoration: none; transition: color .15s;
}
.nav-links a:hover { color: var(--accent); }
.nav-pill {
  background: var(--navy) !important; color: var(--yellow) !important;
  padding: .45rem 1rem; border-radius: 100px;
  border: 2px solid var(--navy);
  transition: background .15s, border-color .15s !important;
}
.nav-pill:hover {
  background: var(--accent) !important;
  border-color: var(--accent) !important;
  color: #fff !important;
}
/* Hamburger button */
.nav-burger {
  display: none;
  flex-direction: column; justify-content: center; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
  width: 36px; height: 36px;
}
.nav-burger span {
  display: block; width: 22px; height: 2.5px;
  background: var(--navy); border-radius: 2px;
  transition: transform .22s, opacity .22s;
}
nav.nav-open .nav-burger span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
nav.nav-open .nav-burger span:nth-child(2) { opacity: 0; transform: scaleX(0); }
nav.nav-open .nav-burger span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

@media (max-width: 580px) {
  .nav-burger { display: flex; }
  .nav-links {
    display: none;
    position: absolute; top: 64px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: rgba(255,253,244,.97);
    backdrop-filter: blur(16px);
    border-bottom: 2.5px solid var(--navy);
    box-shadow: 0 3px 0 var(--accent);
  }
  nav.nav-open .nav-links { display: flex; }
  .nav-links a { padding: .8rem 2rem; border-bottom: 1px solid rgba(26,26,46,.08); }
  .nav-links a:last-child { border-bottom: none; }
  .nav-pill {
    margin: .5rem 2rem .75rem !important;
    border-radius: 100px !important;
    text-align: center;
  }
}

/* ── HERO ───────────────────────────────────────── */
.hero {
  min-height: 100vh;
  background: var(--hero-bg);
  display: grid; grid-template-columns: 1fr 1fr;
  align-items: center; gap: 2rem;
  padding: 7rem 3rem 5rem;
  position: relative; overflow: hidden;
}
@media (max-width: 820px) {
  .hero { grid-template-columns: 1fr; text-align: center; padding: 6rem 1.5rem 3rem; }
  .hero-img { order: -1; }
}
.hero::before {
  content: "";
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    radial-gradient(circle, var(--orange) 3px, transparent 3px),
    radial-gradient(circle, var(--green) 3px, transparent 3px),
    radial-gradient(circle, var(--red) 3px, transparent 3px),
    radial-gradient(circle, var(--purple) 3px, transparent 3px);
  background-size: 80px 80px, 120px 120px, 60px 60px, 100px 100px;
  background-position: 0 0, 40px 40px, 20px 60px, 60px 20px;
  opacity: .15;
}
.hero-wave { position: absolute; bottom: -2px; left: 0; right: 0; line-height: 0; }
.hero-wave svg { display: block; width: 100%; }
.hero-badge {
  display: inline-flex; align-items: center; gap: .4rem;
  background: var(--navy); color: var(--yellow);
  font-size: .72rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase;
  padding: .35rem .9rem; border-radius: 100px; margin-bottom: 1.25rem;
}
h1 {
  font-size: clamp(2.6rem, 5vw, 4.2rem);
  font-weight: 900; line-height: 1.05; letter-spacing: -.04em;
  margin-bottom: 1.1rem;
}
.stroke { color: var(--accent); -webkit-text-stroke: 2px var(--navy); }
.hero-sub {
  font-size: 1.05rem; font-weight: 700; line-height: 1.65;
  max-width: 460px; margin-bottom: 2.25rem;
  color: rgba(26,26,46,.75);
}
@media (max-width: 820px) { .hero-sub { margin-left: auto; margin-right: auto; } }
.hero-btns { display: flex; gap: .8rem; flex-wrap: wrap; }
@media (max-width: 820px) { .hero-btns { justify-content: center; } }
.hero-img { display: flex; align-items: center; justify-content: center; position: relative; z-index: 1; }
.hero-img img {
  width: min(480px, 100%);
  filter: drop-shadow(6px 10px 0 rgba(26,26,46,.25));
  animation: mac-bounce 3.5s ease-in-out infinite;
}
@keyframes mac-bounce {
  0%, 100% { transform: translateY(0) rotate(-1deg); }
  50%       { transform: translateY(-14px) rotate(1deg); }
}

/* ── BUTTONS ────────────────────────────────────── */
.btn-big {
  display: inline-flex; align-items: center; gap: .4rem;
  font-family: inherit; font-weight: 900; font-size: 1rem;
  padding: .8rem 1.75rem; border-radius: 100px;
  text-decoration: none; cursor: pointer;
  border: 2.5px solid var(--navy);
  transition: transform .12s, box-shadow .12s;
  box-shadow: 4px 4px 0 var(--navy);
}
.btn-big:hover { transform: translate(-2px,-2px); box-shadow: 6px 6px 0 var(--navy); }
.btn-big:active { transform: translate(2px,2px); box-shadow: 2px 2px 0 var(--navy); }
.btn-fill { background: var(--navy); color: var(--yellow); }
.btn-fill:hover { background: #2a2a45; }
.btn-white { background: var(--cream); color: var(--navy); }
.btn-white:hover { background: var(--yellow); }

/* ── LABELS ─────────────────────────────────────── */
.label {
  display: inline-block;
  font-size: .72rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase;
  color: #fff; background: var(--accent);
  padding: .25rem .75rem; border-radius: 100px; margin-bottom: .85rem;
}
.label-dark {
  display: inline-block;
  font-size: .72rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase;
  color: #fff; background: var(--navy);
  padding: .25rem .75rem; border-radius: 100px; margin-bottom: .85rem;
}

/* ── TYPOGRAPHY ─────────────────────────────────── */
h2 {
  font-size: clamp(1.9rem, 3.2vw, 2.8rem);
  font-weight: 900; letter-spacing: -.03em;
  margin-bottom: .85rem; color: var(--navy);
}
h3 { font-weight: 900; color: var(--navy); }
.sub { color: rgba(26,26,46,.6); font-size: .98rem; font-weight: 700; max-width: 540px; line-height: 1.6; }

/* ── SECTIONS ───────────────────────────────────── */
.sec { padding: 5rem 2rem; }
.sec-inner { max-width: 1100px; margin: 0 auto; }
.sec-sand   { background: var(--sand); }
.sec-white  { background: #fff; }
.sec-accent { background: var(--accent-light); }
.sec-navy   { background: var(--navy); color: var(--cream); }

/* ── FOOTER ─────────────────────────────────────── */
footer {
  background: var(--navy); color: rgba(255,253,244,.7);
  padding: 2.5rem 2rem;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 1rem;
  font-size: .85rem; font-weight: 700;
  border-top: 3px solid var(--accent);
}
.fl { display: flex; align-items: center; gap: .6rem; color: var(--yellow); font-weight: 900; font-size: 1rem; }
.fl img { width: 32px; height: 32px; object-fit: contain; }
footer a { color: rgba(255,253,244,.7); text-decoration: none; }
footer a:hover { color: var(--yellow); }
.footer-links { display: flex; gap: 1.5rem; flex-wrap: wrap; }

/* ── SCROLL REVEAL ──────────────────────────────── */
.reveal {
  opacity: 0; transform: translateY(24px);
  transition: opacity .5s ease, transform .5s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

.stagger > * {
  opacity: 0; transform: translateY(18px);
  transition: opacity .4s ease, transform .4s ease;
}
.stagger.visible > * { opacity: 1; transform: none; }
.stagger.visible > *:nth-child(1) { transition-delay: 0s; }
.stagger.visible > *:nth-child(2) { transition-delay: .07s; }
.stagger.visible > *:nth-child(3) { transition-delay: .14s; }
.stagger.visible > *:nth-child(4) { transition-delay: .21s; }
.stagger.visible > *:nth-child(5) { transition-delay: .28s; }
.stagger.visible > *:nth-child(6) { transition-delay: .35s; }
.stagger.visible > *:nth-child(7) { transition-delay: .42s; }

/* ── FRUIT SHELF — homepage L1→L2 ───────────────── */
.fruit-shelf {
  display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center;
  margin-top: 2.5rem;
}
.fruit-tile {
  display: flex; flex-direction: column; align-items: center; gap: .45rem;
  padding: 1.1rem .9rem;
  border: 2.5px solid rgba(26,26,46,.15);
  border-radius: 20px; background: #fff;
  cursor: pointer;
  transition: transform .18s, box-shadow .18s, border-color .18s, background .18s;
  flex: 1; min-width: 118px; max-width: 175px;
  text-align: center; font-family: inherit;
}
.fruit-tile:hover {
  transform: translateY(-3px);
  border-color: rgba(26,26,46,.28);
  box-shadow: 3px 3px 0 rgba(26,26,46,.1);
}
.fruit-tile.active {
  border-color: var(--navy);
  box-shadow: 5px 5px 0 var(--navy);
  transform: translateY(-5px);
}
.ft-mascot {
  width: 60px; height: 60px; object-fit: contain;
  transition: transform .3s;
}
.fruit-tile.active .ft-mascot { transform: scale(1.12) rotate(-5deg); }
.ft-name { font-size: .95rem; font-weight: 900; color: var(--navy); }
.ft-tag  {
  font-size: .67rem; font-weight: 800; color: rgba(26,26,46,.42);
  letter-spacing: .03em; line-height: 1.4;
}

/* Per-app active tints */
.fruit-tile[data-app="mapple"].active     { background: #d4f7e2; }
.fruit-tile[data-app="peachtrade"].active { background: #ffe9cc; }
.fruit-tile[data-app="orangezer"].active  { background: #ffe2cc; }
.fruit-tile[data-app="plumgig"].active    { background: #ede9fe; }
.fruit-tile[data-app="inlime"].active     { background: #ecfccb; }
.fruit-tile[data-app="kiwipic"].active    { background: #c5f0bc; }

/* Reveal panel */
.fruit-panel-wrap {
  margin-top: 1.5rem;
  transition: opacity .15s ease;
  min-height: 220px;
}
.fruit-panel-wrap.fading { opacity: 0; pointer-events: none; }
.fruit-panel { display: none; }
.fruit-panel.active { display: block; }

.fp-panel-inner {
  border: 2.5px solid var(--navy);
  border-radius: 24px;
  padding: 2rem 2.5rem;
  box-shadow: 6px 6px 0 var(--navy);
  display: grid; grid-template-columns: 145px 1fr;
  gap: 2.5rem; align-items: center;
  animation: fp-enter .22s ease;
}
@keyframes fp-enter {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: none; }
}
@media (max-width: 620px) {
  .fp-panel-inner { grid-template-columns: 1fr; text-align: center; padding: 1.5rem; gap: 1.25rem; }
  .fp-mascot { margin: 0 auto; }
  .fp-feats  { text-align: left; }
}
/* Per-app panel tints */
.fruit-panel[data-app="mapple"]     .fp-panel-inner { background: #d4f7e2; }
.fruit-panel[data-app="peachtrade"] .fp-panel-inner { background: #ffe9cc; }
.fruit-panel[data-app="orangezer"]  .fp-panel-inner { background: #ffe2cc; }
.fruit-panel[data-app="plumgig"]    .fp-panel-inner { background: #ede9fe; }
.fruit-panel[data-app="inlime"]     .fp-panel-inner { background: #ecfccb; }
.fruit-panel[data-app="kiwipic"]    .fp-panel-inner { background: #c5f0bc; }

.fp-mascot { width: 130px; height: 130px; object-fit: contain; display: block; }
.fp-name   { font-size: 1.45rem; font-weight: 900; letter-spacing: -.03em; margin-bottom: .15rem; }
.fp-sub    { font-size: .7rem; font-weight: 900; text-transform: uppercase; letter-spacing: .09em; opacity: .42; margin-bottom: 1rem; }
.fp-feats  { list-style: none; margin-bottom: 1.25rem; display: flex; flex-direction: column; gap: .45rem; }
.fp-feats li {
  font-size: .88rem; font-weight: 700; color: rgba(26,26,46,.78);
  display: flex; align-items: flex-start; gap: .5rem; line-height: 1.5;
}
.fp-feats .ck { font-weight: 900; flex-shrink: 0; }
.fp-cta {
  display: inline-flex; align-items: center; gap: .35rem;
  font-size: .85rem; font-weight: 900; color: var(--navy);
  text-decoration: none; border-bottom: 2.5px solid var(--navy);
  padding-bottom: .1rem; transition: opacity .15s;
}
.fp-cta:hover { opacity: .6; }

/* ── CHIP BAR — product pages L1→L2 ─────────────── */
.chip-bar { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2rem; }
.chip {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .5rem 1.05rem; border-radius: 100px;
  border: 2px solid rgba(26,26,46,.2); background: #fff;
  font-family: inherit; font-size: .85rem; font-weight: 800;
  color: var(--navy); cursor: pointer;
  transition: border-color .15s, background .15s, color .15s;
}
.chip:hover { border-color: rgba(26,26,46,.45); }
.chip.active { background: var(--navy); color: var(--yellow); border-color: var(--navy); }

.feat-panels { min-height: 160px; }
.feat-panel { display: none; }
.feat-panel.active {
  display: grid; grid-template-columns: 3.5rem 1fr;
  gap: 1.5rem; align-items: start;
  animation: fp-enter .22s ease;
}
@media (max-width: 520px) { .feat-panel.active { grid-template-columns: 1fr; } }

.feat-icon { font-size: 2.8rem; line-height: 1; padding-top: .2rem; }
.feat-body h3  { font-size: 1.2rem; font-weight: 900; margin-bottom: .5rem; }
.feat-body p   { font-size: .9rem; font-weight: 700; color: rgba(26,26,46,.7); line-height: 1.72; }
.feat-body ul  { list-style: none; margin-top: .7rem; display: flex; flex-direction: column; gap: .38rem; }
.feat-body li  { font-size: .875rem; font-weight: 700; color: rgba(26,26,46,.72); display: flex; align-items: flex-start; gap: .5rem; line-height: 1.5; }
.feat-body .ck { color: var(--accent); font-weight: 900; flex-shrink: 0; }
.chip-section {
  border: 2.5px solid var(--navy); border-radius: 24px;
  padding: 2rem 2.25rem; box-shadow: 6px 6px 0 var(--navy); background: #fff;
}

/* ── FLOW STEPS ─────────────────────────────────── */
.flow { display: flex; gap: 0; overflow-x: auto; padding-bottom: .5rem; }
.flow-step { flex: 1; min-width: 118px; display: flex; flex-direction: column; align-items: center; text-align: center; position: relative; padding: 0 .35rem; }
.flow-step:not(:last-child)::after {
  content: "→"; position: absolute; right: -14px; top: 20px;
  font-size: 1.3rem; font-weight: 900; color: var(--accent); z-index: 1;
}
.flow-dot {
  width: 54px; height: 54px; border-radius: 50%;
  border: 2.5px solid var(--navy); display: grid; place-items: center;
  font-size: 1.3rem; margin-bottom: .65rem;
  box-shadow: 3px 3px 0 var(--navy); background: var(--cream);
}
.flow-title { font-size: .88rem; font-weight: 900; margin-bottom: .2rem; }
.flow-desc  { font-size: .73rem; font-weight: 700; color: rgba(26,26,46,.55); line-height: 1.4; }

/* ── STEPS (how it works — 3 columns) ──────────── */
.steps { display: grid; grid-template-columns: repeat(3,1fr); gap: 2.5rem; }
@media (max-width: 680px) { .steps { grid-template-columns: 1fr; } }
.step { text-align: center; }
.step-n {
  width: 64px; height: 64px; border-radius: 50%;
  border: 2.5px solid var(--navy);
  font-weight: 900; font-size: 1.5rem; color: var(--navy);
  display: grid; place-items: center; margin: 0 auto 1rem;
  position: relative; z-index: 1;
  box-shadow: 4px 4px 0 var(--navy);
}
.step h3 { font-size: 1.05rem; font-weight: 900; margin-bottom: .4rem; }
.step p  { font-size: .875rem; font-weight: 700; color: rgba(26,26,46,.6); line-height: 1.6; }
.steps-wrap { position: relative; }
@media (min-width: 681px) {
  .steps-wrap::before {
    content: "· · · · · · · · · · · · · · · · · · · · · ·";
    position: absolute; top: 30px; left: 20%; right: 20%;
    text-align: center; font-size: 1.1rem; font-weight: 900;
    color: rgba(26,26,46,.15); pointer-events: none; z-index: 0; letter-spacing: .1em;
  }
}

/* ── FAQ ────────────────────────────────────────── */
.faq-item {
  border: 2.5px solid var(--navy); border-radius: 14px;
  margin-bottom: .65rem; overflow: hidden; background: #fff;
}
.faq-q {
  width: 100%; text-align: left; background: none; border: none;
  padding: .9rem 1.1rem; font-family: inherit; font-size: .95rem; font-weight: 800;
  color: var(--navy); cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: .5rem;
}
.faq-q:hover { background: var(--cream); }
.faq-arrow { font-size: 1rem; transition: transform .2s; flex-shrink: 0; }
.faq-item.open .faq-arrow { transform: rotate(180deg); }
.faq-a { display: none; padding: 0 1.1rem .9rem; font-size: .88rem; font-weight: 700; color: #475569; line-height: 1.6; }
.faq-item.open .faq-a { display: block; }

/* ── CONTACT FORM ───────────────────────────────── */
.cg { display: grid; grid-template-columns: 1fr 1.2fr; gap: 3rem; align-items: start; }
@media (max-width: 760px) { .cg { grid-template-columns: 1fr; } }
.ci p  { color: rgba(26,26,46,.65); font-size: .98rem; font-weight: 700; margin-bottom: 1.4rem; line-height: 1.65; }
.cd    { display: flex; align-items: center; gap: .7rem; font-size: .9rem; font-weight: 800; margin-bottom: .75rem; }
.cd a  { color: var(--orange); text-decoration: none; }
.cd a:hover { text-decoration: underline; }
.chip-url {
  display: inline-block; margin-top: 1rem;
  background: var(--navy); color: var(--yellow);
  font-size: .8rem; font-weight: 900; font-family: monospace;
  padding: .5rem 1rem; border-radius: 10px;
}
.fc { background: #fff; border: 2.5px solid var(--navy); border-radius: 24px; padding: 2rem; box-shadow: 6px 6px 0 var(--navy); }
.fr { margin-bottom: 1rem; }
.fr label { display: block; font-size: .75rem; font-weight: 900; color: var(--navy); margin-bottom: .4rem; text-transform: uppercase; letter-spacing: .08em; }
.fr input, .fr textarea {
  width: 100%; background: var(--cream); border: 2px solid var(--navy);
  border-radius: 10px; padding: .65rem .85rem; color: var(--navy);
  font-size: .9rem; font-family: inherit; font-weight: 700;
  outline: none; resize: vertical; transition: border-color .15s, box-shadow .15s;
}
.fr input:focus, .fr textarea:focus { border-color: var(--accent); box-shadow: 3px 3px 0 var(--accent); }
.fr textarea { min-height: 115px; }
.fr2 { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
@media (max-width: 460px) { .fr2 { grid-template-columns: 1fr; } }
.fsub {
  width: 100%; padding: .85rem;
  background: var(--navy); color: var(--yellow);
  font-family: inherit; font-weight: 900; font-size: 1rem;
  border: 2.5px solid var(--navy); border-radius: 100px; cursor: pointer;
  box-shadow: 4px 4px 0 var(--accent); margin-top: .25rem;
  transition: transform .12s, box-shadow .12s, background .12s;
}
.fsub:hover:not(:disabled) { background: var(--accent); color: #fff; border-color: var(--accent); transform: translate(-2px,-2px); box-shadow: 6px 6px 0 var(--navy); }
.fsub:disabled { opacity: .55; cursor: not-allowed; }
.fm { margin-top: .75rem; padding: .7rem 1rem; border-radius: 10px; font-size: .875rem; font-weight: 700; display: none; }
.fm.ok  { background: #d4f7e2; border: 2px solid var(--green); color: #166534; }
.fm.err { background: #ffe2e2; border: 2px solid var(--red);   color: #991b1b; }

/* ── ROADMAP CARDS ──────────────────────────────── */
.roadmap-strip { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center; margin-top: 2rem; }
.road-card {
  background: #fff; border: 2px solid rgba(26,26,46,.15); border-radius: 18px;
  padding: 1.25rem 1rem; display: flex; flex-direction: column; align-items: center;
  text-align: center; gap: .4rem; min-width: 150px; flex: 1; max-width: 190px;
  transition: transform .2s, border-color .2s;
}
.road-card:hover { transform: translateY(-3px); border-color: rgba(26,26,46,.28); }
.road-mascot { width: 70px; height: 70px; object-fit: contain; }
.road-name   { font-size: .95rem; font-weight: 900; color: var(--navy); }
.road-sub    { font-size: .67rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; color: rgba(26,26,46,.42); }
.road-badge  { font-size: .62rem; font-weight: 900; letter-spacing: .07em; text-transform: uppercase; padding: .18rem .55rem; border-radius: 100px; margin-top: .15rem; }
.badge-explore  { background: #fef9c3; color: #854d0e; border: 1.5px solid #fde68a; }
.badge-planned  { background: #ede9fe; color: #6d28d9; border: 1.5px solid #c4b5fd; }

/* ── PORTAL GRID (product pages) ────────────────── */
.portal-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; margin-top: 2.5rem; }
@media (max-width: 720px) { .portal-grid { grid-template-columns: 1fr; } }
.portal-screens { display: grid; grid-template-columns: 1fr 1fr; gap: .85rem; }
.portal-screen {
  border: 2.5px solid var(--navy); border-radius: 16px; padding: 1.1rem;
  box-shadow: 4px 4px 0 var(--navy); text-align: center;
}
.portal-screen .ps-icon  { font-size: 1.8rem; margin-bottom: .4rem; display: block; }
.portal-screen .ps-title { font-size: .85rem; font-weight: 900; }
.portal-screen .ps-desc  { font-size: .73rem; font-weight: 700; color: rgba(26,26,46,.55); margin-top: .2rem; line-height: 1.4; }
.portal-info h3 { font-size: 1.5rem; font-weight: 900; letter-spacing: -.03em; margin-bottom: 1rem; }
.portal-info p  { font-size: .9rem; font-weight: 700; color: rgba(26,26,46,.65); line-height: 1.72; margin-bottom: 1.1rem; }
.perk-list { list-style: none; display: flex; flex-direction: column; gap: .5rem; }
.perk-list li { display: flex; align-items: flex-start; gap: .6rem; font-size: .875rem; font-weight: 700; color: rgba(26,26,46,.8); line-height: 1.5; }
.perk-list .ck { color: var(--accent); font-weight: 900; flex-shrink: 0; }

/* ── PRICING TOGGLE ─────────────────────────────── */
.ptog {
  padding: .45rem 1rem; border: 2px solid rgba(26,26,46,.2); background: transparent;
  color: var(--navy); font-weight: 800; font-size: .85rem; border-radius: .3rem;
  cursor: pointer; font-family: inherit; transition: all .15s;
}
.ptog-on, .ptog.active { background: var(--navy); color: var(--yellow); border-color: var(--navy); }

/* ── TREE STRUCTURE (OranGezer) ─────────────────── */
.tree-wrap { display: flex; flex-direction: column; align-items: center; gap: 1rem; margin-top: 2.5rem; }
.tree-row  { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.tree-node {
  border: 2.5px solid var(--navy); border-radius: 14px;
  padding: .65rem 1.1rem; font-weight: 900; font-size: .88rem;
  box-shadow: 3px 3px 0 var(--navy); text-align: center; min-width: 120px;
}
.tree-node.area { background: #ffe8cc; font-size: .95rem; min-width: 150px; }
.tree-node.pos  { background: #fff5b1; }
.tree-node.role { background: #d4f7e2; font-size: .8rem; min-width: 105px; }
.tree-connector { font-size: 1.5rem; font-weight: 900; color: rgba(26,26,46,.28); text-align: center; }

/* ── L3 DETAIL LAYER (dentro chip panel) ────────── */
.feat-l3-zone {
  margin-top: .9rem;
  padding-top: .9rem;
  border-top: 1.5px dashed rgba(26,26,46,.13);
}
.l3-toggle {
  display: inline-flex; align-items: center; gap: .35rem;
  background: none; border: none; padding: 0;
  font-family: inherit; font-size: .78rem; font-weight: 900;
  color: rgba(26,26,46,.38); cursor: pointer;
  letter-spacing: .03em; transition: color .15s;
}
.l3-toggle:hover { color: var(--accent); }
.l3-arrow { display: inline-block; transition: transform .2s; }
.l3-toggle.open .l3-arrow { transform: rotate(90deg); }
.feat-l3 { display: none; margin-top: .65rem; }
.feat-l3.open { display: block; animation: l3-enter .18s ease; }
@keyframes l3-enter {
  from { opacity: 0; transform: translateY(5px); }
  to   { opacity: 1; transform: none; }
}
.feat-l3-text {
  font-size: .82rem; font-weight: 700;
  color: rgba(26,26,46,.52); line-height: 1.75;
  font-style: italic;
}
.feat-l3-text strong { font-style: normal; color: rgba(26,26,46,.7); }

/* ── PILLARS (homepage) ─────────────────────────── */
.pillars {
  display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center;
  margin-top: 2.5rem;
}
.pillar-card {
  background: #fff; border: 2px solid rgba(26,26,46,.12); border-radius: 18px;
  padding: 1.25rem 1rem; text-align: center;
  flex: 1; min-width: 140px; max-width: 195px;
  transition: transform .18s, border-color .18s;
}
.pillar-card:hover { transform: translateY(-3px); border-color: rgba(26,26,46,.25); }
.pillar-icon  { font-size: 1.9rem; margin-bottom: .45rem; line-height: 1; display: block; }
.pillar-title { font-size: .9rem; font-weight: 900; color: var(--navy); margin-bottom: .3rem; }
.pillar-desc  { font-size: .71rem; font-weight: 700; color: rgba(26,26,46,.48); line-height: 1.55; }

/* ── SHARED JS NOTE ─────────────────────────────── */
/* Required page scripts (copy to bottom of each page):
   initFruitShelf()   — homepage only
   initChipBar()      — product pages
   initReveal()       — all pages
   toggleFaq(btn)     — all pages with FAQ         */

/* ── PRICE CARDS (product pages) ───────────────── */
.mac-price-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 1rem;
  text-align: left;
  margin-bottom: 1rem;
}
.mac-price-grid.cols-2 {
  grid-template-columns: repeat(2, 1fr);
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}
@media (max-width: 560px) {
  .mac-price-grid.cols-2 { grid-template-columns: 1fr; }
}
.mac-price-card {
  border: 2.5px solid var(--navy);
  border-top: 5px solid var(--accent);
  border-radius: 20px;
  padding: 1.5rem 1.25rem;
  background: #fff;
  box-shadow: 4px 4px 0 var(--navy);
  display: flex;
  flex-direction: column;
}
.mac-price-card.featured {
  background: var(--navy);
  color: var(--cream);
  box-shadow: 4px 4px 0 var(--accent);
}
.mac-price-badge {
  font-size: .68rem; font-weight: 900;
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--accent);
  margin-bottom: .25rem;
}
.mac-price-name {
  font-size: .68rem; font-weight: 900;
  letter-spacing: .08em; text-transform: uppercase;
  color: rgba(26,26,46,.4);
  margin-bottom: .25rem;
}
.mac-price-card.featured .mac-price-name { color: rgba(255,253,244,.5); }
.mac-price-amount {
  font-size: 2rem; font-weight: 900; line-height: 1;
  color: var(--navy);
}
.mac-price-card.featured .mac-price-amount { color: var(--accent); }
.mac-price-sub {
  font-size: .75rem; font-weight: 800;
  color: rgba(26,26,46,.45);
  margin-top: .1rem;
}
.mac-price-card.featured .mac-price-sub { color: rgba(255,253,244,.55); }
.mac-price-saving {
  font-size: .72rem; font-weight: 800;
  color: var(--accent);
  margin-top: .2rem; margin-bottom: .35rem;
}
.mac-price-divider {
  height: 1.5px;
  background: rgba(26,26,46,.1);
  margin: .9rem 0;
}
.mac-price-card.featured .mac-price-divider { background: rgba(255,253,244,.12); }
.mac-price-list {
  list-style: none; padding: 0; margin: 0 0 1rem;
  display: flex; flex-direction: column; gap: .45rem;
  flex: 1;
}
.mac-price-list li {
  font-size: .82rem; font-weight: 700;
  color: rgba(26,26,46,.7);
}
.mac-price-list li.dim { color: rgba(26,26,46,.4); }
.mac-price-card.featured .mac-price-list li { color: rgba(255,253,244,.75); }
.mac-price-btn {
  display: block; text-align: center;
  padding: .6rem 1rem; border-radius: 100px;
  font-family: inherit; font-weight: 900; font-size: .82rem;
  text-decoration: none; margin-top: auto;
  border: 2px solid var(--navy);
  background: transparent; color: var(--navy);
  box-shadow: 3px 3px 0 var(--navy);
  cursor: pointer;
}
.mac-price-btn.outline {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--navy);
  box-shadow: 3px 3px 0 rgba(0,0,0,.15);
}
