/*
  Homesick Soft Swiss Pop visual layer.
  Visual-only override: the existing logo asset, content, links and scripts stay intact.
*/

html:root {
  --bg: #f7f3ed;
  --bg2: #bda0d1;
  --panel: #fffdf9;
  --panelSolid: #fffdf9;
  --text: #271f2b;
  --muted: #655c67;
  --line: rgba(39,31,43,.2);
  --purple: #745292;
  --purple2: #271f2b;
  --lav: #745292;
  --gold: #a56d1d;
  --red: #a94e5f;
  --green: #267b58;
  --shadow: 8px 9px 0 rgba(39,31,43,.17);
  --nav: rgba(247,243,237,.96);
  --paper: #f7f3ed;
  --white: #fffdf9;
  --ink: #271f2b;
  --purple-pop: #bda0d1;
  --yellow-pop: #f0cf6d;
  --mint-pop: #a9d8bc;
  --pale-purple: #e8ddec;
}

html {
  max-width: 100%;
  overflow-x: hidden;
}

html body {
  color: var(--ink);
  background: var(--paper);
  font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

body .noise { display: none; }
body ::selection { color: #fff; background: #745292; }
body .shell { width: min(1240px, calc(100% - 42px)); }

body button:focus-visible,
body a:focus-visible,
body input:focus-visible,
body select:focus-visible,
body textarea:focus-visible {
  outline: 3px solid #745292;
  outline-offset: 3px;
}

/* Keep the existing Homesick logo asset untouched. */
body .nav {
  background: var(--nav);
  border-bottom: 2px solid var(--ink);
  box-shadow: none;
  backdrop-filter: blur(12px);
}

body .navin { height: 76px; }
body .logo { width: 157px; }
body .links { gap: 27px; color: #554d57; font-size: 11px; font-weight: 850; }
body .links a:hover { color: #745292; }

body .btn,
body .btn2,
body .nextBtn,
body .backBtn {
  min-height: 48px;
  padding: 13px 17px;
  border: 2px solid var(--ink);
  border-radius: 10px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  box-shadow: none;
}

body .btn,
body .nextBtn { color: #fff; background: var(--ink); }
body .btn2,
body .backBtn { color: var(--ink); background: transparent; }

body .btn:hover,
body .btn2:hover,
body .nextBtn:hover,
body .backBtn:hover {
  transform: translate(-2px,-2px);
  box-shadow: 4px 5px 0 rgba(39,31,43,.18);
}

body .navCta.btn,
body .navCta.btn2 {
  min-height: 42px;
  padding: 10px 14px;
}

body .eyebrow {
  gap: 10px;
  padding: 0;
  border: 0;
  border-radius: 0;
  color: #57415f;
  background: transparent;
  font-size: 11px;
  letter-spacing: .13em;
}

body .dotGold {
  width: 9px;
  height: 9px;
  border-radius: 0;
  background: var(--yellow-pop);
  box-shadow: none;
  transform: rotate(45deg);
}

body .kicker { color: #65467d; font-size: 11px; letter-spacing: .12em; }
body .lav { color: #745292; }
body .gold { color: #93621f; }
body .muted { color: var(--muted); }

body .section {
  padding: 105px 0;
  border-top: 2px solid var(--ink);
}

body main > .section:nth-of-type(2) { background: var(--yellow-pop); }
body main > .section:nth-of-type(3) { background: var(--mint-pop); }
body main > .section:nth-of-type(4) { background: var(--paper); }
body main > .section:nth-of-type(5) { background: var(--pale-purple); }
body main > .section:nth-of-type(6) { background: var(--white); }
body main > .section:nth-of-type(7) { background: var(--paper); }

body .head {
  display: grid;
  grid-template-columns: minmax(0,1.1fr) minmax(300px,.9fr);
  gap: 70px;
  align-items: end;
  margin-bottom: 48px;
}

body .head h2,
body .final h2,
body .pageHero h1 {
  font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
  font-weight: 900;
}

body .head h2 {
  max-width: 850px;
  margin: 17px 0 0;
  font-size: clamp(52px,5.7vw,78px);
  line-height: 1.12;
  letter-spacing: -.045em;
}

body .head h2 .lav {
  padding: 0 .07em;
  color: var(--ink);
  background: var(--purple-pop);
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

body .head > p {
  max-width: 620px;
  margin: 0;
  color: #5f5661;
  font-size: 16px;
  line-height: 1.7;
}

/* Hero */
body .hero {
  grid-template-columns: minmax(0,1.05fr) minmax(450px,.95fr);
  gap: 66px;
  min-height: 760px;
  padding-top: 70px;
  padding-bottom: 76px;
}

body .heroHello {
  margin: 28px 0 9px;
  color: #544b56;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0;
}

body .hero h1 {
  max-width: 820px;
  margin: 0;
  font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
  font-size: clamp(60px,6vw,86px);
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: -.05em;
}

body .hero h1 .lav {
  padding: 0 .06em;
  color: var(--ink);
  background: var(--purple-pop);
  font-style: normal;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

body .lead {
  max-width: 710px;
  margin-top: 28px;
  color: #5f5661;
  font-size: 17px;
  line-height: 1.7;
}

body .heroActions { margin-top: 30px; }
body .micro { margin-top: 17px; color: #716873; font-size: 13px; line-height: 1.6; }

body .signalGrid {
  gap: 0;
  margin-top: 47px;
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
}

body .signal {
  min-height: 98px;
  padding: 17px 14px;
  border: 0;
  border-right: 1px solid var(--ink);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

body .signal:last-child { border-right: 0; }
body .signal:nth-child(1),
body .signal:nth-child(2),
body .signal:nth-child(3) { border-top: 0; }
body .signal .brandIcon { width: 25px; height: 25px; margin-bottom: 9px; }
body .signal strong { font-size: 14px; }
body .signal span { margin-top: 4px; color: #645b66; font-size: 12px; line-height: 1.45; }

body .heroVisual {
  width: min(100%,620px);
  min-height: 620px;
  padding: 48px 27px;
  border: 2px solid var(--ink);
  background: var(--purple-pop);
  box-shadow: var(--shadow);
  overflow: hidden;
}

body .heroVisual:before,
body .heroVisual:after {
  content: "";
  position: absolute;
  z-index: 0;
  border: 2px solid rgba(39,31,43,.2);
  border-radius: 50%;
  pointer-events: none;
}

body .heroVisual:before { width: 73%; height: 65%; }
body .heroVisual:after { width: 53%; height: 82%; transform: rotate(42deg); }
body .heroVisual .halo { display: none; }

body .readyCard {
  width: min(100%,455px);
  padding: 27px;
  border: 2px solid var(--ink);
  border-radius: 14px;
  background: var(--white);
  box-shadow: 8px 9px 0 rgba(39,31,43,.2);
  transform: none;
}

body .readyTop strong { font-size: 15px; letter-spacing: -.02em; }
body .readyCity { margin-top: 5px; color: #6e6570; font-size: 10px; }
body .scoreBig { color: var(--ink); font-size: 65px; }
body .scoreBig span { color: #6d646f; font-size: 12px; }

body .readyNotice {
  margin-top: 18px;
  padding: 12px 0;
  border: 0;
  border-top: 2px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  border-radius: 0;
  background: transparent;
}

body .noticeMark { background: var(--yellow-pop); color: var(--ink); }
body .readyNotice b { font-size: 13px; }
body .readyNotice span:not(.noticeMark) { color: #655c67; font-size: 12px; }
body .readinessBar { height: 7px; border-radius: 0; background: #e4dde6; }
body .readinessBar i { border-radius: 0; background: var(--purple); }
body .checkRows { gap: 0; }
body .checkRow { padding: 11px 2px; border: 0; border-bottom: 1px solid #d8d1d8; border-radius: 0; background: transparent; font-size: 12px; }
body .state { font-size: 10px; }
body .protectionGrid { gap: 8px; border-top-color: #d8d1d8; }
body .protectionItem { border-color: #d8d1d8; border-radius: 10px; background: #f0e9f3; }
body .protectionItem b { font-size: 12px; }
body .protectionItem small { font-size: 11px; }

/* How it works — horizontal Swiss rows */
body .process {
  display: block;
  border-top: 3px solid var(--ink);
}

body .processCard {
  display: grid;
  grid-template-columns: 62px 36px minmax(220px,.75fr) minmax(280px,1fr);
  gap: 22px;
  align-items: center;
  min-height: 0;
  padding: 24px 4px;
  border: 0;
  border-bottom: 1px solid var(--ink);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

body .processCard:hover { border-color: var(--ink); box-shadow: none; transform: none; }
body .processCard .num { color: var(--ink); font-size: 20px; letter-spacing: -.03em; }
body .processCard > .brandIcon { width: 29px; height: 29px; margin: 0; background-color: var(--ink); }
body .processCard > .brandIcon + h3,
body .processCard h3 { margin: 0; font-size: 21px; line-height: 1.15; letter-spacing: -.035em; }
body .processCard p { margin: 0; color: #5e555f; font-size: 14px; line-height: 1.55; }

/* Human backup — mint section with one dark concierge panel */
body .promise { gap: 22px; }
body .promiseMain,
body .promiseOutcome {
  padding: 38px;
  border: 2px solid var(--ink);
  border-radius: 14px;
  box-shadow: none;
}
body .promiseMain { background: rgba(255,255,255,.28); }
body .promiseMain h2 { font-size: clamp(44px,4.7vw,66px); font-weight: 900; line-height: 1.12; letter-spacing: -.045em; }
body .promiseMain h2 .lav { padding: 0 .06em; color: var(--ink); background: var(--yellow-pop); }
body .promiseMain p { color: #505852; font-size: 16px; line-height: 1.7; }
body .promiseOutcome { color: #fff; background: var(--ink); }
body .promiseOutcome .kicker { color: var(--yellow-pop); }
body .outcomeItem { padding: 21px 0; border-bottom-color: rgba(255,255,255,.2); font-size: 17px; }
body .pillrow { gap: 7px; }
body .pill { padding: 8px 10px; border: 2px solid var(--ink); border-radius: 9px; background: rgba(255,255,255,.22); color: var(--ink); font-size: 11px; }

/* Plans — high clarity, no gradients */
body .planGrid { gap: 22px; }
body .planCard {
  padding: 34px;
  border: 2px solid var(--ink);
  border-radius: 14px;
  background: var(--white);
  box-shadow: none;
}

body .planCard.featured {
  color: #fff;
  background: var(--ink);
  border-color: var(--ink);
  box-shadow: none;
}

body .planCard.featured:before { display: none; }
body .planName { color: var(--ink); font-size: 11px; }
body .planName .brandIcon { background-color: var(--ink); }
body .planCard.featured .planName { color: #fff; }
body .planCard.featured .planName .brandIcon { background-color: var(--yellow-pop); }
body .best,
body .planCard .pill { border: 2px solid var(--ink); border-radius: 8px; background: var(--yellow-pop); color: var(--ink); }
body .planCard.featured .best { background: var(--mint-pop); }
body .price { margin: 24px 0 14px; font-size: 72px; }
body .price small { font-size: 10px; }
body .planDesc { min-height: 56px; color: #615862; font-size: 14px; line-height: 1.65; }
body .features li { padding: 12px 0; border-top-color: #d8d1d8; font-size: 13px; }
body .features li:before { color: var(--green); }
body .planCard.featured .planDesc,
body .planCard.featured .price small { color: #c9bdca; }
body .planCard.featured .features li { border-top-color: rgba(255,255,255,.2); }
body .planCard.featured .features li:before { color: var(--yellow-pop); }
body .planCard.featured .btn { color: var(--ink); background: var(--yellow-pop); border-color: var(--yellow-pop); }

body .compareWrap {
  margin-top: 30px;
  border: 2px solid var(--ink);
  border-radius: 12px;
  background: var(--white);
  box-shadow: none;
}
body th,
body td { padding: 17px 18px; border-bottom-color: #d8d1d8; font-size: 13px; }
body th { color: #5f5661; font-size: 11px; }

/* Boundaries — two readable sheets */
body .scopeGrid { gap: 18px; }
body .scopeCard {
  padding: 34px;
  border: 2px solid var(--ink);
  border-radius: 12px;
  background: rgba(255,255,255,.62);
  box-shadow: none;
}
body .scopeCard.ok,
body .scopeCard.limit { border-color: var(--ink); }
body .scopeCard > .brandIcon { width: 32px; height: 32px; }
body .scopeCard h3 { margin-top: 16px; font-size: 28px; }
body .scopeCard ul { color: #5d555f; font-size: 14px; line-height: 1.75; }
body .scopeNote { color: #665d67; font-size: 13px; line-height: 1.65; }

/* FAQ — no card grid */
body .faq {
  grid-template-columns: 1fr;
  gap: 0;
  width: min(930px,100%);
  margin-left: auto;
  border-top: 3px solid var(--ink);
}
body .faq details { padding: 23px 3px; border: 0; border-bottom: 1px solid var(--ink); border-radius: 0; background: transparent; box-shadow: none; }
body .faq summary { font-size: 19px; }
body .faq p { max-width: 760px; color: #5f5661; font-size: 14px; line-height: 1.7; }

/* Final brand moment — existing Meh Q art */
body .finalBox,
body .finalWithMascot {
  color: #fff;
  border: 2px solid var(--ink);
  border-radius: 14px;
  background: var(--ink);
  box-shadow: none;
}
body .finalBox .eyebrow { color: var(--yellow-pop); }
body .final h2 { font-size: clamp(48px,5.6vw,76px); line-height: 1.12; letter-spacing: -.045em; }
body .final h2 .lav { padding: 0 .06em; color: var(--ink); background: var(--purple-pop); }
body .finalBox p { color: #c9bdca; font-size: 16px; line-height: 1.7; }
body .finalBox .btn { color: var(--ink); background: var(--yellow-pop); border-color: var(--yellow-pop); }
body .finalMascot { padding: 7px; border: 2px solid #fff; border-radius: 12px; background: var(--white); box-shadow: none; transform: none; }
body .finalMascot img { border-radius: 7px; }
body .finalContact { color: #bcb1be; font-size: 13px; }
body .finalContact a { color: #fff; }

/* China Ready Check — calm utility */
body .pageHero {
  padding-top: 70px;
  padding-bottom: 43px;
  border-bottom: 2px solid var(--ink);
}
body .pageHero:after { display: none; }
body .pageHero h1 { max-width: 920px; font-size: clamp(60px,6.4vw,89px); line-height: 1.12; letter-spacing: -.045em; }
body .pageHero h1 .lav { padding: 0 .06em; color: var(--ink); background: var(--purple-pop); }
body .pageHero p { max-width: 760px; color: #5e555f; font-size: 17px; line-height: 1.7; }

body .quizWrap { grid-template-columns: minmax(280px,.7fr) minmax(0,1.3fr); gap: 28px; padding-top: 42px; }
body .sideCard,
body .quizPanel,
body .scoreCard,
body .resultCard {
  border: 2px solid var(--ink);
  border-radius: 14px;
  background: var(--white);
  box-shadow: none;
}
body .sideCard { top: 102px; background: var(--purple-pop); }
body .sideCard h3 { font-size: 27px; }
body .sideCard p { color: #554c56; font-size: 14px; line-height: 1.65; }
body .sideList { gap: 0; border-top: 2px solid var(--ink); }
body .sideList div { padding: 12px 2px; border-bottom: 1px solid rgba(39,31,43,.35); border-radius: 0; background: transparent; font-size: 12px; }
body .sideList .brandIcon { background-color: var(--ink); }

body .quizPanel { padding: 32px; }
body .progress { height: 7px; border-radius: 0; background: #e3dce4; }
body .progress div { border-radius: 0; background: var(--purple); }
body .counter { color: #625962; font-size: 11px; }
body .q { min-height: 410px; padding-top: 25px; }
body .q h2 { max-width: 780px; font-size: clamp(39px,4.2vw,56px); line-height: 1.12; letter-spacing: -.04em; }
body .q p { color: #5f5661; font-size: 15px; line-height: 1.65; }
body .fieldText,
body .opt { border: 2px solid #cfc7cf; border-radius: 10px; color: var(--ink); background: #fff; }
body .fieldText { font-size: 16px; }
body .opt { padding: 17px 18px; font-size: 14px; }
body .opt:hover { border-color: var(--purple); }
body .opt.selected { border-color: var(--ink); background: #e9dfee; box-shadow: inset 6px 0 0 var(--purple); }
body .actions { border-top-color: #d8d1d8; }

body .result { padding-top: 54px; }
body .resultHero { gap: 22px; }
body .scoreCard { background: var(--purple-pop); }
body .scoreRing { background-color: rgba(255,255,255,.38); }
body .scoreRing:after { background: var(--white); border-color: #d8d1d8; }
body .verdict { font-size: 27px; }
body .summaryText { color: #554d57; font-size: 14px; }
body .resultMascot { padding: 6px; border: 2px solid var(--ink); border-radius: 11px; background: var(--white); box-shadow: none; transform: none; }
body .resultMascot img { border-radius: 6px; }
body .statusGrid { gap: 8px; }
body .status { border: 2px solid #d8d1d8; border-radius: 10px; background: #fff; font-size: 12px; }
body .issue { border: 0; border-top: 1px solid #d8d1d8; border-radius: 0; background: transparent; }
body .issue strong { font-size: 14px; }
body .issue span { color: #5e5660; font-size: 13px; }
body .ctaBox { color: #fff; border: 2px solid var(--ink); border-radius: 12px; background: var(--ink); }
body .ctaBox p { color: #c9bdca; font-size: 14px; }
body .ctaBox .btn { color: var(--ink); background: var(--yellow-pop); border-color: var(--yellow-pop); }
body .ctaBox .btn2 { color: #fff; border-color: #fff; background: transparent; }

/* Footer */
body .footer { padding: 45px 0; border-top: 2px solid var(--ink); background: var(--purple-pop); }
body .footerBrand strong { color: var(--ink); font-size: 18px; }
body .footerBrand span,
body .footerBrand small { color: #554c56; font-size: 13px; }
body .footerLinks .footerContact { border-radius: 9px; color: var(--ink); }
body .footerContactIcon { border-radius: 8px; background: rgba(255,255,255,.55); }
body .footerLinks .footerContact:hover { border-color: var(--ink); border-radius: 9px; background: var(--white); box-shadow: none; }

@media (max-width: 1180px) {
  body .hero { grid-template-columns: 1fr; gap: 44px; min-height: auto; }
  body .hero > div:first-child { max-width: 920px; }
  body .heroVisual { justify-self: center; width: min(100%,760px); }
}

@media (max-width: 920px) {
  body .head { grid-template-columns: 1fr; gap: 23px; }
  body .promise,
  body .planGrid,
  body .scopeGrid,
  body .resultHero { grid-template-columns: 1fr; }
  body .processCard { grid-template-columns: 54px 34px minmax(190px,.7fr) 1fr; }
  body .quizWrap { grid-template-columns: 1fr; }
  body .sideCard { position: relative; top: auto; }
  body .signalGrid { grid-template-columns: repeat(3,minmax(0,1fr)); }
}

@media (max-width: 680px) {
  body .shell { width: min(100% - 28px,1240px); }
  body .navin { height: 68px; }
  body .logo { width: 137px; }
  body .section { padding: 75px 0; }
  body .head h2 { font-size: 48px; }
  body .head > p { font-size: 15px; }
  body .hero { gap: 38px; padding: 52px 0 59px; }
  body .hero h1 { font-size: clamp(48px,13.8vw,60px); }
  body .lead { font-size: 15px; }
  body .signalGrid { grid-template-columns: 1fr; }
  body .signal { min-height: 0; border-right: 0; border-bottom: 1px solid var(--ink); }
  body .signal:last-child { border-bottom: 0; }
  body .heroVisual { min-height: 560px; padding: 28px 12px; box-shadow: 5px 6px 0 rgba(39,31,43,.16); }
  body .readyCard { width: 100%; padding: 20px; }
  body .protectionGrid { grid-template-columns: 1fr; }
  body .processCard { grid-template-columns: 70px 30px minmax(0,1fr); gap: 10px 12px; }
  body .processCard .num { font-size: 11px; letter-spacing: .02em; white-space: nowrap; }
  body .processCard h3 { grid-column: 3; }
  body .processCard p { grid-column: 3; }
  body .promiseMain,
  body .promiseOutcome,
  body .planCard,
  body .scopeCard { padding: 27px 22px; }
  body .price { font-size: 63px; }
  body .faq summary { font-size: 17px; }
  body .finalWithMascot { padding: 35px 20px 20px; }
  body .pageHero { padding-top: 48px; }
  body .pageHero h1 { font-size: clamp(44px,12vw,50px); }
  body .pageHero p { font-size: 15px; }
  body .quizWrap { padding-top: 28px; }
  body .quizPanel { padding: 22px 18px; }
  body .q { min-height: 370px; }
  body .q h2 { font-size: 38px; }
  body .statusGrid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  body .btn,
  body .btn2,
  body .nextBtn,
  body .backBtn,
  body .opt { transition: none; }
}
