/* ===== Labour's Adda — Partner Portal ===== */
:root {
  --green: #087F4F;
  --green-dark: #075B3B;
  --mint: #E8F6EE;
  --yellow: #FFC928;
  --ink: #172B24;
  --white: #FFFFFF;
  --muted: #4A6057;
  --line: #D5E8DD;
  --radius: 16px;
  --shadow: 0 6px 24px rgba(23, 43, 36, .08);
  --shadow-lg: 0 18px 50px rgba(7, 91, 59, .22);
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); }
body {
  margin: 0;
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p { margin: 0; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; border-radius: 6px; }

.container { width: min(1200px, 100% - 40px); margin-inline: auto; }
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px;
}
.skip-link:focus { top: 10px; }

.ic { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
svg use { pointer-events: none; }
.icon-badge svg, .step-icon svg, .prof-img svg, .ph-ico svg, .store-ic, .socials svg, .modal-close svg, .ph-nav svg, .ph-brand svg {
  fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 46px; padding: 0 22px;
  border-radius: 12px; border: 2px solid transparent;
  font-weight: 700; font-size: .98rem; white-space: nowrap;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--green); color: #fff; box-shadow: 0 8px 20px rgba(8, 127, 79, .28); }
.btn-primary:hover { background: var(--green-dark); }
.btn-ghost { color: var(--green-dark); border-color: var(--line); background: #fff; }
.btn-ghost:hover { border-color: var(--green); }
.btn-outline { color: var(--green-dark); border-color: var(--green); background: #fff; }
.btn-outline:hover { background: var(--mint); }
.btn-lg { min-height: 54px; padding: 0 28px; font-size: 1.02rem; }

/* ===== Header ===== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .25s ease, border-color .25s ease;
}
.site-header.scrolled { box-shadow: 0 4px 18px rgba(23, 43, 36, .08); border-color: var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 20px; }

.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand-icon { width: 44px; height: 44px; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-size: 1.15rem; color: var(--green-dark); font-weight: 800; }
.brand-text small { font-size: .78rem; color: var(--muted); font-weight: 600; }

.main-nav { display: flex; align-items: center; gap: 28px; }
.main-nav ul { display: flex; gap: 6px; }
.nav-link { display: block; padding: 8px 14px; border-radius: 10px; font-weight: 600; font-size: .95rem; color: var(--ink); transition: background .2s, color .2s; }
.nav-link:hover { background: var(--mint); color: var(--green-dark); }
.nav-link.active { color: var(--green); background: var(--mint); }
.nav-actions { display: flex; gap: 10px; }

.menu-toggle {
  display: none; width: 46px; height: 46px; border-radius: 12px;
  border: 1px solid var(--line); background: #fff;
  align-items: center; justify-content: center; flex-direction: column; gap: 5px;
}
.menu-toggle span { display: block; width: 22px; height: 2.5px; background: var(--green-dark); border-radius: 2px; transition: transform .25s, opacity .2s; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ===== Hero ===== */
.hero {
  background:
    radial-gradient(900px 400px at 85% 10%, #D6F0E1 0%, transparent 60%),
    linear-gradient(180deg, var(--mint) 0%, #fff 100%);
  padding: 64px 0 80px;
}
.hero-inner { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .8rem; font-weight: 800; color: var(--green); margin-bottom: 14px; }
.eyebrow.light { color: var(--yellow); }
.hero h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); line-height: 1.1; font-weight: 800; color: var(--green-dark); letter-spacing: -.02em; }
.hero h1 span { color: var(--green); display: block; }
.lead { font-size: 1.1rem; color: var(--muted); margin-top: 18px; max-width: 520px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 26px; font-size: .92rem; font-weight: 600; color: var(--green-dark); }
.hero-points li { display: flex; align-items: center; gap: 6px; }
.hero-points .ic { color: var(--green); width: 18px; height: 18px; }

.hero-visual { position: relative; }
.photo-card { position: relative; border-radius: 28px; overflow: hidden; box-shadow: var(--shadow-lg); background: var(--mint); }
.workers { display: block; width: 100%; height: auto; }
.photo-note {
  position: absolute; left: 12px; bottom: 12px;
  font-size: .7rem; font-weight: 700; background: rgba(255,255,255,.9); color: var(--muted);
  padding: 4px 10px; border-radius: 999px;
}
.hero-visual .phone-sm { position: absolute; right: -10px; bottom: -34px; }

/* ===== Phone mockup ===== */
.phone {
  background: var(--ink); border-radius: 36px; padding: 9px;
  box-shadow: 0 24px 50px rgba(0, 0, 0, .28);
  position: relative;
}
.phone::before {
  content: ""; position: absolute; top: 14px; left: 50%; transform: translateX(-50%);
  width: 70px; height: 16px; background: var(--ink); border-radius: 0 0 12px 12px; z-index: 2;
}
.phone-screen { background: #fff; border-radius: 28px; overflow: hidden; padding: 30px 12px 12px; display: flex; flex-direction: column; gap: 10px; }
.phone-sm { width: 188px; }
.phone-lg { width: min(330px, 100%); margin-inline: auto; transform: rotate(2deg); }

.ph-top { display: flex; align-items: center; justify-content: space-between; gap: 6px; }
.ph-brand { display: flex; align-items: center; gap: 5px; font-size: .62rem; font-weight: 800; color: var(--green-dark); }
.ph-brand svg { width: 18px; height: 18px; stroke: none; }
.ph-brand em { font-style: normal; font-weight: 600; color: var(--muted); }
.pill-online {
  display: inline-flex; align-items: center; gap: 5px;
  background: var(--green); color: #fff; font-size: .6rem; font-weight: 700;
  padding: 4px 9px; border-radius: 999px; border: 0;
}
.pill-online i { width: 6px; height: 6px; border-radius: 50%; background: #7CFFB5; }
.pill-online.off { background: #8A9A93; }
.pill-online.off i { background: #fff; }

.ph-card { background: var(--mint); border: 1px solid var(--line); border-radius: 14px; padding: 10px; display: flex; flex-direction: column; gap: 8px; }
.ph-card small, .ph-list small { font-size: .6rem; font-weight: 800; color: var(--green-dark); text-transform: uppercase; letter-spacing: .05em; }
.ph-row { display: flex; gap: 8px; align-items: center; }
.ph-row b { font-size: .75rem; display: block; line-height: 1.2; }
.ph-row em { font-style: normal; font-size: .62rem; color: var(--muted); line-height: 1.35; display: block; }
.ph-ico { width: 34px; height: 34px; border-radius: 10px; background: var(--green); color: #fff; display: grid; place-items: center; flex: none; }
.ph-ico svg { width: 18px; height: 18px; }
.ph-ico.sm { width: 28px; height: 28px; border-radius: 8px; }
.ph-ico.sm svg { width: 15px; height: 15px; }
.ph-btns { display: flex; gap: 8px; }
.ph-btns > * { flex: 1; text-align: center; font-size: .66rem; font-weight: 700; padding: 7px 0; border-radius: 8px; border: 0; }
.ph-accept { background: var(--green); color: #fff; }
.ph-reject { background: #fff; color: var(--ink); border: 1px solid var(--line) !important; }
.ph-list { display: flex; flex-direction: column; gap: 6px; }
.ph-line { height: 22px; border-radius: 8px; background: #F0F6F2; }
.ph-line.short { width: 70%; }

.ph-block { border: 1px solid var(--line); border-radius: 14px; padding: 10px; display: flex; flex-direction: column; gap: 8px; }
.ph-block-head { display: flex; justify-content: space-between; align-items: center; font-size: .7rem; }
.ph-block-head a { color: var(--green); font-weight: 700; font-size: .62rem; }
.ph-booking { display: flex; gap: 8px; align-items: center; }
.ph-booking b { font-size: .7rem; display: block; line-height: 1.2; }
.ph-booking em { font-style: normal; font-size: .6rem; color: var(--muted); }
.earn-row { display: flex; justify-content: space-between; align-items: baseline; font-size: .68rem; color: var(--muted); }
.earn-row strong { font-size: 1.05rem; color: var(--green-dark); }
.earn-bars { display: flex; align-items: flex-end; gap: 6px; height: 44px; }
.earn-bars i { flex: 1; height: var(--h); background: var(--green); border-radius: 4px 4px 0 0; opacity: .85; transform-origin: bottom; animation: grow 1s ease both; }
.earn-bars i:nth-child(even) { background: var(--yellow); }
@keyframes grow { from { transform: scaleY(0); } }

.ph-nav { display: flex; justify-content: space-around; border-top: 1px solid var(--line); padding-top: 8px; }
.ph-nav span { display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: .56rem; font-weight: 700; color: #7B8F86; }
.ph-nav span.on { color: var(--green); }
.ph-nav svg { width: 16px; height: 16px; }

#statusToggle { cursor: pointer; }
.ph-card.done { opacity: .55; }
.ph-card.done .ph-btns { display: none; }
.job-result { font-size: .68rem; font-weight: 700; color: var(--green-dark); }

/* ===== Sections ===== */
.section { padding: 84px 0; }
.section-tint { background: var(--mint); }
.section-head { margin-bottom: 40px; }
.section-head h2, .app-copy h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 800; color: var(--green-dark); letter-spacing: -.01em; line-height: 1.2; }
.section-head p { color: var(--muted); margin-top: 8px; max-width: 520px; }

.grid { display: grid; gap: 22px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }

.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); transition: transform .2s ease, box-shadow .2s ease, border-color .2s; }
.card:hover { transform: translateY(-4px); border-color: var(--green); box-shadow: 0 14px 34px rgba(8, 127, 79, .16); }
.icon-badge { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--green); color: #fff; margin-bottom: 16px; }
.icon-badge svg { width: 26px; height: 26px; }
.benefit h3 { font-size: 1.08rem; font-weight: 800; color: var(--green-dark); margin-bottom: 6px; }
.benefit p { color: var(--muted); font-size: .95rem; }

/* ===== Steps ===== */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; position: relative; counter-reset: s; }
.step { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 22px; text-align: center; box-shadow: var(--shadow); }
.step:not(:last-child)::after {
  content: ""; position: absolute; top: 56px; right: -22px; width: 22px; height: 2px;
  background: repeating-linear-gradient(90deg, var(--green) 0 5px, transparent 5px 9px);
}
.step-num {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  width: 30px; height: 30px; border-radius: 50%; background: var(--yellow); color: var(--ink);
  font-weight: 800; font-size: .9rem; display: grid; place-items: center; box-shadow: 0 4px 10px rgba(255, 201, 40, .5);
}
.step-icon { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--mint); color: var(--green); margin: 0 auto 14px; }
.step-icon svg { width: 30px; height: 30px; }
.step h3 { font-size: 1.02rem; font-weight: 800; color: var(--green-dark); margin-bottom: 6px; }
.step p { font-size: .9rem; color: var(--muted); }

/* ===== Professions ===== */
.prof-card { display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s; }
.prof-card:hover { transform: translateY(-4px); box-shadow: 0 16px 36px rgba(8, 127, 79, .18); }
.prof-img { display: grid; place-items: center; height: 170px; color: rgba(255,255,255,.95); position: relative; overflow: hidden; }
.prof-img svg { width: 76px; height: 76px; stroke-width: 1.6; transition: transform .35s ease; position: relative; z-index: 1; }
.prof-img::before { content: ""; position: absolute; width: 220px; height: 220px; border-radius: 50%; background: rgba(255,255,255,.08); right: -60px; top: -80px; }
.prof-card:hover .prof-img svg { transform: scale(1.12) rotate(-4deg); }
.tone-1 { background: linear-gradient(135deg, #087F4F, #0BA56A); }
.tone-2 { background: linear-gradient(135deg, #0B6E8F, #159BC4); }
.tone-3 { background: linear-gradient(135deg, #8A5A2B, #B9803F); }
.tone-4 { background: linear-gradient(135deg, #B8860B, #E4A900); }
.tone-5 { background: linear-gradient(135deg, #2F5DA8, #4E85D6); }
.tone-6 { background: linear-gradient(135deg, #075B3B, #12805A); }
.prof-label { display: flex; align-items: center; gap: 10px; padding: 14px 18px; font-weight: 700; color: var(--green-dark); }
.prof-label .go { margin-left: auto; width: 18px; height: 18px; color: var(--muted); transition: transform .2s, color .2s; }
.prof-card:hover .go { transform: translateX(4px); color: var(--green); }
.view-all {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  margin-top: 22px; padding: 18px 24px; border-radius: var(--radius);
  background: var(--mint); border: 1px solid var(--line); font-weight: 700; color: var(--green-dark);
  transition: background .2s, border-color .2s;
}
.view-all span { display: flex; align-items: center; gap: 12px; }
.view-all:hover { background: #D9F0E4; border-color: var(--green); }

/* ===== App section ===== */
.app-section {
  background:
    radial-gradient(700px 400px at 90% 0%, rgba(255,255,255,.1) 0%, transparent 60%),
    linear-gradient(135deg, var(--green-dark), #064A31);
  color: #fff; padding: 84px 0; overflow: hidden;
}
.app-inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.app-copy h2 { color: #fff; }
.app-copy .lead { color: #D2EBDD; }
.store-badges { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.store { display: inline-flex; align-items: center; gap: 10px; background: #000; color: #fff; border: 1px solid #5d6b65; border-radius: 12px; padding: 9px 18px; transition: transform .15s, border-color .2s; }
.store:hover { transform: translateY(-2px); border-color: #fff; }
.store-ic { width: 28px; height: 28px; stroke: none; }
.store span { display: flex; flex-direction: column; font-weight: 700; font-size: 1.08rem; line-height: 1.1; }
.store small { font-size: .62rem; font-weight: 500; letter-spacing: .03em; }
.app-features { margin-top: 34px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 24px; }
.app-features li { display: flex; align-items: center; gap: 12px; font-weight: 600; font-size: .95rem; }
.app-features .ic { width: 38px; height: 38px; padding: 9px; border-radius: 12px; background: rgba(255,255,255,.12); }
.app-visual { text-align: center; }
.sample-note { margin-top: 16px; font-size: .75rem; color: #B7DAC7; }

/* ===== Footer ===== */
.site-footer { background: #fff; border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr 1fr; gap: 32px; padding: 56px 0 44px; }
.foot-brand p { margin-top: 14px; color: var(--muted); font-size: .92rem; max-width: 260px; }
.foot-col h4 { font-size: .95rem; font-weight: 800; color: var(--green-dark); margin-bottom: 14px; }
.foot-col li + li { margin-top: 9px; }
.foot-col a { color: var(--muted); font-size: .92rem; transition: color .2s; }
.foot-col a:hover { color: var(--green); }
.foot-col p { font-size: .92rem; color: var(--muted); }
.mail-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 10px; color: var(--green) !important; font-weight: 700; }
.socials { display: flex; gap: 10px; }
.socials a { width: 40px; height: 40px; border-radius: 50%; background: var(--green); color: #fff !important; display: grid; place-items: center; transition: transform .15s, background .2s; }
.socials a:hover { background: var(--green-dark); transform: translateY(-2px); }
.socials svg { width: 19px; height: 19px; }
.footer-bar { background: var(--green-dark); color: #D2EBDD; font-size: .85rem; }
.bar-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 0; flex-wrap: wrap; }
.tagline { font-family: "Brush Script MT", "Segoe Script", cursive; font-size: 1.15rem; color: var(--yellow); }

/* ===== Modal ===== */
.modal { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; padding: 20px; }
.modal[hidden] { display: none; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(23, 43, 36, .6); backdrop-filter: blur(3px); animation: fade .2s ease; }
.modal-dialog { position: relative; background: #fff; border-radius: 20px; width: min(680px, 100%); max-height: 86vh; overflow: auto; padding: 32px 30px; box-shadow: 0 30px 80px rgba(0,0,0,.35); animation: pop .25s ease; }
.modal-dialog h2 { color: var(--green-dark); font-size: 1.5rem; margin-bottom: 16px; padding-right: 40px; }
.modal-body h3 { font-size: 1rem; margin: 18px 0 6px; color: var(--ink); }
.modal-body p, .modal-body li { color: var(--muted); font-size: .95rem; }
.modal-body ul { list-style: disc; padding-left: 20px; }
.modal-body .note { background: var(--mint); border-radius: 10px; padding: 10px 14px; font-size: .85rem; color: var(--green-dark); margin-bottom: 8px; }
.modal-close { position: absolute; top: 16px; right: 16px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--mint); color: var(--green-dark); display: grid; place-items: center; }
.modal-close svg { width: 18px; height: 18px; }
@keyframes fade { from { opacity: 0; } }
@keyframes pop { from { opacity: 0; transform: translateY(14px) scale(.98); } }

.toast {
  position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 30px);
  background: var(--ink); color: #fff; padding: 12px 20px; border-radius: 12px;
  font-size: .9rem; font-weight: 600; opacity: 0; pointer-events: none; z-index: 400;
  transition: opacity .25s, transform .25s; max-width: calc(100% - 32px); text-align: center;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ===== Scroll reveal ===== */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.in { opacity: 1; transform: none; }
.js .grid .reveal:nth-child(2), .js .steps .reveal:nth-child(2) { transition-delay: .08s; }
.js .grid .reveal:nth-child(3), .js .steps .reveal:nth-child(3) { transition-delay: .16s; }
.js .steps .reveal:nth-child(4) { transition-delay: .24s; }

/* ===== Laptop / small desktop ===== */
@media (max-width: 1100px) {
  .main-nav { gap: 14px; }
  .nav-link { padding: 8px 10px; }
  .btn { padding: 0 16px; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; }
  .foot-col:last-child { grid-column: 1 / -1; }
}

/* ===== Tablet ===== */
@media (max-width: 960px) {
  .menu-toggle { display: flex; }
  .main-nav {
    position: fixed; top: var(--header-h); left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    flex-direction: column; align-items: stretch; gap: 16px;
    padding: 16px 20px 22px; box-shadow: 0 18px 30px rgba(23,43,36,.12);
    transform: translateY(-12px); opacity: 0; visibility: hidden;
    transition: transform .25s ease, opacity .25s ease, visibility .25s;
    max-height: calc(100vh - var(--header-h)); overflow: auto;
  }
  .main-nav.open { transform: none; opacity: 1; visibility: visible; }
  .main-nav ul { flex-direction: column; }
  .nav-link { padding: 12px 14px; font-size: 1rem; }
  .nav-actions { flex-direction: column; }
  .nav-actions .btn { width: 100%; }

  .hero { padding: 44px 0 70px; }
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-copy { text-align: center; }
  .lead { margin-inline: auto; }
  .hero-cta, .hero-points { justify-content: center; }
  .hero-visual { max-width: 520px; margin-inline: auto; width: 100%; }
  .hero-visual .phone-sm { right: 6px; }

  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 30px 22px; }
  .step:not(:last-child)::after { display: none; }

  .app-inner { grid-template-columns: 1fr; text-align: center; }
  .app-copy .lead { margin-inline: auto; }
  .store-badges { justify-content: center; }
  .app-features { max-width: 480px; margin-inline: auto; text-align: left; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .foot-brand, .foot-col:last-child { grid-column: 1 / -1; }
}

/* ===== Mobile ===== */
@media (max-width: 600px) {
  :root { --header-h: 64px; }
  .container { width: min(100% - 32px, 1200px); }
  .brand-icon { width: 38px; height: 38px; }
  .brand-text strong { font-size: 1rem; }
  .brand-text small { font-size: .7rem; }
  .section, .app-section { padding: 60px 0; }
  .section-head { margin-bottom: 28px; }
  .section-head, .section-head p { text-align: center; margin-inline: auto; }

  .hero-cta .btn { width: 100%; }
  .hero-points { gap: 8px 16px; font-size: .85rem; }
  .hero-visual .phone-sm { width: 150px; right: 0; bottom: -28px; transform: scale(.95); transform-origin: bottom right; }
  .hero-visual { margin-bottom: 34px; }

  .grid-3 { grid-template-columns: 1fr; }
  .prof-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .prof-img { height: 110px; }
  .prof-img svg { width: 52px; height: 52px; }
  .prof-label { padding: 12px; font-size: .88rem; gap: 8px; }
  .prof-label .go { display: none; }
  .steps { grid-template-columns: 1fr; }
  .card { padding: 22px; }

  .app-features { grid-template-columns: 1fr; }
  .store { flex: 1 1 100%; justify-content: center; }
  .phone-lg { transform: none; width: min(300px, 100%); }
  .footer-grid { grid-template-columns: 1fr; padding: 44px 0 32px; text-align: left; }
  .bar-inner { justify-content: center; text-align: center; }
  .modal-dialog { padding: 26px 20px; }
}

/* ===== Legal pages (Privacy / Terms) ===== */
.legal-hero { background: linear-gradient(180deg, var(--mint) 0%, #fff 100%); padding: 44px 0 34px; border-bottom: 1px solid var(--line); }
.crumbs { display: flex; align-items: center; gap: 8px; font-size: .88rem; color: var(--muted); margin-bottom: 14px; flex-wrap: wrap; }
.crumbs a { color: var(--green); font-weight: 700; }
.crumbs a:hover { text-decoration: underline; }
.legal-hero h1 { font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 800; color: var(--green-dark); letter-spacing: -.02em; line-height: 1.15; }
.legal-meta { margin-top: 8px; color: var(--muted); font-size: .92rem; font-weight: 600; }

.legal-layout { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 48px; padding: 48px 0 84px; align-items: start; }
.toc { position: sticky; top: calc(var(--header-h) + 24px); background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 18px; box-shadow: var(--shadow); max-height: calc(100vh - var(--header-h) - 48px); overflow: auto; }
.toc h2 { font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; color: var(--green); margin-bottom: 10px; font-weight: 800; }
.toc ol { list-style: none; counter-reset: t; }
.toc li { counter-increment: t; }
.toc a { display: flex; gap: 8px; padding: 7px 10px; border-radius: 8px; font-size: .88rem; font-weight: 600; color: var(--muted); transition: background .2s, color .2s; }
.toc a::before { content: counter(t) "."; color: #8AA096; min-width: 20px; }
.toc a:hover { background: var(--mint); color: var(--green-dark); }
.toc a.active { background: var(--mint); color: var(--green); }

.legal-content { max-width: 780px; }
.legal-note { background: #FFF8DC; border: 1px solid #F3DE8A; color: #5C4A00; border-radius: 12px; padding: 14px 18px; font-size: .9rem; margin-bottom: 30px; }
.legal-content section { padding-bottom: 8px; margin-bottom: 30px; scroll-margin-top: calc(var(--header-h) + 20px); }
.legal-content h2 { font-size: 1.35rem; font-weight: 800; color: var(--green-dark); margin-bottom: 12px; }
.legal-content h3 { font-size: 1.02rem; font-weight: 800; margin: 18px 0 8px; }
.legal-content p { color: var(--muted); margin-bottom: 12px; }
.legal-content ul { list-style: disc; padding-left: 22px; color: var(--muted); }
.legal-content li { margin-bottom: 7px; padding-left: 4px; }
.legal-content li::marker { color: var(--green); }
.legal-content strong { color: var(--ink); }
.legal-content a { color: var(--green); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.legal-content a:hover { color: var(--green-dark); }
.legal-links { margin-top: 14px; }
.foot-col a[aria-current="page"] { color: var(--green); font-weight: 700; }

@media (max-width: 960px) {
  .legal-layout { grid-template-columns: 1fr; gap: 28px; padding: 32px 0 64px; }
  .toc { position: static; max-height: none; }
  .toc ol { columns: 2; column-gap: 20px; }
  .toc li { break-inside: avoid; }
}
@media (max-width: 600px) {
  .legal-hero { padding: 30px 0 24px; }
  .toc ol { columns: 1; }
  .legal-content h2 { font-size: 1.2rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}
