/* HTCUT homepage, Apple-style: one idea per section, display type, liquid-glass surfaces. Mobile-first. */

.home main { overflow-x: clip; }
.wrap-wide { width: 100%; max-width: 1320px; margin: 0 auto; padding: 0 12px; }
.br-wide { display: none; }
.nav-wide { display: none; }
.wrap-wide { perspective: 1800px; }

/* Sections: generous space, alternating near-blacks */
.a-sec { padding: 88px 0; }
.a-sec-alt { background: #0b0b0c; }
.a-head { text-align: center; max-width: 46rem; margin: 0 auto 40px; }
.a-head-left { text-align: left; margin: 0; }
.a-title { font-size: clamp(2.5rem, 9vw, 5rem); line-height: 1.04; letter-spacing: -.04em; margin: 0 0 .35em; }
.a-sub { color: var(--muted); font-size: 1.12rem; line-height: 1.42; margin: 0 auto 1em; max-width: 38rem; }
.a-head-left .a-sub { margin-left: 0; }
.a-more { display: inline-flex; align-items: center; gap: 4px; min-height: 44px; color: var(--link); font-size: 1.12rem; }
.a-more span { font-size: 1.3em; line-height: 1; transform: translateY(-1px); }
.a-foot { text-align: center; margin-top: 28px; font-size: 1.05rem; }
.home code { background: #ffffff14; }

/* Hero */
.a-hero { padding: 56px 0 24px; text-align: center; background: radial-gradient(80% 60% at 50% 0%, #2a0d1f 0%, #000 60%); }
.a-hero-copy { display: flex; flex-direction: column; align-items: center; }
.a-kicker { display: inline-flex; flex-direction: column; align-items: center; gap: 12px; margin: 0 0 18px; font-weight: 600; font-size: 1.15rem; letter-spacing: -.01em; }
.a-kicker img { border-radius: 13px; box-shadow: 0 10px 30px #ff3d9a40; }
.a-display { font-size: clamp(3.4rem, 15vw, 8.5rem); line-height: .98; letter-spacing: -.05em; margin: 0 0 18px; }
.grad { background: linear-gradient(100deg, #ff6bb5 0%, #ff3d9a 30%, #ff9f43 62%, #8fd14f 100%); -webkit-background-clip: text; background-clip: text; color: transparent; padding-bottom: .08em; }
.a-lede { font-size: clamp(1.25rem, 4.6vw, 1.75rem); line-height: 1.3; font-weight: 600; letter-spacing: -.02em; color: var(--ink); max-width: 34rem; margin: 0 0 26px; }
.a-ctas { display: flex; flex-direction: column; align-items: center; gap: 10px; margin-bottom: 14px; }
.a-hero .fine { color: var(--muted); font-size: .85rem; max-width: 22rem; }

/* The app window: macOS 27-style frame (big radius, hairline edge, deep soft shadow) */
.mac { margin: 44px 0 0; border-radius: 14px; overflow: hidden; background: #1e1e20; box-shadow: 0 0 0 1px #ffffff1f, 0 1px 0 #ffffff26 inset, 0 40px 120px -20px #ff3d9a33, 0 30px 80px #000c; transform-origin: 50% 0; }
.mac img { width: 100%; }

/* Four steps under the demo */
.a-steps { list-style: none; padding: 0; margin: 48px 0 0; display: grid; gap: 28px; }
.a-steps li { text-align: center; }
.a-steps h3 { font-size: 1.2rem; margin: 10px 0 6px; }
.a-steps p { color: var(--muted); margin: 0 auto; max-width: 18rem; font-size: 1rem; }
.ico { width: 40px; height: 40px; fill: none; stroke: var(--ink); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* Glass surfaces (Liquid Glass): translucent, blurred, specular top edge */
.home .demo-chat, .home .demo-app, .ask, .flow, .b, .tour figure, .reqs div, .honest {
  background: var(--glass); border: 0; box-shadow: var(--glass-edge);
  -webkit-backdrop-filter: blur(24px) saturate(180%); backdrop-filter: blur(24px) saturate(180%);
}
.home .demo-chat, .home .demo-app { border-radius: 22px; }
.home .demo-app .window-bar, .home .demo-chat .term-bar { background: #ffffff0a; }

/* Stats */
.a-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 16px; margin: 0 auto 48px; max-width: 980px; text-align: center; }
.a-stats dt { font-size: clamp(2.6rem, 11vw, 4.5rem); font-weight: 700; letter-spacing: -.045em; line-height: 1; font-variant-numeric: tabular-nums;
  background: linear-gradient(180deg, #fff, #9a9aa2); -webkit-background-clip: text; background-clip: text; color: transparent; }
.a-stats dd { margin: 8px 0 0; color: var(--muted); font-size: .95rem; }
.a-wide-shot { margin: 0 auto; max-width: 980px; border-radius: 22px; overflow: hidden; box-shadow: 0 0 0 1px #ffffff14; }

/* Bento grid */
.bento { display: grid; gap: 14px; }
.b { border-radius: 28px; overflow: hidden; display: flex; flex-direction: column; min-width: 0; }
.b-txt { padding: 26px 26px 18px; }
.b h3 { font-size: 1.6rem; line-height: 1.12; letter-spacing: -.03em; margin: 0 0 8px; }
.b p { color: var(--muted); margin: 0; font-size: 1rem; }
.b > img { margin-top: auto; width: 100%; }
.b > img.top-crop { aspect-ratio: 4 / 3; object-fit: cover; object-position: top center; }
.b-tall > img { aspect-ratio: 4 / 3; object-fit: cover; object-position: top center; }
.b-code { margin-top: auto; padding: 0 18px 22px; }
.b-code pre { margin: 0; padding: 16px 18px; border-radius: 16px; background: #000a; font: 13px/1.6 var(--mono); color: #d9d9e0; overflow-x: auto; }
.b-code pre code { background: none; padding: 0; font-size: inherit; }
.chips { list-style: none; padding: 0; margin: 28px auto 0; max-width: 980px; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.chips li { padding: 8px 15px; border-radius: 999px; background: #ffffff0f; box-shadow: inset 0 0 0 1px #ffffff14; color: #d2d2d7; font-size: .9rem; }

/* Prompt cards */
.asks { display: grid; gap: 12px; }
.ask { border-radius: 22px; padding: 22px 22px 20px; display: flex; flex-direction: column; gap: 8px; }
.ask-q { margin: 0; font-size: 1.12rem; font-weight: 600; letter-spacing: -.02em; line-height: 1.3; }
.ask-q::before { content: "“"; color: var(--accent); }
.ask-q::after { content: "”"; color: var(--accent); }
.ask-a { margin: 0; color: var(--muted); font-size: .95rem; }
.ask > code { margin-top: auto; align-self: flex-start; font-size: .8rem; color: var(--green); background: #000a; padding: 6px 10px; border-radius: 9px; }

/* Tour on the homepage */
.home .tour figure { border-radius: 22px; }
.home .tour .pic { background: #000; border-bottom: 0; }

/* How it works */
.a-how .flow { max-width: 520px; margin: 0 auto; border-radius: 28px; padding: 18px; }

/* Compare + download + FAQ, restyled */
.home .cmp td.us { background: #ff3d9a12; }
.home .honest { border-radius: 22px; }
.home .dl h2 { font-size: clamp(2.4rem, 8vw, 4rem); letter-spacing: -.04em; }
.home .dl img { border-radius: 22px; box-shadow: 0 16px 40px #ff3d9a40; }
.home .reqs div { border-radius: 16px; }
.home .faq { margin: 0 auto; }
.home .faq h2 { text-align: center; font-size: clamp(2.4rem, 8vw, 4rem); letter-spacing: -.04em; margin-bottom: 28px; }

@media (min-width: 600px) {
  .a-ctas { flex-direction: row; gap: 26px; }
  .a-steps { grid-template-columns: 1fr 1fr; }
  .a-stats { grid-template-columns: repeat(4, 1fr); }
  .bento { grid-template-columns: 1fr 1fr; }
  .b-xl { grid-column: 1 / -1; }
  .asks { grid-template-columns: 1fr 1fr; }
  .br-wide { display: inline; }
  .nav-wide { display: inline-flex; }
}
@media (min-width: 1000px) {
  .a-sec { padding: 140px 0; }
  .a-head { margin-bottom: 64px; }
  .a-hero { padding: 88px 0 40px; }
  .a-kicker { flex-direction: row; font-size: 1.3rem; }
  .a-kicker img { width: 44px; height: 44px; border-radius: 10px; }
  .mac { margin-top: 64px; border-radius: 18px; }
  .a-steps { grid-template-columns: repeat(4, 1fr); gap: 36px; margin-top: 72px; }
  .bento { grid-template-columns: repeat(3, 1fr); gap: 18px; }
  .b-xl { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1.9fr; align-items: center; }
  .b-xl .b-txt { padding: 40px; }
  .b-xl h3 { font-size: 2.4rem; }
  .b-xl > img { margin: 0; height: 100%; object-fit: cover; object-position: left center; }
  .b-tall { grid-row: span 2; }
  .b-tall > img { aspect-ratio: auto; height: 100%; }
  .asks { grid-template-columns: repeat(4, 1fr); }
}
