/* =========================================================
   "I need a website" homepage
   Pattern (UI/UX Pro Max): interactive product demo + 3-step funnel + minimal lead form.
   The live builder in the hero is the one bold moment; everything after it stays quiet.
   ========================================================= */
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.nb-h2 { font-size: clamp(2rem, 4.6vw, 3.8rem); line-height: 1; letter-spacing: -.04em; font-weight: 700; max-width: 18ch; }

/* ---------- hero ---------- */
.nb-hero { padding: clamp(20px, 3vw, 44px) 0 clamp(64px, 8vw, 110px); }
.nb-hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
/* sized so each line fits the half-width column without wrapping inside its reveal mask */
.nb-title { font-size: clamp(2.3rem, 4.3vw, 4.4rem); line-height: .94; letter-spacing: -.05em; font-weight: 800; margin: 18px 0 16px; }
@media (max-width: 1000px) { .nb-title { font-size: clamp(2.3rem, 8.4vw, 4.4rem); } }
.nb-title .line { display: block; overflow: hidden; padding: 0 .08em .14em 0; margin-bottom: -.14em; }
.nb-title .line__in { display: inline-block; }
.nb-title em { color: var(--pink-deep); }
.js .nb-title .line__in { transform: translateY(105%); }
.go .nb-title .line__in { transform: none; transition: transform 1.1s var(--expo); }
.go .nb-title .line:nth-child(2) .line__in { transition-delay: .1s; }
.nb-lead { font-size: clamp(1.08rem, 1.5vw, 1.25rem); color: var(--ink-3); max-width: 40ch; margin-bottom: 20px; }

.builder {
  display: grid; gap: 10px; padding: clamp(18px, 2vw, 24px);
  background: #FFFFFF; border: 2px solid var(--ink); border-radius: var(--radius); box-shadow: 8px 8px 0 var(--ink);
}
.builder__label { font-size: 15px; font-weight: 600; padding: 0; }
.builder__input {
  width: 100%; min-height: 58px; padding: 0 18px; border-radius: 14px; border: 2px solid var(--line);
  background: var(--paper); color: var(--ink); font: inherit; font-size: 1.25rem; font-weight: 600; letter-spacing: -.01em;
  transition: border-color var(--t-fast), background var(--t-fast);
}
.builder__input::placeholder { color: #8A8A93; font-weight: 400; }
.builder__input:focus-visible { outline: none; border-color: var(--pink); background: #fff; }
.builder__trades { border: 0; padding: 0; margin: 2px 0 4px; display: grid; gap: 8px; min-width: 0; }
.chips--light { gap: 6px; }
.chips--light span { border-color: var(--line); color: var(--ink); background: var(--paper); min-height: 40px; padding: 0 14px; }
.chips--light label { color: var(--ink); }
.chips--light label:hover span { border-color: var(--ink); }
.chips--light input:checked + span { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.builder .btn--pink:hover { box-shadow: 4px 4px 0 var(--ink); }

.assure { list-style: none; padding: 0; margin: 4px 0 0; display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 14.5px; color: var(--muted); }
.assure li { display: inline-flex; align-items: center; gap: 7px; }
.assure li::before {
  content: ""; width: 16px; height: 16px; border-radius: 50%; flex: none;
  background: #1DB954 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12l4 4 8-8'/%3E%3C/svg%3E") center / 10px no-repeat;
}
.assure--ink { color: var(--ink); }

.nb-hero__demo { display: grid; justify-items: center; gap: 14px; }
.demo-tag { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; color: var(--muted); }
.demo-stage { width: 100%; perspective: 1600px; }
.nb-hero .site {
  width: 100%;
  transform: rotateY(-9deg) rotateX(4deg); transform-origin: 60% 50%;
  transition: transform .9s var(--expo);
}
.nb-hero .site:hover { transform: rotateY(-3deg) rotateX(1deg); }
.nb-hero .site::before { box-shadow: 0 30px 60px -24px rgba(15, 15, 18, .45), 0 0 0 1.5px var(--ink); }
.site.is-typing .p-logo b { box-shadow: 0 2px 0 var(--s-accent); }
.go .nb-hero__demo.hero-in { transition-delay: .35s; }
.go .builder.hero-in { transition-delay: .45s; }

/* "Something else" trade: a neutral skin in brand colors */
.site[data-niche="other"] { --s-bg: #F7F5F0; --s-ink: #1C1C21; --s-accent: #D61F5E; --s-soft: #F3DCE4; }

/* ---------- starting from zero ---------- */
.zero { padding: clamp(72px, 9vw, 130px) 0; border-top: 1.5px solid var(--ink); }
.zero__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.zero__lead { margin-top: 18px; color: var(--muted); font-size: 1.1rem; max-width: 34ch; }
.zero__list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-top: 1px solid var(--line); }
.zero__list li { padding: 26px 24px 26px 0; border-bottom: 1px solid var(--line); }
.zero__list li:nth-child(even) { padding-left: 24px; border-left: 1px solid var(--line); }
.zero__list svg { width: 28px; height: 28px; fill: none; stroke: var(--pink-deep); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 14px; }
.zero__list h3 { font-size: 1.4rem; letter-spacing: -.02em; margin-bottom: 6px; }
.zero__list p { color: var(--muted); }

/* ---------- how it works ---------- */
.how { background: var(--ink); color: var(--paper); padding: clamp(80px, 10vw, 140px) 0; border-radius: clamp(24px, 4vw, 48px) clamp(24px, 4vw, 48px) 0 0; }
.how .nb-h2 { margin-bottom: clamp(40px, 6vw, 72px); }
.how__steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 28px); counter-reset: none; }
.how__steps li { position: relative; padding-top: 28px; border-top: 2px solid var(--line-dark); }
.how__steps li:first-child { border-top-color: var(--pink); }
.how__num {
  display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%;
  background: var(--paper); color: var(--ink); font-size: 1.5rem; font-weight: 800; margin-bottom: 22px;
}
.how__steps li:first-child .how__num { background: var(--pink); }
.how__steps h3 { font-size: 1.55rem; letter-spacing: -.03em; margin-bottom: 8px; }
.how__steps p { color: var(--muted-dark); max-width: 30ch; }
.how__link { display: inline-block; margin-top: 16px; font-weight: 700; color: var(--pink); border-bottom: 2px solid currentColor; padding-bottom: 2px; }

/* ---------- included ---------- */
.included { background: var(--ink); color: var(--paper); padding: 0 0 clamp(80px, 10vw, 140px); }
.included .nb-h2 { margin-bottom: clamp(36px, 5vw, 60px); }
.included__grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.included__grid li { display: grid; gap: 6px; align-content: start; padding: 22px; border-radius: 18px; background: var(--ink-2); border: 1px solid var(--line-dark); }
.included__grid b { display: flex; align-items: center; gap: 10px; font-size: 1.12rem; letter-spacing: -.01em; }
.included__grid b::before {
  content: ""; width: 22px; height: 22px; border-radius: 50%; flex: none;
  background: var(--pink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230F0F12' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12l4 4 8-8'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.included__grid span { color: var(--muted-dark); font-size: 15px; padding-left: 32px; }

/* ---------- comparison ---------- */
.compare { padding: clamp(80px, 10vw, 140px) 0 clamp(56px, 7vw, 96px); }
.compare__lead { color: var(--muted); margin: 16px 0 clamp(28px, 4vw, 44px); font-size: 1.1rem; }
.compare__scroll { overflow-x: auto; border: 1.5px solid var(--ink); border-radius: var(--radius); background: #fff; }
.compare__scroll:focus-visible { outline: 3px solid var(--pink); outline-offset: 3px; }
.compare__table { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 16px; }
.compare__table th, .compare__table td { padding: 18px 20px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare__table tbody tr:last-child > * { border-bottom: 0; }
.compare__table thead th { font-size: 15px; font-weight: 600; color: var(--muted); background: var(--paper); }
.compare__table tbody th { font-weight: 600; width: 26%; }
.compare__table td { color: var(--muted); }
.compare__table .us { background: #FFE3EC; color: var(--ink); font-weight: 700; }
.compare__table thead .us { background: var(--pink); color: var(--ink); }

/* ---------- pricing tweaks for this page ---------- */
.pricing__today { margin-top: 14px; font-size: 1.15rem; color: var(--muted); }
.pricing__today b { color: var(--ink); font-size: 1.3rem; }

/* ---------- guarantee ---------- */
.promise { background: var(--pink); padding: clamp(72px, 9vw, 120px) 0; text-align: center; }
.promise__big { font-size: clamp(2.4rem, 7vw, 6.4rem); line-height: .95; letter-spacing: -.055em; font-weight: 800; max-width: 14ch; margin: 0 auto; text-wrap: balance; }
.promise__small { max-width: 46ch; margin: 22px auto 0; font-size: 1.15rem; }

.faq { padding-top: clamp(80px, 10vw, 140px); }

/* ---------- start: 2-step form ---------- */
.start { background: var(--paper-2); padding: clamp(80px, 10vw, 140px) 0; border-top: 1.5px solid var(--ink); }
.start__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 520px); gap: clamp(36px, 6vw, 96px); align-items: start; }
.start__title { font-size: clamp(2.6rem, 6.4vw, 5.6rem); line-height: .94; letter-spacing: -.055em; font-weight: 800; margin-bottom: 22px; overflow-wrap: anywhere; }
.start__title span { color: var(--pink-deep); }
.start__copy > p { font-size: 1.15rem; max-width: 40ch; margin-bottom: 18px; }
.funnel { box-shadow: 12px 12px 0 var(--pink); }
.funnel__progress { display: grid; gap: 10px; margin-bottom: 4px; }
.funnel__step { font-size: 14.5px; color: var(--muted-dark); font-weight: 500; }
.funnel__bar { height: 6px; border-radius: 99px; background: var(--ink-3); overflow: hidden; }
.funnel__bar span { display: block; height: 100%; width: 50%; background: var(--pink); border-radius: inherit; transition: width .5s var(--expo); }
.funnel[data-at="2"] .funnel__bar span { width: 100%; }
.funnel__panel { border: 0; padding: 0; margin: 0; display: grid; gap: 16px; min-width: 0; }
.funnel__panel[hidden] { display: none; }
.funnel__panel.is-entering { animation: panel-in .45s var(--expo); }
@keyframes panel-in { from { opacity: 0; transform: translateX(24px); } to { opacity: 1; transform: none; } }
.funnel__back { justify-self: center; background: none; border: 0; color: var(--muted-dark); font: inherit; font-size: 15px; cursor: pointer; padding: 10px; text-decoration: underline; text-underline-offset: 4px; }
.funnel__back:hover { color: var(--paper); }
.funnel__done { display: grid; justify-items: center; text-align: center; gap: 10px; padding: 20px 4px; }
.funnel__done[hidden] { display: none; }
.funnel__done svg { width: 56px; height: 56px; fill: none; stroke: var(--pink); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.funnel__done-title { font-size: 1.8rem; font-weight: 800; letter-spacing: -.03em; }
.funnel__done-small { color: var(--muted-dark); font-size: 14.5px; }
.funnel__done a { color: var(--pink); }
.funnel .field input[aria-invalid="true"] { border-color: #FF6B6B; }

/* ---------- sticky CTA on phones ---------- */
.sticky-cta { display: none; }
@media (max-width: 760px) {
  .sticky-cta {
    position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 60;
    display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; border-radius: 999px;
    background: var(--pink); color: var(--ink); font-weight: 700; font-size: 16.5px; border: 2px solid var(--ink);
    box-shadow: 0 10px 30px -10px rgba(15, 15, 18, .5);
    transform: translateY(140%); transition: transform .45s var(--expo);
  }
  .sticky-cta svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
  .sticky-cta.is-shown { transform: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 1000px) {
  .nb-hero__grid { grid-template-columns: 1fr; }
  .nb-hero__demo { max-width: 640px; width: 100%; margin: 0 auto; }
  .included__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .zero__grid, .start__grid { grid-template-columns: 1fr; }
  .how__steps { grid-template-columns: 1fr; gap: 36px; }
}
@media (max-width: 640px) {
  .nb-hero .site { width: min(270px, 74vw); transform: none; }
  .zero__list { grid-template-columns: 1fr; }
  .zero__list li, .zero__list li:nth-child(even) { padding: 22px 0; border-left: 0; }
  .included__grid { grid-template-columns: 1fr; }
  .builder { box-shadow: 5px 5px 0 var(--ink); }
  .funnel { box-shadow: 6px 6px 0 var(--pink); }
  .footer { padding-bottom: 96px; } /* room for the sticky button */
}
@media (prefers-reduced-motion: reduce) {
  .js .nb-title .line__in { transform: none; }
  .nb-hero .site, .nb-hero .site:hover { transform: none; }
}
