/* Huggui homepage — product-led landing page */

.home-page {
  --home-bg: #fff8e9;
  --home-surface: #ffefca;
  --home-surface-strong: #f6dca7;
  --home-ink: #342819;
  --home-muted: #6d5b41;
  --home-line: rgba(77, 57, 30, 0.18);
  --home-green: #287b5b;
  --home-green-dark: #1f5e47;
  --home-red: #b9453e;
  --home-brown: #3e301f;
  --home-radius: 30px;
  background: var(--home-bg);
  color: var(--home-ink);
  overflow-x: hidden;
}

.home-page h1,
.home-page h2,
.home-page h3 {
  color: var(--home-ink);
  letter-spacing: -0.035em;
}

.home-page h1 {
  margin: 0;
  font-size: clamp(2.65rem, 5.2vw, 4.8rem);
  line-height: 0.98;
  max-width: 900px;
}

.home-page h2 {
  margin: 0;
  font-size: clamp(2.2rem, 4.5vw, 4.25rem);
  line-height: 1.02;
}

.home-page h3 {
  margin: 0;
  font-size: 1.35rem;
  line-height: 1.18;
}

.home-page p {
  color: var(--home-muted);
}

.home-page a {
  text-underline-offset: 4px;
}

.site-nav {
  width: min(1180px, calc(100% - 40px));
  min-height: 80px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  border-bottom: 1px solid var(--home-line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--home-ink);
  text-decoration: none;
  font-size: 1.35rem;
  font-weight: 760;
  letter-spacing: -0.03em;
  flex-shrink: 0;
}

.brand picture {
  line-height: 0;
}

.brand-mascot {
  display: block;
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: 50%;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav-links a {
  color: var(--home-muted);
  text-decoration: none;
  font-size: 0.93rem;
  font-weight: 650;
}

.nav-links a:hover,
.footer-nav a:hover {
  color: var(--home-green-dark);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  padding: 4px;
  border: 1px solid var(--home-line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.4);
}

.lang-switch a {
  padding: 5px 8px;
  border-radius: 999px;
  color: var(--home-muted);
  text-decoration: none;
  font-size: 0.72rem;
  font-weight: 800;
}

.lang-switch a.active {
  color: var(--home-ink);
  background: var(--home-surface-strong);
}

.nav-cta,
.primary-button,
.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: var(--home-brown);
  border: 1px solid var(--home-brown);
  border-radius: 999px;
  text-decoration: none;
  font-weight: 760;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.nav-cta {
  min-height: 43px;
  padding: 0 19px;
  font-size: 0.9rem;
}

.primary-button,
.secondary-button {
  min-height: 56px;
  padding: 0 27px;
}

.nav-cta:hover,
.primary-button:hover {
  color: #fff;
  background: #241a10;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(52, 40, 25, 0.18);
}

.home-page main {
  display: block;
}

.hero {
  width: min(1180px, calc(100% - 40px));
  min-height: 760px;
  margin: 0 auto;
  padding: 74px 0 84px;
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(390px, 0.94fr);
  align-items: center;
  gap: clamp(40px, 7vw, 105px);
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--home-green-dark) !important;
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-lead {
  max-width: 680px;
  margin: 28px 0 0;
  font-size: clamp(1.08rem, 1.6vw, 1.3rem);
  line-height: 1.62;
}

.hero-actions {
  margin-top: 34px;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.text-link {
  color: var(--home-ink);
  font-weight: 750;
  text-decoration: none;
}

.text-link:hover {
  color: var(--home-green-dark);
}

.free-note {
  max-width: 610px;
  margin-top: 19px;
  padding-left: 19px;
  border-left: 2px solid var(--home-green);
  font-size: 0.9rem;
  line-height: 1.55;
}

.hero-visual {
  min-height: 620px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-visual::before {
  content: "";
  position: absolute;
  width: min(100%, 520px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--home-surface-strong);
  opacity: 0.72;
}

.phone-frame {
  position: relative;
  overflow: hidden;
  background: #fff2d2;
  border: 7px solid var(--home-brown);
  border-radius: 42px;
  box-shadow: 0 26px 70px rgba(65, 47, 24, 0.22);
}

.phone-frame::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 50%;
  width: 30%;
  height: 20px;
  z-index: 2;
  transform: translateX(-50%);
  border-radius: 999px;
  background: #111;
}

.phone-frame img {
  display: block;
  width: 100%;
  height: auto;
}

.phone-home {
  width: min(320px, 72%);
  height: 622px;
  z-index: 1;
}

.result-card {
  position: absolute;
  z-index: 3;
  width: 230px;
  padding: 17px 19px;
  border: 1px solid rgba(58, 47, 31, 0.16);
  border-radius: 18px;
  background: rgba(255, 249, 235, 0.96);
  box-shadow: 0 14px 34px rgba(58, 47, 31, 0.15);
  backdrop-filter: blur(7px);
}

.result-card span,
.result-card small {
  display: block;
  color: var(--home-muted);
}

.result-card span {
  font-size: 0.75rem;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.result-card strong {
  display: block;
  margin: 3px 0;
  color: var(--home-green);
  font-size: 1.55rem;
  letter-spacing: -0.04em;
}

.result-card small {
  font-size: 0.73rem;
  line-height: 1.4;
}

.result-card-profit {
  top: 235px;
  left: -90px;
}

.result-card-hours {
  right: -35px;
  bottom: 90px;
}

.proof-strip {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--home-line);
  border-bottom: 1px solid var(--home-line);
}

.proof-strip p {
  margin: 0;
  padding: 28px 32px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.proof-strip p + p {
  border-left: 1px solid var(--home-line);
}

.proof-strip strong {
  color: var(--home-ink);
  font-size: 0.95rem;
}

.proof-strip span {
  font-size: 0.82rem;
  line-height: 1.45;
}

.story-section,
.signals-section {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 130px 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 55px;
}

.section-heading > p:last-child {
  max-width: 650px;
  margin-top: 20px;
  font-size: 1.08rem;
  line-height: 1.62;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: stretch;
  gap: 18px;
}

.step-card {
  min-height: 320px;
  padding: 29px;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--home-line);
  border-radius: var(--home-radius);
  background: rgba(255, 255, 255, 0.36);
}

.step-card.featured {
  background: var(--home-surface);
}

.step-number {
  width: 45px;
  height: 45px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: auto;
  border: 1px solid var(--home-line);
  border-radius: 50%;
  color: var(--home-green-dark);
  font-size: 0.78rem;
  font-weight: 800;
}

.step-card h3 {
  margin-top: 48px;
  font-size: 1.6rem;
}

.step-card p {
  margin-top: 13px;
  line-height: 1.6;
}

.time-section {
  margin: 0;
  padding: 125px max(20px, calc((100vw - 1180px) / 2));
  display: grid;
  grid-template-columns: minmax(330px, 0.82fr) minmax(0, 1.18fr);
  align-items: center;
  gap: clamp(60px, 9vw, 140px);
  background: var(--home-brown);
}

.time-copy h2 {
  color: #fff7e8;
}

.time-copy > p:not(.eyebrow) {
  max-width: 650px;
  margin-top: 21px;
  color: rgba(255, 247, 232, 0.72);
  font-size: 1.07rem;
  line-height: 1.65;
}

.time-section .eyebrow {
  color: #e8bd70 !important;
}

.report-visual {
  text-align: center;
}

.phone-report {
  width: min(370px, 100%);
  height: auto;
  aspect-ratio: 1242 / 2688;
  margin: 0 auto;
  border-color: #171109;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.35);
}

.visual-note {
  margin: 14px auto 0;
  color: rgba(255, 247, 232, 0.56) !important;
  font-size: 0.75rem;
}

.metric-list {
  margin-top: 38px;
  border-top: 1px solid rgba(255, 247, 232, 0.16);
}

.metric-list > div {
  padding: 20px 0;
  display: grid;
  grid-template-columns: 45px 1fr;
  gap: 18px;
  border-bottom: 1px solid rgba(255, 247, 232, 0.16);
}

.metric-list span {
  color: #e8bd70;
  font-size: 0.8rem;
  font-weight: 800;
}

.metric-list p {
  margin: 0;
  color: rgba(255, 247, 232, 0.66);
  font-size: 0.9rem;
}

.metric-list strong {
  display: block;
  margin-bottom: 3px;
  color: #fff7e8;
  font-size: 1rem;
}

.signals-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  gap: 18px;
}

.signal-card {
  min-height: 260px;
  padding: 28px;
  border: 1px solid var(--home-line);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.42);
}

.signal-card.signal-large {
  background: var(--home-surface-strong);
}

.signal-mark {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 58px;
  border-radius: 50%;
  background: var(--home-bg);
  color: var(--home-green-dark);
  font-size: 1.5rem;
  font-weight: 700;
}

.signal-card h3 {
  font-size: 1.55rem;
}

.signal-card p {
  margin-top: 11px;
  line-height: 1.55;
}

.signal-wide {
  grid-column: 1 / -1;
  min-height: auto;
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 16px;
  align-items: start;
  background: var(--home-green);
}

.signal-wide .signal-mark {
  margin: 0;
  color: var(--home-green-dark);
}

.signal-wide h3,
.signal-wide p {
  color: #fff;
}

.signal-wide p {
  max-width: 820px;
  color: rgba(255, 255, 255, 0.76);
}

.plus-section {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto 120px;
  padding: clamp(38px, 6vw, 74px);
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(45px, 7vw, 95px);
  border-radius: 40px;
  background: #efd49f;
}

.plus-intro {
  align-self: start;
}

.plus-intro p:not(.eyebrow) {
  margin-top: 21px;
  font-size: 1.05rem;
  line-height: 1.62;
}

.secondary-button {
  margin-top: 27px;
  color: var(--home-ink);
  background: transparent;
}

.secondary-button:hover {
  color: #fff;
  background: var(--home-brown);
  transform: translateY(-2px);
}

.plus-features {
  border-top: 1px solid var(--home-line);
}

.plus-features article {
  padding: 26px 0;
  display: grid;
  grid-template-columns: 45px minmax(130px, 0.65fr) 1fr;
  gap: 15px;
  border-bottom: 1px solid var(--home-line);
}

.plus-features article > span {
  color: var(--home-green-dark);
  font-size: 0.75rem;
  font-weight: 850;
}

.plus-features h3 {
  font-size: 1.1rem;
}

.plus-features p {
  line-height: 1.52;
  font-size: 0.92rem;
}

.trust-note {
  grid-column: 1 / -1;
  padding: 22px 26px;
  display: flex;
  align-items: center;
  gap: 20px;
  border: 1px solid var(--home-line);
  border-radius: 22px;
  background: rgba(255, 248, 233, 0.5);
}

.trust-note img {
  width: 68px;
  height: 68px;
  display: block;
  border-radius: 50%;
}

.trust-note p {
  margin: 0;
  line-height: 1.55;
}

.trust-note strong {
  color: var(--home-ink);
}

.local-section {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 80px 0;
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  gap: clamp(50px, 9vw, 140px);
  border-top: 1px solid var(--home-line);
  border-bottom: 1px solid var(--home-line);
}

.local-copy {
  align-self: end;
}

.local-copy > p:first-child {
  font-size: 1.08rem;
  line-height: 1.66;
}

.small-note {
  margin-top: 18px;
  font-size: 0.78rem;
  opacity: 0.8;
}

.founder-section {
  width: min(950px, calc(100% - 40px));
  margin: 0 auto;
  padding: 130px 0;
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 45px;
}

.founder-quote {
  color: var(--home-green);
  font-family: Georgia, serif;
  font-size: 9rem;
  line-height: 0.75;
}

.founder-section h2 {
  max-width: 760px;
}

.founder-section p:not(.eyebrow) {
  max-width: 720px;
  margin-top: 22px;
  font-size: 1.05rem;
  line-height: 1.68;
}

.founder-section a {
  color: var(--home-green-dark);
  font-weight: 700;
}

.founder-section blockquote {
  max-width: 760px;
  margin: 30px 0 0;
  padding: 0 0 0 25px;
  border-left: 3px solid var(--home-green);
  color: var(--home-ink);
  font-size: clamp(1.35rem, 2.5vw, 2rem);
  font-weight: 700;
  line-height: 1.35;
}

.download-section {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto 40px;
  padding: clamp(55px, 9vw, 110px) 25px;
  text-align: center;
  border-radius: 40px;
  background: var(--home-green);
}

.download-mascot {
  width: 150px;
  height: 150px;
  margin: -40px auto 20px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 50%;
  background: #ffeac1;
  box-shadow: 0 18px 35px rgba(28, 73, 56, 0.3);
}

.download-section > .download-mascot img {
  width: 118px;
  height: 118px;
  display: block;
  border-radius: 0;
  box-shadow: none;
}

.download-section .eyebrow {
  color: #f7cf82 !important;
}

.download-section h2 {
  max-width: 850px;
  margin: 0 auto;
  color: #fff;
}

.download-section > p:not(.eyebrow) {
  max-width: 720px;
  margin: 22px auto 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 1.03rem;
  line-height: 1.6;
}

.download-section .badge-row {
  margin-top: 32px;
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.home-page .badge-img {
  height: 52px;
  filter: none;
  opacity: 1;
}

.subscription-link {
  display: inline-block;
  margin-top: 23px;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 700;
}

.subscription-link:hover {
  color: #fff1cf;
}

.site-footer {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 45px 0 35px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 20px 30px;
}

.site-footer > p {
  font-size: 0.85rem;
}

.footer-nav {
  display: flex;
  justify-content: flex-end;
  gap: 20px;
}

.footer-nav a {
  color: var(--home-muted);
  text-decoration: none;
  font-size: 0.84rem;
  font-weight: 650;
}

.copyright {
  grid-column: 1 / -1;
  padding-top: 20px;
  border-top: 1px solid var(--home-line);
  text-align: right;
  opacity: 0.72;
}

@media (max-width: 1000px) {
  .nav-links {
    display: none;
  }

  .hero {
    min-height: 0;
    grid-template-columns: 1fr;
    padding-top: 70px;
  }

  .hero-copy {
    max-width: 850px;
  }

  .hero-visual {
    width: min(590px, 100%);
    margin: 0 auto;
  }

  .time-section {
    grid-template-columns: minmax(290px, 0.78fr) 1.22fr;
    gap: 55px;
  }

  .signals-grid {
    grid-template-columns: 1fr 1fr;
  }

  .signal-large {
    grid-column: span 2;
  }
}

@media (max-width: 760px) {
  .site-nav {
    width: min(100% - 28px, 1180px);
    min-height: 70px;
  }

  .brand span {
    font-size: 1.15rem;
  }

  .brand-mascot {
    width: 42px;
    height: 42px;
  }

  .nav-cta {
    display: none;
  }

  .home-page h1 {
    font-size: clamp(2.65rem, 12vw, 4.25rem);
  }

  .home-page h2 {
    font-size: clamp(2.1rem, 10vw, 3.4rem);
  }

  .hero {
    width: min(100% - 28px, 1180px);
    padding: 55px 0 65px;
    gap: 35px;
  }

  .hero-lead {
    margin-top: 22px;
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
  }

  .primary-button {
    width: 100%;
  }

  .hero-visual {
    min-height: 540px;
  }

  .phone-home {
    width: min(275px, 76%);
    height: 530px;
  }

  .result-card {
    width: 185px;
    padding: 13px 14px;
  }

  .result-card strong {
    font-size: 1.2rem;
  }

  .result-card-profit {
    top: 180px;
    left: -5px;
  }

  .result-card-hours {
    right: -4px;
    bottom: 58px;
  }

  .proof-strip {
    width: min(100% - 28px, 1180px);
    grid-template-columns: 1fr;
  }

  .proof-strip p {
    padding: 20px 4px;
  }

  .proof-strip p + p {
    border-top: 1px solid var(--home-line);
    border-left: none;
  }

  .story-section,
  .signals-section {
    width: min(100% - 28px, 1180px);
    padding: 90px 0;
  }

  .section-heading {
    margin-bottom: 40px;
  }

  .steps-grid {
    grid-template-columns: 1fr;
  }

  .step-card,
  .step-card.featured {
    min-height: 270px;
    transform: none;
  }

  .time-section {
    padding: 85px 20px;
    grid-template-columns: 1fr;
  }

  .report-visual {
    order: 2;
  }

  .phone-report {
    width: min(340px, 90%);
    height: auto;
  }

  .signals-grid {
    grid-template-columns: 1fr;
  }

  .signal-large,
  .signal-wide {
    grid-column: auto;
  }

  .signal-card {
    min-height: 235px;
  }

  .signal-wide {
    grid-template-columns: 50px 1fr;
  }

  .plus-section {
    width: min(100% - 28px, 1180px);
    margin-bottom: 75px;
    grid-template-columns: 1fr;
    border-radius: 30px;
  }

  .plus-intro {
    position: static;
  }

  .plus-features article {
    grid-template-columns: 35px 1fr;
  }

  .plus-features article p {
    grid-column: 2;
  }

  .trust-note {
    grid-column: auto;
    align-items: flex-start;
  }

  .local-section {
    width: min(100% - 28px, 1180px);
    padding: 70px 0;
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .founder-section {
    width: min(100% - 28px, 950px);
    padding: 90px 0;
    grid-template-columns: 1fr;
    gap: 0;
  }

  .founder-quote {
    height: 70px;
    font-size: 7rem;
  }

  .download-section {
    width: min(100% - 28px, 1180px);
    border-radius: 30px;
  }

  .site-footer {
    width: min(100% - 28px, 1180px);
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-brand,
  .footer-nav {
    justify-content: center;
  }

  .footer-nav {
    flex-wrap: wrap;
  }

  .copyright {
    text-align: center;
  }
}

@media (max-width: 420px) {
  .hero-visual {
    min-height: 490px;
  }

  .phone-home {
    width: 250px;
    height: 482px;
  }

  .result-card {
    width: 168px;
  }

  .result-card small {
    display: none;
  }

  .result-card-profit {
    top: 165px;
  }

  .result-card-hours {
    bottom: 42px;
  }

  .trust-note {
    flex-direction: column;
  }

  .download-section .badge-row {
    align-items: center;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-page *,
  .home-page *::before,
  .home-page *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
