/* LinkPocket — Dusk Glass Official Stylesheet
   Designed dark-first with light mirror, Apple Liquid Glass chrome, and authentic tokens.
   Palette & typography aligned with iOS app specification (DESIGN_DUSK_GLASS.md).
*/

:root {
  /* Dusk Glass Tokens — Dark Default */
  --canvas: #0A0A0B;
  --surface: #141417;
  --surface-raised: #1C1C20;
  --surface-pressed: #242429;
  --hairline: rgba(255, 255, 255, 0.08);
  --hairline-strong: rgba(255, 255, 255, 0.16);

  --text-primary: #F2F2F5;
  --text-secondary: #B4B4BE;
  --text-muted: #8C8C98;

  --cta-bg: #FFFFFF;
  --cta-text: #0A0A0C;
  --cta-hover: #E2E2E8;

  --secondary-btn-bg: rgba(255, 255, 255, 0.08);
  --secondary-btn-text: #F2F2F5;
  --secondary-btn-border: rgba(255, 255, 255, 0.12);
  --secondary-btn-hover: rgba(255, 255, 255, 0.14);

  --accent: #FFB546; /* Amber unread & eyebrow */
  --accent-soft: rgba(255, 181, 70, 0.14);
  --accent-border: rgba(255, 181, 70, 0.28);

  --chrome-glass: rgba(30, 30, 34, 0.76);
  --chrome-border: rgba(255, 255, 255, 0.12);
  --chrome-shadow: 0 12px 36px 0 rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.14);

  --phone-frame-bg: #1C1C20;
  --phone-frame-border: rgba(255, 255, 255, 0.14);
  --phone-shadow: 0 28px 64px -12px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(255, 255, 255, 0.1);

  --card-shadow: 0 4px 24px rgba(0, 0, 0, 0.35);

  --font-stack: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-pill: 9999px;

  --max-width: 1140px;
  --nav-height: 68px;
}

/* Light Mode Mirror */
[data-theme="light"] {
  --canvas: #F3F3F6;
  --surface: #FFFFFF;
  --surface-raised: #FFFFFF;
  --surface-pressed: #EAEAEE;
  --hairline: rgba(0, 0, 0, 0.08);
  --hairline-strong: rgba(0, 0, 0, 0.15);

  --text-primary: #0A0A0C;
  --text-secondary: #5C5C66;
  --text-muted: #8C8C98;

  --cta-bg: #0A0A0C;
  --cta-text: #FFFFFF;
  --cta-hover: #26262B;

  --secondary-btn-bg: rgba(0, 0, 0, 0.05);
  --secondary-btn-text: #0A0A0C;
  --secondary-btn-border: rgba(0, 0, 0, 0.1);
  --secondary-btn-hover: rgba(0, 0, 0, 0.08);

  --accent: #C2620A; /* Deeper amber for WCAG AA on white */
  --accent-soft: rgba(194, 98, 10, 0.12);
  --accent-border: rgba(194, 98, 10, 0.28);

  --chrome-glass: rgba(255, 255, 255, 0.82);
  --chrome-border: rgba(0, 0, 0, 0.08);
  --chrome-shadow: 0 10px 32px 0 rgba(0, 0, 0, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.9);

  --phone-frame-bg: #FFFFFF;
  --phone-frame-border: rgba(0, 0, 0, 0.12);
  --phone-shadow: 0 24px 60px -12px rgba(0, 0, 0, 0.14), 0 0 0 1px rgba(0, 0, 0, 0.08);

  --card-shadow: 0 2px 12px rgba(0, 0, 0, 0.05), 0 1px 3px rgba(0, 0, 0, 0.02);
}

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

html {
  font-family: var(--font-stack);
  background-color: var(--canvas);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-height) + 24px);
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: var(--canvas);
  color: var(--text-primary);
}

a {
  color: inherit;
  text-decoration: none;
  transition: opacity 0.2s ease, color 0.2s ease;
}

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

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

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* Container */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* Header & Glass Nav */
.site-header {
  position: sticky;
  top: 16px;
  z-index: 100;
  margin: 0 16px;
}

.site-header .nav-container {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 18px;
  background: var(--chrome-glass);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid var(--chrome-border);
  border-radius: var(--radius-pill);
  box-shadow: var(--chrome-shadow);
  transition: background 0.3s ease, border-color 0.3s ease;
}

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

.brand-icon {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.brand-title {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.brand-badge {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid var(--accent-border);
  padding: 2px 7px;
  border-radius: var(--radius-pill);
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  list-style: none;
}

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

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--text-primary);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.theme-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 13px;
  background: var(--surface-raised);
  border: 1px solid var(--hairline-strong);
  border-radius: var(--radius-pill);
  color: var(--text-primary);
  font-size: 13px;
  font-weight: 500;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.theme-toggle:hover {
  background: var(--surface-pressed);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: var(--cta-bg);
  color: var(--cta-text);
  font-size: 13px;
  font-weight: 600;
  border-radius: var(--radius-pill);
  transition: background 0.2s ease, transform 0.15s ease;
}

.nav-cta:hover {
  background: var(--cta-hover);
  transform: translateY(-1px);
}

.mobile-menu-btn {
  display: none;
  padding: 8px;
  color: var(--text-primary);
  font-size: 20px;
}

/* Typography Helpers */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.eyebrow::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--accent);
}

.hero-title {
  font-size: clamp(34px, 5.2vw, 58px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.035em;
  color: var(--text-primary);
  margin-bottom: 20px;
}

.hero-desc {
  font-size: clamp(16px, 2.2vw, 19px);
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 580px;
  margin-bottom: 32px;
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 56px auto;
}

.section-title {
  font-size: clamp(26px, 3.8vw, 40px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--text-primary);
  margin-bottom: 14px;
}

.section-sub {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Hero Section */
.hero {
  padding: 72px 0 64px 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 56px;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 20px;
}

.badge-link {
  display: inline-block;
  transition: transform 0.15s ease, opacity 0.2s ease;
  line-height: 0;
}

.badge-link:hover {
  transform: translateY(-2px);
  opacity: 0.95;
}

.badge-link img {
  height: 52px;
  width: auto;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 22px;
  background: var(--secondary-btn-bg);
  border: 1px solid var(--secondary-btn-border);
  color: var(--secondary-btn-text);
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--radius-pill);
  transition: background 0.2s ease, transform 0.15s ease;
}

.btn-secondary:hover {
  background: var(--secondary-btn-hover);
  transform: translateY(-1px);
}

.hero-meta {
  font-size: 13px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
}

.meta-dot {
  display: inline-block;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--hairline-strong);
}

/* Phone Showcase */
.showcase-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.showcase-tabs {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px;
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-pill);
  margin-bottom: 24px;
  overflow-x: auto;
  max-width: 100%;
}

.showcase-tab {
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  border-radius: var(--radius-pill);
  white-space: nowrap;
  transition: color 0.15s ease, background 0.15s ease;
}

.showcase-tab:hover {
  color: var(--text-primary);
}

.showcase-tab.active {
  background: var(--surface-raised);
  color: var(--text-primary);
  border: 1px solid var(--hairline-strong);
}

.phone-mockup {
  position: relative;
  width: 310px;
  background: var(--phone-frame-bg);
  border-radius: 44px;
  padding: 10px;
  border: 2px solid var(--phone-frame-border);
  box-shadow: var(--phone-shadow);
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.phone-screen {
  position: relative;
  border-radius: 36px;
  overflow: hidden;
  background: #000000;
  aspect-ratio: 786 / 1704;
}

.phone-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.25s ease;
}

.phone-notch {
  position: absolute;
  top: 9px;
  left: 50%;
  transform: translateX(-50%);
  width: 90px;
  height: 24px;
  background: #000000;
  border-radius: 20px;
  z-index: 10;
}

.mockup-caption {
  margin-top: 16px;
  font-size: 13px;
  color: var(--text-muted);
  text-align: center;
  max-width: 280px;
}

/* Features Grid */
.features-section {
  padding: 96px 0;
  border-top: 1px solid var(--hairline);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: var(--card-shadow);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.feature-card:hover {
  transform: translateY(-2px);
  border-color: var(--hairline-strong);
}

.feature-icon-wrapper {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: var(--surface-raised);
  border: 1px solid var(--hairline);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 20px;
}

.feature-title {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.feature-desc {
  font-size: 14.5px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.feature-card.highlight-card {
  grid-column: span 2;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  align-items: center;
}

.folder-swatches-preview {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.swatch-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  background: var(--surface-raised);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 500;
  color: var(--text-primary);
}

.swatch-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

/* How It Works Section */
.how-section {
  padding: 96px 0;
  border-top: 1px solid var(--hairline);
  background-color: var(--canvas);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 48px;
}

.step-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  padding: 32px 26px;
  box-shadow: var(--card-shadow);
  display: flex;
  flex-direction: column;
}

.step-number {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-pill);
  background: var(--accent-soft);
  border: 1px solid var(--accent-border);
  color: var(--accent);
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.step-title {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.step-desc {
  font-size: 14.5px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Real App Showcase Gallery */
.gallery-section {
  padding: 96px 0;
  border-top: 1px solid var(--hairline);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.gallery-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.gallery-phone {
  width: 100%;
  max-width: 250px;
  background: var(--phone-frame-bg);
  border-radius: 36px;
  padding: 8px;
  border: 1.5px solid var(--phone-frame-border);
  box-shadow: var(--phone-shadow);
  margin-bottom: 16px;
  transition: transform 0.2s ease;
}

.gallery-phone:hover {
  transform: translateY(-4px);
}

.gallery-screen {
  border-radius: 28px;
  overflow: hidden;
  background: #000000;
  aspect-ratio: 786 / 1704;
}

.gallery-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
  text-align: center;
  margin-bottom: 4px;
}

.gallery-desc {
  font-size: 12.5px;
  color: var(--text-muted);
  text-align: center;
  max-width: 210px;
}

/* Pricing Section */
.pricing-section {
  padding: 96px 0;
  border-top: 1px solid var(--hairline);
}

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

.pricing-card {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-xl);
  padding: 40px 36px;
  box-shadow: var(--card-shadow);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.pricing-card.featured {
  border-color: var(--accent);
  background: var(--surface-raised);
}

.pricing-badge {
  position: absolute;
  top: -12px;
  right: 28px;
  background: var(--accent);
  color: #0A0A0C;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
}

.pricing-tier {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.pricing-tier-desc {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 24px;
  min-height: 42px;
}

.pricing-price-wrap {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--hairline);
}

.pricing-amount {
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text-primary);
}

.pricing-period {
  font-size: 14px;
  color: var(--text-muted);
}

.pricing-features-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 32px;
  flex-grow: 1;
}

.pricing-features-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14.5px;
  color: var(--text-secondary);
}

.check-icon {
  color: var(--accent);
  font-weight: 700;
  font-size: 16px;
  line-height: 1.2;
}

.pricing-cta {
  width: 100%;
  text-align: center;
  padding: 13px 20px;
  border-radius: var(--radius-pill);
  font-size: 15px;
  font-weight: 600;
  transition: background 0.2s ease, transform 0.15s ease;
}

.pricing-card.featured .pricing-cta {
  background: var(--cta-bg);
  color: var(--cta-text);
}

.pricing-card.featured .pricing-cta:hover {
  background: var(--cta-hover);
  transform: translateY(-1px);
}

.pricing-card:not(.featured) .pricing-cta {
  background: var(--secondary-btn-bg);
  border: 1px solid var(--secondary-btn-border);
  color: var(--secondary-btn-text);
}

.pricing-card:not(.featured) .pricing-cta:hover {
  background: var(--secondary-btn-hover);
  transform: translateY(-1px);
}

.pricing-disclaimer {
  text-align: center;
  font-size: 13px;
  color: var(--text-muted);
  max-width: 640px;
  margin: 28px auto 0 auto;
}

/* FAQ Section */
.faq-section {
  padding: 96px 0;
  border-top: 1px solid var(--hairline);
}

.faq-list {
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--card-shadow);
  transition: border-color 0.2s ease;
}

.faq-item:hover,
.faq-item.is-open {
  border-color: var(--hairline-strong);
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: 22px 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--text-primary);
}

.faq-chevron {
  font-size: 18px;
  color: var(--text-muted);
  transition: transform 0.2s ease;
}

.faq-item.is-open .faq-chevron {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 26px 22px 26px;
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.65;
}

.faq-answer p {
  margin-bottom: 12px;
}

.faq-answer p:last-child {
  margin-bottom: 0;
}

/* CTA Banner Section */
.cta-section {
  padding: 96px 0;
  border-top: 1px solid var(--hairline);
}

.cta-banner {
  background: var(--surface-raised);
  border: 1px solid var(--hairline-strong);
  border-radius: var(--radius-xl);
  padding: 56px 40px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: var(--card-shadow);
}

.cta-banner .eyebrow {
  margin-bottom: 14px;
}

.cta-banner h2 {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  margin-bottom: 14px;
}

.cta-banner p {
  font-size: 16px;
  color: var(--text-secondary);
  max-width: 540px;
  margin-bottom: 32px;
}

/* Footer */
.site-footer {
  margin-top: auto;
  border-top: 1px solid var(--hairline);
  background: var(--surface);
  padding: 64px 0 40px 0;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand .brand {
  margin-bottom: 14px;
}

.footer-brand p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 320px;
}

.footer-col h4 {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col a {
  font-size: 14px;
  color: var(--text-secondary);
  transition: color 0.15s ease;
}

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

.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid var(--hairline);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13px;
  color: var(--text-muted);
}

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

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

/* Legal & Support Subpages Layout */
.legal-page {
  padding: 56px 0 88px 0;
}

.legal-container {
  max-width: 760px;
  margin: 0 auto;
}

.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.breadcrumbs a {
  color: var(--text-secondary);
}

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

.legal-header {
  margin-bottom: 36px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--hairline);
}

.legal-title {
  font-size: clamp(30px, 4.5vw, 42px);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.legal-meta {
  font-size: 14px;
  color: var(--text-muted);
}

.legal-highlight-box {
  background: var(--accent-soft);
  border-left: 3px solid var(--accent);
  padding: 20px 24px;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin: 28px 0;
  font-size: 15px;
  color: var(--text-primary);
  line-height: 1.6;
}

.legal-content h2 {
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-top: 36px;
  margin-bottom: 12px;
}

.legal-content p,
.legal-content li {
  font-size: 15.5px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 14px;
}

.legal-content ul,
.legal-content ol {
  padding-left: 24px;
  margin-bottom: 16px;
}

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

.legal-content a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.contact-card {
  background: var(--surface);
  border: 1px solid var(--hairline-strong);
  border-radius: var(--radius-lg);
  padding: 32px;
  text-align: center;
  margin: 32px 0;
  box-shadow: var(--card-shadow);
}

.contact-card p {
  color: var(--text-secondary);
  font-size: 15px;
  margin-bottom: 12px;
}

.contact-email-link {
  display: inline-block;
  font-size: 19px;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}

.contact-email-link:hover {
  color: var(--accent);
}

/* Responsive Media Queries */
@media (max-width: 980px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 48px;
    text-align: center;
  }

  .hero-content {
    align-items: center;
  }

  .hero-desc {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-cta-group {
    justify-content: center;
  }

  .features-grid {
    grid-template-columns: 1fr 1fr;
  }

  .feature-card.highlight-card {
    grid-column: span 2;
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .steps-grid {
    grid-template-columns: 1fr;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

@media (max-width: 640px) {
  .site-header {
    margin: 0 8px;
  }

  .site-header .nav-container {
    padding: 8px 14px;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background: var(--surface-raised);
    border: 1px solid var(--hairline-strong);
    border-radius: var(--radius-lg);
    padding: 16px 20px;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    box-shadow: var(--card-shadow);
  }

  .nav-links.mobile-open {
    display: flex;
  }

  .mobile-menu-btn {
    display: block;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .feature-card.highlight-card {
    grid-column: span 1;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .phone-mockup {
    width: 270px;
  }

  .hero {
    padding: 48px 0;
  }

  .features-section,
  .how-section,
  .gallery-section,
  .pricing-section,
  .faq-section,
  .cta-section {
    padding: 64px 0;
  }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
