/* ===========================================================
   Up Sign Down — component & section styles
   =========================================================== */

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: background .3s var(--ease), box-shadow .3s var(--ease), padding .3s var(--ease);
  padding: 18px 0;
}
.site-header.scrolled {
  background: rgba(255,255,255,.82);
  backdrop-filter: saturate(160%) blur(16px);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  box-shadow: 0 1px 0 var(--line), 0 12px 30px rgba(13,28,66,.06);
  padding: 12px 0;
}
.nav { display: flex; align-items: center; gap: 28px; }
.nav .logo { height: 38px; width: auto; transition: filter .3s var(--ease); }
/* logo art is black; on dark hero invert to white via brightness trick on a wrapper */
.site-header:not(.scrolled) .logo { filter: brightness(0) invert(1); }
.nav-links { display: flex; align-items: center; gap: 28px; margin-left: 12px; }
.nav-links a {
  font-weight: 600; font-size: 15.5px; color: var(--on-dark); opacity: .92;
  position: relative; padding: 4px 0; transition: color .2s var(--ease), opacity .2s;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 2px; width: 0; background: currentColor;
  transition: width .25s var(--ease);
}
.nav-links a:hover::after { width: 100%; }
.site-header.scrolled .nav-links a { color: var(--text); }
.nav-spacer { flex: 1; }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.signin {
  font-weight: 600; font-size: 15px; color: var(--on-dark); padding: 11px 8px; white-space: nowrap;
}
.site-header.scrolled .signin { color: var(--text); }
.nav-toggle { display: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(1100px 600px at 78% -10%, rgba(47,107,255,.45), transparent 60%),
    radial-gradient(800px 500px at 10% 110%, rgba(22,194,163,.18), transparent 55%),
    linear-gradient(165deg, #0B1533 0%, #122351 55%, #0B1533 100%);
  color: var(--on-dark);
  padding: 168px 0 96px;
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 30px 30px; mask-image: linear-gradient(180deg, transparent, #000 40%, transparent);
  opacity: .5;
}
.hero .container { position: relative; z-index: 2; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(36px, 5.2vw, 62px); font-weight: 800; letter-spacing: -.035em; line-height: 1.04; }
.hero h1 .grad {
  background: linear-gradient(100deg, #7DA4FF, #16C2A3);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero .lead { color: var(--on-dark-mut); margin-top: 22px; font-size: clamp(17px,1.5vw,20px); max-width: 520px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero-stats { display: flex; gap: 36px; margin-top: 44px; flex-wrap: wrap; }
.hero-stat .n { font-size: 30px; font-weight: 800; letter-spacing: -.03em; color: #fff; }
.hero-stat .l { font-size: 13.5px; color: var(--on-dark-mut); font-weight: 500; }
.hero-visual { position: relative; }
.hero-visual .shot {
  border-radius: var(--r-lg); box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255,255,255,.12); background: #0d1735;
}
.hero-visual .float {
  position: absolute; border-radius: var(--r-md); box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255,255,255,.14); background: #0d1735; overflow: hidden;
}
.float-a { width: 44%; right: -6%; bottom: -10%; }

/* Centered text hero */
.hero-inner { max-width: 880px; margin-inline: auto; text-align: center; }
.hero-inner h1 { font-size: clamp(36px, 5.4vw, 64px); font-weight: 800; letter-spacing: -.035em; line-height: 1.05; }
.hero-inner h1 .grad { background: linear-gradient(100deg, #7DA4FF, #16C2A3); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-inner .lead { color: var(--on-dark-mut); margin: 22px auto 0; max-width: 540px; font-size: clamp(18px,1.6vw,22px); }
.hero-inner .hero-actions { justify-content: center; }

/* Efficiency question line */
.feature-copy .q { font-size: clamp(20px, 2vw, 27px); font-weight: 700; color: var(--text); letter-spacing: -.02em; margin: 14px 0 6px; }

.marquee-wrap { position: relative; z-index: 2; margin-top: 70px; }
.trust-line { text-align: center; color: var(--on-dark-mut); font-size: 13px; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; }

/* ---------- Feature rows (image + text) ---------- */
.feature-row { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.feature-row.flip .feature-media { order: 2; }
.feature-media img {
  width: 100%; border-radius: var(--r-lg); box-shadow: var(--shadow-md);
  border: 1px solid var(--line); background: #fff;
}
.feature-media.bare img { border: none; box-shadow: none; background: transparent; border-radius: 0; }
.feature-row h2 { font-size: clamp(28px,3.4vw,42px); font-weight: 800; letter-spacing: -.03em; }
.feature-row p { color: var(--muted); margin-top: 18px; font-size: 17px; }
.feature-row p + p { margin-top: 14px; }
.feature-row strong { color: var(--text); }
.check-list { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 12px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; color: var(--text); font-weight: 500; }
.check-list .ic { flex: none; width: 26px; height: 26px; border-radius: 8px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; margin-top: 1px; }
.check-list .ic svg { width: 16px; height: 16px; }

/* ---------- Analytics grid ---------- */
.shot-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.shot-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 14px; box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.shot-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.shot-card img { border-radius: 12px; }
.shot-card .cap { font-size: 14px; font-weight: 600; color: var(--muted); padding: 12px 6px 4px; }

/* ---------- Dark feature band (mobile apps) ---------- */
.band-dark {
  background:
    radial-gradient(800px 500px at 85% 0%, rgba(47,107,255,.30), transparent 60%),
    linear-gradient(160deg, #0B1533, #11214c);
  color: var(--on-dark);
}
.band-dark .lead { color: var(--on-dark-mut); }
.app-row { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.app-shots { display: flex; gap: 18px; align-items: flex-end; justify-content: center; }
.app-shots img { width: 30%; filter: drop-shadow(0 30px 50px rgba(0,0,0,.45)); }
.app-shots img:nth-child(2) { width: 34%; margin-bottom: 24px; }
.badges { display: flex; gap: 14px; margin-top: 28px; flex-wrap: wrap; }
.badges img { height: 52px; width: auto; transition: transform .2s var(--ease); }
.badges a:hover img { transform: translateY(-3px); }

/* phone gallery */
.phone-gallery { display: flex; gap: 20px; justify-content: center; align-items: center; flex-wrap: wrap; }
.phone-gallery img {
  width: 168px; border-radius: 22px; filter: drop-shadow(0 24px 44px rgba(0,0,0,.40));
  transition: transform .35s var(--ease);
}
.phone-gallery img:hover { transform: translateY(-10px) scale(1.03); }

/* ---------- Tabs (Signpost / Brokers) ---------- */
.tabs { display: inline-flex; gap: 6px; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 6px; box-shadow: var(--shadow-sm); }
.tab {
  border: 0; background: transparent; cursor: pointer; font: 600 15px/1 'Plus Jakarta Sans',sans-serif;
  color: var(--muted); padding: 12px 22px; border-radius: 999px; transition: all .25s var(--ease); white-space: nowrap;
}
.tab.active { background: var(--ink); color: #fff; }
.tab:not(.active):hover { color: var(--text); }
.tab-panels { margin-top: 40px; }
.tab-panel { display: none; }
.tab-panel.active { display: block; animation: fadeUp .5s var(--ease); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.cards-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.do-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 32px;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
  position: relative; overflow: hidden;
}
.do-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.do-card .num { font-size: 14px; font-weight: 800; color: var(--blue); letter-spacing: .1em; }
.do-card h3 { font-size: 22px; margin-top: 14px; font-weight: 700; }
.do-card p { color: var(--muted); margin-top: 12px; font-size: 16px; }
.do-card .arrow { margin-top: 22px; display: inline-flex; align-items: center; gap: 8px; color: var(--blue); font-weight: 600; font-size: 15px; }
.do-card .arrow svg { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.do-card:hover .arrow svg { transform: translateX(4px); }

/* ---------- Testimonials ---------- */
.tmt-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 22px; }
.tmt {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 28px;
  box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: 16px;
}
.tmt .stars { color: #FFB020; letter-spacing: 2px; font-size: 15px; }
.tmt p { color: var(--text); font-size: 15.5px; line-height: 1.6; flex: 1; }
.tmt .who { display: flex; align-items: center; gap: 12px; }
.tmt .who img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.tmt .who .nm { font-weight: 700; font-size: 15px; }
.tmt .who .role { font-size: 13px; color: var(--muted-2); }

/* ---------- Pricing table ---------- */
.price-wrap { overflow-x: auto; border-radius: var(--r-lg); border: 1px solid var(--line); box-shadow: var(--shadow-md); background: #fff; }
table.price { border-collapse: collapse; width: 100%; min-width: 760px; }
table.price th, table.price td { text-align: center; padding: 18px 18px; border-bottom: 1px solid var(--line); }
table.price thead th { background: var(--ink); color: #fff; font-size: 14.5px; font-weight: 700; vertical-align: bottom; }
table.price thead th:first-child { background: var(--ink-2); }
table.price thead th.feat { text-align: left; }
table.price tbody th { text-align: left; font-weight: 600; color: var(--text); font-size: 15px; background: var(--bg-tint); }
table.price tbody td { color: var(--muted); font-size: 15px; }
table.price tbody tr:nth-child(even) td { background: #fbfcff; }
table.price .yes { color: var(--accent); }
table.price .no { color: #C7CFE0; }
table.price .yes svg, table.price .no svg { width: 20px; height: 20px; }
table.price tbody tr:hover td { background: var(--blue-soft); }
.price-pop th { position: relative; }

/* ---------- Big CTA ---------- */
.cta-band {
  background:
    radial-gradient(700px 380px at 80% 120%, rgba(22,194,163,.30), transparent 60%),
    linear-gradient(120deg, var(--blue-deep), var(--blue));
  color: #fff; border-radius: var(--r-xl); padding: 64px clamp(28px,5vw,72px);
  display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap;
  box-shadow: 0 40px 80px rgba(27,73,196,.35); overflow: hidden; position: relative;
}
.cta-band h2 { font-size: clamp(28px,3.6vw,44px); font-weight: 800; letter-spacing: -.03em; max-width: 640px; }
.cta-band p { color: rgba(255,255,255,.86); margin-top: 14px; font-size: 18px; max-width: 560px; }

/* ---------- Compact page hero ---------- */
.page-hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(1000px 520px at 80% -20%, rgba(47,107,255,.42), transparent 60%),
    radial-gradient(700px 460px at 8% 120%, rgba(22,194,163,.18), transparent 55%),
    linear-gradient(165deg, #0B1533 0%, #122351 55%, #0B1533 100%);
  color: var(--on-dark); padding: 168px 0 80px; text-align: center;
}
.page-hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 30px 30px; mask-image: linear-gradient(180deg, transparent, #000 40%, transparent); opacity: .5;
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { font-size: clamp(34px, 5vw, 58px); font-weight: 800; letter-spacing: -.035em; }
.page-hero h1 .grad { background: linear-gradient(100deg, #7DA4FF, #16C2A3); -webkit-background-clip: text; background-clip: text; color: transparent; }
.page-hero .lead { color: var(--on-dark-mut); margin: 20px auto 0; max-width: 560px; }

/* ---------- FAQ accordion ---------- */
.faq-list { max-width: 820px; margin-inline: auto; display: grid; gap: 14px; }
.faq-item {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-md);
  box-shadow: var(--shadow-sm); overflow: hidden; transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.faq-item[open] { border-color: var(--blue); box-shadow: var(--shadow-md); }
.faq-item summary {
  list-style: none; cursor: pointer; padding: 24px 28px;
  display: flex; align-items: center; gap: 18px;
  font-size: clamp(16px,1.6vw,19px); font-weight: 700; color: var(--text); letter-spacing: -.01em;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .ic {
  flex: none; margin-left: auto; width: 30px; height: 30px; border-radius: 9px;
  background: var(--blue-soft); color: var(--blue); display: grid; place-items: center;
  transition: transform .3s var(--ease), background .25s, color .25s;
}
.faq-item summary .ic svg { width: 16px; height: 16px; }
.faq-item[open] summary .ic { transform: rotate(45deg); background: var(--blue); color: #fff; }
.faq-item .ans { padding: 0 28px 26px; color: var(--muted); font-size: 16.5px; line-height: 1.7; }
.faq-item .ans strong, .faq-item .ans b { color: var(--text); }

/* ---------- Contact / Call page ---------- */
.call-wrap { max-width: 720px; margin-inline: auto; text-align: center; }
.call-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-xl);
  box-shadow: var(--shadow-lg); padding: clamp(40px,6vw,72px) clamp(28px,5vw,64px); margin-top: 8px;
}
.call-badge {
  display: inline-flex; align-items: center; gap: 9px; padding: 9px 18px; border-radius: 999px;
  background: var(--accent-soft); color: var(--accent); font-weight: 700; font-size: 13.5px;
  letter-spacing: .1em; text-transform: uppercase;
}
.call-badge svg { width: 16px; height: 16px; }
.call-icon {
  width: 84px; height: 84px; border-radius: 24px; margin: 4px auto 26px; display: grid; place-items: center;
  background: linear-gradient(140deg, var(--blue), var(--blue-deep)); color: #fff;
  box-shadow: 0 20px 44px rgba(47,107,255,.40);
}
.call-icon svg { width: 40px; height: 40px; }
.call-number {
  display: inline-block; margin: 22px 0 6px;
  font-size: clamp(40px, 7vw, 72px); font-weight: 800; letter-spacing: -.04em; color: var(--text);
  line-height: 1; transition: color .2s var(--ease);
}
.call-number:hover { color: var(--blue); }
.call-sub { color: var(--muted); font-size: clamp(17px,1.5vw,20px); max-width: 480px; margin: 16px auto 0; }
.call-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 36px; }
.call-hours { margin-top: 30px; color: var(--muted-2); font-size: 14.5px; }

/* ---------- Legal / policy pages ---------- */
.legal-body { max-width: 820px; margin-inline: auto; }
.legal-body h2 { font-size: clamp(22px,2.4vw,30px); font-weight: 800; letter-spacing: -.02em; color: var(--text); margin: 0 0 8px; }
.legal-body .intro { color: var(--muted); font-size: 17.5px; line-height: 1.75; margin: 0 0 36px; }
.legal-body ol { list-style: none; counter-reset: sec; padding: 0; margin: 0; display: grid; gap: 22px; }
.legal-body ol > li {
  counter-increment: sec; position: relative; padding: 24px 26px 24px 70px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); box-shadow: var(--shadow-sm);
}
.legal-body ol > li::before {
  content: counter(sec); position: absolute; left: 22px; top: 24px;
  width: 32px; height: 32px; border-radius: 9px; background: var(--blue-soft); color: var(--blue);
  display: grid; place-items: center; font-weight: 800; font-size: 15px;
}
.legal-body ol > li h3 { font-size: 18px; font-weight: 700; color: var(--text); letter-spacing: -.01em; margin: 4px 0 8px; }
.legal-body ol > li p { color: var(--muted); font-size: 16px; line-height: 1.7; margin: 0; }
.legal-body ol > li ul { margin: 10px 0 0; padding-left: 20px; color: var(--muted); font-size: 16px; line-height: 1.7; }
.legal-body ol > li ul li { margin: 4px 0; }
.legal-body a { color: var(--blue); font-weight: 600; }
.legal-body .kw { font-weight: 700; color: var(--text); }
.legal-effective { display: inline-block; margin-bottom: 28px; padding: 7px 16px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); font-weight: 700; font-size: 13px; letter-spacing: .04em; }
.legal-contact { margin-top: 32px; padding: 26px 28px; background: var(--blue-soft); border-radius: var(--r-md); }
.legal-contact h3 { margin: 0 0 8px; font-size: 17px; font-weight: 800; color: var(--text); }
.legal-contact p { margin: 2px 0; color: var(--muted); font-size: 16px; }
.legal-contact a { color: var(--blue); font-weight: 600; }

/* ---------- Legal / prose page ---------- */
.legal-body { max-width: 820px; margin-inline: auto; }
.legal-body h2 {
  font-size: clamp(22px,2.4vw,30px); font-weight: 800; letter-spacing: -.025em;
  color: var(--text); margin: 0 0 10px;
}
.legal-body .eff { color: var(--muted-2); font-size: 15px; margin: 0 0 28px; }
.legal-body .intro { color: var(--muted); font-size: 17px; line-height: 1.75; margin: 0 0 30px; }
.legal-list { list-style: none; display: grid; gap: 22px; counter-reset: clause; }
.legal-list > li {
  position: relative; padding: 26px 28px 26px 70px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); box-shadow: var(--shadow-sm);
}
.legal-list > li::before {
  counter-increment: clause; content: counter(clause);
  position: absolute; left: 22px; top: 26px; width: 32px; height: 32px; border-radius: 9px;
  background: var(--blue-soft); color: var(--blue); font-weight: 800; font-size: 15px;
  display: grid; place-items: center;
}
.legal-list h3 { font-size: 17.5px; font-weight: 700; color: var(--text); letter-spacing: -.01em; margin: 0 0 8px; }
.legal-list p, .legal-list .sub { color: var(--muted); font-size: 16px; line-height: 1.7; margin: 0; }
.legal-list .sub { display: block; margin-top: 6px; }
.legal-list a { color: var(--blue); font-weight: 600; text-decoration: none; }
.legal-list a:hover { text-decoration: underline; }
.legal-body .contact-block {
  margin-top: 30px; padding: 26px 28px; background: var(--blue-soft); border-radius: var(--r-md);
  color: var(--text); font-size: 16px; line-height: 1.8;
}
.legal-body .contact-block strong { font-weight: 800; }
.legal-body .contact-block a { color: var(--blue); font-weight: 600; text-decoration: none; }
.legal-body .closing { color: var(--muted); font-size: 15.5px; line-height: 1.7; margin-top: 28px; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: var(--on-dark-mut); padding: 72px 0 36px; }
.footer-top { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 36px; }
.footer .logo { height: 34px; filter: brightness(0) invert(1); margin-bottom: 18px; }
.footer-about { font-size: 14.5px; line-height: 1.7; max-width: 360px; }
.footer h4 { color: #fff; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 16px; font-weight: 700; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 11px; }
.footer ul a { font-size: 14.5px; transition: color .2s; }
.footer ul a:hover { color: #fff; }
.footer-badges { display: flex; flex-direction: column; gap: 12px; }
.footer-badges img { height: 46px; width: auto; }
.footer-bottom {
  margin-top: 52px; padding-top: 26px; border-top: 1px solid var(--line-dark);
  display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap;
  font-size: 13.5px;
}
.footer-bottom a:hover { color: #fff; }
.footer-legal { display: flex; gap: 22px; flex-wrap: wrap; }

/* ===========================================================
   Responsive
   =========================================================== */
@media (max-width: 980px) {
  .hero-grid, .feature-row, .app-row { grid-template-columns: 1fr; gap: 40px; }
  .feature-row.flip .feature-media { order: 0; }
  .hero { padding: 140px 0 72px; }
  .float-a { position: static; width: 60%; margin: 18px auto 0; }
  .shot-grid { grid-template-columns: 1fr 1fr; }
  .cards-3 { grid-template-columns: 1fr; }
  .tmt-grid { grid-template-columns: 1fr 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .section { padding: 68px 0; }
  .nav-links, .nav-cta .signin { display: none; }
  .nav-toggle { display: inline-grid; }
  .shot-grid, .tmt-grid, .footer-top { grid-template-columns: 1fr; }
  .cta-band { flex-direction: column; align-items: flex-start; padding: 44px 28px; }
  .hero-stats { gap: 24px; }
  .tab { font-size: 13px; padding: 10px 14px; }
  .tabs { width: 100%; justify-content: center; }
}
