/* BlyndSyde marketing site - Apple Minimal */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #ffffff;
  --bg-soft: #fbfbfd;
  --bg-elev: #ffffff;
  --text: #1d1d1f;
  --text-soft: #515154;
  --text-muted: #86868b;
  --border: #d2d2d7;
  --border-soft: #e5e5e7;
  --accent: #ff1e1e;
  --accent-soft: #ffe5e5;
  --kbd-bg: #f5f5f7;
  --kbd-shadow: rgba(0, 0, 0, 0.06);
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.12);
  --max-width: 1080px;
  --radius: 18px;
  --radius-sm: 10px;
  --nav-bg: rgba(255, 255, 255, 0.72);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #000000;
    --bg-soft: #0a0a0c;
    --bg-elev: #1c1c1e;
    --text: #f5f5f7;
    --text-soft: #c7c7cc;
    --text-muted: #86868b;
    --border: #2c2c2e;
    --border-soft: #1c1c1e;
    --accent: #ff3b3b;
    --accent-soft: #2a0e0e;
    --kbd-bg: #1c1c1e;
    --kbd-shadow: rgba(0, 0, 0, 0.5);
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.55);
    --nav-bg: rgba(0, 0, 0, 0.72);
  }
}

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
  scroll-padding-top: 70px;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.5;
  color: var(--text);
  background: var(--bg);
  -webkit-text-size-adjust: 100%;
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; height: auto; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* Navigation */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--nav-bg);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--border-soft);
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.brand-logo {
  width: 28px;
  height: 28px;
  border-radius: 6px;
}

.brand-name {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.nav-links {
  display: flex;
  gap: 28px;
  align-items: center;
}

.nav-links a {
  font-size: 14px;
  color: var(--text-soft);
  transition: color 0.15s ease;
}

.nav-links a:hover { color: var(--text); }

@media (max-width: 600px) {
  .nav-links { gap: 18px; }
  .nav-links a { font-size: 13px; }
  .brand-name { display: none; }
}

/* Hero */
.hero {
  text-align: center;
  padding: 96px 24px 80px;
  position: relative;
  overflow: hidden;
}

.hero h1 {
  font-size: clamp(40px, 7vw, 76px);
  font-weight: 700;
  letter-spacing: -0.028em;
  line-height: 1.04;
  margin: 0 auto 24px;
  max-width: 880px;
  text-wrap: balance;
}

.hero h1 .accent { color: var(--accent); }

.hero .lede {
  font-size: clamp(18px, 1.7vw, 22px);
  color: var(--text-soft);
  line-height: 1.45;
  max-width: 640px;
  margin: 0 auto 40px;
  text-wrap: balance;
}

.hotkey {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-bottom: 36px;
  align-items: center;
}

.hotkey .plus {
  color: var(--text-muted);
  font-size: 18px;
  margin: 0 2px;
}

kbd {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 46px;
  height: 46px;
  padding: 0 14px;
  font-family: -apple-system, BlinkMacSystemFont, "SF Mono", ui-monospace, monospace;
  font-size: 18px;
  font-weight: 500;
  color: var(--text);
  background: var(--kbd-bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  box-shadow: 0 2px 0 var(--kbd-shadow), inset 0 -1px 0 var(--kbd-shadow);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  align-items: center;
}

/* App Store badge */
.appstore-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 11px 22px;
  background: #000;
  color: #fff;
  border-radius: 10px;
  transition: transform 0.18s ease, opacity 0.18s ease;
  border: 1px solid #000;
}

.appstore-badge:hover { transform: scale(1.03); opacity: 0.94; }

@media (prefers-color-scheme: dark) {
  .appstore-badge {
    background: #fff;
    color: #000;
    border-color: #fff;
  }
}

.appstore-badge .apple-icon {
  width: 26px;
  height: 26px;
  fill: currentColor;
}

.appstore-badge .badge-text {
  display: flex;
  flex-direction: column;
  text-align: left;
  line-height: 1.1;
}

.appstore-badge .badge-small {
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 400;
}

.appstore-badge .badge-large {
  font-size: 19px;
  font-weight: 500;
  letter-spacing: -0.01em;
  margin-top: 1px;
}

.hero-meta {
  margin-top: 22px;
  font-size: 13px;
  color: var(--text-muted);
}

/* Sections */
section {
  padding: 96px 0;
}

@media (max-width: 600px) {
  section { padding: 72px 0; }
  .hero { padding-top: 72px; padding-bottom: 56px; }
}

section h2 {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700;
  letter-spacing: -0.022em;
  line-height: 1.1;
  text-align: center;
  margin-bottom: 16px;
  text-wrap: balance;
}

section .section-lede {
  font-size: 19px;
  color: var(--text-soft);
  text-align: center;
  margin: 0 auto 0;
  max-width: 600px;
  line-height: 1.5;
  text-wrap: balance;
}

/* Features */
.features {
  border-top: 1px solid var(--border-soft);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 64px;
}

.feature {
  text-align: center;
  padding: 36px 28px;
  background: var(--bg-soft);
  border-radius: var(--radius);
}

.feature-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 20px;
  color: var(--accent);
}

.feature h3 {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 10px;
}

.feature p {
  color: var(--text-soft);
  font-size: 16px;
  line-height: 1.55;
}

/* Screenshots */
.screenshots { background: var(--bg-soft); }

.screenshot-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  max-width: 880px;
  margin: 64px auto 0;
}

.screenshot {
  background: var(--bg-elev);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
}

.screenshot img {
  display: block;
  width: 100%;
  height: auto;
}

.screenshot figcaption {
  padding: 18px 20px;
  text-align: center;
  font-size: 17px;
  font-weight: 600;
  color: var(--text);
  border-top: 1px solid var(--border-soft);
}

/* Pricing */
.pricing-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  max-width: 760px;
  margin: 64px auto 0;
}

.price-card {
  position: relative;
  padding: 44px 32px 36px;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.price-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

.price-card.featured {
  border-color: var(--accent);
  border-width: 2px;
  padding-top: 44px;
}

.price-card .price-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  padding: 5px 14px;
  background: var(--accent);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  border-radius: 999px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.price-card .plan-name {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-soft);
  margin-bottom: 18px;
}

.price-card .price {
  margin-bottom: 6px;
}

.price-card .amount {
  font-size: 56px;
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1;
}

.price-card .currency {
  font-size: 28px;
  font-weight: 600;
  vertical-align: super;
  margin-right: 2px;
}

.price-card .cadence {
  display: block;
  font-size: 14px;
  color: var(--text-soft);
  margin-top: 10px;
}

.price-card ul {
  list-style: none;
  margin: 28px 0;
  padding: 0;
}

.price-card li {
  padding: 8px 0;
  font-size: 15px;
  color: var(--text-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.price-card li svg {
  width: 16px;
  height: 16px;
  color: var(--accent);
  flex-shrink: 0;
}

.price-card .cta {
  display: block;
  padding: 13px 24px;
  background: var(--text);
  color: var(--bg);
  border-radius: 999px;
  font-weight: 500;
  font-size: 15px;
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.price-card .cta:hover { transform: scale(1.02); opacity: 0.92; }

.price-card.featured .cta {
  background: var(--accent);
  color: #fff;
}

/* Final CTA */
.final-cta {
  text-align: center;
  background: var(--bg-soft);
}

.final-cta h2 { margin-bottom: 28px; }

/* Footer */
footer {
  border-top: 1px solid var(--border-soft);
  padding: 40px 0 32px;
  font-size: 13px;
  color: var(--text-muted);
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text-soft);
}

.footer-brand img {
  width: 22px;
  height: 22px;
  border-radius: 5px;
}

.footer-nav {
  display: flex;
  gap: 24px;
  justify-self: end;
}

.footer-nav a {
  color: var(--text-muted);
  transition: color 0.15s ease;
}

.footer-nav a:hover { color: var(--text); }

.footer-copyright {
  text-align: center;
  justify-self: center;
  margin: 0;
}

@media (max-width: 600px) {
  .footer-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .footer-brand,
  .footer-copyright,
  .footer-nav {
    justify-self: center;
  }
}

/* Legal & support pages */
.page {
  padding: 80px 0 96px;
  border-top: 1px solid var(--border-soft);
}

.page-content {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 24px;
}

.page-content h1 {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin-bottom: 14px;
}

.page-content .updated {
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 48px;
}

.page-content h2 {
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 48px 0 14px;
  text-align: left;
}

.page-content h3 {
  font-size: 18px;
  font-weight: 600;
  margin: 28px 0 8px;
}

.page-content p,
.page-content li {
  color: var(--text-soft);
  font-size: 17px;
  line-height: 1.6;
  margin-bottom: 14px;
}

.page-content ul, .page-content ol {
  padding-left: 22px;
  margin-bottom: 18px;
}

.page-content li { margin-bottom: 8px; }

.page-content a {
  color: var(--accent);
}

.page-content a:hover { text-decoration: underline; }

.page-content strong { color: var(--text); font-weight: 600; }

/* Support page */
.support-card {
  background: var(--bg-soft);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 40px 32px;
  text-align: center;
  margin: 32px 0 48px;
}

.support-card h2 {
  margin-top: 0;
  text-align: center;
}

.support-card p {
  text-align: center;
  margin: 0 auto 24px;
  max-width: 420px;
}

.support-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 26px;
  background: var(--text);
  color: var(--bg);
  border-radius: 999px;
  font-weight: 500;
  font-size: 15px;
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.support-cta:hover { opacity: 0.9; transform: scale(1.02); }

.support-cta svg { width: 18px; height: 18px; }

.support-cta-img { display: inline-block; line-height: 0; transition: transform 0.18s ease, opacity 0.18s ease; }
.support-cta-img img { display: block; height: 46px; width: auto; max-width: 100%; }
.support-cta-img:hover { opacity: 0.9; transform: scale(1.02); }

.faq-item {
  border-top: 1px solid var(--border-soft);
  padding: 24px 0;
}

.faq-item:last-child { border-bottom: 1px solid var(--border-soft); }

.faq-item h3 { margin: 0 0 8px; font-size: 17px; }

.faq-item p { margin: 0; }

/* Banner */
.banner {
  padding: 32px 24px;
  text-align: center;
}

.banner-img {
  display: block;
  width: 100%;
  max-width: 880px;
  height: auto;
  margin: 0 auto;
}

/* How it works */
.how-it-works {
  background: var(--bg-soft);
  border-top: 1px solid var(--border-soft);
}

.how-it-works-visual {
  margin: 40px auto 8px;
  max-width: 360px;
  padding: 0;
}

.how-it-works-visual img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  display: block;
}

.steps {
  list-style: none;
  padding: 0;
  margin: 64px 0 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.step {
  position: relative;
  text-align: center;
  padding: 36px 28px;
  background: var(--bg-elev);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
}

.step-num {
  width: 44px;
  height: 44px;
  margin: 0 auto 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  color: #fff;
  border-radius: 999px;
  font-size: 18px;
  font-weight: 600;
}

.step h3 {
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 12px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-wrap: balance;
}

.hotkey-inline {
  display: inline-flex;
  gap: 4px;
}

.step h3 kbd {
  min-width: 30px;
  height: 30px;
  padding: 0 8px;
  font-size: 13px;
  border-radius: 7px;
}

.step p {
  color: var(--text-soft);
  font-size: 15px;
  line-height: 1.55;
  text-wrap: pretty;
}

.step a {
  color: var(--accent);
  font-weight: 500;
}

.step a:hover { text-decoration: underline; }

.callout {
  margin: 56px auto 0;
  max-width: 720px;
  padding: 18px 24px;
  background: var(--accent-soft);
  border: 1px solid var(--accent);
  border-radius: var(--radius-sm);
  text-align: center;
  font-size: 15px;
  color: var(--text);
  line-height: 1.55;
}

.callout strong { font-weight: 700; }

.callout a {
  color: var(--accent);
  font-weight: 600;
  margin-left: 4px;
}

.callout a:hover { text-decoration: underline; }

/* Glasses page */
.page-content.wide {
  max-width: 1080px;
}

.info-card {
  background: var(--bg-soft);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 32px;
  margin: 28px 0 48px;
}

.info-card h2 {
  text-align: left;
  font-size: 22px;
  margin: 0 0 16px;
}

.info-card ul {
  margin: 0 0 16px;
  padding-left: 22px;
}

.info-card li {
  margin-bottom: 10px;
  font-size: 16px;
}

.info-card li:last-child { margin-bottom: 0; }

.info-note {
  margin: 16px 0 0;
  padding-top: 16px;
  border-top: 1px solid var(--border-soft);
  font-size: 14px;
  color: var(--text-muted);
}

.info-note em { font-style: italic; }

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin: 32px 0 48px;
}

.product-card {
  background: var(--bg-elev);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.product-image {
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, var(--bg-soft), var(--bg-elev));
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--border-soft);
  overflow: hidden;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.product-glyph {
  width: 96px;
  height: auto;
  color: var(--accent);
  opacity: 0.65;
}

.product-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-name {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 14px;
  text-wrap: balance;
}

.product-tags {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 0;
  margin: 0 0 16px;
}

.product-tags li {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-soft);
  background: var(--bg-soft);
  padding: 4px 10px;
  border-radius: 999px;
  margin: 0;
}

.product-review {
  color: var(--text-soft);
  font-size: 14px;
  line-height: 1.55;
  margin: 0 0 20px;
  flex: 1;
  text-wrap: pretty;
}

.product-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  align-self: flex-start;
  color: var(--accent);
  font-weight: 500;
  font-size: 14px;
  margin-top: auto;
  transition: gap 0.18s ease;
}

.product-link:hover {
  text-decoration: underline;
  gap: 9px;
}

.product-link svg { width: 14px; height: 14px; }

.affiliate-disclosure {
  font-size: 13px;
  color: var(--text-muted);
  text-align: center;
  margin: 32px auto 0;
  max-width: 680px;
  padding: 0 16px;
}

.affiliate-disclosure small { font-size: inherit; }
