/* Kizunatap LP (/, /make) sections. Loads after site.css (tokens, chrome, buttons, FAQ, band, footer, reveal, reduced motion).
   Blinq reference adapted (C3 hero, C4 strip, C6 values, C9 bento, C16 excerpt); colours only from BRAND §2. */
/* ---------- LP hero (C3 adapted: text + a live card preview) ---------- */
.hero { padding: clamp(24px, 5vw, 72px) 0 clamp(40px, 5vw, 72px); background: var(--kz-milk); }
.hero-in { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.hero h1 { font-size: clamp(32px, 4.2vw, 60px); }
.hero .lead { margin-top: 18px; max-width: 34em; font-size: clamp(16px, 1.4vw, 19px); line-height: 1.75; color: var(--kz-mauve); }
.hero-acts { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 32px; }
.hero-note { margin-top: 16px; font-size: 14px; color: var(--kz-mauve); }
.via {
  display: inline-flex; align-items: center; min-height: 32px; margin-bottom: 16px; padding: 4px 14px;
  border-radius: 999px; background: var(--kz-blush); color: var(--kz-rose); font-size: 13px; font-weight: 700; line-height: 18px;
}
/* B22: the gpt-image hero (hero-b, LCP) sits top right; the live sample card floats over its calm lower-left corner.
   Both share one grid cell, so the box is as tall as whichever reaches lower (no fixed heights, CLS 0). */
.hero-vis { position: relative; display: grid; grid-template: auto / minmax(0, 1fr); width: 100%; max-width: 640px; margin: 0 auto; }
.hero-vis > .hero-img, .hero-vis > .pv { grid-area: 1 / 1; }
/* the Blush disc behind the card is a background (a ::before disc showed up as a 0.08 layout shift in Lighthouse mobile) */
.hero-vis { background: radial-gradient(circle at 26% 74%, var(--kz-blush) 0 min(29vw, 170px), transparent calc(min(29vw, 170px) + 1px)); }
.hero-img { position: relative; display: block; justify-self: end; align-self: start; width: 86%; border-radius: 32px; overflow: hidden; }
.hero-img img { display: block; width: 100%; height: auto; }
/* B32 (judge M1): the card starts 16px below the man's chin. Margin % is of the .hero-vis width; the picture is 86% wide at 3:2,
   so its face box (y 12-62% of the picture) ends at 0.86 x 2/3 x 0.62 = 35.5% of that width. 16px also covers kz-float (6px + the -3deg tilt). */
.pv { position: relative; justify-self: start; align-self: start; width: 260px; margin-top: calc(35.5% + 16px); animation: kz-float 6s ease-in-out infinite; }
.pv-card { position: relative; padding: 22px 22px 20px; background: var(--kz-paper); border: 1px solid var(--mk-line); border-radius: 24px; text-align: center; }
.pv-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.pv-sym { width: 28px; height: 28px; }
.pv-tag { padding: 2px 10px; border: 1px solid var(--mk-line); border-radius: 8px; font-size: 12px; line-height: 18px; color: var(--kz-mauve); }
.pv-ava { display: grid; place-items: center; width: 76px; height: 76px; margin: 4px auto 12px; border-radius: 50%; background: var(--kz-blush); color: var(--kz-rose); font-size: 30px; font-weight: 700; }
.pv-name { font-size: 22px; line-height: 1.35; font-weight: 700; }
.pv-sub { margin-top: 2px; font-size: 13px; line-height: 1.5; color: var(--kz-mauve); }
.pv-rows { display: grid; gap: 8px; margin-top: 16px; text-align: left; }
.pv-row { display: flex; align-items: center; gap: 10px; min-height: 40px; padding: 0 12px; border: 1px solid var(--mk-line); border-radius: 14px; font-size: 13px; color: var(--kz-plum); }
.pv-row::before { content: ""; flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--kz-blush); }
.pv-save { position: relative; isolation: isolate; display: flex; align-items: center; justify-content: center; min-height: 48px; margin-top: 14px; border-radius: 999px; background: var(--kz-rose); color: #fff; font-size: 15px; font-weight: 700; }
/* M21 adapted: a Pink halo, 3 times, then still */
.pv-save::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: var(--kz-pink); opacity: 0; animation: kz-halo 3s ease-in 1s 3 both; }
.pv-dot { position: absolute; top: 14px; right: -10px; width: 22px; height: 22px; border-radius: 50%; background: var(--kz-amber); border: 4px solid var(--kz-milk); }
.pv-chip { position: absolute; display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border: 1px solid var(--mk-line); border-radius: 999px; background: var(--kz-paper); font-size: 13px; font-weight: 700; color: var(--kz-plum); white-space: nowrap; }
.pv-chip::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--kz-amber); }
.pv-chip.a { left: -40px; bottom: -18px; } /* sits on the card edge, clear of the contact rows */
/* D33: the card's floating top-left exchange (camera) button with a small "?" badge */
.pv-cam { position: absolute; top: -16px; left: -16px; z-index: 2; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--kz-rose); border: 4px solid var(--kz-milk); }
.pv-cam svg { width: 24px; height: 24px; }
.pv-cam b { position: absolute; top: -6px; right: -6px; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--kz-amber); color: var(--kz-plum); font-size: 12px; line-height: 1; font-weight: 800; }
.pv-cam::before { content: ""; position: absolute; inset: -4px; z-index: -1; border-radius: 50%; background: var(--kz-pink); opacity: 0; animation: kz-halo-r 3s ease-in 1.6s 3 both; }
@keyframes kz-halo-r { 0% { opacity: 0; transform: scale(1); } 30% { opacity: .25; } 100% { opacity: 0; transform: scale(1.6); } }

/* C4 adapted (M6 120s linear strip + M7 8s float, alternate directions): sample cards instead of customer logos */
.strip { padding: 0 0 calc(clamp(48px, 6vw, 88px) + var(--mk-sheet-r)); background: var(--kz-milk); overflow: hidden; }
.strip-h { margin-bottom: 20px; text-align: center; font-size: 14px; font-weight: 700; color: var(--kz-mauve); padding: 0 16px; }
.strip-track { display: flex; width: max-content; animation: kz-marquee 120s linear infinite; }
.strip-row { display: flex; gap: 16px; padding-right: 16px; }
.sc-card { display: inline-flex; align-items: center; gap: 12px; min-width: 200px; height: 72px; padding: 0 22px 0 16px; background: var(--kz-paper); border: 1px solid var(--mk-line); border-radius: 16px; font-weight: 700; color: var(--kz-plum); white-space: nowrap; animation: kz-bob 8s ease-in-out infinite; }
.sc-card:nth-child(even) { animation-direction: reverse; }
.sc-card i { flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--kz-blush); }
.sc-card.c2 i { background: var(--mk-amber-20); }
.sc-card.c3 i { background: var(--kz-amber); border: 13px solid var(--mk-pink-15); }
.sc-card.c4 i { background: var(--kz-milk); border: 1px solid var(--mk-line); }
@keyframes kz-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes kz-bob { 0%, 100% { transform: translateY(-4px); } 50% { transform: translateY(4px); } }
@keyframes kz-float { 0%, 100% { transform: translateY(-6px) rotate(-3deg); } 50% { transform: translateY(6px) rotate(-1.5deg); } }
@keyframes kz-halo { 0% { opacity: 0; transform: scale(1); } 30% { opacity: .2; } 100% { opacity: 0; transform: scale(1.1, 1.5); } }

/* ---------- three values (C6 adapted: label, heading, text | colour panel with an own drawing) ---------- */
.vals { display: grid; gap: clamp(20px, 2.4vw, 32px); }
.val {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(24px, 4vw, 64px); align-items: center;
  padding: clamp(22px, 2.4vw, 36px); background: var(--kz-paper); border: 1px solid var(--mk-line); border-radius: var(--mk-sheet-r);
}
.val h3 { font-size: clamp(22px, 2.1vw, 30px); }
.val p { margin-top: 14px; color: var(--kz-mauve); font-size: 16px; line-height: 1.8; }
.val .tag { display: inline-block; margin-bottom: 14px; padding: 4px 12px; border: 1px solid var(--mk-line); border-radius: 8px; font-size: 13px; font-weight: 700; color: var(--kz-plum); }
.panel { display: grid; place-items: center; min-height: 300px; padding: 24px; border-radius: 24px; overflow: hidden; }
.panel svg { width: 100%; max-width: 360px; height: auto; }
/* B22: gpt-image panels run to the panel edge (no padding); the panel colour stays underneath */
.panel.has-img { display: block; min-height: 0; padding: 0; }
.panel.has-img img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
/* B32 (judge M2): a square picture IS the panel (its own ground runs to the rounded edge), so no panel colour shows around it */
.panel.has-img.sq { width: 100%; max-width: 420px; justify-self: center; margin: 0 auto; }
.panel.has-img.sq img { aspect-ratio: 1 / 1; }
.p-blush { background: var(--kz-blush); }
.p-milk { background: var(--kz-milk); }
.p-pink { background: var(--mk-pink-15); }
.p-amber { background: var(--mk-amber-20); }

/* ---------- how it works (3 steps) ---------- */
.steps3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); counter-reset: st; }
.step { position: relative; padding: clamp(22px, 2.2vw, 32px); background: var(--kz-paper); border: 1px solid var(--mk-line); border-radius: 24px; }
.step .num { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 18px; border-radius: 50%; background: var(--kz-rose); color: #fff; font-size: 18px; font-weight: 700; }
.step h3 { font-size: clamp(20px, 1.8vw, 24px); }
.step p { margin-top: 10px; color: var(--kz-mauve); font-size: 15px; line-height: 1.8; }
.step-img { display: block; width: 160px; max-width: 100%; margin-bottom: 18px; }
.step-img img { display: block; width: 100%; height: auto; border-radius: 24px; object-fit: cover; }
.step:not(:last-child)::after { content: ""; position: absolute; top: calc(clamp(22px, 2.2vw, 32px) + 178px + 21px); right: calc(-1 * clamp(16px, 2vw, 28px)); width: clamp(16px, 2vw, 28px); border-top: 2px dotted var(--kz-pink); }

/* ---------- share bento (C9 adapted; M4 hover lift) ---------- */
.bento { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: minmax(190px, auto); gap: clamp(14px, 1.8vw, 24px); }
.tile { display: flex; flex-direction: column; padding: 24px; border-radius: 20px; transition: transform .35s ease; }
.tile:hover { transform: translateY(-4px); }
.tile.big { grid-column: span 2; grid-row: span 2; }
.tile.wide { grid-column: span 2; }
.tile svg { width: 64px; height: 64px; margin-bottom: auto; }
.tile.big svg { width: min(100%, 220px); height: auto; margin: auto; }
/* B22: gpt-image tiles; multiply drops the image's Milk ground into the tile colour */
.tile-img { display: block; width: 136px; margin-bottom: auto; }
.tile-img img { display: block; width: 100%; height: auto; border-radius: 20px; mix-blend-mode: multiply; }
.tile.big .tile-img { width: min(100%, 300px); margin: auto; }
.tile h3 { margin-top: 20px; font-size: clamp(18px, 1.6vw, 22px); }
.tile p { margin-top: 6px; color: var(--kz-mauve); font-size: 14px; line-height: 1.7; }

/* ---------- pricing excerpt on the LP ---------- */
.px { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 1.8vw, 24px); }
.px-card { display: flex; flex-direction: column; padding: 0; background: var(--kz-paper); border: 1px solid var(--mk-line); border-radius: 24px; overflow: hidden; }
.px-head { padding: 22px 24px; background: var(--kz-milk); }
.px-card.pro .px-head { background: var(--kz-blush); }
.px-card.ent .px-head { background: var(--kz-paper); border-bottom: 1px solid var(--mk-line); }
.px-name { font-family: var(--font-round); font-size: 20px; font-weight: 700; }
.px-price { display: flex; align-items: baseline; gap: 6px; margin-top: 6px; }
.px-amount { font-size: clamp(30px, 3vw, 40px); font-weight: 700; line-height: 1.2; }
.px-per { font-size: 14px; color: var(--kz-mauve); }
.px-card.ent .px-amount { font-size: clamp(24px, 2.2vw, 30px); }
.px-note { margin-top: 6px; font-size: 13px; line-height: 1.6; color: var(--kz-mauve); }
.px-body { padding: 18px 24px 24px; color: var(--kz-mauve); font-size: 15px; }
.px-img { display: block; margin-top: auto; }
.px-img img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
.px-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 24px; margin-top: 24px; }
.px-foot p { color: var(--kz-mauve); font-size: 15px; }

@media (max-width: 1120px) { .px { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 960px) {
  .hero-in { grid-template-columns: 1fr; }
  .val { grid-template-columns: 1fr; }
  .pv-chip.a { left: -12px; } /* one column: the chip stays inside the page edge (641-960 too, not only <=640) */
  .panel { min-height: 240px; }
  .steps3 { grid-template-columns: 1fr; }
  .step:not(:last-child)::after { display: none; }
}
@media (max-width: 640px) {
  .px { grid-template-columns: 1fr; }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: auto; }
  .tile.big, .tile.wide { grid-column: span 2; grid-row: auto; }
  .tile { padding: 18px; }
  .tile svg { width: 48px; height: 48px; }
  .tile.big svg { width: 160px; }
  .tile-img { width: 96px; }
  .tile.big .tile-img { width: 220px; }
  .hero-img { width: 100%; justify-self: stretch; border-radius: 24px; }
  .hero-vis { background: radial-gradient(circle at 72% 82%, var(--kz-blush) 0 34vw, transparent calc(34vw + 1px)); }
  .pv { justify-self: center; width: 260px; margin-top: calc(66.67% - 40px); }
  .pv-chip.a { left: -12px; bottom: -18px; }
  .hero-acts .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { .tile:hover { transform: none; } }
