/* ==========================================================================
   Tenoa Premium Native Mac Design System
   Aesthetic: Warm Espresso, Archival Cream, Golden Amber, Editorial Craft
   Inspired by: Cultured Code (Things 3), Panic, Bear, iA Writer
   ========================================================================== */

:root {
  /* Tenoa Authentic Warm Palette: Deep Espresso, Tobacco, Cream, Honey Amber */
  --bg-deep: #141210;
  --bg-canvas: #181613;
  --surface-card: #201d19;
  --surface-hover: #292520;
  --surface-elevated: #2e2924;
  
  --border-hairline: rgba(255, 245, 230, 0.08);
  --border-subtle: rgba(255, 245, 230, 0.14);
  --border-warm: rgba(241, 190, 101, 0.25);

  /* Typography Colors */
  --text-pure: #faf7f2;
  --text-primary: #ece5d8;
  --text-muted: #b8afa1;
  --text-dim: #9e9484;
  
  --amber-gold: #f1be65;
  --amber-glow: #e2a442;
  --amber-soft: rgba(241, 190, 101, 0.12);
  --cream-paper: #f4ede2;
  --ink: #1c1813;

  /* Typography Fonts */
  --font-ui: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", sans-serif;
  --font-display: "Iowan Old Style", "New York", "Palatino Linotype", Palatino, Georgia, serif;
  --font-mono: "SF Mono", Menlo, Monaco, Consolas, monospace;

  /* Mac Shadows */
  --shadow-window: 0 40px 100px -20px rgba(0, 0, 0, 0.85), 0 16px 40px -10px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 245, 230, 0.09);
  --shadow-phone: 0 30px 70px -10px rgba(0, 0, 0, 0.9), 0 10px 30px rgba(0, 0, 0, 0.7);
  --shadow-card: 0 18px 45px -10px rgba(0, 0, 0, 0.5);

  --radius-xl: 20px;
  --radius-lg: 14px;
  --radius-md: 10px;
  --radius-pill: 999px;

  --ease-mac: cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset & Document Standards */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
  background-color: var(--bg-deep);
}

body {
  background-color: var(--bg-deep);
  color: var(--text-primary);
  font-family: var(--font-ui);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* Subtle warm film grain texture to kill artificial digital flatness */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.028;
  z-index: 999;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
}

img, video {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(20px, 4.5vw, 56px);
  padding-right: clamp(20px, 4.5vw, 56px);
}

.editorial-spacing {
  padding-top: clamp(80px, 9vw, 130px);
  padding-bottom: clamp(80px, 9vw, 130px);
}

/* ==========================================================================
   Header (Uncluttered, Confident, Native Mac Brand)
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: 76px;
  background: rgba(20, 18, 16, 0.88);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border-hairline);
  display: flex;
  align-items: center;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-brand img {
  height: 28px;
  width: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  font-size: 14px;
  color: var(--text-muted);
  transition: color 0.2s;
}

.nav-link:hover {
  color: var(--text-pure);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  font-size: 14px;
  border-radius: var(--radius-pill);
  padding: 13px 26px;
  transition: transform 0.2s var(--ease-mac), background-color 0.2s, color 0.2s, border-color 0.2s;
  white-space: nowrap;
}

.btn-primary {
  background: var(--cream-paper);
  color: var(--ink);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.3);
}

.btn-primary:hover {
  background: #ffffff;
  transform: translateY(-2px);
}

.btn-secondary {
  background: var(--surface-card);
  color: var(--text-primary);
  border: 1px solid var(--border-hairline);
}

.btn-secondary:hover {
  background: var(--surface-hover);
  border-color: var(--border-subtle);
  transform: translateY(-2px);
}

.btn-amber {
  background: var(--amber-gold);
  color: var(--ink);
  font-weight: 650;
}

.btn-amber:hover {
  background: #f7cb7d;
  transform: translateY(-2px);
}

.btn-sm {
  padding: 8px 18px;
  font-size: 13px;
}

/* ==========================================================================
   Hero Section (No Eyebrow Badges, Pure Native Presence)
   ========================================================================== */
.hero-section {
  padding-top: clamp(60px, 8vw, 110px);
  padding-bottom: clamp(60px, 8vw, 110px);
  text-align: center;
  position: relative;
}

.hero-content {
  max-width: 820px;
  margin: 0 auto;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(48px, 6vw, 82px);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.035em;
  color: var(--text-pure);
  margin-bottom: 24px;
}

.hero-title em {
  font-style: italic;
  color: var(--amber-gold);
}

.hero-lede {
  font-size: clamp(17px, 2vw, 20px);
  line-height: 1.65;
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto 36px;
}

.hero-actions-cluster {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

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

.hero-footnote {
  font-size: 13px;
  color: var(--text-dim);
}

.hero-footnote a {
  color: var(--text-muted);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.hero-footnote a:hover {
  color: var(--amber-gold);
}

/* ==========================================================================
   Dual Device Showcase: Straight-On Mac Window + Side-by-Side iPhone
   ========================================================================== */
.hardware-stage {
  margin-top: clamp(40px, 6vw, 70px);
  position: relative;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}

.mac-window {
  background: #181613;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-hairline);
  box-shadow: var(--shadow-window);
  overflow: hidden;
  text-align: left;
}

.mac-titlebar {
  height: 44px;
  background: #201d19;
  border-bottom: 1px solid rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 18px;
}

.traffic-lights {
  display: flex;
  align-items: center;
  gap: 8px;
}

.traffic-light {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.traffic-light.red { background: #ff5f56; border: 1px solid #e0443e; }
.traffic-light.yellow { background: #ffbd2e; border: 1px solid #dea123; }
.traffic-light.green { background: #27c93f; border: 1px solid #1aab29; }

.mac-title-text {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

.mac-search-hint {
  font-size: 11px;
  background: rgba(255, 245, 230, 0.05);
  border: 1px solid var(--border-hairline);
  border-radius: 6px;
  padding: 4px 12px;
  color: var(--text-dim);
}

.mac-viewport {
  position: relative;
  line-height: 0;
  background: #12100e;
}

.mac-viewport img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.mac-status-bar {
  height: 32px;
  background: #1a1815;
  border-top: 1px solid var(--border-hairline);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 18px;
  font-size: 11px;
  color: var(--text-dim);
}

.status-indicator {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--amber-gold);
  margin-right: 6px;
}

/* iPhone Companion Presentation (Organic overlap, no gimmick) */
.iphone-frame {
  position: absolute;
  right: -20px;
  bottom: -40px;
  width: clamp(210px, 26vw, 290px);
  z-index: 10;
  border-radius: 44px;
  background: #0d0c0a;
  padding: 9px;
  border: 2px solid #332e26;
  box-shadow: var(--shadow-phone);
  transition: transform 0.3s var(--ease-mac);
}

.iphone-frame:hover {
  transform: translateY(-6px);
}

.iphone-screen {
  border-radius: 36px;
  overflow: hidden;
  background: #000;
  aspect-ratio: 1284 / 2778;
}

.iphone-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hardware-caption {
  margin-top: 24px;
  font-size: 13px;
  color: var(--text-dim);
  text-align: center;
}

/* Value Props (Editorial 3-Column, No Cheesy Icons) */
.pillars-row {
  margin-top: clamp(60px, 8vw, 100px);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 4vw, 48px);
  text-align: left;
  border-top: 1px solid var(--border-hairline);
  padding-top: 48px;
}

.pillar h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 400;
  color: var(--text-pure);
  margin-bottom: 8px;
}

.pillar p {
  font-size: 14px;
  line-height: 1.65;
  color: var(--text-muted);
}

/* ==========================================================================
   Editorial Feature Sections (No Eyebrows, Varied Rhythms)
   ========================================================================== */
.editorial-row {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: clamp(40px, 7vw, 88px);
  align-items: center;
}

.editorial-row.reverse {
  grid-template-columns: 1.25fr 1fr;
}

.editorial-row.reverse .editorial-copy {
  order: 2;
}

.editorial-row.reverse .editorial-visual {
  order: 1;
}

.editorial-heading {
  font-family: var(--font-display);
  font-size: clamp(34px, 4vw, 50px);
  font-weight: 400;
  line-height: 1.14;
  color: var(--text-pure);
  letter-spacing: -0.025em;
  margin-bottom: 20px;
}

.editorial-prose {
  font-size: 16px;
  line-height: 1.75;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.editorial-detail-card {
  background: var(--surface-card);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-lg);
  padding: 12px;
  box-shadow: var(--shadow-card);
}

.editorial-detail-card img, .editorial-detail-card video {
  border-radius: var(--radius-md);
  width: 100%;
}

/* ==========================================================================
   Search Showcase (Natural Query Simulator)
   ========================================================================== */
.search-container {
  background: var(--surface-card);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-card);
}

.search-input-box {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #13110f;
  border: 1px solid var(--border-warm);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  margin-bottom: 16px;
}

.search-input-box span.glyph {
  font-size: 16px;
  color: var(--amber-gold);
}

.search-input-box strong {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-pure);
}

.cursor-blink {
  display: inline-block;
  width: 2px;
  height: 16px;
  background: var(--amber-gold);
  margin-left: 2px;
  vertical-align: -2px;
  animation: caret-blink 1s infinite;
}

@keyframes caret-blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

.sample-queries {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.query-chip {
  font-size: 12px;
  padding: 6px 14px;
  background: rgba(255, 245, 230, 0.04);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-pill);
  color: var(--text-muted);
  transition: all 0.2s;
}

.query-chip:hover, .query-chip.active {
  background: var(--amber-soft);
  border-color: var(--amber-gold);
  color: var(--amber-gold);
}

.search-preview-frame {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-hairline);
  background: #0e0c0a;
}

/* ==========================================================================
   Proof of Ownership (Real macOS Finder View)
   ========================================================================== */
.ownership-wrapper {
  background: var(--bg-canvas);
  border-top: 1px solid var(--border-hairline);
  border-bottom: 1px solid var(--border-hairline);
}

.finder-window {
  background: #1e1b17;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-hairline);
  box-shadow: var(--shadow-window);
  overflow: hidden;
  text-align: left;
}

.finder-titlebar {
  height: 42px;
  background: #25221d;
  border-bottom: 1px solid rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
}

.finder-layout {
  display: grid;
  grid-template-columns: 210px 1fr;
  min-height: 330px;
}

.finder-sidebar {
  background: #171512;
  border-right: 1px solid var(--border-hairline);
  padding: 16px 12px;
  font-size: 12px;
}

.finder-group-title {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-dim);
  margin: 12px 0 6px 8px;
}

.finder-item {
  padding: 6px 8px;
  border-radius: 6px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
}

.finder-item.active {
  background: var(--amber-soft);
  color: var(--amber-gold);
}

.finder-list {
  padding: 10px 16px;
  background: #14120f;
  display: flex;
  flex-direction: column;
}

.finder-row {
  display: grid;
  grid-template-columns: auto 1fr 90px 120px;
  gap: 14px;
  align-items: center;
  padding: 10px 12px;
  border-radius: 6px;
  font-size: 13px;
  border-bottom: 1px solid rgba(255, 245, 230, 0.03);
}

.finder-row:hover {
  background: rgba(255, 245, 230, 0.04);
}

.file-type-badge {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  padding: 3px 6px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.badge-pdf { background: rgba(224, 112, 80, 0.14); color: #e58870; border: 1px solid rgba(224, 112, 80, 0.28); }
.badge-md { background: rgba(241, 190, 101, 0.14); color: var(--amber-gold); border: 1px solid rgba(241, 190, 101, 0.28); }
.badge-jpg { background: rgba(210, 190, 155, 0.14); color: #d8c8aa; border: 1px solid rgba(210, 190, 155, 0.28); }
.badge-mp4 { background: rgba(185, 160, 210, 0.14); color: #caaee0; border: 1px solid rgba(185, 160, 210, 0.28); }

.finder-row strong {
  color: var(--text-primary);
  font-weight: 500;
  display: block;
}

.finder-row small {
  font-size: 11px;
  color: var(--text-dim);
}

.finder-meta {
  font-size: 12px;
  color: var(--text-dim);
}

.finder-foot {
  padding: 12px 18px;
  background: #1a1714;
  border-top: 1px solid var(--border-hairline);
  font-size: 12px;
  color: var(--text-muted);
  display: flex;
  justify-content: space-between;
}

/* ==========================================================================
   The Subscription Trap vs Tenoa Contrast Table
   ========================================================================== */
.contrast-table-container {
  margin-top: 48px;
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-lg);
  background: var(--surface-card);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.contrast-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.contrast-table th, .contrast-table td {
  padding: 18px 24px;
  border-bottom: 1px solid var(--border-hairline);
}

.contrast-table th {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  background: var(--surface-elevated);
}

.contrast-table th.tenoa-column, .contrast-table td.tenoa-column {
  background: rgba(241, 190, 101, 0.04);
  color: var(--text-pure);
}

.contrast-table td {
  font-size: 14px;
}

.contrast-table tr:last-child td {
  border-bottom: none;
}

.highlight-advantage {
  color: var(--amber-gold);
  font-weight: 600;
}

.muted-disadvantage {
  color: var(--text-dim);
}

/* ==========================================================================
   Pricing Section ($49 Lifetime)
   ========================================================================== */
.pricing-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 32px;
  margin-top: 48px;
}

.pricing-card {
  background: var(--surface-card);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-lg);
  padding: clamp(32px, 5vw, 48px);
  text-align: left;
  box-shadow: var(--shadow-card);
}

.pricing-card.primary {
  border-color: var(--border-warm);
  background: linear-gradient(180deg, rgba(241, 190, 101, 0.05) 0%, var(--surface-card) 100%);
}

.pricing-amount {
  font-family: var(--font-display);
  font-size: clamp(64px, 7vw, 84px);
  font-weight: 400;
  line-height: 1;
  color: var(--text-pure);
  margin: 16px 0 24px;
}

.pricing-amount span {
  font-family: var(--font-ui);
  font-size: 15px;
  color: var(--text-muted);
}

.pricing-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 28px 0 36px;
}

.pricing-list li {
  display: flex;
  align-items: baseline;
  gap: 12px;
  font-size: 15px;
  color: var(--text-primary);
}

.pricing-list li::before {
  content: "✓";
  color: var(--amber-gold);
  font-weight: bold;
}

.renewal-terms-box {
  background: var(--surface-elevated);
  border-radius: var(--radius-md);
  padding: 24px;
  border: 1px solid var(--border-hairline);
  margin-top: 20px;
}

.renewal-terms-box h4 {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-pure);
  margin-bottom: 8px;
}

.renewal-terms-box p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 8px;
}

/* ==========================================================================
   FAQ Section
   ========================================================================== */
.faq-layout {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: clamp(40px, 6vw, 80px);
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-card {
  background: var(--surface-card);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.faq-card-header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  font-size: 15px;
  font-weight: 550;
  color: var(--text-pure);
  text-align: left;
}

.faq-toggle-icon {
  font-size: 18px;
  color: var(--amber-gold);
  transition: transform 0.25s;
}

.faq-card.open .faq-toggle-icon {
  transform: rotate(45deg);
}

.faq-card-body {
  padding: 0 22px 20px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-muted);
  display: none;
}

.faq-card.open .faq-card-body {
  display: block;
}

/* ==========================================================================
   Final Conversion Hero & Footer
   ========================================================================== */
.closing-hero {
  text-align: center;
  background: radial-gradient(ellipse at 50% 100%, rgba(241, 190, 101, 0.12) 0%, transparent 70%);
  border-top: 1px solid var(--border-hairline);
  padding: clamp(90px, 12vw, 150px) 0;
}

.site-footer {
  border-top: 1px solid var(--border-hairline);
  padding: 44px 0;
  font-size: 13px;
  color: var(--text-dim);
}

.footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}

.footer-links {
  display: flex;
  gap: 24px;
}

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

/* Responsive Rules */
@media (max-width: 1024px) {
  .hero-title {
    font-size: 54px;
  }
  .iphone-frame {
    position: relative;
    right: auto;
    bottom: auto;
    margin: -50px auto 0;
    width: 250px;
  }
  .editorial-row, .editorial-row.reverse {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .editorial-row.reverse .editorial-copy {
    order: 1;
  }
  .editorial-row.reverse .editorial-visual {
    order: 2;
  }
}

/* ==========================================================================
   Video Showcase & YouTube Linkage
   ========================================================================== */
.video-section-wrapper {
  background: var(--bg-canvas);
  border-top: 1px solid var(--border-hairline);
  border-bottom: 1px solid var(--border-hairline);
}

.video-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}

.video-narrative {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.external-video-cards {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 12px;
}

.external-video-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px 20px;
  border-radius: var(--radius-md);
  background: var(--surface-card);
  border: 1px solid var(--border-hairline);
  text-decoration: none;
  transition: all 0.25s var(--ease-mac);
}

.external-video-card:hover {
  background: var(--surface-hover);
  border-color: var(--border-warm);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px -6px rgba(0, 0, 0, 0.4);
}

.external-video-card.featured {
  background: linear-gradient(135deg, rgba(241, 190, 101, 0.08), rgba(32, 29, 25, 0.95));
  border-color: var(--border-warm);
}

.video-card-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(241, 190, 101, 0.15);
  color: var(--amber-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
}

.video-card-body {
  flex: 1;
}

.video-card-tag {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--amber-gold);
  margin-bottom: 4px;
}

.video-card-body strong {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-pure);
  display: block;
  margin-bottom: 4px;
}

.video-card-body p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
}

.video-card-arrow {
  color: var(--amber-gold);
  font-size: 16px;
  font-weight: 600;
  transition: transform 0.2s ease;
}

.external-video-card:hover .video-card-arrow {
  transform: translate(2px, -2px);
}

.phone-video-column {
  display: flex;
  justify-content: center;
}

.phone-video-frame {
  width: 100%;
  max-width: 320px;
  border-radius: 28px;
  padding: 10px;
  background: #1c1813;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-phone);
  overflow: hidden;
}

.phone-video-player {
  width: 100%;
  border-radius: 20px;
  background: #000;
  display: block;
  aspect-ratio: 720 / 1280;
}

.phone-video-caption {
  padding: 10px 4px 4px;
  font-size: 11px;
  color: var(--text-dim);
  text-align: center;
  line-height: 1.4;
}

@media (max-width: 900px) {
  .hero-content {
    max-width: 100%;
  }
  .mac-window {
    transform: none;
  }
  .iphone-frame {
    display: none;
  }
  .editorial-row, .editorial-row.reverse {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .pricing-grid, .faq-layout, .pillars-row, .video-grid {
    grid-template-columns: 1fr;
  }
  .phone-video-column {
    order: -1;
  }
}

@media (max-width: 768px) {
  .site-header {
    height: 68px;
  }
  .main-nav {
    display: none;
  }
  .hero-title {
    font-size: 40px;
  }
  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }
  .hero-buttons .btn {
    width: 100%;
  }
  .finder-layout {
    grid-template-columns: 1fr;
  }
  .finder-sidebar {
    display: none;
  }
  .finder-row {
    grid-template-columns: auto 1fr 70px;
  }
  .finder-meta:last-child {
    display: none;
  }
  .footer-row {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ------------------------------------------------------------------
   Hero tour: a play control under the download buttons that opens the
   32s film over the page. The hardware stage below is untouched.
------------------------------------------------------------------ */
.hero-tour-trigger {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 18px 9px 10px;
  border: 1px solid var(--border-subtle);
  border-radius: 999px;
  background: transparent;
  color: var(--text-muted);
  font: inherit;
  font-size: 14px;
  line-height: 1;
  cursor: pointer;
  transition: color .18s ease, border-color .18s ease, background-color .18s ease;
}

.hero-tour-trigger:hover,
.hero-tour-trigger:focus-visible {
  color: var(--text-pure);
  border-color: var(--border-warm);
  background: var(--amber-soft);
}

.hero-tour-play {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1px solid var(--border-warm);
  color: var(--amber-gold);
  padding-left: 2px;            /* optical centring of the triangle */
  transition: background-color .18s ease;
}

.hero-tour-trigger:hover .hero-tour-play,
.hero-tour-trigger:focus-visible .hero-tour-play {
  background: rgba(241, 190, 101, 0.16);
}

.tour-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.tour-overlay[hidden] { display: none; }

.tour-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 9, 8, 0.86);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  animation: tour-fade .22s ease both;
}

.tour-panel {
  position: relative;
  width: min(1180px, 100%);
  animation: tour-rise .26s cubic-bezier(.16,.84,.44,1) both;
}

.tour-video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  border-radius: 14px;
  border: 1px solid var(--border-warm);
  background: #000;
  box-shadow: 0 30px 90px rgba(0, 0, 0, .7);
}

.tour-close {
  position: absolute;
  top: -46px;
  right: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 1px solid var(--border-subtle);
  border-radius: 50%;
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  transition: color .18s ease, border-color .18s ease;
}

.tour-close:hover,
.tour-close:focus-visible {
  color: var(--text-pure);
  border-color: var(--border-warm);
}

@keyframes tour-fade { from { opacity: 0 } to { opacity: 1 } }
@keyframes tour-rise {
  from { opacity: 0; transform: translateY(14px) scale(.985) }
  to   { opacity: 1; transform: none }
}

@media (prefers-reduced-motion: reduce) {
  .tour-backdrop, .tour-panel { animation: none; }
}

@media (max-width: 640px) {
  .tour-overlay { padding: 16px; }
  .tour-close { top: -42px; }
  .hero-tour-trigger { font-size: 13px; }
}
