/* Homepage "What should your website do?" — the four goals from the setup
   (services, portfolio, products, information), one row each with text on one
   side and an example site on a soft panel on the other, alternating (idea
   taken from sitew.com). Uses the .hh tokens, so it follows the theme toggle. */
.lp .hh-goals { padding: 96px 48px 40px; border-top: 1px solid var(--line); }
.hg-head { max-width: 720px; margin: 0 auto 64px; text-align: center; }
.hg-eyebrow { margin: 0 0 12px; color: var(--muted); font-size: .74rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.lp .hg-head h2 {
  margin: 0 0 14px;
  color: var(--ink);
  font-family: Sora, Inter, sans-serif;
  font-size: clamp(1.8rem, 3.4vw, 2.7rem);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -.045em;
  text-wrap: balance;
}
.hg-head p { margin: 0 auto; max-width: 56ch; color: var(--muted); font-size: 1rem; line-height: 1.6; }

.hg-row {
  max-width: 1480px;
  margin: 0 auto 96px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr);
  align-items: center;
  gap: 88px;
}
.hg-row:nth-of-type(even) { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); }
.hg-row:nth-of-type(even) .hg-text { order: 2; }
.lp .hg-text h3 {
  margin: 0 0 18px;
  color: var(--ink);
  font-family: Sora, Inter, sans-serif;
  font-size: clamp(1.8rem, 3.2vw, 2.9rem);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -.04em;
}
.hg-text > p { margin: 0 0 24px; color: var(--muted); font-size: 1.08rem; line-height: 1.65; max-width: 52ch; }
.hg-text > p strong { color: var(--ink); font-weight: 600; }
.hg-label { margin: 0 0 8px !important; color: var(--ink) !important; font-size: .86rem !important; font-weight: 600; }
.hg-list { display: flex; flex-wrap: wrap; gap: 6px 0; margin: 0 0 30px; padding: 0; list-style: none; color: var(--ink); font-size: .9rem; }
.hg-list li + li::before { content: "•"; margin: 0 10px; color: var(--muted); }
.hg-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; }
.hh .hg-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 20px; border-radius: 10px;
  background: var(--brand); color: #fff;
  font-size: .92rem; font-weight: 600; text-decoration: none;
  transition: background .3s ease, transform .3s ease;
}
.hh .hg-btn:hover { background: var(--accent); }
html[data-theme="dark"] .hh .hg-btn { color: #101711; }
.hh .hg-link { color: var(--ink); font-size: .9rem; font-weight: 600; text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 4px; transition: text-decoration-color .3s ease; }
.hh .hg-link:hover { text-decoration-color: currentColor; }

/* Soft panel with the example site, a phone view on top and one small chip. */
.hg-visual {
  --tint: #eef3ec;
  position: relative;
  margin: 0;
  padding: 56px 88px 64px 56px;
  border-radius: 20px;
  background: var(--tint);
}
.hg-row:nth-of-type(even) .hg-visual { padding: 56px 56px 64px 88px; }
.hg-services .hg-visual { --tint: #edf2ec; }
.hg-portfolio .hg-visual { --tint: #f1eef6; }
.hg-products .hg-visual { --tint: #f6efe8; }
.hg-info .hg-visual { --tint: #ebf0f6; }
html[data-theme="dark"] .hg-services .hg-visual { --tint: #121a16; }
html[data-theme="dark"] .hg-portfolio .hg-visual { --tint: #17141d; }
html[data-theme="dark"] .hg-products .hg-visual { --tint: #1c1712; }
html[data-theme="dark"] .hg-info .hg-visual { --tint: #11161d; }
.hg-desk, .hg-phone { display: block; height: auto; border-radius: 10px; background: #fff; }
.hg-desk { width: 100%; aspect-ratio: 16 / 10; box-shadow: 0 30px 60px -38px rgb(20 30 25 / .55), 0 0 0 1px rgb(0 0 0 / .06); }
.hg-phone {
  position: absolute; right: 18px; bottom: 22px;
  width: 23%; aspect-ratio: 1 / 2;
  border-radius: 14px; border: 4px solid #111;
  box-shadow: 0 24px 44px -24px rgb(0 0 0 / .6);
}
.hg-row:nth-of-type(even) .hg-phone { right: auto; left: 18px; }
.hg-chip {
  position: absolute; top: 18px; left: 22px;
  display: flex; align-items: center; gap: 9px;
  padding: 9px 13px; border-radius: 10px;
  background: var(--surface); color: var(--ink);
  border: 1px solid var(--line);
  box-shadow: 0 16px 34px -22px rgb(0 0 0 / .5);
  font-size: .76rem; font-weight: 600; line-height: 1.25;
}
.hg-row:nth-of-type(even) .hg-chip { left: auto; right: 22px; }
.hg-chip small { display: block; color: var(--muted); font-size: .68rem; font-weight: 400; }
.hg-dot { flex: none; width: 26px; height: 26px; display: grid; place-items: center; border-radius: 8px; background: var(--tint); color: var(--brand); }
.hg-dot svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

@media (max-width: 900px) {
  .lp .hh-goals { padding: 60px 16px 20px; }
  .hg-head { margin-bottom: 40px; }
  .hg-row, .hg-row:nth-of-type(even) { grid-template-columns: 1fr; gap: 28px; margin-bottom: 64px; }
  .hg-row:nth-of-type(even) .hg-text { order: 0; }
  .hg-visual, .hg-row:nth-of-type(even) .hg-visual { padding: 36px 22px 30px; border-radius: 16px; }
  .hg-phone { width: 24%; right: 10px; bottom: 12px; border-width: 3px; border-radius: 10px; }
  .hg-row:nth-of-type(even) .hg-phone { left: auto; right: 10px; }
  .hg-chip, .hg-row:nth-of-type(even) .hg-chip { top: 10px; left: 12px; right: auto; padding: 7px 10px; font-size: .7rem; }
  .hg-dot { width: 22px; height: 22px; }
}
@media (max-width: 1200px) and (min-width: 901px) {
  .lp .hh-goals { padding-inline: 32px; }
  .hg-row { gap: 48px; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); }
  .hg-row:nth-of-type(even) { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); }
}
