/* RW Media Group — static v2 site. Shared styles for all pages. */
:root {
  --ink: #16133A; --muted: #5B5878; --indigo: #2C2378; --indigo-2: #3B2C8A; --lagoon: #2AA7CF;
  --aqua: #6EE7F0; --wash: #F7F8FC; --line: #E4E6F0; --link: #1F6FB8; --navy: #1E1446;
  --radius: 18px; --shadow: 0 10px 30px rgba(22, 19, 58, 0.06);
  --font: "Poppins", -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.6; color: var(--ink); background: #fff; overflow-x: hidden; }
img, video { max-width: 100%; display: block; }
a { color: var(--link); }
a:hover { color: var(--indigo); }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; letter-spacing: -0.02em; }
h1 { font-size: clamp(34px, 5.2vw, 56px); font-weight: 800; }
h2 { font-size: clamp(26px, 3.4vw, 36px); font-weight: 700; }
h3 { font-size: 20px; font-weight: 600; }
p { margin: 0 0 1em; }
.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.wrap.narrow { max-width: 860px; }
.center { text-align: center; margin-top: 32px; }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, 0.96); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }
.brand img { height: 40px; width: auto; }
.site-nav { display: flex; gap: 6px; flex-wrap: wrap; }
.site-nav a { color: var(--ink); text-decoration: none; font-weight: 500; font-size: 15px; padding: 8px 14px; border-radius: 999px; white-space: nowrap; }
.site-nav a:hover { background: #EEF0FA; color: var(--indigo); }
.site-nav a[aria-current="page"] { background: var(--indigo); color: #fff; }

/* Heroes */
.hero { color: #fff; position: relative; background: radial-gradient(1200px 500px at 50% -10%, #4A3AA3 0%, #2C2378 45%, #1D1756 100%); overflow: hidden; }
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 80px; background: linear-gradient(180deg, rgba(110, 231, 240, 0) 0%, rgba(42, 167, 207, 0.25) 100%); pointer-events: none; }
.hero .wrap { position: relative; z-index: 1; }
.hero-home { padding: 96px 0 104px; }
.hero-text-center { text-align: center; max-width: 900px; }
.hero-text-center .lead { margin-left: auto; margin-right: auto; }
.eyebrow { color: var(--aqua); font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 14px; }
.lead { font-size: 21px; color: rgba(255, 255, 255, 0.86); max-width: 760px; }
.lead strong { color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 28px; }
.btn { display: inline-flex; align-items: center; justify-content: center; text-decoration: none; font-weight: 600; font-size: 16px; padding: 13px 24px; border-radius: 999px; border: 1px solid transparent; transition: background .15s, color .15s; }
.btn-primary { background: #fff; color: var(--indigo); }
.btn-primary:hover { background: #EAFCFE; color: var(--indigo); }
.btn-ghost { color: #fff; border-color: rgba(255, 255, 255, 0.4); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.1); color: #fff; }
.btn-solid { background: var(--indigo); color: #fff; }
.btn-solid:hover { background: #3A2E98; color: #fff; }

.hero-app { padding: 64px 0 80px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 48px; align-items: center; }
.hero-grid h1 { margin-top: 8px; }
.app-title { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.app-title img { width: 64px; height: 64px; border-radius: 15px; box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3); }
.app-title strong { display: block; font-size: 18px; }
.app-title span { display: block; font-size: 14px; color: rgba(255, 255, 255, 0.7); }
.hero-app .lead { font-size: 18px; }
.price-line { font-size: 15px; color: rgba(255, 255, 255, 0.78); margin-top: 14px; }
.price-line strong { color: #fff; }
.appstore { display: inline-flex; align-items: center; gap: 12px; background: #000; color: #fff; text-decoration: none; border: 1px solid rgba(255, 255, 255, 0.35); border-radius: 14px; padding: 10px 20px 10px 16px; margin-top: 8px; }
.appstore:hover { color: #fff; background: #111; }
.appstore svg { width: 30px; height: 30px; flex: none; }
.appstore span { display: flex; flex-direction: column; line-height: 1.15; text-align: left; }
.appstore small { font-size: 12px; opacity: .85; }
.appstore b { font-size: 22px; font-weight: 600; letter-spacing: -0.01em; }
.appstore em { font-style: normal; font-size: 12px; opacity: .8; margin-top: 2px; }
.appstore-dark { border-color: #000; }

.page-hero { color: #fff; background: linear-gradient(135deg, #2C2378 0%, #3A2D8F 60%, #24799F 100%); padding: 72px 0 64px; }
.page-hero .lead { color: rgba(255, 255, 255, 0.85); }

/* Video */
.video-frame { position: relative; border-radius: var(--radius); overflow: hidden; background: #0E0B2A; aspect-ratio: 16 / 9; box-shadow: 0 30px 70px rgba(22, 19, 58, 0.25); }
.video-frame video { width: 100%; height: 100%; object-fit: contain; background: #0E0B2A; }
.video-hero { box-shadow: 0 30px 70px rgba(0, 0, 0, 0.45); border: 1px solid rgba(255, 255, 255, 0.15); }
.video-feature { max-width: 960px; margin: 0 auto; }
.video-note { text-align: center; font-size: 14px; color: var(--muted); margin: 12px 0 0; }
.video-note-light { color: rgba(255, 255, 255, 0.7); }

/* Sections */
.section { padding: 80px 0; }
.section-wash { background: var(--wash); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { text-align: center; max-width: 760px; margin: 0 auto 40px; }
.section-head p { color: var(--muted); font-size: 18px; margin: 0; }

/* Gallery: whole screenshots, never cropped */
.gallery { display: flex; flex-wrap: wrap; justify-content: center; gap: 24px; margin-top: 48px; }
.section-head + .gallery { margin-top: 0; }
.shot { margin: 0; width: calc((100% - 48px) / 3); background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; display: flex; flex-direction: column; }
.shot-stage { position: relative; display: block; aspect-ratio: 1 / 1; background: linear-gradient(135deg, #F1EFFF 0%, #E8F9FC 100%); }
.shot-stage img { position: absolute; inset: 16px; width: calc(100% - 32px); height: calc(100% - 32px); object-fit: contain; }
.shot figcaption { padding: 14px 18px 18px; font-size: 15px; color: var(--muted); line-height: 1.5; }
.shot figcaption strong { color: var(--ink); }

/* Device clips */
.clips { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.clip { margin: 0; }
.clip .video-frame { box-shadow: var(--shadow); }
.clip figcaption { padding: 14px 4px 0; font-size: 15px; color: var(--muted); }
.clip figcaption strong { display: block; color: var(--ink); font-size: 18px; }

/* Cards */
.cards { display: grid; gap: 24px; }
.cards-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cards-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.card h3 { font-size: 18px; }
.card p { color: var(--muted); font-size: 16px; margin: 0; }
.tile { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 12px; background: linear-gradient(135deg, #E9E6FF 0%, #DFF7FB 100%); font-size: 24px; margin-bottom: 16px; }
.card-link { text-decoration: none; color: inherit; transition: transform .15s, box-shadow .15s; }
.card-link:hover { transform: translateY(-2px); box-shadow: 0 16px 40px rgba(22, 19, 58, 0.12); color: inherit; }
.card-link h3 { color: var(--indigo); }
.platform-cards { margin-top: 24px; }

/* App card (Home) */
.app-card { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 28px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 32px; box-shadow: var(--shadow); max-width: 980px; margin: 0 auto; }
.app-card-icon { width: 116px; height: 116px; border-radius: 26px; box-shadow: 0 12px 30px rgba(22, 19, 58, 0.2); }
.app-card h3 { font-size: 24px; }
.app-card p { color: var(--muted); }
.pills { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.pills li { background: #EEF0FA; color: var(--indigo); font-size: 13px; font-weight: 600; padding: 6px 12px; border-radius: 999px; }
.pills .pill-teal { background: #E3F7FB; color: #126D88; }
.pills a { color: inherit; text-decoration: none; }

/* App details */
.details { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.details > div { padding: 24px; border-left: 1px solid var(--line); }
.details > div:first-child { border-left: 0; }
.details dt { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); }
.details dd { margin: 4px 0 6px; font-size: 20px; font-weight: 700; color: var(--indigo); }
.details p { margin: 0; font-size: 14px; color: var(--muted); overflow-wrap: anywhere; }

/* Contact */
.contact-card { display: flex; align-items: center; justify-content: space-between; gap: 24px; background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 36px; box-shadow: var(--shadow); max-width: 980px; margin: 0 auto; }
.contact-card p { color: var(--muted); margin-bottom: .5em; }
.contact-card p:last-child { margin-bottom: 0; }
.contact-line span { display: block; font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); }
.contact-line a { font-size: 20px; font-weight: 600; overflow-wrap: anywhere; }
.contact-card .btn { flex: none; }

/* Feature Request form and invite actions */
#feature-request { scroll-margin-top: 112px; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 12px; flex: none; align-items: center; }
.btn-outline { background: transparent; color: var(--indigo); border-color: var(--indigo); }
.btn-outline:hover { background: #EEF0FA; color: var(--indigo); }
button.btn { font-family: inherit; cursor: pointer; -webkit-appearance: none; appearance: none; }
button.btn:disabled { opacity: 0.6; cursor: not-allowed; }
.contact-card-form { flex-direction: column; align-items: stretch; }
.contact-card-form .feature-form { position: relative; width: 100%; max-width: 560px; }
.feature-form p { margin: 0 0 16px; }
.feature-form label { display: block; font-size: 15px; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.feature-form input[type="text"],
.feature-form input[type="email"],
.feature-form textarea {
  display: block; width: 100%; font-family: inherit; font-size: 16px; line-height: 1.4;
  color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 12px;
  padding: 12px 16px; margin: 0;
}
.feature-form textarea { resize: vertical; min-height: 140px; }
.feature-form input:focus, .feature-form textarea:focus {
  outline: 2px solid var(--indigo); outline-offset: 1px; border-color: var(--indigo);
}
.feature-form .form-privacy { font-size: 14px; color: var(--muted); margin: 4px 0 20px; }
.feature-form .form-privacy a { font-weight: 600; white-space: nowrap; }
.feature-form .form-status { font-size: 16px; font-weight: 600; margin-top: 16px; }
.feature-form .form-status.is-success { color: var(--indigo); }
.feature-form .form-fallback { font-size: 15px; color: var(--muted); margin-top: 12px; }
.feature-form .hp {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: 0;
  overflow: hidden; clip-path: inset(50%); border: 0;
}


/* Prose, FAQ, policy */
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1em; }
.prose li { margin-bottom: .45em; }
.prose h3 { margin-top: 1.4em; }
.faq-list { display: grid; gap: 12px; margin-top: 24px; }
.faq { background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 56px 18px 22px; font-weight: 600; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); font-size: 26px; font-weight: 400; color: var(--lagoon); }
.faq[open] summary::after { content: "−"; }
.faq-a { padding: 0 22px 18px; color: #33304F; }
.faq-a p:last-child, .faq-a ul:last-child { margin-bottom: 0; }
.faq-a ul { padding-left: 1.2em; }
.policy h2 { font-size: 26px; margin-top: 1.6em; }
.meta-box { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; margin: 0 0 32px; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.meta-box > div { padding: 16px 20px; border-bottom: 1px solid var(--line); }
.meta-box > div:nth-child(odd) { border-right: 1px solid var(--line); }
.meta-box > div:nth-last-child(-n+2) { border-bottom: 0; }
.meta-box dt { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); }
.meta-box dd { margin: 2px 0 0; overflow-wrap: anywhere; }
.callout { background: linear-gradient(135deg, #F1EFFF 0%, #E8F9FC 100%); border: 1px solid #D9DCF3; border-radius: var(--radius); padding: 24px 28px; margin: 28px 0; }
.policy .callout h2 { margin-top: 0; font-size: 22px; }
.callout p { margin: 0; }
.contact-block { line-height: 1.8; overflow-wrap: anywhere; }

/* Footer */
.site-footer { background: var(--navy); color: rgba(255, 255, 255, 0.78); padding: 48px 0 40px; font-size: 15px; }
.footer-inner { display: grid; grid-template-columns: 1fr auto; gap: 20px 32px; align-items: center; }
.footer-brand { display: flex; align-items: center; gap: 14px; }
.footer-brand img { width: 44px; height: 44px; }
.footer-brand strong { display: block; color: #fff; font-size: 17px; }
.footer-brand span { display: block; font-size: 14px; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.footer-nav a, .footer-contact a { color: #fff; text-decoration: none; }
.footer-nav a:hover, .footer-contact a:hover { color: var(--aqua); }
.footer-contact { margin: 0; }
.footer-copy { margin: 0; font-size: 13px; color: rgba(255, 255, 255, 0.6); grid-column: 1 / -1; border-top: 1px solid rgba(255, 255, 255, 0.12); padding-top: 20px; }

/* Responsive */
@media (max-width: 1000px) {
  .hero-grid { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
  .hero-copy { display: contents; }
  .hero-copy .app-title { order: 1; }
  .hero-copy h1 { order: 2; }
  .hero-media { order: 3; margin: 4px 0 28px; width: 100%; }
  .hero-copy .lead { order: 4; }
  .hero-copy .appstore { order: 5; align-self: flex-start; }
  .hero-copy .price-line { order: 6; }
  .shot { width: calc((100% - 24px) / 2); }
  .cards-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .clips { grid-template-columns: 1fr; max-width: 720px; margin: 0 auto; }
  .details { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .details > div:nth-child(3) { border-left: 0; }
  .details > div:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .wrap { padding: 0 18px; }
  #feature-request { scroll-margin-top: 140px; }
  .header-inner { flex-direction: column; align-items: stretch; gap: 6px; min-height: 0; padding-top: 10px; padding-bottom: 8px; }
  .brand img { height: 32px; }
  .site-nav { gap: 2px; justify-content: space-between; flex-wrap: nowrap; }
  .site-nav a { font-size: 14px; padding: 6px 10px; }
  .hero-home { padding: 56px 0 64px; }
  .hero-app { padding: 40px 0 56px; }
  .page-hero { padding: 48px 0 44px; }
  .lead { font-size: 18px; }
  .hero-app .lead { font-size: 16px; }
  .btn-row { flex-direction: column; align-items: stretch; }
  .section { padding: 56px 0; }
  .section-head { margin-bottom: 28px; }
  .section-head p { font-size: 16px; }
  .gallery { gap: 18px; }
  .shot, .cards-3, .cards-2 { width: 100%; }
  .cards-3, .cards-2 { grid-template-columns: 1fr; }
  .card { padding: 22px; }
  .app-card { grid-template-columns: 1fr; text-align: center; padding: 24px; gap: 18px; justify-items: center; }
  .app-card-icon { width: 88px; height: 88px; }
  .pills { justify-content: center; }
  .details { grid-template-columns: 1fr; }
  .details > div { border-left: 0; border-top: 1px solid var(--line); }
  .details > div:first-child { border-top: 0; }
  .contact-card { flex-direction: column; align-items: stretch; padding: 24px; text-align: left; }
  .contact-actions { flex-direction: column; align-items: stretch; }
  .contact-actions .btn { width: 100%; }
  .meta-box { grid-template-columns: 1fr; }
  .meta-box > div:nth-child(odd) { border-right: 0; }
  .meta-box > div:nth-last-child(2) { border-bottom: 1px solid var(--line); }
  .footer-inner { grid-template-columns: 1fr; }
  .appstore b { font-size: 20px; }
}