/* Tabliqo home page. Structure: nav, hero with journey map, dark showcase band, format cards,
   how-it-works band, alternating feature sections, promises, pricing, call to action, footer. */
.site { --cream: #f3eedf; --cream-2: #faf7ee; --green: var(--awning); --gold: var(--mango); background: var(--cream); }
.site * { scrollbar-width: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; padding: 8px 12px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.site section { scroll-margin-top: 76px; }
.center { text-align: center; justify-content: center; }

/* ---- Navigation -------------------------------------------------------------------------- */
.topnav { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; gap: 24px; padding: 14px clamp(16px, 5vw, 64px); background: var(--green); color: #fff; }
.logo { display: inline-flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; font: 750 24px var(--display); letter-spacing: -.02em; }
.logo img { border-radius: 10px; }
.topnav nav { display: flex; gap: 4px; margin-left: auto; }
.topnav nav a { color: #dce9e3; text-decoration: none; text-transform: uppercase; letter-spacing: .06em; font-size: 14px; font-weight: 600; padding: 8px 12px; border-radius: 6px; }
.topnav nav a:hover { color: #fff; background: var(--awning-2); }
.topnav nav a[aria-current="page"] { background: var(--gold); color: var(--ink); }
.navcta { display: flex; gap: 10px; }
.navpill { display: inline-flex; align-items: center; min-height: 40px; padding: 0 22px; border-radius: 99px; border: 1.5px solid #fff; color: #fff; text-decoration: none; font-weight: 650; }
.navpill:hover { background: #fff; color: var(--green); }
.navpill.ghost { border-color: var(--gold); color: var(--gold); }
.navpill.ghost:hover { background: var(--gold); color: var(--ink); }
.navtoggle { display: none; margin-left: auto; width: 44px; height: 44px; border: 1.5px solid #3c6a5d; border-radius: 10px; background: none; flex-direction: column; justify-content: center; align-items: center; gap: 5px; }
.navtoggle i { display: block; width: 20px; height: 2px; background: #fff; border-radius: 2px; }

/* ---- Hero ---------------------------------------------------------------------------------- */
.hero { background: linear-gradient(180deg, var(--cream-2), var(--cream)); padding: clamp(36px, 6vw, 72px) clamp(16px, 5vw, 64px) 0; }
.hero-inner { max-width: 1240px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.eyebrow { display: flex; align-items: center; gap: 14px; text-transform: uppercase; letter-spacing: .16em; font-size: 13px; font-weight: 700; color: var(--green); margin-bottom: 18px; }
.eyebrow::before { content: ""; width: 44px; height: 1.5px; background: currentColor; }
.hero h1 { font: 800 clamp(44px, 6.6vw, 88px)/.98 var(--display); letter-spacing: -.035em; color: var(--ink); }
.hero h1 em { font-style: normal; color: var(--green); background: linear-gradient(transparent 70%, rgba(245, 165, 36, .55) 70%); }
.lead { font-size: clamp(17px, 1.6vw, 20px); color: var(--graphite); max-width: 52ch; margin: 22px 0 26px; }
.lead strong { color: var(--ink); }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.btn-dark, .btn-line, .btn-light, .btn-outline-light, .btn-gold { display: inline-flex; align-items: center; gap: 8px; min-height: 52px; padding: 0 24px; border-radius: 4px; text-decoration: none; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; font-size: 15px; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--green); }
.btn-line { border: 1.5px solid #cfc7b0; color: var(--ink); background: #fff; }
.btn-line:hover { border-color: var(--ink); }
.facts { display: flex; flex-wrap: wrap; margin: 34px 0 0; padding-top: 22px; border-top: 1px solid #ddd5bd; }
.facts div { padding: 0 22px; border-left: 1px solid #ddd5bd; }
.facts div:first-child { padding-left: 0; border-left: 0; }
.facts dt { font: 800 34px/1 var(--display); color: var(--green); }
.facts dd { margin: 6px 0 0; text-transform: uppercase; letter-spacing: .06em; font-size: 12.5px; color: var(--slate); max-width: 14ch; }

/* Journey map: seven steps around the hub */
.journey { position: relative; width: min(560px, 100%); aspect-ratio: 1; margin: 0 auto; }
.orbit { position: absolute; inset: 14%; border-radius: 50%; border: 1px solid #d9cfb2; }
.orbit::after { content: ""; position: absolute; inset: 12%; border-radius: 50%; border: 1px dashed #e2d9c0; }
.hub { position: absolute; inset: 31%; border-radius: 50%; background: #fffdf6; box-shadow: 0 20px 60px rgba(15, 59, 48, .14), inset 0 0 0 10px #f6f0de; display: grid; place-items: center; align-content: center; text-align: center; gap: 4px; }
.hub img { border-radius: 14px; }
.hub b { font: 750 26px var(--display); color: var(--green); }
.hub span { font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: #8a7c55; font-weight: 700; }
.nodes { list-style: none; margin: 0; padding: 0; }
.nodes li { --a: calc(var(--i) * (360deg / 7) - 90deg); position: absolute; left: 50%; top: 50%; width: 150px; transform: translate(-50%, -50%) rotate(var(--a)) translate(min(232px, 41vw)) rotate(calc(-1 * var(--a)));
  background: #fffdf8; border-radius: 12px; padding: 10px 12px; box-shadow: 0 8px 24px rgba(15, 59, 48, .1); border: 1px solid #efe7d0; }
.nodes li::before { content: ""; display: block; width: 9px; height: 9px; border-radius: 50%; background: var(--gold); margin-bottom: 6px; }
.nodes b { display: block; text-transform: uppercase; letter-spacing: .08em; font-size: 15px; }
.nodes span { font-size: 12.5px; color: var(--slate); line-height: 1.35; display: block; }
@media (prefers-reduced-motion: no-preference) {
  .orbit { animation: spin 90s linear infinite; }
  @keyframes spin { to { transform: rotate(360deg); } }
}

.pillars { list-style: none; margin: 40px auto 0; padding: 0; max-width: 1240px; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); background: #fffdf6; border: 1px solid #eadfc3; border-bottom: 0; }
.pillars li { padding: 16px; border-left: 1px solid #eadfc3; }
.pillars li:first-child { border-left: 0; }
.pillars b { display: block; text-transform: uppercase; letter-spacing: .08em; font-size: 14px; }
.pillars span { font-size: 13px; color: var(--slate); }

/* ---- Dark bands ------------------------------------------------------------------------------ */
.band.dark { background: var(--green); color: #fff; padding: clamp(48px, 7vw, 96px) clamp(16px, 5vw, 64px); }
.showcase { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 48px; align-items: center; }
.showcase h2 { font: 400 clamp(40px, 5.4vw, 76px)/1.04 var(--display); letter-spacing: -.03em; color: #f7e7c2; }
.showcase h2 strong { font-weight: 800; color: var(--gold); }
.showcase p { color: #cfe0d9; font-size: 18px; max-width: 46ch; margin: 22px 0 28px; }
.btn-light { background: #f7e7c2; color: var(--ink); border-radius: 99px; }
.btn-outline-light { border: 1.5px solid #f7e7c2; color: #f7e7c2; border-radius: 99px; }
.demo-qr { margin: 30px 0 0; display: inline-grid; gap: 8px; justify-items: center; }
.demo-qr img { background: #fff; padding: 8px; border-radius: 10px; width: 160px; height: 160px; }
.demo-qr a { color: #f7e7c2; }
.showcase-art { position: relative; padding-bottom: 40px; }
.showcase-art .laptop { width: 92%; margin-left: auto; }
.showcase-art .phone { position: absolute; left: 0; bottom: 0; width: 30%; }

/* Device frames around real screenshots */
.laptop, .phone { margin: 0; }
.laptop { background: #1b1f1d; border-radius: 14px; padding: 10px 10px 14px; box-shadow: 0 30px 60px rgba(0, 0, 0, .28); }
.laptop img { display: block; width: 100%; height: auto; border-radius: 6px; }
.phone { background: #121413; border-radius: 34px; padding: 9px; box-shadow: 0 30px 60px rgba(0, 0, 0, .3); }
.phone img { display: block; width: 100%; height: auto; border-radius: 26px; }

/* ---- Formats --------------------------------------------------------------------------------- */
.section-title { font: 500 clamp(28px, 3.6vw, 46px)/1.15 var(--display); text-align: center; letter-spacing: -.02em; max-width: 26ch; margin: 0 auto 40px; }
.section-title.light { color: #f7e7c2; }
.formats { padding: clamp(48px, 7vw, 90px) clamp(16px, 5vw, 64px); max-width: 1320px; margin: 0 auto; }
.cards4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.fcard { position: relative; border-radius: 22px; overflow: hidden; background: #e3dac2; aspect-ratio: 3 / 4; }
.fcard img { width: 100%; height: 100%; object-fit: cover; object-position: top left; }
.fcard > div { position: absolute; left: 12px; right: 12px; bottom: 12px; background: var(--green); color: #fff; border-radius: 16px; padding: 18px; text-align: center; }
.fcard h3 { text-transform: uppercase; letter-spacing: .06em; font-size: 19px; color: var(--gold); }
.fcard p { color: #dce9e3; font-size: 15px; margin-top: 6px; }

/* ---- How it works ------------------------------------------------------------------------------ */
.steps { list-style: none; margin: 0 auto; padding: 0; max-width: 1180px; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px; counter-reset: s; }
.steps li { counter-increment: s; border-top: 2px solid #3c6a5d; padding-top: 18px; }
.steps li::before { content: counter(s, decimal-leading-zero); font: 800 34px var(--display); color: var(--gold); display: block; margin-bottom: 8px; }
.steps b { display: block; font-size: 18px; margin-bottom: 6px; }
.steps span { color: #cfe0d9; font-size: 15px; }

/* ---- Feature sections ----------------------------------------------------------------------------- */
.feature { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(28px, 5vw, 72px); align-items: center; padding: clamp(48px, 7vw, 96px) clamp(16px, 5vw, 64px); max-width: 1320px; margin: 0 auto; }
.feature + .feature { border-top: 1px solid #e3d9bd; }
.feature.flip .ftext { order: 2; }
.feature h2 { font: 400 clamp(44px, 5.6vw, 80px)/1 var(--display); letter-spacing: -.035em; }
.feature .sub { font: 500 clamp(22px, 2.4vw, 32px)/1.2 var(--display); margin: 14px 0 20px; color: var(--green); }
.feature .ftext p:not(.sub) { font-size: 18px; color: var(--graphite); max-width: 48ch; }
.fart { display: flex; justify-content: center; align-items: center; gap: 18px; }
.phones3 .phone { width: 31%; }
.phones3 .phone:nth-child(2) { transform: translateY(-24px); }
.duo { position: relative; padding-bottom: 30px; }
.duo .laptop { width: 88%; margin-left: auto; }
.duo .phone { position: absolute; left: 0; bottom: 0; width: 28%; }
.duo-wide { flex-direction: column; }
.duo-wide .laptop:nth-child(1) { width: 88%; align-self: flex-start; }
.duo-wide .laptop:nth-child(2) { width: 70%; align-self: flex-end; margin-top: -60px; }
.phone.big { width: min(300px, 70%); }

/* ---- Promises (testimonial slot) ------------------------------------------------------------------ */
.promises { background: #ebe3cb; padding: clamp(48px, 7vw, 90px) clamp(16px, 5vw, 64px); }
.quotes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; max-width: 1180px; margin: 0 auto; }
.quotes blockquote { margin: 0; }
.quotes .mark { display: block; width: 40px; height: 20px; border-radius: 40px 40px 0 0; border: 3px solid var(--gold); border-bottom: 0; margin-bottom: 18px; }
.quotes p { font-size: 21px; line-height: 1.55; color: var(--graphite); }

/* ---- Pricing ---------------------------------------------------------------------------------------- */
.pricing { padding: clamp(48px, 7vw, 90px) clamp(16px, 5vw, 64px); background: var(--cream-2); }
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; max-width: 1100px; margin: 0 auto 24px; }
.plans article { background: #fff; border: 1.5px solid #e3d9bd; border-radius: 16px; padding: 26px; }
.plans article.featured { border-color: var(--green); box-shadow: 0 0 0 2px var(--green); }
.plans h3 { font: 750 22px var(--display); }
.plans .price { font: 800 34px var(--display); color: var(--green); margin: 6px 0 14px; }
.plans ul { margin: 0; padding-left: 18px; color: var(--graphite); display: grid; gap: 6px; }

/* ---- Ready ------------------------------------------------------------------------------------------ */
.ready { background: #fff; text-align: center; padding: clamp(56px, 8vw, 110px) clamp(16px, 5vw, 64px); }
.ready h2 { font: 400 clamp(44px, 6.4vw, 92px)/1.02 var(--display); letter-spacing: -.035em; }
.ready .accent { font: 500 clamp(22px, 2.8vw, 38px) var(--display); color: #a8781b; margin: 18px 0 30px; }
.btn-gold { background: var(--gold); color: var(--ink); border-radius: 99px; text-transform: none; letter-spacing: 0; }
.btn-gold:hover { background: #ffb73d; }

/* ---- Footer ------------------------------------------------------------------------------------------ */
.sitefoot { background: #0b2a22; color: #cfe0d9; padding: 56px clamp(16px, 5vw, 64px) 28px; }
.sitefoot .cols { display: grid; grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr)); gap: 28px; max-width: 1180px; margin: 0 auto; }
.sitefoot .logo { color: #fff; font-size: 22px; }
.sitefoot h3 { font-size: 14px; letter-spacing: .1em; text-transform: uppercase; color: #f7e7c2; margin-bottom: 10px; }
.sitefoot a:not(.logo) { display: block; color: #cfe0d9; text-decoration: none; padding: 3px 0; }
.sitefoot a:hover { color: #fff; text-decoration: underline; }
.sitefoot p { margin-top: 10px; }
.legal { max-width: 1180px; margin: 40px auto 0 !important; padding-top: 18px; border-top: 1px solid #23463b; font-size: 14px; color: #8fb3a6; }

.contact-fab { position: fixed; right: 18px; bottom: calc(18px + env(safe-area-inset-bottom, 0px)); z-index: 40; display: inline-flex; align-items: center; gap: 10px; background: var(--gold); color: var(--ink); text-decoration: none; font-weight: 700; padding: 14px 20px; border-radius: 14px; box-shadow: 0 12px 30px rgba(0, 0, 0, .2); }
.contact-fab svg { width: 20px; height: 20px; fill: var(--ink); }

/* ---- Smaller screens ------------------------------------------------------------------------------- */
@media (max-width: 1100px) {
  .hero-inner, .showcase { grid-template-columns: 1fr; }
  .pillars { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pillars li:nth-child(4) { border-left: 0; }
  .pillars li:nth-child(n+4) { border-top: 1px solid #eadfc3; }
  .cards4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feature, .feature.flip { grid-template-columns: 1fr; }
  .feature.flip .ftext { order: 0; }
  .quotes, .plans { grid-template-columns: 1fr; }
  .sitefoot .cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 820px) {
  .navtoggle { display: flex; }
  .topnav { flex-wrap: wrap; }
  .topnav nav, .navcta { display: none; width: 100%; }
  .topnav.open nav, .topnav.open .navcta { display: flex; }
  .topnav.open nav { flex-direction: column; margin: 8px 0 0; }
  .topnav.open .navcta { padding-bottom: 6px; }
  /* The journey becomes a simple list on phones */
  .journey { aspect-ratio: auto; width: 100%; }
  .orbit { display: none; }
  .hub { position: static; margin: 0 auto 16px; width: 190px; height: 190px; }
  .nodes { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .nodes li { position: static; transform: none; width: auto; }
  .facts { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 12px; }
  .facts div { padding: 0; border-left: 0; }
  .facts dt { font-size: 28px; }
  .cards4 { grid-template-columns: 1fr; }
  .fcard { aspect-ratio: 4 / 3; }
  .pillars { grid-template-columns: 1fr 1fr; }
  .pillars li { border-left: 0 !important; border-top: 1px solid #eadfc3; }
  .steps { grid-template-columns: 1fr; }
  .sitefoot .cols { grid-template-columns: 1fr; }
  .contact-fab span { display: none; }
}
