/* Sparkle CRM+ home page. Brand direction B "Clean Bay" with black and gold accents (approved 21 Nov 2026).
   Plain CSS, self-hosted fonts, no third-party requests. Colours and type: docs/brand (see the design brief). */

@font-face { font-family: "Inter"; font-weight: 400; font-display: swap; src: url("fonts/inter-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 500; font-display: swap; src: url("fonts/inter-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 600; font-display: swap; src: url("fonts/inter-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 400 500; font-display: swap; src: url("fonts/inter-rupee-400.woff2") format("woff2"); unicode-range: U+20B9; }
@font-face { font-family: "Inter"; font-weight: 600 700; font-display: swap; src: url("fonts/inter-rupee-600.woff2") format("woff2"); unicode-range: U+20B9; }
@font-face { font-family: "Manrope"; font-weight: 700; font-display: swap; src: url("fonts/manrope-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Manrope"; font-weight: 800; font-display: swap; src: url("fonts/manrope-latin-800-normal.woff2") format("woff2"); }
@font-face { font-family: "Manrope"; font-weight: 700 800; font-display: swap; src: url("fonts/manrope-rupee-800.woff2") format("woff2"); unicode-range: U+20B9; }

:root {
  --pearl: #FAFAF7;
  --white: #FFFFFF;
  --soft: #F4F2EC;
  --line: #E6E3DA;
  --line-strong: #D6D2C6;
  --jet: #121214;
  --body: #45454B;
  --muted: #5B5B60;
  --gold: #D4AF37;
  --highlight: #F2D16B;
  --champagne: #FFF6D8;
  --gold-ink: #7A5A10;
  --on-black: #F4F1EA;
  --on-black-quiet: #BDB8AE;
  --font-display: "Manrope", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --radius-card: 16px;
  --container: 1152px;
  --gutter: clamp(16px, 5vw, 64px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--pearl); color: var(--jet); font-family: var(--font-body); font-size: 17px; line-height: 1.6; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 800; line-height: 1.1; letter-spacing: -0.02em; margin: 0; }
p { margin: 0; }
a { color: var(--gold-ink); }
a:hover { color: var(--jet); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; border-radius: 6px; }
.container { width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 20; background: var(--jet); color: var(--white); padding: 10px 16px; border-radius: 999px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 12px 26px; border-radius: 999px; font-weight: 600; font-size: 16px; text-decoration: none; white-space: nowrap; transition: transform 0.15s ease, background-color 0.15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--jet); color: var(--white); box-shadow: inset 0 -3px 0 var(--gold); }
.btn--primary:hover { color: var(--white); background: #24242A; }
.btn--secondary { background: var(--white); color: var(--jet); border: 1.5px solid var(--jet); }
.btn--secondary:hover { color: var(--jet); background: var(--soft); }
.btn--gold { background: var(--gold); color: var(--jet); font-weight: 700; }
.btn--gold:hover { color: var(--jet); background: var(--highlight); }
.btn--ghost-light { color: var(--on-black); border: 1.5px solid var(--on-black); }
.btn--ghost-light:hover { color: var(--jet); background: var(--on-black); }
.btn--small { min-height: 44px; padding: 10px 20px; font-size: 15px; }
.arrow { color: var(--gold); }

/* Header */
.topline { height: 4px; background: var(--gold); }
.site-header { background: var(--white); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 10; }
.site-header__bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--jet); text-decoration: none; font-family: var(--font-display); font-weight: 800; font-size: 21px; }
.brand:hover { color: var(--jet); }
.brand img { width: 48px; height: 48px; }
.brand .plus { color: var(--gold-ink); }
.nav { display: flex; align-items: center; gap: 28px; font-size: 15px; }
.nav a:not(.btn) { color: var(--body); text-decoration: none; }
.nav a:not(.btn):hover { color: var(--jet); }
.nav .signin { color: var(--jet); font-weight: 600; }
.menu { display: none; }
.menu summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 1.5px solid var(--jet); border-radius: 12px; }
.menu summary::-webkit-details-marker { display: none; }
.menu__panel { position: absolute; left: 0; right: 0; top: 100%; background: var(--white); border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 20px; display: flex; flex-direction: column; }
.menu__panel a:not(.btn) { padding: 12px 0; color: var(--jet); text-decoration: none; font-weight: 600; border-bottom: 1px solid var(--line); }
.menu__panel .btn { margin-top: 16px; }
@media (max-width: 900px) { .nav { display: none; } .menu { display: block; } }

/* Hero */
.hero { text-align: center; padding: 80px 0 44px; }
.hero__inner { display: flex; flex-direction: column; align-items: center; gap: 22px; }
.offer-pill { display: inline-flex; align-items: center; gap: 10px; background: var(--jet); color: var(--on-black); border-radius: 999px; padding: 8px 16px 8px 8px; font-size: 14px; font-weight: 600; }
.offer-pill b { background: var(--gold); color: var(--jet); border-radius: 999px; padding: 3px 10px; font-size: 12px; letter-spacing: 0.04em; }
.hero h1 { font-size: clamp(40px, 6.4vw, 68px); line-height: 1.05; letter-spacing: -0.025em; max-width: 920px; }
.mark { background: linear-gradient(transparent 60%, var(--highlight) 60%); padding-inline: 2px; white-space: nowrap; }
.hero__lead { font-size: clamp(17px, 2vw, 20px); color: var(--body); max-width: 680px; }
.actions { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }
.hero__note { font-size: 14px; color: var(--muted); }

/* Product mock */
.mock-wrap { padding: 12px 0 64px; }
.mock { background: var(--jet); border-radius: 24px; padding: 14px; box-shadow: 0 30px 70px rgba(18, 18, 20, 0.22); }
.mock__bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 6px 10px 14px; color: var(--on-black); font-family: var(--font-display); font-weight: 700; font-size: 15px; }
.mock__bar span:first-child { display: flex; align-items: center; gap: 10px; }
.mock__bar img { width: 26px; height: 26px; }
.mock__tag { color: var(--gold); font-family: var(--font-body); font-size: 13px; font-weight: 600; }
.mock__body { background: var(--white); border-radius: 14px; padding: 22px; display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 20px; }
.mock h2 { font-size: 16px; font-weight: 700; letter-spacing: 0; margin-bottom: 12px; }
.mock h2 + .tiles + h2 { margin-top: 18px; }
.tiles { display: grid; gap: 10px; }
.tiles--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.tiles--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tile { border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; font-weight: 600; font-size: 15px; }
.tile--on { background: var(--jet); color: var(--white); border-color: var(--jet); box-shadow: inset 0 -3px 0 var(--gold); }
.tile--soft { background: var(--soft); border-color: var(--soft); display: flex; flex-direction: column; gap: 2px; }
.tile--pick { background: var(--champagne); border: 1.5px solid var(--gold); display: flex; flex-direction: column; gap: 2px; }
.tile small { font-size: 15px; font-weight: 500; color: var(--body); }
.tile--pick small { color: var(--gold-ink); font-weight: 600; }
.bill { background: var(--pearl); border: 1px solid var(--line); border-radius: 14px; padding: 18px; display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.bill__row { display: flex; justify-content: space-between; gap: 12px; }
.bill__row--disc { color: var(--gold-ink); }
.bill__total { border-top: 1px dashed var(--line-strong); padding-top: 10px; font-weight: 600; align-items: baseline; }
.bill__total strong { font-family: var(--font-display); font-weight: 800; font-size: 22px; }
.pay { display: flex; gap: 8px; margin-top: auto; }
.pay span { flex: 1; text-align: center; border: 1px solid var(--line-strong); border-radius: 10px; padding: 10px 4px; font-size: 14px; font-weight: 600; }
.pay .on { background: var(--jet); color: var(--white); border-color: var(--jet); }
@media (max-width: 860px) {
  .mock__body { grid-template-columns: 1fr; padding: 16px; }
  .tiles--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tiles--3 { grid-template-columns: 1fr; }
}

/* Sections */
.section { padding: 72px 0; }
.section--white { background: var(--white); border-block: 1px solid var(--line); }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px 32px; flex-wrap: wrap; margin-bottom: 32px; }
.section-head h2 { font-size: clamp(28px, 3.6vw, 40px); max-width: 640px; }
.section-head p { color: var(--body); max-width: 440px; }
.eyebrow { display: block; font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold-ink); margin-bottom: 10px; }

/* Features */
.features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 32px; }
.feature { display: flex; flex-direction: column; gap: 10px; }
.feature h3 { font-size: 19px; font-weight: 700; letter-spacing: -0.01em; }
.feature p { font-size: 15px; color: var(--body); }
.icon-tile { width: 48px; height: 48px; border-radius: 14px; background: var(--jet); color: var(--gold); display: flex; align-items: center; justify-content: center; }
@media (max-width: 860px) { .features { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .features { grid-template-columns: 1fr; } }

/* Screens */
.screens { display: grid; grid-auto-flow: column; grid-auto-columns: min(78%, 720px); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 16px; scrollbar-color: var(--line-strong) transparent; }
.screen { scroll-snap-align: start; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.screen a { display: block; background: var(--jet); border-radius: 16px; padding: 8px; }
.screen img { border-radius: 10px; width: 100%; }
.screen figcaption { font-size: 15px; color: var(--body); }
.screen figcaption strong { color: var(--jet); display: block; font-family: var(--font-display); font-size: 17px; }
.screens-note { font-size: 14px; color: var(--muted); margin-top: 8px; }
@media (max-width: 560px) { .screens { grid-auto-columns: 88%; } }

/* Pricing */
.offer-banner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px 24px; background: var(--jet); color: var(--on-black); border-radius: var(--radius-card); padding: 18px 24px; margin-bottom: 20px; }
.offer-banner strong { font-family: var(--font-display); font-size: 20px; }
.offer-banner strong em { font-style: normal; color: var(--gold); }
.offer-banner span { color: var(--on-black-quiet); font-size: 15px; }
.plans { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.plan { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-card); padding: 24px; display: flex; flex-direction: column; gap: 6px; }
.plan--popular { border: 1.5px solid var(--gold); }
.plan--pro { background: var(--jet); border-color: var(--jet); color: var(--on-black); }
.plan__name { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-weight: 600; }
.plan--pro .plan__name { color: var(--gold); }
.badge { background: var(--champagne); color: var(--gold-ink); font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 999px; }
.plan__was { font-size: 15px; color: var(--muted); }
.plan--pro .plan__was { color: var(--on-black-quiet); }
.plan__was s { text-decoration-thickness: 1.5px; }
.plan__price { font-family: var(--font-display); font-weight: 800; font-size: 34px; line-height: 1.1; }
.plan__price small { font-family: var(--font-body); font-size: 15px; font-weight: 500; color: var(--muted); }
.plan--pro .plan__price small { color: var(--on-black-quiet); }
.plan__users { font-size: 14px; color: var(--muted); }
.plan--pro .plan__users { color: var(--on-black-quiet); }
.plan__for { font-weight: 600; font-size: 15px; margin-top: 10px; }
.plan ul { margin: 6px 0 18px; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; font-size: 15px; color: var(--body); }
.plan--pro ul { color: var(--on-black); }
.plan li { display: flex; gap: 10px; }
.plan li::before { content: ""; flex: none; width: 16px; height: 16px; margin-top: 4px; border-radius: 50%; background: var(--gold); -webkit-mask: url("img/tick.svg") center / 16px no-repeat; mask: url("img/tick.svg") center / 16px no-repeat; }
.plan .btn { margin-top: auto; }
.pricing-note { font-size: 14px; color: var(--muted); margin-top: 18px; }
@media (max-width: 1000px) { .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .plans { grid-template-columns: 1fr; } }

/* Closing band and contact */
.band { background: var(--jet); color: var(--on-black); padding: 56px 0; }
.band__inner { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.band h2 { font-size: clamp(26px, 3.2vw, 34px); }
.band h2 em { font-style: normal; color: var(--gold); }
.band p { color: var(--on-black-quiet); margin-top: 6px; }
.band .actions { justify-content: flex-start; }
.contact { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.contact a { display: flex; align-items: center; gap: 16px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-card); padding: 22px; text-decoration: none; color: var(--jet); }
.contact a:hover { border-color: var(--jet); color: var(--jet); }
.contact strong { display: block; font-family: var(--font-display); font-size: 18px; }
.contact span span { color: var(--body); font-size: 15px; }
@media (max-width: 640px) { .contact { grid-template-columns: 1fr; } }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 32px 0 40px; font-size: 14px; color: var(--muted); }
.site-footer__inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.site-footer .brand { font-size: 17px; }
.site-footer .brand img { width: 36px; height: 36px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
  .btn:hover { transform: none; }
}
