/* Home page sections below the scene. Tokens and buttons come from styles.css. */
.wrap { max-width: 1320px; margin: 0 auto; padding: 0 clamp(16px, 4.1vw, 63px); }
.wrap.narrow { max-width: 860px; }
.sec { padding: clamp(64px, 8vw, 120px) 0; scroll-margin-top: 70px; }
.sec.band { background: var(--surface); }
.sec-head { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 24px 64px; align-items: end; margin-bottom: clamp(36px, 4.5vw, 64px); }
.sec .eyebrow { margin: 0 0 16px; }
.h2 { margin: 0; font-family: var(--serif); font-weight: 700; font-size: clamp(32px, 3.6vw, 52px); line-height: 1.1; letter-spacing: -.02em; }
.sec .lead { margin: 0; max-width: 520px; font-size: clamp(16px, 1.3vw, 19px); line-height: 1.5; color: var(--ink-2); }
.sec a:not(.btn):not(.more) { text-decoration: underline; text-underline-offset: 3px; }

/* Phone frame around a real app screen */
.phone { position: relative; aspect-ratio: 640 / 1391; padding: 2.8%; background: #141414; border-radius: 13% / 6%; box-shadow: var(--shadow, 0 24px 50px -24px rgba(60, 25, 15, .45)); }
.phone img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 11% / 5%; }

/* How it works */
.loop { display: grid; grid-template-columns: minmax(0, 1fr) minmax(250px, 340px); gap: clamp(32px, 7vw, 110px); align-items: center; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.step button { display: grid; grid-template-columns: 40px 1fr; gap: 4px 14px; width: 100%; padding: 18px 20px; text-align: left; font: inherit; color: inherit; border-radius: 16px; transition: background .2s; }
.step button:hover { background: rgba(255, 255, 255, .55); }
.step[aria-current] button { background: #fff; box-shadow: 0 16px 34px -24px rgba(60, 25, 15, .45); }
.step-n { grid-row: span 3; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(22, 22, 22, .3); font-family: var(--serif); font-size: 18px; font-weight: 500; }
.step[aria-current] .step-n { background: var(--coral-deep); border-color: var(--coral-deep); color: #fff; }
.step-t { font-size: 18px; font-weight: 600; line-height: 1.3; align-self: center; min-height: 36px; display: flex; align-items: center; }
.step-d, .step-tags { display: none; grid-column: 2; }
.step[aria-current] .step-d { display: block; font-size: 15.5px; line-height: 1.5; color: var(--ink-2); }
.step[aria-current] .step-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.tag { padding: 4px 10px; border-radius: 999px; background: var(--surface); font-size: 12.5px; color: var(--ink-2); }
.loop .phone img { position: absolute; inset: 2.8%; width: 94.4%; height: 97.4%; opacity: 0; transition: opacity .35s ease; }
.loop .phone img.on { opacity: 1; }

/* Feature screens */
.shots { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(20px, 3vw, 44px); }
.shot .phone { max-width: 290px; margin: 0 auto; }
.shot h3 { margin: 24px 0 8px; font-size: 19px; font-weight: 600; line-height: 1.3; }
.shot p { margin: 0; font-size: 15.5px; line-height: 1.5; color: var(--ink-2); }
.facts { list-style: none; margin: clamp(40px, 5vw, 72px) 0 0; padding: 28px 0 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px clamp(20px, 3vw, 44px); border-top: 1px solid rgba(22, 22, 22, .14); }
.facts b { display: block; margin-bottom: 6px; font-weight: 600; font-size: 16px; }
.facts span { font-size: 15px; line-height: 1.45; color: var(--ink-2); }

/* Industries */
.inds { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.ind { padding: 24px 26px; background: #fff; border-radius: 18px; }
.ind h3 { display: flex; align-items: center; gap: 12px; margin: 0 0 14px; font-size: 18px; font-weight: 600; }
.ind svg { width: 24px; height: 24px; fill: none; stroke: var(--coral-deep); stroke-width: 1.4; stroke-linejoin: round; stroke-linecap: round; flex: none; }
.ind ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; font-size: 15.5px; color: var(--ink-2); }

/* Compare */
.table-wrap { overflow-x: auto; }
.cmp { width: 100%; min-width: 620px; border-collapse: collapse; font-size: 16px; line-height: 1.4; }
.cmp th, .cmp td { padding: 18px 20px 18px 0; text-align: left; border-bottom: 1px solid rgba(22, 22, 22, .12); vertical-align: top; }
.cmp thead th { font-size: 13px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.cmp tbody th { font-weight: 600; width: 30%; }
.cmp td { color: var(--muted); width: 35%; }
.cmp td.ok { color: var(--ink); font-weight: 500; }

/* Pricing */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.plan { padding: 30px 30px 32px; background: #fff; border-radius: 20px; border: 1px solid transparent; }
.plan.top { border-color: var(--coral-deep); }
.plan h3 { margin: 0 0 16px; font-size: 20px; font-weight: 600; }
.plan-price { margin: 0; color: var(--ink-2); font-size: 15px; }
.plan-price b { font-family: var(--serif); font-weight: 500; font-size: 48px; letter-spacing: -.02em; color: var(--ink); margin-right: 4px; }
.plan-note { margin: 6px 0 20px; font-size: 14px; color: var(--muted); min-height: 20px; }
.plan ul { list-style: none; margin: 0; padding: 18px 0 0; border-top: 1px solid rgba(22, 22, 22, .1); display: grid; gap: 9px; font-size: 15.5px; }

/* FAQ */
.faq { margin-top: 32px; border-top: 1px solid rgba(22, 22, 22, .14); }
.faq details { border-bottom: 1px solid rgba(22, 22, 22, .14); }
.faq summary { padding: 20px 32px 20px 0; font-size: 18px; font-weight: 500; line-height: 1.35; cursor: pointer; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 16px; font-size: 24px; font-weight: 400; color: var(--coral-deep); }
.faq details[open] summary::after { content: "–"; }
.faq p { margin: 0 0 22px; max-width: 720px; font-size: 16px; line-height: 1.55; color: var(--ink-2); }

/* Final call to action */
.get { text-align: center; }
.get .lead { margin: 16px auto 0; }
.get-cta { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin-top: 30px; }
.fix-cta { margin-top: 22px; }
.fix-cta .btn { width: 100%; }

@media (max-width: 1000px) {
  .shots, .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .inds, .plans { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 860px) {
  .sec-head { grid-template-columns: minmax(0, 1fr); }
  .loop { grid-template-columns: minmax(0, 1fr); }
  .loop .phone { order: -1; width: min(270px, 72vw); margin: 0 auto; }
}
@media (max-width: 520px) {
  .shots, .facts { grid-template-columns: minmax(0, 1fr); }
  .shot .phone { max-width: 240px; }
}
