/* Apple-style shared kit for the reelin.ca mockups */
:root {
  --bg: #ffffff;
  --bg-soft: #f5f5f7;
  --ink: #1d1d1f;
  --ink-2: #6e6e73;
  --ink-3: #86868b;
  --line: rgba(0,0,0,.08);
  --blue: #0a66ff;
  --blue-ink: #0b5fe6;
  --violet: #6e4cff;
  --teal: #12b886;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", sans-serif;
  --display: "Inter Tight", -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", sans-serif;
  --ease: cubic-bezier(.2,.7,.2,1);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); font-size: 17px; line-height: 1.47; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-family: var(--display); letter-spacing: -0.03em; line-height: 1.05; font-weight: 700; }
.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 22px; }
.center { text-align: center; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* Type scale */
.h-hero { font-size: clamp(44px, 7.2vw, 88px); letter-spacing: -0.045em; }
.h-xl { font-size: clamp(36px, 5.4vw, 64px); }
.h-lg { font-size: clamp(30px, 4vw, 48px); }
.h-md { font-size: clamp(24px, 2.6vw, 32px); }
.lead { font-size: clamp(19px, 2vw, 24px); color: var(--ink-2); font-weight: 500; line-height: 1.3; letter-spacing: -0.01em; }
.sub { font-size: 17px; color: var(--ink-2); }
.on-dark { color: #f5f5f7; }
.on-dark .lead, .on-dark .sub { color: rgba(245,245,247,.72); }

/* Links & buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; font-weight: 500; font-size: 17px; padding: 12px 22px; border-radius: 980px; transition: background .2s, color .2s, transform .2s var(--ease); white-space: nowrap; }
.btn:active { transform: scale(.98); }
.btn-blue { background: var(--blue); color: #fff; }
.btn-blue:hover { background: var(--blue-ink); }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: #000; }
.btn-white { background: #fff; color: var(--ink); }
.btn-white:hover { background: #ebebf0; }
.btn-sm { font-size: 14px; padding: 8px 16px; }
.more { display: inline-flex; align-items: center; gap: 4px; color: var(--blue); font-size: 17px; font-weight: 500; }
.more:hover { text-decoration: underline; }
.more svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.links { display: flex; gap: 28px; justify-content: center; flex-wrap: wrap; margin-top: 18px; }
.links.left { justify-content: flex-start; }

/* Nav */
.nav { position: sticky; top: 0; z-index: 40; height: 52px; backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); background: rgba(255,255,255,.72); border-bottom: 1px solid var(--line); }
.nav-inner { display: flex; align-items: center; height: 52px; gap: 28px; }
.nav .logo img { height: 60px; width: auto; margin: -12px 0 -12px -10px; }
.nav-links { display: none; gap: 28px; margin: 0 auto; }
.nav-links a { font-size: 13px; color: var(--ink); opacity: .8; transition: opacity .2s; }
.nav-links a:hover { opacity: 1; }
.nav .btn { margin-left: auto; }
@media (min-width: 820px) { .nav-links { display: flex; } }

/* Variant switcher */
.switch { position: fixed; bottom: 18px; left: 50%; transform: translateX(-50%); z-index: 60; display: flex; gap: 4px; padding: 4px; background: rgba(29,29,31,.85); backdrop-filter: blur(12px); border-radius: 980px; box-shadow: 0 10px 30px -10px rgba(0,0,0,.5); }
.switch a { color: rgba(255,255,255,.7); font-size: 12px; font-weight: 600; padding: 7px 12px; border-radius: 980px; transition: background .2s, color .2s; }
.switch a:hover { color: #fff; }
.switch a.on { background: #fff; color: var(--ink); }

/* Product header (app icon + name) */
.app-id { display: inline-flex; align-items: center; gap: 12px; }
.app-icon { width: 48px; height: 48px; border-radius: 12px; overflow: hidden; box-shadow: 0 6px 16px -6px rgba(0,0,0,.35); background: #0b0b0d; display: grid; place-items: center; }
.app-icon img { width: 100%; height: 100%; }
.app-icon svg { width: 26px; height: 26px; stroke: #fff; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.app-icon.violet { background: linear-gradient(145deg, #7a5cff, #4f2fd6); }
.app-icon.teal { background: linear-gradient(145deg, #1fd1a0, #0d9d72); }
.app-name { font-family: var(--display); font-weight: 600; font-size: 20px; letter-spacing: -0.02em; }
.app-name small { display: block; font-family: var(--font); font-size: 12px; font-weight: 500; color: var(--ink-3); letter-spacing: .02em; }
.on-dark .app-name small { color: rgba(245,245,247,.55); }

/* iPhone mockup */
.iphone { position: relative; aspect-ratio: 430 / 884; border-radius: 13.5% / 6.6%; background: #0c0c0e; padding: 2.6%; box-shadow: 0 0 0 1.5px #2a2a2e inset, 0 30px 60px -24px rgba(0,0,0,.45), 0 2px 6px rgba(0,0,0,.15); }
.iphone .screen { position: relative; width: 100%; height: 100%; border-radius: 11.5% / 5.6%; overflow: hidden; background: #000; }
.iphone .screen img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.iphone .island { position: absolute; top: 2.2%; left: 50%; transform: translateX(-50%); width: 29%; height: 3.6%; background: #000; border-radius: 980px; z-index: 2; }
.iphone .bar { position: absolute; top: 0; left: 0; right: 0; height: 6.2%; z-index: 1; display: flex; align-items: center; justify-content: space-between; padding: 0 7.5%; font-size: clamp(8px, 1.1em, 14px); font-weight: 600; font-family: var(--display); }
.iphone .bar.light { background: #f3f4f8; color: #111; }
.iphone .bar.dark { background: #0a0d1a; color: #fff; }
.iphone .bar.navy { background: #0b1326; color: #fff; }
.iphone .bar .ic { display: flex; gap: 4px; align-items: center; }
.iphone .bar .ic i { display: block; height: .6em; width: .55em; background: currentColor; border-radius: 1px; opacity: .9; }
.iphone .bar .ic i:nth-child(2) { width: .9em; }
.iphone .bar .ic i:nth-child(3) { width: 1.3em; border-radius: 3px; }
.iphone .screen.padded img { height: 93.8%; margin-top: 6.2%; }
.iphone .screen.crop img { object-position: 0 -14%; }

/* Laptop mockup */
.laptop { position: relative; }
.laptop .lid { border-radius: 14px; background: #0c0c0e; padding: 10px 10px 18px; box-shadow: 0 0 0 1.5px #2a2a2e inset, 0 40px 80px -30px rgba(0,0,0,.5); }
.laptop .lid .disp { border-radius: 8px; overflow: hidden; background: #fff; }
.laptop .base { height: 12px; margin: 0 -3%; background: linear-gradient(#d9d9de, #b9b9bf); border-radius: 0 0 14px 14px; }
.laptop .base::after { content: ""; display: block; width: 14%; height: 4px; margin: 0 auto; background: #9a9aa2; border-radius: 0 0 6px 6px; }

/* Section rhythm */
.panel { padding: 96px 0; }
.panel.soft { background: var(--bg-soft); }
.panel.dark { background: #000; }
.panel.navy { background: #0b1326; }
@media (min-width: 900px) { .panel { padding: 128px 0; } }

/* Reveal */
.rv { opacity: 0; transform: translateY(16px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .rv { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* Footer */
.foot { padding: 32px 0 40px; border-top: 1px solid var(--line); background: var(--bg-soft); color: var(--ink-3); font-size: 12px; }
.foot-inner { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }
.foot a:hover { color: var(--ink); }

/* chat composer */
.chat .composer { margin-top: auto; display: flex; align-items: center; gap: 8px; border: 1px solid #e3e3e8; border-radius: 980px; padding: 7px 12px; font-size: 11px; color: #a1a1a6; }
.chat .composer i { margin-left: auto; width: 18px; height: 18px; border-radius: 50%; background: var(--blue); display: block; }
