/* Cordless Studios — site styles */
:root {
  --bg: #0B0C0E;
  --bg-2: #0F1013;
  --card: #15171B;
  --card-2: #0D0E10;
  --line: #23252B;
  --line-soft: #1E2025;
  --ink: #F3F4F5;
  --muted: #B6B9BF;
  --subtle: #8E929A;
  --blue: #02BBD1;
  --red: #FC3535;
  --accent: var(--blue);
  --accent-ink: #071114;
  --glow: rgba(2, 187, 209, 0.22);
  --display: 'Wix Madefor Display', Inter, system-ui, sans-serif;
  --body: Inter, system-ui, -apple-system, sans-serif;
}
.theme-limelight { --accent: #9BE23C; --accent-ink: #111214; --glow: rgba(155, 226, 60, 0.22); --card: #141517; --line: #24262A; }
.theme-cadence   { --bg: #0E0F12; --bg-2: #13151B; --card: #1A1C21; --line: #26292F; --accent: #5B7CFF; --accent-ink: #FFFFFF; --glow: rgba(91, 124, 255, 0.30); --muted: #A8ACB4; --subtle: #8F949E; --body: Manrope, Inter, system-ui, sans-serif; }
.theme-juke      { --bg: #0B0B0D; --bg-2: #101012; --card: #141417; --line: #26262C; --accent: #D92E48; --accent-ink: #FFFFFF; --glow: rgba(217, 46, 72, 0.26); --muted: #B9B9C1; --subtle: #A1A1AA; }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
h1, h2, h3 { line-height: 1.1; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--body); line-height: 1.5; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; }
.wrap { max-width: 1200px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.display { font-family: var(--display); font-weight: 800; letter-spacing: -0.03em; }

/* Header */
.site-header { border-bottom: 1px solid var(--line-soft); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 18px; padding-bottom: 18px; }
.site-header .logo img { height: 26px; width: auto; }
.site-nav { display: flex; gap: 26px; flex-wrap: wrap; font-size: 15px; font-weight: 500; }
.site-nav a { color: var(--muted); transition: color 0.2s; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--ink); }
.product-bar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 16px; padding-bottom: 16px; }
.product-bar nav { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; font-size: 15px; font-weight: 500; }
.product-bar nav a:not(.btn) { color: var(--muted); }
.product-bar nav a:not(.btn):hover { color: var(--ink); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; height: 50px; padding: 0 26px; border-radius: 999px; border: none; font: 700 16px/1 var(--body); cursor: pointer; transition: transform 0.2s, filter 0.2s; }
.btn:hover { filter: brightness(1.08); transform: translateY(-1px); }
.btn-accent { background: var(--accent); color: var(--accent-ink); }
.btn-ghost { background: transparent; color: var(--ink); border: 1px solid rgba(255,255,255,0.18); }
.btn-light { background: var(--ink); color: var(--bg); }
.btn-sm { height: 40px; padding: 0 18px; font-size: 15px; }

/* Hero */
.hero { position: relative; text-align: center; overflow: hidden; }
.hero .wrap { position: relative; display: flex; flex-direction: column; align-items: center; gap: 24px; padding-top: 96px; padding-bottom: 88px; }
.eyebrow { font-size: 14px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); }
.hero h1 { margin: 0; font-size: clamp(42px, 7.2vw, 94px); line-height: 1.02; max-width: 1000px; }
.hero p.lead { margin: 0; font-size: clamp(18px, 2vw, 22px); color: var(--muted); max-width: 700px; }
.hero .actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-top: 8px; }
.hero-icon { width: 132px; height: 132px; position: relative; }
.hero-glow { position: absolute; top: -140px; left: 50%; width: 960px; height: 720px; transform: translateX(-50%); background: radial-gradient(closest-side, var(--glow), transparent 70%); pointer-events: none; }

/* Home: moving red + blue orbs */
.orb { position: absolute; top: 50%; left: 50%; width: 1000px; height: 620px; margin: -310px 0 0 -500px; pointer-events: none; animation: orb-spin 26s linear infinite; }
.orb span { position: absolute; top: 50%; width: 540px; height: 540px; margin-top: -270px; border-radius: 50%; }
.orb .r { left: 90px; background: radial-gradient(closest-side, rgba(252,53,53,0.34), rgba(252,53,53,0)); animation: orb-pulse 8s ease-in-out infinite; }
.orb .b { right: 90px; background: radial-gradient(closest-side, rgba(2,187,209,0.36), rgba(2,187,209,0)); animation: orb-pulse 8s ease-in-out infinite 4s; }
@keyframes orb-spin { to { transform: rotate(360deg); } }
@keyframes orb-pulse { 0%, 100% { opacity: 0.45; transform: scale(0.85); } 50% { opacity: 1; transform: scale(1.18); } }
.glow-pulse { animation: glow-pulse 6s ease-in-out infinite; }
@keyframes glow-pulse { 0%, 100% { opacity: 0.7; transform: translateX(-50%) scale(0.92); } 50% { opacity: 1; transform: translateX(-50%) scale(1.08); } }

/* Sections */
.section { padding-top: 100px; padding-bottom: 100px; }
.section-alt { background: var(--bg-2); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.section-head { display: flex; flex-direction: column; gap: 14px; max-width: 780px; margin-bottom: 44px; }
.section-head.center { max-width: 960px; margin-left: auto; margin-right: auto; text-align: center; align-items: center; }
.section-head h2 { margin: 0; font-size: clamp(32px, 4.4vw, 54px); line-height: 1.08; }
.section-head p { margin: 0; font-size: 18px; color: var(--muted); }
.grid { display: grid; gap: 20px; }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }

.card { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 26px; display: flex; flex-direction: column; gap: 10px; }
.card h3 { margin: 0; font-size: 19px; font-weight: 700; }
.card p { margin: 0; font-size: 15px; color: var(--subtle); line-height: 1.55; }
.card .tag { font-size: 14px; color: var(--subtle); }

/* App cards on home */
.app-card { border-radius: 28px; padding: 36px 32px 32px; display: flex; flex-direction: column; gap: 18px; border: 1px solid; transition: transform 0.3s; }
.app-card:hover { transform: translateY(-4px); }
.app-card img, .app-card svg { width: 96px; height: 96px; }
.app-card .name { font-size: 30px; font-weight: 800; letter-spacing: -0.02em; }
.app-card .desc { font-size: 17px; color: #C4C7CC; line-height: 1.5; }
.app-card .foot { margin-top: auto; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-top: 18px; border-top: 1px solid; font-size: 14px; color: #9A9EA5; }
.pill { font-size: 13px; font-weight: 700; padding: 6px 12px; border-radius: 999px; }
.app-limelight { background: radial-gradient(120% 80% at 50% 0%, rgba(155,226,60,0.22), rgba(155,226,60,0) 60%), #121411; border-color: #262A22; }
.app-limelight .foot { border-color: #262A22; }
.app-cadence { background: radial-gradient(120% 80% at 50% 0%, rgba(91,124,255,0.26), rgba(91,124,255,0) 60%), #111218; border-color: #23263A; }
.app-cadence .foot { border-color: #23263A; }
.app-juke { background: radial-gradient(120% 80% at 50% 0%, rgba(217,46,72,0.24), rgba(217,46,72,0) 60%), #131012; border-color: #2C2226; }
.app-juke .foot { border-color: #2C2226; }

/* Method cards */
.method { padding: 14px 14px 28px; gap: 14px; border-radius: 22px; }
.method .art { height: 170px; border-radius: 14px; background: var(--card-2); display: flex; align-items: center; justify-content: center; }
.method .text { padding: 0 14px; display: flex; flex-direction: column; gap: 10px; }
.method h3 { font-size: 20px; }
.method p { font-size: 16px; color: #A3A6AD; }

/* Forms */
.signup { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; width: 100%; max-width: 520px; }
.signup input { flex: 1 1 240px; min-width: 0; height: 52px; padding: 0 20px; border-radius: 999px; border: 1px solid rgba(255,255,255,0.14); background: rgba(255,255,255,0.05); color: var(--ink); font: 16px var(--body); }
.signup input::placeholder { color: #7C7F85; }
.signup input:focus { outline: 2px solid var(--accent); outline-offset: 2px; }
.signup .btn { height: 52px; }
.form-note { font-size: 13px; color: var(--subtle); min-height: 1.4em; }
.form-note.ok { color: var(--accent); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Drawn app windows */
.window { background: #17181A; border: 1px solid #2A2C30; border-radius: 22px; overflow: hidden; box-shadow: 0 40px 120px var(--glow); }
.window .bar { height: 40px; display: flex; align-items: center; gap: 8px; padding: 0 16px; border-bottom: 1px solid #26282C; font-size: 13px; color: #8A8D93; }
.window .bar i { width: 12px; height: 12px; border-radius: 6px; background: #3A3C40; }
.phone { flex: 0 0 230px; height: 470px; border-radius: 42px; background: #000; padding: 8px; box-shadow: 0 30px 60px rgba(0,0,0,0.5); }
.phone .screen { height: 100%; border-radius: 35px; padding: 40px 14px 14px; display: flex; flex-direction: column; gap: 10px; }
.showcase { display: flex; flex-wrap: wrap; gap: 28px; align-items: flex-end; justify-content: center; }
.showcase .window { flex: 999 1 640px; min-width: 0; }

/* Footer */
.site-footer { border-top: 1px solid var(--line-soft); }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: space-between; padding-top: 36px; padding-bottom: 48px; font-size: 14px; color: var(--subtle); }
.site-footer nav { display: flex; gap: 24px; flex-wrap: wrap; }
.site-footer nav a { color: #A3A6AD; }
.site-footer nav a:hover { color: var(--ink); }
.site-footer .logo img { height: 21px; width: auto; }

/* Legal / support text pages */
.prose { max-width: 760px; margin: 0 auto; padding: 72px 24px 100px; }
.prose h1 { font-size: clamp(36px, 5vw, 52px); margin: 0 0 8px; }
.prose h2 { font-size: 22px; margin: 40px 0 10px; }
.prose p, .prose li { color: var(--muted); font-size: 17px; line-height: 1.65; }
.prose a { color: var(--accent); }
.prose .updated { color: var(--subtle); font-size: 14px; }

/* Fade-ins: opacity only, staggered left to right */
.reveal { opacity: 0; transition: opacity 0.9s ease; transition-delay: var(--d, 0s); }
.reveal.is-in { opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transition: none; }
  .orb, .orb span, .glow-pulse { animation: none; }
}

@media (max-width: 640px) {
  .site-nav { gap: 18px; font-size: 14px; }
  .section { padding-top: 72px; padding-bottom: 72px; }
  .hero .wrap { padding-top: 64px; padding-bottom: 64px; }
  .phone { display: none; }
  .win-grid { grid-template-columns: minmax(0, 1fr) !important; }
  .win-side { display: none !important; }
}
