/* Home page — builds on styles.css + pricing.css + how-it-works.css */

/* Hero */
.hm-hero { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: center; padding: 16px 0 32px; }
.hm-hero h1 { margin: 0 0 24px; font-size: clamp(40px, 5vw, 64px); line-height: 1.05; letter-spacing: -.04em; font-weight: 700; max-width: 12ch; }
.hm-hero .lead { max-width: 46ch; font-size: 17px; }
.hm-hero-photo { position: relative; aspect-ratio: 432 / 352; }
.hm-hero-note {
  position: absolute; top: 5%; right: 2.5%; max-width: min(34%, 260px);
  padding: 16px 18px; border-radius: 14px;
  background: rgba(238, 241, 244, .97); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.hm-hero-note p { margin: 0; font-size: 12px; color: var(--ink-2); }
.hm-hero-note .big { margin-bottom: 14px; font-size: clamp(15px, 1.6vw, 22px); line-height: 1.2; font-weight: 600; letter-spacing: -.02em; color: var(--ink); }

/* Highlights row with soft icon tiles */
.hm-highlights { padding: 12px 0 36px; border-bottom: 1px solid var(--border); }
.hm-highlights div { justify-content: flex-start; }
.hl-icon { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: #ebe8e1; }
.hm-highlights svg { width: 22px; height: 22px; }

/* Featured app */
.featured { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: center; margin-top: 0; border-top: 0; }
.featured .section-title { font-size: clamp(36px, 4.4vw, 56px); margin-bottom: 20px; }
.featured-media { position: relative; padding: 0 0 36px; }
.featured-photo { width: 78%; aspect-ratio: 1.25 / 1; border-radius: 18px; }
.featured-photo img { object-position: 30% center; }

.fphone {
  position: absolute; right: 0; top: -14px; bottom: 0; width: 42%; max-width: 250px;
  background: #121414; border-radius: 30px; padding: 7px; box-shadow: 0 20px 40px rgba(0,0,0,.2);
}
.fphone-screen {
  height: 100%; overflow: hidden; background: #fff; border-radius: 24px; padding: 10px 12px;
  display: flex; flex-direction: column; gap: 10px; font-size: 10px; color: var(--ink-2);
}
.fp-status { display: flex; justify-content: space-between; align-items: center; font-weight: 600; color: var(--ink); }
.fp-status .notch { width: 9px; height: 9px; border-radius: 50%; background: #121414; }
.fp-bar { display: flex; justify-content: space-between; align-items: center; }
.fp-bar b { flex: 1; margin-left: 8px; color: var(--ink); font-size: 10px; }
.fp-hello { display: flex; justify-content: space-between; align-items: center; }
.fp-hello small { display: block; font-size: 11px; }
.fp-hello strong { font-size: 15px; color: var(--ink); }
.fp-avatar { width: 32px; height: 32px; border-radius: 50%; background: radial-gradient(circle at 50% 38%, #b98767 0 30%, transparent 31%), radial-gradient(circle at 50% 110%, #2c2a33 0 48%, #e7e3dc 49%); }
.fp-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.fp-grid span { display: grid; justify-items: center; gap: 4px; padding: 8px 2px; border: 1px solid #eceef1; border-radius: 8px; text-align: center; font-size: 8px; }
.fp-grid i { width: 16px; height: 16px; border-radius: 4px; border: 1.6px solid #2f5bd8; }
.fp-grid .c2 { border-color: #7a3fc4; } .fp-grid .c3 { border-color: var(--ink); } .fp-grid .c4 { border-color: #2f5bd8; }
.fp-grid .c5 { border-color: #d6335a; } .fp-grid .c6 { border-color: var(--ink); }
.fp-updates { display: flex; justify-content: space-between; }
.fp-updates b { color: var(--ink); }
.fp-updates em { font-style: normal; color: #2f5bd8; }
.fp-item { display: flex; gap: 8px; padding: 8px; border: 1px solid #eceef1; border-radius: 8px; line-height: 1.4; }
.fp-item i { flex: none; width: 12px; height: 12px; margin-top: 1px; border-radius: 50%; background: #2f5bd8; }
.fp-item b { display: block; color: var(--ink); }

/* Solutions */
.hm-split { align-items: end; }
.hm-split-right { display: grid; gap: 16px; }
.hm-split-right p { margin: 0; }
.hm-split-right .text-link { justify-self: end; }
.solutions { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; margin-top: 36px; }
.solution {
  display: flex; flex-direction: column; min-width: 0;
  padding: 20px 18px; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow); transition: transform .2s ease, box-shadow .2s ease;
}
.solution:hover { transform: translateY(-3px); box-shadow: 0 12px 32px rgba(17, 22, 20, .08); }
.solution h3 { margin: 16px 0 8px; font-size: 15px; line-height: 1.3; }
.solution p { margin: 0 0 18px; font-size: 13px; color: var(--ink-2); line-height: 1.5; }
.s-arrow { margin-top: auto; font-size: 18px; }
.s-icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; color: #fff; }
.s-icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.s-green { background: #1f5c3a; } .s-purple { background: #7a56d6; } .s-orange { background: #c76a00; }
.s-pink { background: #c43b6a; } .s-blue { background: #3d6fd6; }

/* From idea to impact */
.impact { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.impact-photo { position: relative; aspect-ratio: 368 / 256; }
.impact-note {
  position: absolute; left: 5%; bottom: 7%; max-width: 70%;
  display: flex; align-items: center; gap: 12px; padding: 12px 14px;
  background: #fff; border-radius: 10px; box-shadow: var(--shadow);
}
.impact-note b { display: block; font-size: 13px; color: var(--ink); line-height: 1.3; }
.impact-note small { font-size: 11px; color: var(--muted); }
.ok-badge { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: #1f5c3a; }
.ok-badge svg { width: 18px; height: 18px; fill: none; stroke: #fff; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.impact-steps { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 18px; }
.impact-steps li { display: flex; gap: 16px; align-items: flex-start; }
.impact-steps .num { width: 30px; height: 30px; font-size: 14px; }
.impact-steps h3 { margin: 2px 0 2px; font-size: 16px; }
.impact-steps p { margin: 0; font-size: 14px; color: var(--ink-2); }

/* Vibe-coded */
.vibe { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.vibe-photo { position: relative; aspect-ratio: 345 / 192; }
.vibe-list {
  position: absolute; top: 5%; bottom: 4%; left: 68%; right: 2.5%;
  list-style: none; margin: 0; padding: 0 16px; display: flex; flex-direction: column; justify-content: space-evenly;
  background: #fff; border-radius: 12px; box-shadow: var(--shadow); font-size: 14px; font-weight: 500;
}
.vibe-list li { display: flex; align-items: center; gap: 12px; }
.vibe-list li::before {
  content: ""; flex: none; width: 18px; height: 18px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23111614' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='m8 12.5 3 3 5-6'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* CTA without image */
.hm-cta { grid-template-columns: 1fr auto; }

/* Responsive */
@media (max-width: 1100px) {
  .solutions { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 860px) {
  .hm-hero, .featured, .impact, .vibe { grid-template-columns: 1fr; gap: 32px; }
  .hm-split-right .text-link { justify-self: start; }
  .solutions { grid-template-columns: repeat(2, 1fr); }
  .featured-media { max-width: 560px; }
}
@media (max-width: 640px) {
  .solutions { grid-template-columns: minmax(0, 1fr); }
  .featured-photo { width: 100%; }
  .fphone { display: none; }
  .featured-media { padding: 0; }
  .hm-hero-note { max-width: 46%; padding: 10px 12px; }
  .hm-hero-note p:not(.big) { display: none; }
  .hm-hero-note .big { margin: 0; font-size: 13px; }
  .impact-note { gap: 8px; padding: 8px 10px; }
  .impact-note b { font-size: 11px; }
  .impact-note small { display: none; }
  .ok-badge { width: 24px; height: 24px; }
  .ok-badge svg { width: 14px; height: 14px; }
  .vibe-list { left: 60%; padding: 0 10px; font-size: 12px; }
  .hm-cta { grid-template-columns: minmax(0, 1fr); }
}
