/* Island pages. Uses the studio tokens from /style.css; adds the notch frame and pricing. */
.island-hero { padding-top: clamp(40px, 7vw, 88px); }
.island-hero h1 { font-size: clamp(2.5rem, 6.4vw, 4.6rem); line-height: 1.08; letter-spacing: -0.03em; margin: 0 0 20px; }
.island-hero .lede { max-width: 58ch; }
.island-cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 28px; }
.island-cta .btn[aria-disabled="true"] { opacity: .55; pointer-events: none; }
.island-note { margin-top: 14px; color: var(--muted); font-size: .92rem; }

/* The island itself: real captures sit under a notch-shaped black frame. */
.notch-stage { margin: clamp(36px, 6vw, 64px) auto 0; max-width: 940px; }
.notch-frame { background: #000; border-radius: 0 0 28px 28px; padding: 6px 6px 8px; box-shadow: 0 24px 60px rgba(0,0,0,.28), 0 0 0 1px rgba(255,255,255,.04) inset; }
.notch-frame img { display: block; width: 100%; height: auto; border-radius: 0 0 22px 22px; }
.notch-caption { text-align: center; color: var(--muted); font-size: .9rem; margin-top: 14px; }

.island-section { padding: clamp(56px, 8vw, 100px) 0; }
.island-section + .island-section { padding-top: 0; }

.feature-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: 14px; }
.feature { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 20px; }
.feature h3 { margin: 10px 0 6px; font-size: 1.05rem; }
.feature p { margin: 0; color: var(--fg-soft); font-size: .95rem; line-height: 1.5; }
.feature .ico { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: var(--surface-2); color: var(--accent-ink); }
.feature .ico svg { width: 20px; height: 20px; }

.pro-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(28px, 5vw, 72px); align-items: center; padding: clamp(28px, 4vw, 48px) 0; border-top: 1px solid var(--border); }
.pro-row:first-of-type { border-top: 0; }
.pro-row.flip .pro-copy { order: 2; }
.pro-copy h3 { font-size: clamp(1.5rem, 3vw, 2.1rem); line-height: 1.15; letter-spacing: -0.02em; margin: 8px 0 12px; }
.pro-copy p { color: var(--fg-soft); margin: 0 0 12px; max-width: 52ch; }
.pro-copy ul { margin: 0; padding-left: 1.1em; color: var(--fg-soft); }
.pro-copy li { margin: 4px 0; }
.shot { background: #000; border-radius: 22px; padding: 6px; box-shadow: var(--shadow-md); }
.shot img { display: block; width: 100%; height: auto; border-radius: 18px; }
.shot + .shot { margin-top: 12px; }
.pro-tag { display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 3px 9px; border-radius: 999px;
           color: var(--accent-ink); background: color-mix(in srgb, var(--accent) 12%, transparent); border: 1px solid color-mix(in srgb, var(--accent) 30%, transparent); }

/* Ask mock: text, not a screenshot, so it reads in both themes. */
.ask-mock { background: #0b0b0d; color: #eef0f4; border-radius: 22px; padding: 22px; font-size: .95rem; line-height: 1.55; box-shadow: var(--shadow-md); }
.ask-mock .q { background: #1c1d22; border-radius: 12px; padding: 10px 14px; margin-bottom: 14px; }
.ask-mock sup { color: #b69cff; font-weight: 700; }
.ask-mock .src { margin-top: 14px; font-size: .82rem; color: #9aa1ad; display: grid; gap: 4px; }
.ask-mock .src b { color: #b69cff; }

.privacy-band { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 44px); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 22px; }
.privacy-band h3 { margin: 0 0 6px; font-size: 1.05rem; }
.privacy-band p { margin: 0; color: var(--fg-soft); font-size: .95rem; }

/* Pricing */
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 270px), 1fr)); gap: 14px; align-items: stretch; }
.plan { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.plan.featured { border-color: color-mix(in srgb, var(--accent) 55%, var(--border)); box-shadow: var(--shadow-md); }
.plan h3 { margin: 0; font-size: 1.1rem; }
.plan .price { font-size: 2.4rem; font-weight: 700; letter-spacing: -0.03em; line-height: 1; }
.plan .price s { font-size: 1.1rem; color: var(--muted); font-weight: 500; margin-left: 6px; }
.plan .sub { color: var(--muted); font-size: .9rem; min-height: 1.4em; }
.plan ul { list-style: none; margin: 6px 0 0; padding: 0; display: grid; gap: 7px; color: var(--fg-soft); font-size: .95rem; }
.plan li::before { content: "✓"; color: var(--accent-ink); font-weight: 700; margin-right: 8px; }
.plan .btn { margin-top: auto; align-self: flex-start; }

.steps-list { counter-reset: s; list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; grid-template-columns: 1fr; }
.steps-list li { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 18px 20px; color: var(--fg-soft); font-size: .95rem; }
.steps-list li::before { counter-increment: s; content: counter(s); display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%;
  background: var(--accent); color: var(--accent-contrast); font-weight: 700; font-size: .9rem; margin-bottom: 10px; }
.steps-list strong { color: var(--fg); display: block; margin-bottom: 4px; }

.faq { display: grid; gap: 10px; max-width: 820px; }
.faq details { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 14px 18px; }
.faq summary { cursor: pointer; font-weight: 600; }
.faq details p { color: var(--fg-soft); margin: 10px 0 2px; }

/* Buy page */
.buy-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.buy-card { background: var(--surface); border: 1px solid var(--border); border-radius: 20px; padding: clamp(22px, 3vw, 32px); box-shadow: var(--shadow-md); }
.buy-card .price { font-size: clamp(2.8rem, 6vw, 3.6rem); font-weight: 700; letter-spacing: -0.03em; line-height: 1; margin: 10px 0 4px; }
.buy-card .price s { font-size: 1.3rem; color: var(--muted); font-weight: 500; margin-left: 8px; }
.offer-meter { height: 8px; border-radius: 8px; background: var(--surface-2); overflow: hidden; margin: 12px 0 6px; }
.offer-meter i { display: block; height: 100%; width: 0; background: var(--accent); transition: width .6s ease; }
.buy-card .btn { width: 100%; justify-content: center; margin-top: 18px; font-size: 1.02rem; }
.buy-card .btn[disabled] { opacity: .6; cursor: progress; }
.buy-status { min-height: 1.4em; margin-top: 12px; font-size: .92rem; color: var(--fg-soft); }
.buy-status.error { color: #b3261e; }
html[data-theme="dark"] .buy-status.error { color: #ffb4ab; }
.buy-fine { color: var(--muted); font-size: .82rem; margin-top: 14px; line-height: 1.5; }
.buy-done { display: none; }
.buy-done.on { display: block; }
.recover { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.recover input { flex: 1 1 220px; min-width: 0; padding: 11px 14px; border-radius: 10px; border: 1px solid var(--border-strong); background: var(--surface); color: var(--fg); font: inherit; }
.recover input:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

@media (max-width: 860px) {
  .pro-row, .buy-grid { grid-template-columns: 1fr; }
  .pro-row.flip .pro-copy { order: 0; }
}
@media (prefers-reduced-motion: reduce) { .offer-meter i { transition: none; } }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* How Island is different */
.compare { overflow-x: auto; border-radius: 16px; border: 1px solid var(--border); background: var(--surface); }
.compare table { width: 100%; border-collapse: collapse; min-width: 560px; font-size: .95rem; }
.compare th, .compare td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--border); }
.compare tbody tr:last-child th, .compare tbody tr:last-child td { border-bottom: 0; }
.compare thead th { font-size: .82rem; text-transform: uppercase; letter-spacing: .04em; color: var(--fg-soft); }
.compare thead th:nth-child(2), .compare td:nth-child(2) { color: var(--fg); font-weight: 700; background: color-mix(in srgb, var(--accent, #7c5cff) 8%, transparent); }
.compare tbody th { font-weight: 600; }
.compare td { color: var(--fg-soft); }

/* Demo film */
.film { margin: 0 auto; max-width: 720px; }
.film video { display: block; width: 100%; height: auto; border-radius: 20px; background: #0b0b0d; box-shadow: var(--shadow-md); }
.film figcaption { margin-top: 10px; text-align: center; font-size: .85rem; color: var(--fg-soft); }

/* Install: each step card carries its picture, in an equal-height area at the bottom */
.install-steps li { display: flex; flex-direction: column; }
.install-steps .step-text { margin: 0; }
/* Line the cards' parts up across each row: number, title, text, picture. */
@supports (grid-template-rows: subgrid) {
  @media (min-width: 700px) {
    .install-steps li { display: grid; grid-row: span 4; grid-template-rows: subgrid; row-gap: 0; }
    .install-steps { row-gap: 14px; }
  }
}
.install-steps .step-visual { margin: 16px -20px -18px; flex: 1; align-self: stretch; min-height: 260px; display: grid; place-items: center; padding: 20px;
  border-top: 1px solid var(--border); border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  background: linear-gradient(160deg, #1b1d3a 0%, #3b2a5c 60%, #6a3f62 100%); }
.install-steps .step-visual img { display: block; max-width: 100%; max-height: 240px; width: auto; height: auto; }
.install-steps .step-visual img.framed { border-radius: 10px; box-shadow: 0 12px 30px rgba(0,0,0,.35); }
.install-steps .step-visual .btn { box-shadow: 0 12px 30px rgba(0,0,0,.35); }
.install-trust { max-width: 760px; margin: 22px 0 0; color: var(--fg-soft); font-size: .95rem; }
@media (min-width: 700px) { .steps-list { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 699px) { .install-steps .step-visual { min-height: 200px; } }
.install-steps .step-visual img.popup { border-radius: 18px; box-shadow: 0 12px 30px rgba(0,0,0,.35); }
