/* Homepage: product screens first, direct copy, no decorative cards or motion. */
.home-page {
  --bg: #f2f0eb;
  --ink: #1d1d23;
  --muted: #5b5b64;
  --accent: #493154;
  --line: #cecbc7;
  background: var(--bg);
  color: var(--ink);
}
.home-page .container { width: min(1240px, calc(100% - 80px)); }
.home-page h1,
.home-page h2,
.home-page h3 { color: inherit; font-family: "Space Grotesk", var(--font); font-weight: 600; }
.home-page .topbar {
  background: #f2f0ebf5;
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}
.home-page .topbar-inner { min-height: 76px; }
.home-page .brand { gap: 10px; font-size: 24px; letter-spacing: -1.2px; }
.home-page .brand img { border-radius: 8px; }
.brand-platform {
  display: inline-block;
  margin-left: 10px;
  padding-left: 16px;
  border-left: 1px solid #bbb5bf;
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0;
}
.home-page .nav { gap: 30px; }
.home-page .nav a { font-size: 14px; font-weight: 600; }
.home-page .nav a:not(.btn):hover { text-decoration: underline; text-underline-offset: 5px; }
.home-page .btn {
  min-height: 52px;
  padding: 13px 22px;
  border-radius: 4px;
  box-shadow: none;
  font-size: 15px;
  font-weight: 700;
}
.home-page .btn-small { min-height: 42px; padding: 9px 16px; }
.home-page .btn-solid { background: var(--ink); }
.home-page .btn-solid:hover { background: var(--accent); transform: none; }
.section-label {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 23px;
  color: #5a5160;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
}
.label-square { display: inline-block; width: 8px; height: 8px; background: #7d4b96; }
.home-page .hero { padding: 45px 0 68px; background: none; }
.home-page .hero-grid { grid-template-columns: minmax(0, .92fr) minmax(0, 1fr); gap: 58px; align-items: center; }
.hero-copy { padding: 0 0 20px; }
.home-page h1 { max-width: 9ch; font-size: clamp(60px, 6.15vw, 91px); line-height: .99; letter-spacing: -.068em; }
.home-page h1 span { color: #735a80; }
.home-page .lead { max-width: 42ch; margin: 30px 0 0; color: #4d4d55; font-size: 19px; line-height: 1.62; }
.home-page .hero-actions { margin-top: 32px; }
.home-page .hero-note { margin: 14px 0 0; color: var(--muted); font-size: 13px; }
.hero-screen { margin: 0; min-width: 0; overflow: hidden; background: #18181e; color: #f6f4f1; }
.screen-meta {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 19px 24px;
  border-bottom: 1px solid #414048;
  color: #d2ced6;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .025em;
}
.hero-screen-window {
  position: relative;
  display: flex;
  justify-content: center;
  height: 574px;
  overflow: hidden;
  padding-top: 24px;
}
.hero-screen-window::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 86px;
  background: linear-gradient(transparent, #18181e);
  pointer-events: none;
}
.hero-screen-window img {
  align-self: flex-start;
  width: min(370px, 76%);
  max-width: none;
  border: 6px solid #3c3b43;
  border-radius: 28px;
  box-shadow: 0 12px 35px #0007;
}
.hero-screen figcaption { padding: 16px 24px 19px; border-top: 1px solid #414048; color: #c7c4cd; font-size: 13px; }
.variants { padding: 100px 0 108px; border-top: 1px solid var(--line); }
.section-heading { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .43fr); align-items: end; gap: 42px; margin-bottom: 36px; }
.section-heading .section-label { grid-column: 1 / -1; margin-bottom: -14px; }
.home-page h2 { font-size: clamp(40px, 4.4vw, 62px); line-height: 1.06; letter-spacing: -.055em; }
.section-heading p:last-child { max-width: 27ch; margin: 0 0 5px; color: var(--muted); font-size: 17px; line-height: 1.6; }
.variant-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.variant { margin: 0; min-width: 0; border: 1px solid var(--line); }
.variant-media { display: flex; justify-content: center; height: 590px; overflow: hidden; padding-top: 26px; }
.variant-widgets .variant-media { background: #d9d6e0; }
.variant-wallpaper .variant-media { background: #c6cbc8; }
.variant-media img {
  width: 292px;
  max-width: 72%;
  height: max-content;
  border: 5px solid #39383e;
  border-radius: 22px;
  box-shadow: 0 13px 30px #23202740;
}
.variant figcaption { display: grid; grid-template-columns: 40px 1fr; gap: 18px; padding: 24px 26px 29px; background: #f7f5f0; }
.variant-number { color: #75647b; font-size: 12px; font-weight: 700; }
.variant figcaption div { display: grid; gap: 7px; }
.variant figcaption strong { font-size: 21px; line-height: 1.25; }
.variant figcaption div span { max-width: 41ch; color: var(--muted); font-size: 15px; line-height: 1.55; }
.havens { padding: 100px 0; background: #1c1b21; color: #f5f3ef; }
.havens-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); align-items: center; gap: 80px; }
.havens .section-label { color: #cbb7d6; }
.havens h2 { max-width: 13ch; }
.havens-lead { max-width: 47ch; margin: 27px 0 0; color: #d2ced5; font-size: 18px; line-height: 1.68; }
.rule-list { margin-top: 37px; border-top: 1px solid #57545d; }
.rule-list>div { display: grid; grid-template-columns: 140px 1fr; gap: 24px; padding: 17px 0; border-bottom: 1px solid #57545d; }
.rule-list span { font-size: 15px; font-weight: 700; }
.rule-list p { margin: 0; color: #c9c5cc; font-size: 15px; line-height: 1.55; }
.havens-links { display: flex; gap: 12px 28px; flex-wrap: wrap; margin-top: 27px; }
.havens-links a { color: #f5f3ef; font-size: 14px; font-weight: 700; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.havens-screen { display: grid; justify-items: center; gap: 13px; margin: 0; }
.havens-screen img { width: min(340px, 100%); border: 5px solid #47464d; border-radius: 24px; box-shadow: 0 20px 40px #0006; }
.havens-screen figcaption { color: #c9c5cc; font-size: 12px; }
.setup { padding: 104px 0; }
.setup-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 90px; }
.setup-heading h2 { max-width: 11ch; }
.setup-heading p:not(.section-label) { max-width: 29ch; margin: 22px 0 26px; color: var(--muted); font-size: 17px; }
.setup-steps { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.setup-steps li { display: grid; grid-template-columns: 48px 1fr; gap: 24px; padding: 23px 0 26px; border-bottom: 1px solid var(--line); }
.setup-steps li>span { color: #786281; font-size: 13px; font-weight: 700; }
.setup-steps strong { font-size: 20px; line-height: 1.3; }
.setup-steps p { margin: 8px 0 0; color: var(--muted); font-size: 15px; line-height: 1.55; }
.home-page .faq { padding: 96px 0 103px; border-top: 1px solid var(--line); }
.home-page .faq-grid { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 90px; }
.home-page .faq-list details { padding: 20px 0; }
.home-page .faq-list summary { font-size: 17px; font-weight: 700; }
.home-page .faq-list p { margin-top: 13px; font-size: 15px; line-height: 1.65; }
.closing { padding: 66px 0; background: #ded5e4; }
.closing-inner { display: flex; justify-content: space-between; align-items: center; gap: 32px; }
.closing .section-label { margin-bottom: 13px; }
.closing h2 { font-size: clamp(38px, 3.8vw, 54px); }
.closing p:last-child { margin: 13px 0 0; color: #4f4754; font-size: 16px; }
.play-badge-link { flex-shrink: 0; }
.play-badge-link img { width: 194px; height: auto; }
.home-page .footer { padding: 28px 0; background: #f2f0eb; }
.home-page .footer-inner { display: flex; align-items: center; gap: 24px; font-size: 13px; }
.home-page .footer .brand { margin-right: auto; font-size: 22px; }
.home-page .footer a:not(.brand), .home-page .footer button { color: #54545c; }
.home-page .footer .analytics-settings { background: none; border: 0; padding: 8px 0; font-size: 13px; text-decoration: underline; text-underline-offset: 3px; }
.home-page .made-by { font-size: 13px; }
.home-page .made-by span { font-size: 12px; }
@media (max-width: 1000px) {
  .home-page .container { width: calc(100% - 56px); }
  .home-page .hero-grid { gap: 30px; }
  .home-page h1 { font-size: clamp(57px, 6.3vw, 74px); }
  .home-page .lead { font-size: 17px; }
  .hero-screen-window { height: 555px; }
  .havens-grid, .setup-grid, .home-page .faq-grid { gap: 46px; }
}
@media (max-width: 760px) {
  .home-page .container { width: calc(100% - 36px); }
  .home-page .topbar-inner { min-height: 68px; }
  .home-page .brand { font-size: 22px; }
  .home-page .brand img { width: 34px; height: 34px; }
  .brand-platform { font-size: 11px; margin-left: 1px; padding-left: 10px; }
  .home-page .nav { gap: 4px; padding: 11px 0 16px; }
  .home-page .nav a { font-size: 15px; }
  .home-page .menu-toggle { border-radius: 3px; }
  .home-page .hero { padding: 30px 0 58px; }
  .home-page .hero-grid { grid-template-columns: 1fr; gap: 35px; }
  .hero-copy { padding: 0; }
  .section-label { margin-bottom: 18px; font-size: 11px; }
  .home-page h1 { font-size: clamp(52px, 12vw, 75px); line-height: 1.02; }
  .home-page .lead { max-width: 37ch; margin-top: 21px; font-size: 16px; line-height: 1.58; }
  .home-page .hero-actions { margin-top: 25px; }
  .home-page .hero-note { font-size: 12px; }
  .hero-screen-window { height: 445px; padding-top: 18px; }
  .hero-screen-window img { width: min(290px, 75%); border-radius: 23px; }
  .screen-meta { padding: 15px 17px; font-size: 11px; }
  .hero-screen figcaption { padding: 13px 17px 16px; font-size: 12px; }
  .variants, .setup { padding: 67px 0 72px; }
  .section-heading { display: block; margin-bottom: 27px; }
  .section-heading .section-label { margin-bottom: 18px; }
  .home-page h2 { font-size: clamp(37px, 9vw, 49px); }
  .section-heading p:last-child { max-width: 37ch; margin-top: 18px; font-size: 16px; }
  .variant-grid { grid-template-columns: 1fr; gap: 18px; }
  .variant-media { height: 510px; }
  .variant-media img { width: 255px; }
  .variant figcaption { grid-template-columns: 28px 1fr; gap: 15px; padding: 18px 19px 23px; }
  .variant figcaption strong { font-size: 20px; }
  .variant figcaption div span { font-size: 14px; }
  .havens { padding: 69px 0 75px; }
  .havens-grid, .setup-grid, .home-page .faq-grid { grid-template-columns: 1fr; gap: 35px; }
  .havens-lead { font-size: 16px; }
  .rule-list { margin-top: 29px; }
  .rule-list>div { grid-template-columns: 100px 1fr; gap: 15px; }
  .rule-list span, .rule-list p { font-size: 14px; }
  .havens-screen img { width: min(300px, 82%); }
  .setup-heading p:not(.section-label) { font-size: 16px; }
  .setup-steps strong { font-size: 18px; }
  .home-page .faq { padding: 68px 0 76px; }
  .home-page .faq-grid { gap: 20px; }
  .closing { padding: 47px 0 54px; }
  .closing-inner { align-items: flex-start; flex-direction: column; gap: 25px; }
  .closing h2 { font-size: 39px; }
  .home-page .footer-inner { flex-wrap: wrap; gap: 8px 17px; }
  .home-page .footer .brand { width: 100%; }
}
@media (max-width: 360px) {
  .brand-platform { display: none; }
  .home-page h1 { font-size: 49px; }
  .home-page .btn { padding-inline: 16px; font-size: 14px; }
  .screen-meta { font-size: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .home-page * { scroll-behavior: auto !important; }
}
