:root {
  --bg: #0a0a0a;
  --bg-subtle: #111111;
  --text: #fafafa;
  --text-muted: #888888;
  --accent: #e8e4dd;
  --border: #222222;
}

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

html {
  font-size: 16px;
  background: var(--bg);
}

body {
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  min-height: 100dvh;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

.page {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
  max-height: 100vh;
  max-height: 100dvh;
  padding: clamp(1.25rem, 3vw, 1.5rem) clamp(1.25rem, 4vw, 2rem);
  overflow: hidden;
  transition: padding 0.3s ease;
}

/* Header */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-shrink: 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo-icon {
  font-size: 1.25rem;
}

.logo-text {
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.cta-link {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
  padding: 0.5rem 1rem;
  border: 1px solid var(--border);
  border-radius: 100px;
  transition: all 0.2s ease;
  background: transparent;
}

.cta-link:hover {
  background: var(--text);
  color: var(--bg);
  border-color: var(--text);
}

.cta-link svg {
  transition: transform 0.2s ease;
}

.cta-link:hover svg {
  transform: translate(2px, -2px);
}

/* Main */
.main {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: clamp(1.5rem, 4vh, 2.5rem);
  padding: 1rem 0;
  overflow: hidden;
  transition: gap 0.3s ease;
}

.content {
  text-align: center;
  max-width: 580px;
}

.headline {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(1.75rem, 5vw, 3.25rem);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: clamp(0.5rem, 2vh, 1rem);
  transition: font-size 0.3s ease, margin 0.3s ease;
}

.headline-quiet {
  display: block;
  color: var(--text-muted);
  font-style: italic;
}

.headline-focus {
  display: block;
  color: var(--text);
}

.subheadline {
  font-size: clamp(0.9rem, 2vw, 1rem);
  color: var(--text-muted);
  max-width: 420px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Video */
.video-container {
  width: 100%;
  max-width: clamp(400px, 60vw, 640px);
  flex-shrink: 1;
  min-height: 0;
  transition: max-width 0.3s ease;
}

.video-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 */
  background: var(--bg-subtle);
  border-radius: clamp(8px, 1.5vw, 12px);
  overflow: hidden;
  box-shadow: 
    0 0 0 1px var(--border),
    0 25px 50px -12px rgba(0, 0, 0, 0.5);
  transition: border-radius 0.3s ease;
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* Video CTA */
.video-cta {
  text-align: center;
  margin-top: 1.25rem;
}

.video-cta a {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
  color: var(--text-muted);
  text-decoration: none;
  padding: 0.5rem 0;
  transition: color 0.3s ease, text-shadow 0.3s ease;
}

.video-cta a::after {
  content: '';
  position: absolute;
  bottom: 0.25rem;
  left: 0;
  width: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--text) 0%, var(--text-muted) 100%);
  transition: width 0.3s ease;
}

.video-cta a:hover {
  color: var(--text);
  text-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

.video-cta a:hover::after {
  width: calc(100% - 1.5rem);
}

.video-cta svg {
  transition: transform 0.3s ease, opacity 0.3s ease;
  opacity: 0.6;
}

.video-cta a:hover svg {
  transform: translateX(4px);
  opacity: 1;
}

/* Footer */
.footer {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
  padding-top: 1rem;
}

.footer-text {
  font-size: 0.8rem;
  color: var(--text-muted);
  letter-spacing: 0.01em;
}

.footer-divider {
  color: white;
  font-size: 20 px;
}

.footer-text a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

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

/* ================================
   Privacy Page Styles
   ================================ */

.page--scroll {
  max-height: none;
  overflow: auto;
}

.logo {
  text-decoration: none;
  color: inherit;
}

.privacy-main {
  flex: 1;
  display: flex;
  justify-content: center;
  padding: 2rem 0 3rem;
}

.privacy-content {
  width: 100%;
  max-width: 640px;
  padding: 0 1rem;
}

/* Hero */
.privacy-hero {
  text-align: center;
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}

.privacy-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(2rem, 5vw, 2.75rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}

.privacy-updated {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* TL;DR Box */
.privacy-tldr {
  display: flex;
  gap: 1.25rem;
  padding: 1.5rem;
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: 12px;
  margin-bottom: 3rem;
}

.tldr-icon {
  font-size: 1.75rem;
  flex-shrink: 0;
}

.tldr-title {
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: var(--text);
}

.tldr-text {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Sections */
.privacy-section {
  margin-bottom: 2.5rem;
}

.section-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.35rem;
  font-weight: 400;
  margin-bottom: 0.75rem;
  color: var(--text);
}

.section-intro,
.section-text {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 1rem;
}

.section-text a {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: opacity 0.2s ease;
}

.section-text a:hover {
  opacity: 0.7;
}

.section-note {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
  padding-left: 1rem;
  border-left: 2px solid var(--border);
  margin-top: 1rem;
}

/* No List */
.no-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0.5rem 1.5rem;
}

.no-list li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.no-icon {
  color: #ff6b6b;
  font-weight: 600;
  font-size: 0.75rem;
}

/* Storage Cards */
.storage-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin: 1rem 0;
}

.storage-card {
  padding: 1rem 1.25rem;
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: 8px;
}

.storage-name {
  font-family: 'SF Mono', 'Consolas', monospace;
  font-size: 0.85rem;
  color: var(--accent);
  margin-bottom: 0.35rem;
}

.storage-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Permission List */
.perm-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin: 1rem 0;
}

.perm-item {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  padding: 0.75rem 1rem;
  background: var(--bg-subtle);
  border-radius: 8px;
}

.perm-name {
  font-family: 'SF Mono', 'Consolas', monospace;
  font-size: 0.8rem;
  color: var(--accent);
  flex-shrink: 0;
  min-width: 70px;
}

.perm-why {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Summary */
.privacy-summary {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  text-align: center;
}

.summary-text {
  font-size: 1.1rem;
  color: var(--text);
}

.summary-icon {
  margin-right: 0.5rem;
}

/* Footer Privacy */
.footer--privacy {
  padding: 1.5rem 0;
  border-top: 1px solid var(--border);
  margin-top: auto;
}

/* ================================
   Support Page Styles
   ================================ */

.support-main {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2rem 0 3rem;
}

.support-content {
  width: 100%;
  max-width: 560px;
  padding: 0 1rem;
}

/* Support Hero */
.support-hero {
  text-align: center;
  margin-bottom: 2.5rem;
}

.support-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(2rem, 5vw, 2.75rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}

.support-subtitle {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Support Card */
.support-card {
  display: flex;
  gap: 1.5rem;
  padding: 2rem;
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: 16px;
  margin-bottom: 2rem;
}

.support-icon {
  font-size: 2.5rem;
  flex-shrink: 0;
}

.support-card-content {
  flex: 1;
}

.support-card-title {
  font-size: 1.15rem;
  font-weight: 500;
  margin-bottom: 0.75rem;
  color: var(--text);
}

.support-card-text {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.support-email-link {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
  padding: 0.75rem 1.25rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 100px;
  transition: all 0.25s ease;
}

.support-email-link:hover {
  background: var(--text);
  color: var(--bg);
  border-color: var(--text);
}

.support-email-link .email-icon {
  font-size: 1rem;
}

.support-email-link .email-address {
  letter-spacing: 0.01em;
}

.support-email-link svg {
  opacity: 0.7;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.support-email-link:hover svg {
  transform: translateX(3px);
  opacity: 1;
}

/* Support Extras */
.support-extras {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.support-extra-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: var(--bg-subtle);
  border-radius: 10px;
}

.extra-icon {
  font-size: 1.25rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.extra-content {
  flex: 1;
}

.extra-title {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 0.2rem;
}

.extra-text {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Mobile adjustments */
@media (max-width: 640px) {
  .privacy-tldr {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .perm-item {
    flex-direction: column;
    gap: 0.25rem;
  }

  .perm-name {
    min-width: auto;
  }

  .no-list {
    grid-template-columns: 1fr;
  }

  .support-card {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }

  .support-email-link {
    width: 100%;
    justify-content: center;
  }
}
