@import url("/assets/glass.css?v=fba889d986a1");

/* === Design Tokens — Paleta oficial Outfitea.me === */
:root {
  color-scheme: light;
  --canvas: rgba(24, 33, 29, 0.035);
  --background: #F7F4EE;
  --text: #18211D;
  --muted-text: #5F6560;
  --accent: #9B4738;
  --accent-pressed: #9B4738;
  --accent-soft: #ECDFD8;
  --surface: #EEECE6;
  --surface-strong: #F7F4EE;
  --border: #D3D2CD;
  --overlay: rgba(24, 33, 29, 0.48);
  --primary: #9B4738;
  --primary-text: #F7F4EE;
  --nav-background: rgba(247, 244, 238, 0.9);
  --cta-background: #18211D;
  --cta-text: #F7F4EE;
  --cta-muted: rgba(247, 244, 238, 0.68);
  --cta-field: rgba(247, 244, 238, 0.08);
  --cta-border: rgba(247, 244, 238, 0.18);
  --footer-background: var(--background);
  --footer-text: var(--text);
  --footer-muted: var(--muted-text);

  --font-display: 'Roboto Flex', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-body: 'Roboto Flex', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --weight-display: 720;

  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --radius-round: 999px;

  --motion-duration: 280ms;
  --motion-easing: cubic-bezier(.22, .8, .25, 1);

  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 12px;
  --space-lg: 16px;
  --space-xl: 24px;
  --space-xxl: 32px;
  --space-huge: 48px;

  --shadow-sm: 0 2px 8px rgba(24, 33, 29, 0.06);
  --shadow-md: 0 10px 30px rgba(24, 33, 29, 0.08);
  --shadow-lg: 0 18px 52px rgba(24, 33, 29, 0.11);
  --shadow-xl: 0 28px 72px rgba(24, 33, 29, 0.14);
  --shadow-accent: 0 10px 28px rgba(155, 71, 56, 0.2);
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --canvas: #141414;
  --background: #141414;
  --text: #F3F0E9;
  --muted-text: #B8B7AE;
  --accent: #D4BD8B;
  --accent-pressed: #BEA675;
  --accent-soft: #353127;
  --surface: #212120;
  --surface-strong: #2D2D2B;
  --border: #44443F;
  --overlay: rgba(0, 0, 0, 0.72);
  --primary: #D4BD8B;
  --primary-text: #201A0E;
  --nav-background: rgba(20, 20, 20, 0.9);
  --cta-background: #212120;
  --cta-text: #F3F0E9;
  --cta-muted: #B8B7AE;
  --cta-field: #2D2D2B;
  --cta-border: #44443F;
  --footer-background: #141414;
  --footer-text: #F3F0E9;
  --footer-muted: #B8B7AE;
  --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.16);
  --shadow-md: 0 12px 34px rgba(0, 0, 0, 0.2);
  --shadow-lg: 0 20px 58px rgba(0, 0, 0, 0.26);
  --shadow-xl: 0 30px 80px rgba(0, 0, 0, 0.32);
  --shadow-accent: 0 10px 30px rgba(212, 189, 139, 0.18);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    color-scheme: dark;
    --canvas: #141414;
    --background: #141414;
    --text: #F3F0E9;
    --muted-text: #B8B7AE;
    --accent: #D4BD8B;
    --accent-pressed: #BEA675;
    --accent-soft: #353127;
    --surface: #212120;
    --surface-strong: #2D2D2B;
    --border: #44443F;
    --primary: #D4BD8B;
    --primary-text: #201A0E;
    --nav-background: rgba(20, 20, 20, 0.9);
    --cta-background: #212120;
    --cta-text: #F3F0E9;
    --cta-muted: #B8B7AE;
    --cta-field: #2D2D2B;
    --cta-border: #44443F;
    --footer-background: #141414;
    --footer-text: #F3F0E9;
    --footer-muted: #B8B7AE;
    --overlay: rgba(0, 0, 0, 0.72);
    --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.16);
    --shadow-md: 0 12px 34px rgba(0, 0, 0, 0.2);
    --shadow-lg: 0 20px 58px rgba(0, 0, 0, 0.26);
    --shadow-xl: 0 30px 80px rgba(0, 0, 0, 0.32);
    --shadow-accent: 0 10px 30px rgba(212, 189, 139, 0.18);
  }
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--text);
  background-color: var(--background);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  transition: background-color var(--motion-duration) var(--motion-easing), color var(--motion-duration) var(--motion-easing);
}

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

a {
  color: var(--accent);
  text-decoration: none;
  transition: color var(--motion-duration) var(--motion-easing);
}

a:hover {
  color: var(--accent-pressed);
}

/* === Layout === */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

section {
  padding: 80px 0;
}

/* === Scroll Animations === */
.animate-in {
  opacity: 1;
  transform: none;
  transition: opacity var(--motion-duration) var(--motion-easing),
              transform var(--motion-duration) var(--motion-easing);
}

.js .animate-in {
  opacity: 0;
  transform: translateY(8px);
}

.animate-in.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.animate-in.delay-1 { transition-delay: 0ms; }
.animate-in.delay-2 { transition-delay: 30ms; }
.animate-in.delay-3 { transition-delay: 60ms; }
.animate-in.delay-4 { transition-delay: 90ms; }

/* === Navigation === */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: var(--nav-background);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--motion-duration) var(--motion-easing), background-color var(--motion-duration) var(--motion-easing), border-color var(--motion-duration) var(--motion-easing);
}

.nav.scrolled {
  box-shadow: var(--shadow-sm);
}

.nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.nav-brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  color: var(--text);
}

.nav-brand img {
  width: 174px;
  height: auto;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}

.theme-toggle {
  min-height: 40px;
  padding: 8px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-round);
  background: var(--surface);
  color: var(--text);
  font: 650 13px/1 var(--font-body);
  letter-spacing: 0.01em;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color var(--motion-duration) var(--motion-easing), border-color var(--motion-duration) var(--motion-easing), color var(--motion-duration) var(--motion-easing);
}

.theme-toggle:hover {
  background: var(--surface-strong);
  border-color: var(--accent);
}

.legal-nav-actions {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.nav-links {
  display: flex;
  gap: var(--space-xl);
  list-style: none;
}

.nav-links a {
  color: var(--muted-text);
  font-size: 15px;
  font-weight: 500;
  transition: color var(--motion-duration) var(--motion-easing);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  border-radius: 1px;
  transition: width var(--motion-duration) var(--motion-easing);
}

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

.nav-links a:hover::after {
  width: 100%;
}

/* Hamburger Button */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 8px;
  background: none;
  border: none;
  cursor: pointer;
  border-radius: var(--radius-sm);
  transition: background var(--motion-duration) var(--motion-easing);
}

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

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text);
  border-radius: 1px;
  transition: transform var(--motion-duration) var(--motion-easing), opacity var(--motion-duration) var(--motion-easing);
}

.nav-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* === Hero Section === */
.hero {
  padding-top: 140px;
  padding-bottom: 80px;
  background: var(--background);
  overflow: hidden;
  position: relative;
}

.hero .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-huge);
}

.hero-content {
  max-width: 620px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-xl);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 7px var(--space-lg);
  background: var(--surface);
  color: var(--accent);
  font-size: 13px;
  font-weight: 600;
  border-radius: var(--radius-round);
  border: 1px solid var(--border);
  letter-spacing: 0.02em;
  animation: fadeSlideDown var(--motion-duration) var(--motion-easing) both;
}

@keyframes fadeSlideDown {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero h1 {
  font-family: var(--font-display);
  font-size: 40px;
  line-height: 1.12;
  font-weight: var(--weight-display);
  letter-spacing: -0.035em;
  animation: fadeSlideUp var(--motion-duration) var(--motion-easing) 30ms both;
}

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

.hero-subtitle {
  font-size: 18px;
  line-height: 1.65;
  color: var(--muted-text);
  max-width: 480px;
  animation: fadeSlideUp var(--motion-duration) var(--motion-easing) 60ms both;
}

.hero-newsletter {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-md);
  width: 100%;
  margin-top: var(--space-sm);
  animation: fadeSlideUp var(--motion-duration) var(--motion-easing) 90ms both;
}

.hero-newsletter-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}

.hero-privacy {
  font-size: 13px;
  color: var(--muted-text);
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  margin-top: var(--space-xs);
}

.hero-privacy::before {
  content: '🔒';
  font-size: 12px;
}

/* Native scrolling also keeps the demo usable without JavaScript. */
.demo-carousel {
  width: 100%;
  max-width: 280px;
  min-width: 0;
  flex-shrink: 0;
  margin-inline: auto;
  text-align: center;
}

.demo-track {
  display: flex;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  border: 1px solid var(--accent);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  cursor: grab;
}

.demo-track::-webkit-scrollbar { display: none; }
.demo-track.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.demo-slide { flex: 0 0 100%; min-width: 0; margin: 0; scroll-snap-align: start; scroll-snap-stop: always; }
.demo-image { display: block; width: 100%; height: auto; aspect-ratio: 390 / 844; object-fit: contain; user-select: none; -webkit-user-drag: none; }
.demo-slide figcaption { padding: 10px 12px; background: var(--background); color: var(--text); font-size: 13px; font-weight: 600; }
.demo-controls { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 16px; }
.demo-controls[hidden] { display: none; }
.demo-arrow, .demo-dot { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; color: var(--text); border: 1px solid var(--glass-control-border); border-radius: 50%; background: var(--surface); cursor: pointer; }
.demo-arrow { flex: 0 0 44px; }
.demo-arrow[aria-disabled="true"] { opacity: .35; cursor: default; }
.demo-arrow:not([aria-disabled="true"]):hover { background: var(--surface); border-color: var(--accent); }
.demo-dots { display: flex; }
.demo-dot { flex: 0 0 28px; width: 28px; border: 0; background: transparent; }
.demo-dot::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--muted-text); opacity: .4; }
.demo-dot[aria-current="true"]::before { width: 20px; border-radius: 8px; background: var(--accent); opacity: 1; }
.demo-arrow:focus-visible, .demo-dot:focus-visible, .demo-track:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.demo-hint { margin-top: 8px; color: var(--muted-text); font-size: 12px; }
.demo-status { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* === Newsletter Form (shared) === */
.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  width: 100%;
  max-width: 440px;
}

.newsletter-input {
  padding: 16px 20px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--glass-control-border);
  background: var(--surface);
  font-family: inherit;
  font-size: 16px;
  color: var(--text);
  outline: none;
  transition: border-color var(--motion-duration) var(--motion-easing);
}

.newsletter-input:focus {
  border-color: var(--accent);
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.newsletter-input::placeholder {
  color: var(--muted-text);
  opacity: 0.7;
}

.newsletter-btn {
  width: 100%;
  justify-content: center;
  border-radius: var(--radius-round);
}

.newsletter-disclaimer {
  font-size: 13px !important;
  color: var(--muted-text);
}

.form-honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.newsletter-consent {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  color: var(--cta-muted);
  font-size: 13px;
  line-height: 1.5;
}

.newsletter-consent input {
  flex: 0 0 auto;
  margin-top: 3px;
}

.newsletter-consent a {
  color: inherit;
  text-decoration: underline;
}

.newsletter-disclaimer.is-success {
  color: #d8f3dc !important;
}

.newsletter-disclaimer.is-error {
  color: #ffd6d1 !important;
}

.legal-content {
  padding: 120px 0 80px;
  max-width: 800px;
  margin: 0 auto;
}

.legal-content h1 {
  font-family: var(--font-display);
  font-size: 48px;
  margin-bottom: var(--space-xl);
  color: var(--text);
}

.legal-content h2 {
  font-size: 24px;
  margin: var(--space-xl) 0 var(--space-md);
  color: var(--text);
}

.legal-content p,
.legal-content li {
  color: var(--muted-text);
  line-height: 1.8;
  margin-bottom: var(--space-md);
  font-size: 17px;
}

.legal-content ul {
  margin-left: var(--space-xl);
  margin-bottom: var(--space-lg);
}

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

.legal-back-button {
  padding: 8px 20px;
  font-size: 14px;
}

.legal-back-label-short {
  display: none;
}

/* === Buttons === */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: 14px 28px;
  font-size: 16px;
  font-weight: 700;
  border-radius: var(--radius-round);
  border: none;
  cursor: pointer;
  transition: background-color var(--motion-duration) var(--motion-easing),
              border-color var(--motion-duration) var(--motion-easing),
              color var(--motion-duration) var(--motion-easing);
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--primary);
  color: var(--primary-text);
}

.btn-primary:hover {
  background: var(--primary);
  color: var(--primary-text);
}

.btn-secondary {
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--glass-control-border);
}

.btn-secondary:hover {
  background: var(--accent-soft);
  color: var(--text);
}

/* === Features Section === */
.features {
  background: var(--background);
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-huge);
}

.section-label {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-sm);
}

.section-title {
  font-family: var(--font-display);
  font-size: 32px;
  line-height: 1.2;
  font-weight: var(--weight-display);
  letter-spacing: -0.01em;
}

.section-subtitle {
  font-size: 17px;
  color: var(--muted-text);
  margin-top: var(--space-md);
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
}

.feature-card {
  padding: var(--space-xxl);
  background: var(--surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  display: flex;
  align-items: flex-start;
  gap: var(--space-xl);
}

.feature-icon {
  width: 56px;
  height: 56px;
  min-width: 56px;
  border-radius: var(--radius-md);
  background: var(--accent-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.feature-text h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: var(--space-xs);
}

.feature-text p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted-text);
}

/* === How It Works Section === */
.how-it-works {
  background: var(--canvas);
}

.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xxl);
  counter-reset: step;
  position: relative;
}

.step {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-lg);
  counter-increment: step;
  position: relative;
}

.step-number {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--primary-text);
  font-size: 22px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  z-index: 2;
}

.step h3 {
  font-size: 20px;
  font-weight: 700;
}

.step p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted-text);
  max-width: 280px;
}

/* === CTA Section === */
.cta {
  background: var(--background);
  text-align: center;
}

.cta-box {
  background: var(--cta-background);
  border: 1px solid var(--accent);
  border-radius: var(--radius-xl);
  padding: var(--space-huge) var(--space-xl);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-xl);
  position: relative;
  overflow: hidden;
}

.cta-box h2 {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: var(--weight-display);
  line-height: 1.2;
  color: var(--cta-text);
  position: relative;
}

.cta-box > p {
  font-size: 17px;
  color: var(--cta-muted);
  max-width: 440px;
  position: relative;
}

.cta-box .newsletter-form {
  position: relative;
}

.cta-box .newsletter-input {
  background: var(--cta-field);
  border-color: var(--cta-border);
  color: var(--cta-text);
}

.cta-box .newsletter-input:focus {
  border-color: var(--accent);
}

.cta-box .newsletter-input::placeholder {
  color: var(--cta-muted);
  opacity: 1;
}

.cta-box .newsletter-disclaimer {
  color: var(--cta-muted) !important;
  position: relative;
}

.cta-box .newsletter-disclaimer.is-success {
  color: #d8f3dc !important;
}

.cta-box .newsletter-disclaimer.is-error {
  color: #ffd6d1 !important;
}

/* === Store Badges (Coming Soon) === */
.store-badges-container {
  margin-top: var(--space-xl);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
}

.store-badges-title {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
  color: var(--muted-text);
  margin-bottom: 4px;
}

.store-badges {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
  justify-content: center;
}

.store-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--text);
  color: var(--background);
  padding: 8px 16px;
  border-radius: 12px;
  opacity: 0.6;
  cursor: default;
}

.store-badge svg {
  flex-shrink: 0;
}

.store-badge-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.1;
}

.store-badge-text span {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  opacity: 0.8;
}

.store-badge-text strong {
  font-size: 15px;
  font-weight: 600;
  font-family: var(--font-base);
}

.cta-store-badges {
  margin-top: var(--space-xxl);
}
.cta-store-badges .store-badges-title {
  color: var(--cta-muted);
}
.cta-store-badges .store-badge {
  background: var(--cta-field);
  color: var(--cta-text);
}

/* === Footer === */
.footer {
  background: var(--footer-background);
  color: var(--footer-muted);
}

.footer-top {
  padding: 56px 0 40px;
  border-top: 3px solid var(--accent);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: var(--space-huge);
  align-items: flex-start;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.footer-brand-link {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  text-decoration: none;
}

.footer-brand-link img {
  width: 174px;
  height: auto;
}

.footer-tagline {
  font-size: 14px;
  line-height: 1.6;
  color: var(--footer-muted);
  max-width: 240px;
}

.footer-col-title {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--footer-muted);
  margin-bottom: var(--space-xs);
}

.footer-social {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  margin-top: var(--space-xs);
}

.footer-social-links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  list-style: none;
}

.footer-social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  min-width: 44px;
  min-height: 44px;
  padding: var(--space-sm) 10px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--footer-text);
  font-size: 14px;
  line-height: 1.4;
  text-decoration: none;
}

.footer-social-links a:hover {
  border-color: var(--accent);
  background: var(--accent-soft);
  color: var(--accent);
}

.footer-social-links svg {
  flex: 0 0 18px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  list-style: none;
}

.footer-links a {
  color: var(--footer-muted);
  font-size: 14px;
  transition: color var(--motion-duration) var(--motion-easing);
}

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

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 20px 0;
}

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

.footer-copyright {
  font-size: 13px;
  color: var(--footer-muted);
}

.footer-back-top {
  font-size: 13px;
  color: var(--footer-muted);
  text-decoration: none;
  transition: color var(--motion-duration) var(--motion-easing);
}

.footer-back-top:hover {
  color: var(--accent);
}

/* === Responsive: Mobile (< 768px) === */
@media (max-width: 767px) {
  section {
    padding: 56px 0;
  }

  .container {
    padding: 0 20px;
  }

  .legal-content {
    padding: 104px 20px 64px;
  }

  /* Mobile Nav */
  .nav-toggle {
    display: flex;
  }

  .nav-links {
    visibility: hidden;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--background);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--motion-duration) var(--motion-easing),
                opacity var(--motion-duration) var(--motion-easing);
    opacity: 0;
  }

  .nav-links.open {
    visibility: visible;
    max-height: min(70vh, 360px);
    overflow-y: auto;
    opacity: 1;
  }

  .nav-links li {
    border-bottom: 1px solid var(--border);
  }

  .nav-links a {
    display: block;
    padding: 16px var(--space-xl);
    font-size: 16px;
  }

  .nav-links a::after {
    display: none;
  }

  /* Mobile Hero */
  .hero {
    padding-top: 110px;
    padding-bottom: 56px;
  }

  .hero .container {
    gap: var(--space-xxl);
  }

  .hero h1 {
    font-size: 32px;
    line-height: 1.15;
  }

  .hero-subtitle {
    font-size: 16px;
  }

  .demo-carousel {
    max-width: 250px;
  }

  .store-badges {
    flex-direction: column;
    gap: var(--space-sm);
    width: 100%;
  }

  .store-badge {
    justify-content: center;
    width: 100%;
    max-width: 240px;
  }

  /* Mobile Features */
  .feature-card {
    padding: var(--space-xl);
    gap: var(--space-lg);
  }

  .feature-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    font-size: 12px;
  }

  .feature-text h3 {
    font-size: 16px;
  }

  .feature-text p {
    font-size: 14px;
  }

  .section-title {
    font-size: 26px;
  }

  .section-subtitle {
    font-size: 15px;
  }

  /* Mobile Steps — vertical with connector line */
  .steps {
    gap: 0;
    padding-left: 0;
    position: relative;
  }

  .steps::before {
    content: '';
    position: absolute;
    left: 23px;
    top: 48px;
    bottom: 48px;
    width: 2px;
    background: linear-gradient(180deg, var(--accent-soft) 0%, var(--border) 50%, var(--accent-soft) 100%);
    border-radius: 1px;
  }

  .step {
    flex-direction: row;
    text-align: left;
    align-items: flex-start;
    gap: var(--space-xl);
    padding: var(--space-xl) 0;
  }

  .step-number {
    width: 48px;
    height: 48px;
    font-size: 18px;
    position: relative;
    z-index: 2;
  }

  .step p {
    max-width: none;
  }

  /* Mobile CTA */
  .cta-box {
    padding: var(--space-xxl) var(--space-xl);
    border-radius: var(--radius-lg);
  }

  .cta-box h2 {
    font-size: 24px;
  }

  .cta-box > p {
    font-size: 15px;
  }

  /* Mobile Footer */
  .footer-top {
    padding: 40px 0 32px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-xxl);
    text-align: center;
  }

  .footer-col {
    align-items: center;
  }

  .footer-brand-link {
    justify-content: center;
  }

  .footer-tagline {
    text-align: center;
    max-width: 280px;
  }

  .footer-social-links {
    justify-content: center;
  }

  .footer-bottom .container {
    flex-direction: column;
    gap: var(--space-md);
    text-align: center;
  }

  .nav-brand img {
    width: 132px;
  }

  .theme-toggle {
    min-height: 36px;
    padding: 7px 10px;
    font-size: 12px;
  }

  .legal-nav-actions {
    gap: var(--space-sm);
  }

  .legal-back-button {
    padding: 8px 12px;
    font-size: 12px;
  }
}

/* === Responsive: Tablet (768px+) === */
@media (min-width: 768px) {
  .hero h1 {
    font-size: 48px;
  }

  .hero-subtitle {
    font-size: 20px;
  }

  .hero .container {
    flex-direction: row;
    text-align: left;
    gap: var(--space-huge);
  }

  .hero-content {
    align-items: flex-start;
    flex: 1;
  }

  .hero-newsletter {
    align-items: flex-start;
  }

  .demo-carousel {
    max-width: 280px;
    flex-shrink: 0;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
  }

  /* Desktop: horizontal connector line between steps */
  .steps::before {
    content: '';
    position: absolute;
    top: 30px;
    left: calc(16.66% + 30px);
    right: calc(16.66% + 30px);
    height: 2px;
    background: linear-gradient(90deg, var(--accent-soft) 0%, var(--border) 50%, var(--accent-soft) 100%);
    border-radius: 1px;
  }

  .newsletter-form {
    flex-direction: row;
    max-width: 500px;
    flex-wrap: wrap;
  }

  .newsletter-input {
    flex: 1;
  }

  .newsletter-btn {
    width: auto;
    white-space: nowrap;
  }

  .cta-box .newsletter-consent {
    flex-basis: 100%;
    order: 3;
  }

  .footer .container {
    flex-direction: row;
    justify-content: space-between;
  }
}

/* === Responsive: Desktop (1024px+) === */
@media (min-width: 1024px) {
  .hero {
    padding-top: 160px;
    padding-bottom: 100px;
  }

  .hero h1 {
    font-size: 56px;
  }

  .demo-carousel {
    max-width: 300px;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-xl);
  }

  .steps {
    gap: var(--space-huge);
  }

  section {
    padding: 100px 0;
  }

  .cta-box {
    padding: 72px var(--space-huge);
    border-radius: var(--radius-xl);
  }
}

/* === Accessibility === */
@media (prefers-reduced-motion: reduce) {
  :root { --motion-duration: 0ms; }

  html {
    scroll-behavior: auto;
  }

  .feature-card,
  .btn,
  .store-badge,
  .animate-in {
    transition: none;
  }

  .animate-in {
    opacity: 1;
    transform: none;
  }

  .hero-badge,
  .hero h1,
  .hero-subtitle,
  .hero-newsletter,
  .demo-carousel {
    animation: none;
  }
}

/* === Focus styles === */
a:focus-visible,
button:focus-visible,
summary:focus-visible,
input:focus-visible,
.btn:focus-visible,
.newsletter-input:focus-visible,
.theme-toggle:focus-visible,
.nav-toggle:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

@media (max-width: 359px) {
  .nav-brand img {
    width: 110px;
  }

  .legal-back-label-full {
    display: none;
  }

  .legal-back-label-short {
    display: inline;
  }
}

/* Landing actions and practical help share the existing brand tokens. */
[hidden] { display: none !important; }
.hero-actions { display: flex; flex-direction: column; align-items: center; gap: 12px; width: 100%; }
.hero-next-step { color: var(--muted-text); font-size: 13px; max-width: 340px; }
.hero-actions .btn { white-space: normal; text-align: center; }
.faq-container { max-width: 800px; }
.faq details { padding: 20px 0; border-bottom: 1px solid var(--border); }
.faq summary { cursor: pointer; color: var(--text); font-size: 18px; font-weight: 650; padding: 4px 0; }
.faq details p { color: var(--muted-text); margin-top: 14px; }
.faq details a, .faq-more a { text-decoration: underline; text-underline-offset: 3px; }
.faq details a { display: inline-block; margin-top: 12px; }
.faq-more { margin-top: 24px; }
.language-switcher { display: flex; flex-wrap: wrap; gap: 4px; }
.language-switcher a { min-width: 40px; min-height: 40px; padding: 7px 8px; display: inline-flex; align-items: center; justify-content: center; font-size: 13px; color: var(--text); border: 1px solid transparent; border-radius: 9px; }
.language-switcher a[aria-current="page"] { border-color: var(--accent); background: var(--accent-soft); font-weight: 700; }
.newsletter-cancel { padding: 10px 16px; min-height: 44px; font: inherit; background: transparent; color: var(--cta-text); border: 1px solid var(--cta-border); border-radius: var(--radius-sm); cursor: pointer; }
.cta-box .newsletter-cancel { flex-basis: 100%; order: 4; }
.newsletter-btn:disabled { cursor: wait; opacity: 0.75; }
@media (max-width: 767px) {
  .hero-content { gap: 20px; }
  .hero .store-badges-container { margin-top: 12px; }
  .faq summary { font-size: 16px; }
}
@media (min-width: 768px) {
  .hero-actions { align-items: flex-start; }
}
