/* =========================================================
   Cozy Dwelling Decor — shared stylesheet (all pages)
   ========================================================= */

[data-mode="day"] {
  --bg: #F3F1FA;
  --bg2: #E3DFF1;
  --card: #FFFFFF;
  --card2: #F8F6FD;

  --ink: #211B35;
  --muted: #6D6484;
  --faint: #958DAA;
  --line: #DCD6EB;

  --brand: #4C43C7;
  --brand2: #6D61E8;

  --peach: #F06A3C;
  --teal: #3479D4;
  --sun: #E5D83F;
  --rose: #D84C91;

  --sh: 0 18px 44px rgba(39, 29, 80, .12);
  --shsm: 0 8px 22px rgba(39, 29, 80, .07);

  --navbg: rgba(243, 241, 250, .92);
}

[data-mode="night"] {
  --bg: #100E1C;
  --bg2: #19152A;
  --card: #211C35;
  --card2: #292342;

  --ink: #F5F2FF;
  --muted: #B8AED5;
  --faint: #83799F;
  --line: #39304F;

  --brand: #A69BFF;
  --brand2: #C0B8FF;

  --peach: #FF9569;
  --teal: #73B5FF;
  --sun: #F2E86C;
  --rose: #FF80B8;

  --sh: 0 18px 44px rgba(0, 0, 0, .46);
  --shsm: 0 8px 22px rgba(0, 0, 0, .32);

  --navbg: rgba(16, 14, 28, .92);
}
* { box-sizing: border-box }

html { scroll-behavior: smooth }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  line-height: 1.65;
  overflow-x: hidden;
  transition: background .3s, color .3s
}

a { color: inherit; text-decoration: none }
button { font-family: inherit }
::selection { background: var(--brand); color: #fff }

:focus-visible {
  outline: 3px solid var(--brand2);
  outline-offset: 2px;
  border-radius: 8px
}

h1, h2, h3 {
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1.08;
  margin: 0
}

.t-hero { font-size: clamp(2.5rem, 4.4vw, 3.4rem); letter-spacing: -.045em; line-height: 1.02 }
.t-sec { font-size: clamp(1.8rem, 3.8vw, 2.8rem); letter-spacing: -.035em }
.p-lead { font-size: 1.03rem; color: var(--muted); line-height: 1.78 }

.kicker {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .34rem .8rem;
  border-radius: 100px;
  background: var(--card);
  border: 1px solid var(--line);
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--brand);
  box-shadow: var(--shsm)
}

.kicker .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--teal) }

.hl { position: relative; display: inline-block; z-index: 0 }
.hl::after {
  content: "";
  position: absolute;
  left: -2%;
  right: -2%;
  bottom: .08em;
  height: .38em;
  z-index: -1;
  background: linear-gradient(90deg, var(--sun), var(--peach));
  border-radius: 100px;
  opacity: .55
}

.wrap { max-width: 1180px; margin: 0 auto; padding: 0 clamp(16px, 4vw, 30px) }
.sec { padding: clamp(60px, 8vw, 96px) 0; position: relative }

.btnx {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .82rem 1.55rem;
  border-radius: 100px;
  border: 0;
  font-size: .84rem;
  font-weight: 800;
  cursor: pointer;
  transition: transform .2s, box-shadow .2s;
  text-decoration: none
}
.btnx:hover { transform: translateY(-2px) }
.btnx-brand { background: var(--brand); color: #fff; box-shadow: 0 10px 24px rgba(79, 70, 229, .32) }
.btnx-brand:hover { color: #fff }
.btnx-peach { background: var(--peach); color: #23130A }
.btnx-ghost { background: var(--card); color: var(--ink); border: 1.5px solid var(--line) }
.btnx-ghost:hover { border-color: var(--brand); color: var(--brand) }
.btnx-sm { padding: .55rem 1rem; font-size: .74rem }
.btnx i { transition: transform .2s }
.btnx:hover i { transform: translateX(3px) }

.linkx { display: inline-flex; align-items: center; gap: .3rem; font-weight: 800; font-size: .84rem; color: var(--brand) }

.rv {
  opacity: 0;
  transform: translateY(26px);
  filter: blur(6px);
  transition: opacity .6s, transform .6s cubic-bezier(.22, 1, .36, 1), filter .6s;
  transition-delay: var(--d, 0ms)
}
.rv.in { opacity: 1; transform: none; filter: none }

@keyframes ping2 {
  0% { transform: scale(1); opacity: .7 }
  80%, 100% { transform: scale(2.1); opacity: 0 }
}
@keyframes driftCloud {
  0% { transform: translateX(-12px) }
  50% { transform: translateX(14px) }
  100% { transform: translateX(-12px) }
}
@keyframes riseSmoke {
  0% { transform: translateY(0) scale(1); opacity: .5 }
  100% { transform: translateY(-22px) scale(1.5); opacity: 0 }
}
@keyframes spinStar { to { transform: rotate(360deg) } }
@keyframes drift {
  0% { transform: translateX(0) }
  100% { transform: translateX(-50%) }
}

@media(prefers-reduced-motion:reduce) {
  * { animation-duration: .001ms !important; transition-duration: .001ms !important }
  .rv { opacity: 1 !important; transform: none !important; filter: none !important }
}

/* ---------- Topbar ---------- */
.topbar { background: var(--ink); color: var(--bg); font-size: .74rem; font-weight: 600 }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: .8rem; padding-top: .42rem; padding-bottom: .42rem }
.topbar a { opacity: .9 }
.mode-seg { display: inline-flex; background: rgba(255, 255, 255, .14); border-radius: 100px; padding: 3px; gap: 2px }
.mode-seg button {
  border: 0;
  background: transparent;
  color: #fff;
  font-size: .72rem;
  font-weight: 800;
  padding: .28rem .7rem;
  border-radius: 100px;
  cursor: pointer;
  opacity: .65
}
.mode-seg button.on { background: #fff; color: #131A2E; opacity: 1 }

/* ---------- Navbar ---------- */
.navstick {
  position: sticky;
  top: 0;
  z-index: 1050;
  background: var(--navbg);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line)
}
.navbarx .wrap { display: flex; align-items: center; justify-content: space-between; gap: .8rem; padding-top: .65rem; padding-bottom: .65rem }
.logo { display: flex; align-items: center; gap: .55rem; font-weight: 800; font-size: 1.2rem; letter-spacing: -.03em }
.logo-mark {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--brand), var(--brand2));
  display: grid;
  place-items: center;
  color: #fff
}
.navmenu {
  display: none;
  list-style: none;
  margin: 0;
  padding: 6px;
  gap: 2px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 100px
}
.navmenu a {
  padding: .42rem .8rem;
  border-radius: 100px;
  font-size: .8rem;
  font-weight: 700;
  color: var(--muted);
  white-space: nowrap
}
.navmenu a:hover { color: var(--ink) }
.navmenu a.here { background: var(--ink); color: var(--bg) }
.navside { display: flex; align-items: center; gap: .5rem }
.iconbtn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--card);
  display: grid;
  place-items: center;
  cursor: pointer;
  color: var(--ink)
}
.navcta { display: none }

@media(min-width:1020px) {
  .navmenu { display: flex }
  .navcta { display: inline-flex }
  .burgerbtn { display: none }
}

/* ---------- Mobile sheet ---------- */
.msheet {
  position: fixed;
  inset: 0;
  z-index: 1150;
  background: var(--bg);
  padding: 18px;
  display: flex;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  transition: .28s;
  overflow-y: auto
}
.msheet.on { opacity: 1; visibility: visible }
.msheet-top { display: flex; justify-content: space-between; align-items: center }
.msheet nav { display: grid; gap: .5rem; margin-top: 1.2rem }
.msheet nav a {
  display: flex;
  gap: .7rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: .9rem 1rem;
  font-weight: 800
}

/* ---------- Hero ---------- */
.hero { padding: clamp(26px, 4vw, 46px) 0 clamp(30px, 5vw, 50px); position: relative; overflow: hidden }
.hb { position: absolute; border-radius: 50%; filter: blur(70px); pointer-events: none; opacity: .5 }
.hb1 { width: 480px; height: 480px; background: radial-gradient(circle, #C7D2FE, transparent 65%); top: -160px; right: -120px }
.hb2 { width: 420px; height: 420px; background: radial-gradient(circle, #FED7AA, transparent 65%); bottom: -180px; left: -120px }
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(24px, 3.5vw, 44px);
  align-items: start;
  position: relative
}
@media(min-width:990px) {
  .hero-grid { grid-template-columns: 1.02fr .98fr }
}
.hero-sub { font-size: 1.03rem; color: var(--muted); max-width: 52ch; line-height: 1.78 }
.hero-ctas { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.3rem }
.hero-proof { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: 1.15rem }
.proof {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 100px;
  padding: .38rem .75rem;
  font-size: .76rem;
  font-weight: 700;
  color: var(--muted)
}
.proof i { color: var(--teal) }

/* ---------- Home explorer ---------- */
.explorer { background: var(--card); border: 1px solid var(--line); border-radius: 30px; box-shadow: var(--sh); overflow: hidden }
.explorer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .7rem 1rem;
  border-bottom: 1px solid var(--line);
  background: var(--card2)
}
.live {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted)
}
.live .pulse { width: 9px; height: 9px; border-radius: 50%; background: var(--teal); position: relative }
.live .pulse::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid var(--teal);
  animation: ping2 1.8s ease-out infinite
}
.house-stage { position: relative; background: linear-gradient(180deg, var(--card2), var(--card)); padding: 6px 6px 0 }
.house-stage svg { width: 100%; height: auto; display: block; border-radius: 20px }
.hotspot {
  position: absolute;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 2px solid #fff;
  cursor: pointer;
  display: grid;
  place-items: center;
  font-size: 1rem;
  background: #fff;
  box-shadow: 0 6px 18px rgba(20, 30, 60, .22);
  transition: transform .2s
}
.hotspot:hover { transform: scale(1.12) }
.hotspot.on { background: var(--ink); color: #fff; border-color: var(--ink) }
.explorer-info { padding: 1rem 1.1rem 1.1rem }
.explorer-info p { font-size: .86rem; color: var(--muted); margin: .3rem 0 .7rem }
.mtag {
  font-size: .66rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  background: var(--card2);
  border: 1px solid var(--line);
  border-radius: 100px;
  padding: .28rem .6rem;
  color: var(--muted)
}

/* ---------- Estimator ---------- */
.estimator {
  margin-top: 1rem;
  background: var(--ink);
  color: var(--bg);
  border-radius: 26px;
  padding: clamp(18px, 2.6vw, 26px);
  position: relative;
  overflow: hidden
}
.estimator p { font-size: .8rem; opacity: .7; margin: 0 0 .9rem }
.est-row { display: grid; grid-template-columns: 1fr; gap: .6rem }
@media(min-width:560px) {
  .est-row { grid-template-columns: 1fr 1fr auto; align-items: end }
}
.est-field label {
  display: block;
  font-size: .66rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  opacity: .65;
  margin-bottom: .35rem
}
.est-field select {
  width: 100%;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, .2);
  background: rgba(255, 255, 255, .08);
  color: inherit;
  font-size: .86rem;
  font-weight: 600;
  padding: .7rem .8rem
}
.est-field select option { color: #131A2E }
.est-out {
  margin-top: .9rem;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 16px;
  padding: .75rem .9rem;
  font-size: .84rem;
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  align-items: center;
  justify-content: space-between
}

/* ---------- Marquee strip ---------- */
.strip { border-block: 1px solid var(--line); background: var(--card); overflow: hidden; padding: .65rem 0 }
.strip-run { display: flex; width: max-content; animation: drift 36s linear infinite }
.strip-seg {
  display: flex;
  align-items: center;
  gap: 1.3rem;
  padding-right: 1.3rem;
  font-size: .78rem;
  font-weight: 700;
  color: var(--muted);
  white-space: nowrap
}
.strip-seg b { color: var(--ink) }
.strip-seg .sep { width: 7px; height: 7px; border-radius: 50%; background: var(--peach) }

/* ---------- About ---------- */
.about-layout { display: grid; grid-template-columns: 1fr; gap: clamp(22px, 3vw, 40px) }
@media(min-width:960px) {
  .about-layout { grid-template-columns: .9fr 1.1fr; align-items: start }
}
.about-sticky { position: sticky; top: 96px }
.values { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: 1rem }
.values span {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 100px;
  padding: .35rem .75rem;
  font-size: .76rem;
  font-weight: 700;
  color: var(--muted)
}
.steps { display: grid; gap: .7rem; margin-top: 1.2rem }
.step {
  display: flex;
  gap: .85rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 1rem 1.1rem;
  box-shadow: var(--shsm)
}
.step-n { width: 40px; height: 40px; border-radius: 14px; display: grid; place-items: center; font-weight: 800; color: #fff; flex-shrink: 0 }

/* ---------- Services ---------- */
.svc-layout { display: grid; grid-template-columns: 1fr; gap: 1.1rem }
@media(min-width:960px) {
  .svc-layout { grid-template-columns: 280px 1fr; align-items: start }
}
.svc-side { background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 1.1rem; position: sticky; top: 96px }
.searchbox { position: relative; margin-bottom: .8rem }
.searchbox input {
  width: 100%;
  border-radius: 14px;
  border: 1.5px solid var(--line);
  background: var(--card2);
  padding: .7rem .9rem .7rem 2.4rem;
  font-family: inherit;
  font-size: .86rem;
  color: var(--ink)
}
.searchbox i { position: absolute; left: .85rem; top: .85rem; color: var(--faint) }
.catpills { display: flex; flex-wrap: wrap; gap: .35rem }
.catpill {
  border: 1.5px solid var(--line);
  background: var(--card);
  border-radius: 100px;
  padding: .38rem .75rem;
  font-size: .72rem;
  font-weight: 800;
  cursor: pointer;
  color: var(--muted)
}
.catpill.on { background: var(--ink); color: var(--bg); border-color: var(--ink) }
.svc-grid { display: grid; grid-template-columns: 1fr; gap: .9rem }
@media(min-width:640px) {
  .svc-grid { grid-template-columns: repeat(2, 1fr) }
}
.svc {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shsm);
  transition: transform .25s, box-shadow .25s;
  display: flex;
  flex-direction: column
}
.svc:hover { transform: translateY(-4px); box-shadow: var(--sh) }
.svc-top { padding: 1rem 1.1rem .2rem; display: flex; align-items: center; gap: .7rem }
.svc-emoji { width: 52px; height: 52px; border-radius: 18px; display: grid; place-items: center; font-size: 1.6rem; flex-shrink: 0 }
.svc-body { padding: .4rem 1.1rem 1.1rem; display: flex; flex-direction: column; flex: 1 }
.svc-body h3 { font-size: 1rem; margin: .2rem 0 .4rem }
.svc-body p { font-size: .84rem; color: var(--muted); line-height: 1.65; margin: 0 0 .8rem; flex: 1 }
.svc-foot { display: flex; align-items: center; justify-content: space-between; border-top: 1px dashed var(--line); padding-top: .7rem }
.svc-num { font-size: .68rem; font-weight: 800; letter-spacing: .12em; color: var(--faint) }

/* ---------- Property desks (warranty / insurance / real estate / mortgage) ---------- */
.prop {
  border-radius: 28px;
  padding: clamp(22px, 3.5vw, 40px);
  margin-bottom: 1.1rem;
  border: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.4rem;
  align-items: center
}
@media(min-width:900px) {
  .prop { grid-template-columns: 1fr 1fr }
  .prop.flip { direction: rtl }
  .prop.flip>* { direction: ltr }
}
.prop-vis { display: grid; place-items: center }
.prop-blob {
  width: min(260px, 80%);
  aspect-ratio: 1;
  border-radius: 36px;
  display: grid;
  place-items: center;
  font-size: 4.2rem;
  background: rgba(255, 255, 255, .6);
  border: 2px dashed rgba(0, 0, 0, .12)
}
[data-mode="night"] .prop-blob { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .14) }
.prop ul { list-style: none; margin: 0 0 1.1rem; padding: 0; display: grid; gap: .45rem }
.prop li { display: flex; gap: .55rem; font-size: .89rem; color: var(--muted) }
.prop li i { color: var(--brand); margin-top: 3px }

/* ---------- Why us ---------- */
.stack { display: grid; gap: .9rem }
.stick-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: clamp(20px, 2.6vw, 30px);
  box-shadow: var(--shsm);
  position: sticky;
  top: 96px;
  display: flex;
  gap: 1rem;
  align-items: flex-start
}
.stick-card .ic { width: 52px; height: 52px; border-radius: 18px; display: grid; place-items: center; font-size: 1.5rem; flex-shrink: 0 }

/* ---------- Testimonials ---------- */
.t-layout { display: grid; grid-template-columns: 1fr; gap: 1rem }
@media(min-width:920px) {
  .t-layout { grid-template-columns: 1.15fr .85fr }
}
.t-feature {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 26px;
  padding: clamp(22px, 3vw, 36px);
  box-shadow: var(--sh);
  position: relative;
  overflow: hidden
}
.t-feature::before {
  content: "“";
  position: absolute;
  top: -8px;
  right: 16px;
  font-size: 7rem;
  line-height: 1;
  color: var(--brand);
  opacity: .12
}
.t-stars { color: var(--sun); letter-spacing: .15em; margin-bottom: .7rem }
.t-text { font-size: clamp(1.02rem, 1.6vw, 1.25rem); line-height: 1.7; font-weight: 600 }
.t-list { display: grid; gap: .6rem; align-content: start }
.t-pick {
  display: flex;
  gap: .7rem;
  align-items: center;
  background: var(--card);
  border: 1.5px solid var(--line);
  border-radius: 18px;
  padding: .7rem .8rem;
  cursor: pointer;
  text-align: left;
  width: 100%;
  color: var(--ink);
  transition: .2s
}
.t-pick.on { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(79, 70, 229, .14) }
.t-av {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 800;
  color: #fff;
  flex-shrink: 0;
  font-size: .85rem
}

/* ---------- FAQ ---------- */
.faq-layout { display: grid; grid-template-columns: 1fr; gap: 1.4rem }
@media(min-width:960px) {
  .faq-layout { grid-template-columns: .8fr 1.2fr; align-items: start }
}
.faq-item { border-bottom: 1px solid var(--line); padding: .4rem 0 }
.faq-q {
  width: 100%;
  background: none;
  border: 0;
  color: var(--ink);
  display: flex;
  gap: .7rem;
  align-items: center;
  text-align: left;
  cursor: pointer;
  padding: .9rem .2rem;
  font-weight: 800;
  font-size: .94rem
}
.faq-q .n { font-size: .68rem; color: var(--brand); letter-spacing: .1em; flex-shrink: 0 }
.faq-q .pl {
  margin-left: auto;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  transition: .3s;
  font-size: .7rem
}
.faq-item.open .pl { background: var(--brand); color: #fff; border-color: var(--brand); transform: rotate(135deg) }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s }
.faq-item.open .faq-a { grid-template-rows: 1fr }
.faq-a>div { overflow: hidden; min-height: 0 }
.faq-a p { margin: 0; padding: 0 .2rem 1rem 2.2rem; color: var(--muted); font-size: .88rem }

/* ---------- Newsletter band ---------- */
.news-band { background: var(--sun); color: #231A05; border-block: 1px solid var(--line) }
.news-grid { display: grid; grid-template-columns: 1fr; gap: 1.4rem; align-items: center }
@media(min-width:960px) {
  .news-grid { grid-template-columns: 1fr 1fr }
}
.news-card { background: #fff; border-radius: 24px; padding: clamp(18px, 2.5vw, 28px); color: #131A2E; box-shadow: var(--sh) }

/* ---------- Contact ---------- */
.ct-tiles { display: grid; grid-template-columns: 1fr; gap: .7rem; margin-bottom: 1.1rem }
@media(min-width:700px) {
  .ct-tiles { grid-template-columns: repeat(2, 1fr) }
}
@media(min-width:1000px) {
  .ct-tiles { grid-template-columns: repeat(4, 1fr) }
}
.ct-tile {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 1rem;
  display: flex;
  gap: .7rem;
  align-items: flex-start
}
.ct-tile .e { width: 42px; height: 42px; border-radius: 14px; display: grid; place-items: center; font-size: 1.2rem; flex-shrink: 0 }
.ct-main { display: grid; grid-template-columns: 1fr; gap: 1rem }
@media(min-width:960px) {
  .ct-main { grid-template-columns: 1.2fr .8fr; align-items: start }
}
.formcard { background: var(--card); border: 1px solid var(--line); border-radius: 24px; padding: clamp(18px, 2.6vw, 28px); box-shadow: var(--shsm) }
.fld { position: relative; margin-bottom: .8rem }
.fld>label {
  position: absolute;
  left: .85rem;
  top: .82rem;
  font-size: .84rem;
  color: var(--faint);
  pointer-events: none;
  transition: .2s;
  transform-origin: left top
}
.fld input,
.fld select,
.fld textarea {
  width: 100%;
  background: var(--card2);
  border: 1.5px solid var(--line);
  border-radius: 14px;
  color: var(--ink);
  font-family: inherit;
  font-size: .9rem;
  padding: 1.25rem .85rem .4rem;
  appearance: none
}
.fld textarea { min-height: 110px; resize: vertical }
.fld input:focus,
.fld select:focus,
.fld textarea:focus { outline: none; border-color: var(--brand); background: var(--card) }
.fld input:focus+label,
.fld input:not(:placeholder-shown)+label,
.fld textarea:focus+label,
.fld textarea:not(:placeholder-shown)+label,
.fld.up>label { transform: translateY(-.55rem) scale(.74); color: var(--brand) }
.fld select { cursor: pointer }
.fld select option { background: var(--card); color: var(--ink) }
.fld .car { position: absolute; right: .85rem; top: .9rem; color: var(--faint); pointer-events: none }
.fld.bad input,
.fld.bad select,
.fld.bad textarea { border-color: #E05252 }
.errm { display: none; font-size: .7rem; font-weight: 700; color: #E05252; margin-top: .2rem }
.fld.bad .errm { display: block }
.tick { display: flex; gap: .6rem; align-items: flex-start; cursor: pointer; margin: .4rem 0 .9rem }
.tick input {
  appearance: none;
  width: 20px;
  height: 20px;
  border: 1.5px solid var(--line);
  border-radius: 7px;
  background: var(--card2);
  flex-shrink: 0;
  margin-top: 2px;
  cursor: pointer;
  position: relative
}
.tick input:checked { background: var(--brand); border-color: var(--brand) }
.tick input:checked::after {
  content: "✓";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: .72rem;
  font-weight: 800
}
.tick.bad input { border-color: #E05252 }
.tick span { font-size: .8rem; color: var(--muted) }
.okbox {
  display: none;
  gap: .5rem;
  align-items: center;
  margin-top: .7rem;
  padding: .7rem .9rem;
  border-radius: 14px;
  background: #DDF7E8;
  color: #0B5C36;
  font-size: .84rem;
  font-weight: 600
}
.okbox.show { display: flex }

/* ---------- Footer ---------- */
.foot { background: #0D1430; color: #DCE4FF; border-radius: 32px 32px 0 0; margin-top: 1rem }
.foot-grid { display: grid; grid-template-columns: 1fr; gap: 1.4rem; padding: clamp(32px, 4vw, 52px) 0 1rem }
@media(min-width:640px) {
  .foot-grid { grid-template-columns: 1fr 1fr }
}
@media(min-width:1000px) {
  .foot-grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr }
}
.foot h5 { font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; color: #A5A0FF; margin: 0 0 .8rem }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .35rem }
.foot ul a { font-size: .85rem; color: #AEB9D8 }
.foot ul a:hover { color: #fff }
.soc { display: flex; gap: .45rem; margin-top: 1rem }
.soc a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .2);
  display: grid;
  place-items: center;
  color: #DCE4FF
}
.soc a:hover { background: #fff; color: #0D1430 }
.foot-end {
  border-top: 1px solid rgba(255, 255, 255, .12);
  padding: 1rem 0 1.3rem;
  display: flex;
  flex-wrap: wrap;
  gap: .7rem;
  justify-content: space-between;
  align-items: center
}
.foot-end p { margin: 0; font-size: .76rem; color: #8A97C2 }
.foot-end button { background: none; border: 0; color: #AEB9D8; font-size: .76rem; cursor: pointer }
.foot-end button:hover { color: #fff }
.foot-end a { color: #AEB9D8; font-size: .76rem }
.foot-end a:hover { color: #fff }
.cta-banner {
  background: linear-gradient(135deg, var(--brand), #9D7BFF);
  border-radius: 26px;
  padding: clamp(22px, 3.5vw, 38px);
  color: #fff;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.6rem
}

/* ---------- Legal text ---------- */
.legal h5 { font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--brand); margin: 1.2rem 0 .4rem }
.legal p,
.legal li { font-size: .87rem; color: var(--muted) }

/* ---------- Misc ---------- */
.totop {
  position: fixed;
  right: 16px;
  bottom: 16px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--brand);
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: var(--shsm);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: .3s;
  z-index: 1090
}
.totop.on { opacity: 1; visibility: visible; transform: none }
.mapbox {
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  background: var(--card2);
  height: 190px;
  position: relative;
  display: grid;
  place-items: center
}
.mapgrid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 28px 28px;
  opacity: .6
}

/* =========================================================
   Inner-page additions (page hero, legal pages, subscribe)
   ========================================================= */
.page-head { position: relative; overflow: hidden; padding: clamp(46px, 7vw, 84px) 0 clamp(26px, 4vw, 44px) }
.page-head .wrap { position: relative }
.page-head-inner { max-width: 780px }
.crumb {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  flex-wrap: wrap;
  font-size: .74rem;
  font-weight: 700;
  color: var(--faint);
  margin-bottom: .9rem
}
.crumb a { color: var(--muted) }
.crumb a:hover { color: var(--brand) }
.crumb i { font-size: .58rem }
.page-title { font-size: clamp(2.1rem, 4.8vw, 3.3rem); letter-spacing: -.045em; line-height: 1.05 }
.legal-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 26px;
  box-shadow: var(--shsm);
  padding: clamp(20px, 3.4vw, 42px)
}
.legal-card .legal h5:first-child { margin-top: 0 }
.narrow { max-width: 640px; margin: 0 auto }
.subscribe-grid { display: grid; grid-template-columns: 1fr; gap: clamp(22px, 3vw, 40px); align-items: start }
@media(min-width:960px) {
  .subscribe-grid { grid-template-columns: 1.05fr .95fr }
}
.benefit-list { list-style: none; padding: 0; margin: 1.1rem 0 0; display: grid; gap: .55rem }
.benefit-list li { display: flex; gap: .55rem; font-size: .92rem; color: var(--muted) }
.benefit-list li i { color: var(--brand); margin-top: 3px }
.unsub-link {
  display: inline-block;
  background: none;
  border: 0;
  padding: 0;
  text-decoration: underline;
  font-size: .8rem;
  font-weight: 700;
  cursor: pointer;
  color: inherit
}
.pill-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shsm)
}
.p-small { font-size: .82rem; color: var(--muted); line-height: 1.7 }
.t-card { font-size: 1rem }
