/* ============================================================
   WarmBento Pro — Apple-inspired product site
   Sections: tokens / reset / header / hero / statement /
   overview / features / scenes / specs / community / subscribe
   / footer / responsive / reduced-motion
   ============================================================ */

/* ---------- Design tokens ---------- */
:root {
  --bg: #ffffff;
  --bg-soft: #f5f5f7;
  --bg-dark: #1d1d1f;
  --ink: #1d1d1f;
  --ink-soft: #6e6e73;
  --ink-muted: #86868b;
  --line: #e5e5ea;
  --accent: #2997ff;
  --green: #7aa89a;
  --maxw: 1120px;
  --radius: 24px;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: -9999px; top: 8px; z-index: 100;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px;
}
.skip-link:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* ---------- Announcement bar ---------- */
.announcement {
  background: var(--bg-dark); color: #f5f5f7; text-align: center;
  font-size: 12px; padding: 10px 16px; letter-spacing: .01em;
}
.announcement a { text-decoration: underline; text-underline-offset: 2px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.82);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 52px; gap: 24px;
}
.brand { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 17px; letter-spacing: -.02em; }
.brand-mark { color: var(--ink); display: flex; }
.site-nav { display: flex; gap: 30px; margin-left: auto; }
.site-nav a { font-size: 13px; color: var(--ink-soft); transition: color .2s; }
.site-nav a:hover { color: var(--ink); }
.nav-cta {
  font-size: 12px; padding: 7px 15px; border-radius: 999px;
  background: var(--ink); color: #fff; transition: opacity .2s;
}
.nav-cta:hover { opacity: .85; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 20px; height: 1.5px; background: var(--ink); margin: 5px 0; transition: transform .3s, opacity .3s; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: 90px 0 70px; background: var(--bg-soft); }
.hero-inner { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 40px; }
.hero-copy { max-width: 520px; }
.hero-kicker { font-size: 14px; color: var(--green); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 18px; }
.hero h1 {
  font-size: clamp(52px, 7vw, 88px); line-height: 1.04; letter-spacing: -.045em;
  font-weight: 700; margin-bottom: 24px;
}
.hero h1 .accent {
  background: linear-gradient(120deg, #7aa89a, #2997ff);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-lead { font-size: 19px; color: var(--ink-soft); line-height: 1.6; margin-bottom: 32px; max-width: 460px; }
.hero-actions { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 15px; font-weight: 500; padding: 14px 28px; border-radius: 999px;
  transition: transform .2s, opacity .2s; cursor: pointer; border: 0;
}
.btn:hover { transform: translateY(-2px); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-link { color: var(--accent); padding: 14px 0; }
.btn-light { background: #fff; color: var(--ink); }
.hero-note { font-size: 12px; color: var(--ink-muted); margin-top: 24px; }
.hero-visual { position: relative; display: flex; align-items: center; justify-content: center; min-height: 480px; }
.product-halo {
  position: absolute; width: 400px; height: 400px; border-radius: 50%;
  background: radial-gradient(circle, rgba(122,168,154,.22), rgba(122,168,154,0) 68%);
  z-index: 0;
}
.hero-product { position: relative; z-index: 1; width: 100%; max-width: 380px; filter: drop-shadow(0 30px 40px rgba(0,0,0,.14)); }
.scroll-cue { display: flex; justify-content: center; padding-top: 30px; }
.scroll-cue span { width: 1px; height: 42px; background: linear-gradient(var(--ink-muted), transparent); animation: cue 2s infinite; }
@keyframes cue { 0%,100% { opacity: .3; } 50% { opacity: 1; } }

/* ---------- Statement ---------- */
.statement { padding: 130px 0; text-align: center; }
.statement-text { font-size: clamp(38px, 6vw, 72px); font-weight: 600; letter-spacing: -.04em; line-height: 1.1; }
.statement-text em { font-style: normal; color: var(--green); }
.statement-sub { font-size: 18px; color: var(--ink-soft); margin-top: 28px; max-width: 600px; margin-inline: auto; }

/* ---------- Shared section ---------- */
.section { padding: 110px 0; }
.kicker { font-size: 13px; font-weight: 600; color: var(--green); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 16px; }
.kicker.light { color: #8fd6c4; }
.section-head { margin-bottom: 60px; }
.section-head.center { text-align: center; }
.section-head h2 { font-size: clamp(34px, 4.5vw, 56px); font-weight: 650; letter-spacing: -.035em; line-height: 1.12; }
.section-head p:not(.kicker) { color: var(--ink-soft); font-size: 17px; margin-top: 18px; }

/* ---------- Overview ---------- */
.overview { background: #fff; }
.overview-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.overview-media { background: var(--bg-soft); border-radius: var(--radius); padding: 60px; display: flex; align-items: center; justify-content: center; }
.overview-media img { width: 100%; max-width: 320px; }
.overview-copy h2 { font-size: clamp(34px, 4.5vw, 52px); font-weight: 650; letter-spacing: -.035em; line-height: 1.12; margin-bottom: 24px; }
.overview-copy > p:not(.kicker) { color: var(--ink-soft); font-size: 17px; line-height: 1.7; margin-bottom: 28px; }
.check-list li { padding: 12px 0 12px 30px; position: relative; border-bottom: 1px solid var(--line); font-size: 15px; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 18px; width: 14px; height: 14px;
  border-radius: 50%; background: var(--green);
  box-shadow: inset 0 0 0 3px #fff, inset 0 0 0 8px var(--green);
}

/* ---------- Features (dark) ---------- */
.features { background: var(--bg-dark); color: #f5f5f7; }
.features .section-head h2 { color: #fff; }
.feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius); overflow: hidden; }
.feature-card { background: var(--bg-dark); padding: 48px; }
.feature-num { font-size: 13px; color: #8fd6c4; font-weight: 600; margin-bottom: 24px; letter-spacing: .06em; }
.feature-card h3 { font-size: 24px; font-weight: 600; letter-spacing: -.02em; margin-bottom: 14px; }
.feature-card p { color: #a1a1a6; font-size: 15px; line-height: 1.65; }

/* ---------- Scenes ---------- */
.scenes { background: var(--bg-soft); }
.scene-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.scene-card {
  position: relative; min-height: 460px; border-radius: var(--radius); overflow: hidden;
  display: flex; align-items: flex-end; padding: 36px; color: #fff;
  background-size: cover; background-position: center; transition: transform .4s;
}
.scene-card:hover { transform: translateY(-6px); }
.scene-office { background-color: #c9d6d1; background-image: linear-gradient(160deg, #dfe8e4, #9fb7ae); }
.scene-car { background-color: #d9d9de; background-image: linear-gradient(160deg, #e8e8ec, #a8a8b2); }
.scene-home { background-color: #e5ded4; background-image: linear-gradient(160deg, #f0ebe3, #c4b8a6); }
.scene-overlay { position: absolute; inset: 0; background: linear-gradient(transparent 30%, rgba(0,0,0,.62)); }
.scene-content { position: relative; z-index: 1; }
.scene-tag { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; opacity: .85; margin-bottom: 10px; }
.scene-content h3 { font-size: 28px; font-weight: 600; letter-spacing: -.02em; margin-bottom: 12px; }
.scene-content p { font-size: 14px; line-height: 1.6; opacity: .92; max-width: 260px; }

/* ---------- Specs ---------- */
.specs { background: #fff; }
.specs-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.specs-copy h2 { font-size: clamp(34px, 4.5vw, 52px); font-weight: 650; letter-spacing: -.035em; line-height: 1.12; margin-bottom: 24px; }
.specs-copy > p:not(.kicker) { color: var(--ink-soft); font-size: 17px; line-height: 1.7; max-width: 440px; }
.specs-table { border-top: 1px solid var(--line); }
.spec-row { display: flex; justify-content: space-between; align-items: center; padding: 20px 4px; border-bottom: 1px solid var(--line); font-size: 15px; }
.spec-row span { color: var(--ink-soft); }
.spec-row strong { font-weight: 600; }

/* ---------- Community ---------- */
.community { background: var(--bg-soft); }
.community .section-head p:not(.kicker) { max-width: 520px; margin-inline: auto; }
.social-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.social-tile {
  background: #fff; border-radius: 18px; padding: 36px 28px; text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  transition: transform .25s, box-shadow .25s;
}
.social-tile:hover { transform: translateY(-5px); box-shadow: 0 16px 40px rgba(0,0,0,.07); }
.social-icon { font-size: 34px; color: var(--green); line-height: 1; margin-bottom: 8px; }
.social-tile strong { font-size: 17px; font-weight: 600; }
.social-tile span:last-child { font-size: 13px; color: var(--ink-muted); }
.testimonial { margin: 60px auto 0; max-width: 760px; text-align: center; }
.testimonial p { font-size: clamp(22px, 3vw, 32px); font-weight: 500; letter-spacing: -.02em; line-height: 1.35; }
.testimonial cite { display: block; font-style: normal; color: var(--ink-muted); font-size: 14px; margin-top: 20px; }

/* ---------- Subscribe ---------- */
.subscribe { background: var(--bg-dark); color: #f5f5f7; padding: 110px 0; text-align: center; }
.subscribe-inner { max-width: 640px; }
.subscribe h2 { font-size: clamp(34px, 5vw, 56px); font-weight: 650; letter-spacing: -.035em; margin-bottom: 18px; }
.subscribe > .container > p:not(.kicker) { color: #a1a1a6; font-size: 17px; }
.subscribe-form { display: flex; gap: 10px; margin-top: 34px; }
.subscribe-form input {
  flex: 1; padding: 15px 20px; border-radius: 999px; border: 1px solid rgba(255,255,255,.25);
  background: rgba(255,255,255,.08); color: #fff; font-size: 15px; font-family: inherit;
}
.subscribe-form input::placeholder { color: #a1a1a6; }
.subscribe-form input:focus { outline: 2px solid #8fd6c4; outline-offset: 1px; }
.form-message { min-height: 22px; margin-top: 16px; font-size: 13px; color: #8fd6c4; }

/* ---------- Footer ---------- */
.site-footer { background: #fff; padding: 40px 0; border-top: 1px solid var(--line); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer-brand strong { font-size: 15px; font-weight: 600; }
.footer-brand p { font-size: 12px; color: var(--ink-muted); margin-top: 2px; }
.footer-links { display: flex; gap: 22px; }
.footer-links a { font-size: 12px; color: var(--ink-soft); }
.footer-links a:hover { color: var(--ink); }
.footer-legal { font-size: 12px; color: var(--ink-muted); }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .site-nav {
    position: absolute; top: 52px; left: 0; right: 0;
    flex-direction: column; gap: 0; background: rgba(255,255,255,.98);
    backdrop-filter: blur(20px); padding: 0 24px; margin: 0;
    max-height: 0; overflow: hidden; transition: max-height .3s ease; border-bottom: 1px solid transparent;
  }
  .site-nav.open { max-height: 320px; border-bottom-color: var(--line); }
  .site-nav a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
  .nav-cta { display: none; }
  .nav-toggle { display: block; }
  .hero { padding: 60px 0 40px; }
  .hero-inner, .overview-grid, .specs-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { min-height: 340px; order: -1; }
  .hero-product { max-width: 280px; }
  .hero h1 { font-size: clamp(46px, 12vw, 68px); }
  .statement { padding: 90px 0; }
  .section { padding: 76px 0; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-card { padding: 32px; }
  .scene-grid, .social-grid { grid-template-columns: 1fr; }
  .scene-card { min-height: 340px; }
  .overview-media { padding: 36px; }
}

@media (max-width: 520px) {
  .container { padding: 0 20px; }
  .hero-actions { flex-direction: column; align-items: flex-start; gap: 12px; }
  .subscribe-form { flex-direction: column; }
  .subscribe-form button { width: 100%; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
