/* Homepage-only web-development focus; service pages and articles stay intact. */
.home-web { background: var(--bg); --web-ink-accent: #00c896; }
html[data-theme="light"] .home-web { --web-ink-accent: #007b5c; }
@media (prefers-color-scheme: light) { html:not([data-theme="dark"]) .home-web { --web-ink-accent: #007b5c; } }
.home-web .hero-simple h1 span, .home-web .section-kicker, .home-web .nav-link.is-active { color: var(--web-ink-accent); }
.home-web .hero-simple { grid-template-columns: minmax(0,1.15fr) minmax(0,1fr); gap: 48px; padding-block: 54px 48px; }
.home-web .hero-simple h1 { font-size: clamp(38px,4.05vw,58px); line-height: 1.09; letter-spacing: -.045em; text-wrap: initial; }
.home-web .hero-simple h1 span { display: inline; }
.home-web .hero-simple .hero-eyebrow { margin-bottom: 22px; }
.home-web .hero-simple .hero-subtitle { font-size: 18px; line-height: 1.6; margin: 22px 0 24px; max-width: 43ch; }
.home-web .hero-product { padding: 0; }
.home-web .hero-browser { transform: none; box-shadow: 0 16px 40px var(--shadow); border-radius: 12px; }
.home-web .hero-product-caption { position: static; text-align: left; margin: 14px 0 0; padding: 0; font-size: 12px; color: var(--muted); }
.home-web .section { padding-block: 48px; }
.home-web .section-title { max-width: none; font-size: clamp(27px,3vw,38px); margin-bottom: 28px; }
.home-web .section-kicker { letter-spacing: .1em; }
.home-web .web-services { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; }
.home-web .web-service { min-width: 0; display: flex; flex-direction: column; align-items: flex-start; padding: 25px; border: 1px solid var(--border-strong); border-radius: 16px; background: var(--surface-1); }
.home-web .web-number { color: var(--muted); font-size: 12px; font-family: var(--font-mono); }
.home-web .web-service h3 { font-size: 23px; letter-spacing: -.025em; line-height: 1.25; margin: 20px 0 12px; }
.home-web .web-service p { font-size: 15px; line-height: 1.7; margin: 0 0 22px; color: var(--muted); }
.home-web .web-service a { margin-top: auto; font-size: 14px; font-weight: 700; }
.home-web .web-service a span { margin-left: 5px; }
.home-web .web-service a:hover, .home-web .web-reading-links a:hover { color: var(--accent); }
.home-web .web-included { display: flex; justify-content: space-between; gap: 22px; align-items: center; padding-top: 22px; }
.home-web .web-included p { margin: 0; max-width: 57ch; font-size: 13px; color: var(--muted); }
.home-web .web-included strong { font-weight: 500; }
.home-web .web-included a { font-size: 13px; flex-shrink: 0; }
.home-web .web-projects { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 28px; }
.home-web .web-project { display: block; min-width: 0; }
.home-web .web-project-image { border: 1px solid var(--border-strong); border-radius: 14px; overflow: hidden; background: var(--surface-2); }
.home-web .web-project img { display: block; width: 100%; height: auto; aspect-ratio: 1.8; object-fit: cover; object-position: top; transition: transform .25s; }
.home-web .web-project:hover img { transform: scale(1.015); }
.home-web .web-project-caption { display: flex; justify-content: space-between; align-items: center; gap: 18px; margin-top: 18px; }
.home-web .web-project-caption span { font-size: 12px; color: var(--muted); }
.home-web .web-project-caption > span { font-size: 24px; color: var(--text); }
.home-web .web-project h3 { font-size: 24px; line-height: 1.3; letter-spacing: -.025em; margin: 4px 0 0; }
.home-web .web-project p { font-size: 14px; line-height: 1.6; color: var(--muted); margin: 10px 0 0; }
.home-web .web-steps { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 34px; list-style: none; padding: 0; margin: 0; }
.home-web .web-steps li { border-top: 1px solid var(--border-strong); padding-top: 18px; min-width: 0; }
.home-web .web-steps span { font-size: 12px; color: var(--muted); }
.home-web .web-steps h3 { font-size: 21px; margin: 12px 0 10px; line-height: 1.3; }
.home-web .web-steps p { font-size: 15px; color: var(--muted); line-height: 1.65; margin: 0; }
.home-web .web-reading, .home-web .web-extras { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 52px; align-items: start; }
.home-web .web-reading h2, .home-web .web-extras h2 { font-size: 27px; line-height: 1.25; letter-spacing: -.025em; margin: 10px 0 14px; }
.home-web .web-reading p, .home-web .web-extras p { font-size: 15px; color: var(--muted); margin: 0 0 16px; }
.home-web .web-reading-links a { display: flex; align-items: center; justify-content: space-between; gap: 20px; border-bottom: 1px solid var(--border-strong); padding: 18px 0; line-height: 1.5; font-size: 16px; }
.home-web .web-reading-links a:first-child { padding-top: 0; }
.home-web .web-extra-links { display: flex; flex-wrap: wrap; gap: 12px 20px; font-size: 13px; font-weight: 700; }
.home-web .web-demo { border: 1px solid var(--border-strong); background: var(--surface-1); padding: 18px 22px; border-radius: 14px; }
.home-web .web-demo > summary { cursor: pointer; font-size: 14px; font-weight: 700; }
.home-web .web-demo .hero-demo-chat { position: static; width: 100%; margin-top: 18px; box-shadow: none; }
.home-web .web-demo .demo-message { color: #17221d; font-size: 12px; margin: 8px 0; }
.home-web #faq { display: grid; grid-template-columns: minmax(0,.8fr) minmax(0,1.4fr); column-gap: 48px; align-items: start; }
.home-web #faq > .section-kicker { grid-column: 1; }
.home-web #faq > h2 { grid-column: 1; }
.home-web #faq .faq-grid { grid-column: 2; grid-row: 1 / 4; width: 100%; margin: 0; }
.home-web .faq-item summary { font-size: 16px; }
.home-web .contact-band { margin-top: 0; }
.home-web .contact-grid { gap: 60px; }
.home-web .contact-grid .section-title { max-width: 12ch; }
.home-web .contact-grid .section-copy { font-size: 16px; max-width: 43ch; }
.home-web .ai-chat-bot-glow, .home-web .ai-chat-toggle { animation: none; }
@media (max-width: 1050px) {
  .home-web .hero-simple { gap: 30px; }
  .home-web .hero-simple h1 { font-size: 43px; }
  .home-web .web-service { padding: 22px; }
  .home-web .web-included { align-items: flex-start; flex-direction: column; gap: 10px; }
}
@media (max-width: 760px) {
  .home-web .hero-simple { grid-template-columns: minmax(0,1fr); padding-block: 30px 32px; gap: 30px; }
  .home-web .hero-simple h1 { font-size: clamp(34px,7.5vw,48px); max-width: none; }
  .home-web .hero-simple .hero-eyebrow { margin-bottom: 18px; font-size: 10px; }
  .home-web .hero-simple .hero-subtitle { font-size: 16px; margin: 18px 0 22px; }
  .home-web .hero-actions { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 16px; margin-top: 20px; align-items: center; }
  .home-web .hero-actions .btn { padding: 12px 13px; font-size: 13px; gap: 6px; }
  .home-web .hero-actions .ghost-link { padding: 0; font-size: 13px; width: auto; min-height: 44px; display: inline-flex; align-items: center; }
  .home-web .hero-agreement { margin-top: 18px; }
  .home-web .hero-product { max-width: 520px; width: 100%; margin: 0; }
  .home-web .hero-browser img { max-height: 180px; object-fit: cover; object-position: top; }
  .home-web .hero-product-caption { font-size: 11px; margin-top: 10px; }
  .home-web .section { padding-block: 34px; }
  .home-web .web-services, .home-web .web-steps { grid-template-columns: minmax(0,1fr); gap: 14px; }
  .home-web .web-service { padding: 22px; }
  .home-web .web-service h3 { margin-top: 12px; }
  .home-web .web-service p { margin-bottom: 16px; }
  .home-web .web-projects { gap: 28px; grid-template-columns: minmax(0,1fr); }
  .home-web .web-steps { gap: 24px; }
  .home-web .web-steps li { display: grid; grid-template-columns: 25px minmax(0,1fr); column-gap: 14px; }
  .home-web .web-steps span { grid-row: 1 / 3; padding-top: 5px; }
  .home-web .web-steps h3 { margin-top: 0; }
  .home-web .web-steps p { grid-column: 2; }
  .home-web .web-reading, .home-web .web-extras, .home-web #faq { display: block; }
  .home-web .web-reading-links, .home-web .web-demo { margin-top: 24px; }
  .home-web .web-reading h2, .home-web .web-extras h2 { font-size: 25px; }
  .home-web .contact-grid { gap: 30px; }
  .home-web .contact-grid .section-title { max-width: none; }
}
@media (prefers-reduced-motion: reduce) { .home-web .web-project img { transition: none; } }
