/* ===================================================
   GuideBy — Landing Page Styles
   =================================================== */

:root {
  --bg:                  #160c08;
  --bg-elevated:         #1f1109;
  --bg-card:             #261610;

  --primary:             #E8917A;
  --primary-dark:        #d4725a;
  --primary-glow:        rgba(232, 145, 122, 0.12);

  --secondary:           #8B5E52;

  --text:                #F5EDE8;
  --text-muted:          #9E7B71;
  --text-faint:          #5C3D35;

  --glass-border:        rgba(232, 145, 122, 0.14);
  --glass-border-hover:  rgba(232, 145, 122, 0.38);

  --gradient-hero:       linear-gradient(
                           rgba(22, 12, 8, 0.68) 0%,
                           rgba(22, 12, 8, 0.82) 55%,
                           rgba(22, 12, 8, 1.00) 100%
                         );
  --gradient-text:       linear-gradient(135deg, #F5EDE8 0%, #E8917A 60%, #C07060 100%);
  --gradient-card:       linear-gradient(145deg, #261610 0%, #1f1109 100%);

  --section-gap:         7rem;
  --card-radius:         24px;
  --btn-radius:          14px;

  --font-display:        'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-main:           'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* ===================================================
   RESET & BASE
   =================================================== */

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

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

ul {
  list-style: none;
}

/* ===================================================
   LAYOUT
   =================================================== */

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

section {
  padding: var(--section-gap) 0;
}

/* ===================================================
   TYPOGRAPHY SYSTEM
   =================================================== */

.gradient-text {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 1rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 600;
  line-height: 1.1;
  color: var(--text);
  margin-bottom: 1.25rem;
}

.section-title em {
  font-style: italic;
}

.section-subtext {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.75;
  max-width: 560px;
}

/* ===================================================
   BUTTONS
   =================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.875rem 1.75rem;
  border-radius: var(--btn-radius);
  font-family: var(--font-main);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: transform 0.2s ease, background-color 0.2s ease, opacity 0.2s ease;
  white-space: nowrap;
  line-height: 1;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  background: var(--primary);
  color: #160c08;
}

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

.btn-secondary {
  background: rgba(232, 145, 122, 0.15);
  color: var(--text);
  border: 1px solid rgba(232, 145, 122, 0.35);
}

.btn-secondary:hover {
  background: rgba(232, 145, 122, 0.22);
  border-color: rgba(232, 145, 122, 0.5);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--glass-border);
}

.btn-ghost:hover {
  background: rgba(232, 145, 122, 0.06);
  border-color: var(--glass-border-hover);
}

.btn-disabled {
  opacity: 0.45;
  cursor: not-allowed;
  pointer-events: none;
}

.btn-sm {
  padding: 0.6rem 1.2rem;
  font-size: 0.875rem;
}

.btn-lg {
  padding: 1.1rem 2.5rem;
  font-size: 1.05rem;
}

.cta-group {
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===================================================
   SCROLL ANIMATIONS
   =================================================== */

.animate-on-scroll {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s ease, transform 0.65s ease;
  transition-delay: var(--delay, 0s);
}

.animate-on-scroll.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .animate-on-scroll {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ===================================================
   LOGO
   =================================================== */

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--text);
  flex-shrink: 0;
}

.logo-icon {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
}

.logo-text {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1;
}

/* ===================================================
   HEADER
   =================================================== */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: 72px;
  background: transparent;
  transition: background 0.3s ease, border-color 0.3s ease, backdrop-filter 0.3s ease;
  border-bottom: 1px solid transparent;
}

.site-header.scrolled {
  background: rgba(22, 12, 8, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-color: var(--glass-border);
}

.header-inner {
  display: flex;
  align-items: center;
  height: 100%;
  gap: 2rem;
}

.header-nav {
  display: flex;
  gap: 2rem;
  margin-left: auto;
}

.header-nav a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text);
  transition: color 0.2s;
}

.header-nav a:hover {
  color: var(--primary);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-left: 1rem;
  flex-shrink: 0;
}

#lang-select {
  background: transparent;
  border: 1px solid var(--glass-border);
  color: var(--text);
  font-family: var(--font-main);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  padding: 6px 10px;
  border-radius: 8px;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  outline: none;
  transition: border-color 0.2s, color 0.2s;
}

#lang-select:hover,
#lang-select:focus {
  border-color: var(--glass-border-hover);
  color: var(--text);
}

#lang-select option {
  background: #1f1109;
  color: var(--text);
}

/* ===================================================
   HERO
   =================================================== */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  overflow: hidden;
  padding-top: 72px;
}

.hero-bg-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background: var(--gradient-hero);
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 820px;
  padding-top: 5rem;
  padding-bottom: 4rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--primary-glow);
  border: 1px solid var(--glass-border-hover);
  color: var(--primary);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 0.45rem 1rem;
  border-radius: 100px;
  margin-bottom: 2rem;
}

.badge-dot {
  width: 7px;
  height: 7px;
  background: var(--primary);
  border-radius: 50%;
  flex-shrink: 0;
  animation: pulse-dot 2.2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(0.75); }
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 6rem);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 1.5rem;
}

.hero-headline em {
  font-style: italic;
}

.hero-subtext {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto 2.5rem;
  line-height: 1.75;
}

.hero-mockup-wrap {
  margin-top: 4rem;
  display: flex;
  justify-content: center;
}

/* ===================================================
   PHONE FRAME
   =================================================== */

.phone-frame {
  position: relative;
  width: 270px;
  background: #0a0503;
  border-radius: 46px;
  padding: 10px;
  border: 1.5px solid rgba(232, 145, 122, 0.18);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.6),
    0 60px 120px rgba(0, 0, 0, 0.7);
}

.phone-frame::before {
  content: '';
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 88px;
  height: 26px;
  background: #0a0503;
  border-radius: 0 0 16px 16px;
  z-index: 2;
}

.phone-screen {
  width: 100%;
  border-radius: 38px;
  display: block;
}

.phone-frame--glow {
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.6),
    0 80px 160px rgba(0, 0, 0, 0.8),
    0 0 80px rgba(232, 145, 122, 0.18);
  border-color: rgba(232, 145, 122, 0.35);
}

/* ===================================================
   FEATURES — BENTO GRID
   =================================================== */

.features {
  background: var(--bg-elevated);
}

.bento-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 1.5rem;
  margin-top: 3.5rem;
}

.bento-large {
  grid-row: 1 / 3;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: linear-gradient(145deg, #2e1a12 0%, #1f1109 100%);
  border-color: rgba(232, 145, 122, 0.28);
}

.bento-large:hover {
  border-color: rgba(232, 145, 122, 0.5);
}

.bento-large .feature-icon-wrap {
  width: 60px;
  height: 60px;
  border-radius: 18px;
  margin-bottom: 2rem;
}

.bento-large .feature-icon-wrap svg {
  width: 30px;
  height: 30px;
}

.bento-large h3 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

.bento-large p {
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 2rem;
}

.bento-small {
  grid-column: 2;
}

.feature-card {
  background: var(--gradient-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--card-radius);
  padding: 2.5rem;
  transition: border-color 0.3s ease, transform 0.3s ease;
}

.feature-card:hover {
  border-color: var(--glass-border-hover);
  transform: translateY(-4px);
}

.feature-icon-wrap {
  width: 52px;
  height: 52px;
  background: var(--primary-glow);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  border: 1px solid var(--glass-border-hover);
  color: var(--primary);
}

.feature-card h3 {
  font-family: var(--font-main);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.75rem;
  letter-spacing: -0.01em;
}

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

.feature-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.feature-tags li {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--primary);
  background: var(--primary-glow);
  border: 1px solid var(--glass-border);
  padding: 0.28rem 0.75rem;
  border-radius: 100px;
}

/* ===================================================
   HOW IT WORKS — GRID CARDS
   =================================================== */

.how-it-works {
  background: var(--bg);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 4rem;
}

.step-card {
  background: var(--gradient-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--card-radius);
  padding: 2.25rem 2rem;
  transition: border-color 0.3s ease, transform 0.3s ease;
  position: relative;
}

.step-card:hover {
  border-color: var(--glass-border-hover);
  transform: translateY(-4px);
}

.step-card .step-number {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 300;
  color: var(--secondary);
  line-height: 1;
  margin-bottom: 1.25rem;
}

.step-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
}

.step-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ===================================================
   INTEREST TAGS
   =================================================== */

.interest-tags-section {
  padding: var(--section-gap) 0;
  background: var(--bg-elevated);
  overflow: hidden;
}

.marquee-wrap {
  overflow: hidden;
  padding: 2.5rem 0;
  mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}

.marquee-row {
  display: flex;
  gap: 1rem;
  width: max-content;
  animation: marquee-scroll 40s linear infinite;
}

@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .marquee-row { animation: none; }
}

.tag-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 500;
  padding: 0.65rem 1.3rem;
  border-radius: 100px;
  white-space: nowrap;
}

.companion-section {
  text-align: center;
  margin-top: 1rem;
}

.companion-section .section-subtext {
  margin: 0 auto 2.5rem;
}

.companion-grid {
  display: flex;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.companion-card {
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 1.5rem 2rem;
  text-align: center;
  transition: border-color 0.3s ease, transform 0.3s ease;
  min-width: 120px;
  cursor: default;
}

.companion-card:hover {
  border-color: var(--glass-border-hover);
  transform: translateY(-3px);
}

.companion-icon {
  font-size: 2rem;
  margin-bottom: 0.6rem;
  line-height: 1;
}

.companion-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-muted);
}

/* ===================================================
   SHOWCASE
   =================================================== */

.showcase {
  background: var(--bg);
  overflow: hidden;
}

.showcase .section-subtext {
  margin-top: 0.5rem;
}

.showcase-phones {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 1.5rem;
  padding: 4rem 2rem 0;
}

.showcase-phone {
  text-align: center;
  flex-shrink: 0;
}

.showcase-phone--left .phone-frame {
  transform: rotate(3.5deg) translateY(18px);
}

.showcase-phone--right .phone-frame {
  transform: rotate(-3.5deg) translateY(18px);
}

.showcase-phone--center .phone-frame {
  transform: scale(1.07);
}

.phone-caption {
  margin-top: 1.5rem;
  font-size: 0.83rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}

.showcase-cta-wrap {
  margin-top: 3.5rem;
  text-align: center;
}

/* ===================================================
   SOCIAL PROOF
   =================================================== */

.social-proof {
  padding: 5rem 0;
  background: var(--bg-elevated);
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
}

.proof-strip {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3rem;
  flex-wrap: wrap;
}

.proof-item {
  text-align: center;
}

.proof-number {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 600;
  color: var(--primary);
  line-height: 1;
}

.proof-label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 0.5rem;
}

.proof-divider {
  width: 1px;
  height: 52px;
  background: var(--glass-border);
  flex-shrink: 0;
}

.powered-by {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  margin-top: 3rem;
  color: var(--text-muted);
  font-size: 0.875rem;
}

.powered-by strong {
  color: var(--text);
  font-weight: 700;
}

/* ===================================================
   FINAL CTA
   =================================================== */

.final-cta {
  position: relative;
  text-align: center;
  padding: var(--section-gap) 0;
  overflow: hidden;
}

.final-cta-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse 75% 65% at 50% 100%,
    rgba(232, 145, 122, 0.10) 0%,
    transparent 70%
  );
  pointer-events: none;
}

.final-cta-inner {
  position: relative;
  z-index: 1;
}

.final-cta .section-subtext {
  margin: 0 auto 2.5rem;
}

/* ===================================================
   FOOTER
   =================================================== */

.site-footer {
  padding: 3.5rem 0;
  border-top: 1px solid var(--glass-border);
  background: var(--bg);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.75rem;
  text-align: center;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
}

.footer-tagline {
  font-size: 0.72rem;
  color: var(--text-faint);
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.footer-links {
  display: flex;
  gap: 2rem;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 0.875rem;
  transition: color 0.2s;
}

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

.footer-copy {
  font-size: 0.8rem;
  color: var(--text-faint);
}

/* ===================================================
   LEGAL PAGE (Privacy Policy, Terms of Service)
   =================================================== */

.legal-page {
  padding: calc(72px + 3.5rem) 0 var(--section-gap);
}

.legal-page .container {
  max-width: 780px;
}

.legal-page h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  line-height: 1.15;
  color: var(--text);
  margin-bottom: 0.75rem;
}

.legal-meta {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--glass-border);
}

.legal-page h2 {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  font-weight: 600;
  color: var(--text);
  margin-top: 2.75rem;
  margin-bottom: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--glass-border);
}

.legal-page h2:first-of-type {
  border-top: none;
  padding-top: 0;
}

.legal-page h3 {
  font-family: var(--font-main);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  margin-top: 1.75rem;
  margin-bottom: 0.75rem;
}

.legal-page p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 1rem;
}

.legal-page ul {
  list-style: none;
  margin-bottom: 1rem;
  padding-left: 0;
}

.legal-page ul li {
  position: relative;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.8;
  padding-left: 1.25rem;
  margin-bottom: 0.5rem;
}

.legal-page ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 5px;
  height: 5px;
  background: var(--primary);
  border-radius: 50%;
}

.legal-page ul li strong {
  color: var(--text);
}

.legal-page ol {
  margin-bottom: 1rem;
  padding-left: 1.5rem;
  counter-reset: legal-ol;
  list-style: none;
}

.legal-page ol li {
  position: relative;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.8;
  padding-left: 0.25rem;
  margin-bottom: 0.5rem;
  counter-increment: legal-ol;
}

.legal-page ol li::before {
  content: counter(legal-ol) ".";
  position: absolute;
  left: -1.5rem;
  color: var(--primary);
  font-weight: 600;
}

.legal-caps {
  text-transform: uppercase;
  font-size: 0.88rem !important;
  letter-spacing: 0.01em;
}

.legal-page a {
  color: var(--primary);
  transition: color 0.2s;
}

.legal-page a:hover {
  color: var(--primary-dark);
  text-decoration: underline;
}

.legal-table-wrap {
  overflow-x: auto;
  margin-bottom: 1rem;
}

.legal-page table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.legal-page th,
.legal-page td {
  text-align: left;
  padding: 0.85rem 1rem;
  border: 1px solid var(--glass-border);
}

.legal-page th {
  background: var(--bg-elevated);
  color: var(--text);
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.legal-page td {
  color: var(--text-muted);
  background: var(--bg-card);
}

.legal-page tr:nth-child(even) td {
  background: var(--bg-elevated);
}

/* ===================================================
   SUPPORT FORM
   =================================================== */

.legal-page .support-subtitle {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 0.5rem;
}

.legal-page .support-form {
  margin-top: 2.5rem;
}

.legal-page .form-group {
  display: block;
  margin-bottom: 1.5rem;
}

.legal-page .form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.5rem;
}

.legal-page .form-group input,
.legal-page .form-group textarea {
  display: block;
  width: 100%;
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  padding: 0.875rem 1rem;
  color: var(--text);
  font-family: var(--font-main);
  font-size: 0.95rem;
  line-height: 1.6;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}

.legal-page .form-group input::placeholder,
.legal-page .form-group textarea::placeholder {
  color: var(--text-faint);
}

.legal-page .form-group input:focus,
.legal-page .form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-glow);
}

.legal-page .form-group textarea {
  resize: vertical;
  min-height: 140px;
}

.legal-page .form-error {
  display: none;
  font-size: 0.82rem;
  color: #e87a7a;
  margin-top: 0.35rem;
}

.legal-page .form-error.visible {
  display: block;
}

.legal-page .support-submit {
  width: 100%;
  justify-content: center;
  margin-top: 0.5rem;
}

.legal-page .support-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.legal-page .form-feedback {
  margin-top: 1.5rem;
  padding: 1rem 1.25rem;
  border-radius: 12px;
  font-size: 0.95rem;
  line-height: 1.6;
}

.legal-page .form-feedback.success {
  background: rgba(122, 232, 150, 0.08);
  border: 1px solid rgba(122, 232, 150, 0.25);
  color: #7ae896;
}

.legal-page .form-feedback.error {
  background: rgba(232, 122, 122, 0.08);
  border: 1px solid rgba(232, 122, 122, 0.25);
  color: #e87a7a;
}

.legal-page .form-feedback p {
  color: inherit;
  margin-bottom: 0;
}

/* ===================================================
   RESPONSIVE — TABLET (≤ 1024px)
   =================================================== */

@media (max-width: 1024px) {
  .bento-grid {
    grid-template-columns: 1fr 1fr;
  }

  .bento-large {
    grid-row: auto;
    grid-column: 1 / -1;
  }

  .bento-small {
    grid-column: auto;
  }

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

  .showcase-phone--left .phone-frame,
  .showcase-phone--right .phone-frame {
    transform: none;
    opacity: 0.75;
  }

  .showcase-phone--left,
  .showcase-phone--right {
    display: none;
  }

  .showcase-phone--center .phone-frame {
    transform: none;
  }
}

/* ===================================================
   RESPONSIVE — MOBILE (≤ 767px)
   =================================================== */

@media (max-width: 767px) {
  :root {
    --section-gap: 4.5rem;
  }

  /* Header */
  .header-nav {
    display: none;
  }

  .header-actions {
    margin-left: auto;
  }

  /* Hero */
  .hero-headline {
    font-size: clamp(2.5rem, 9vw, 3.5rem);
  }

  .hero-subtext {
    font-size: 1rem;
  }

  .hero-mockup-wrap {
    margin-top: 3rem;
  }

  .phone-frame {
    width: 230px;
  }

  /* Features — Bento */
  .bento-grid {
    grid-template-columns: 1fr;
  }

  .bento-large {
    grid-row: auto;
    grid-column: auto;
  }

  .bento-small {
    grid-column: auto;
  }

  .bento-large h3 {
    font-size: 1.15rem;
  }

  .bento-large p {
    font-size: 0.95rem;
  }

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

  .step-card .step-number {
    font-size: 2.25rem;
  }

  /* Showcase */
  .showcase-phones {
    flex-direction: column;
    align-items: center;
    padding: 2.5rem 1.5rem 0;
  }

  .showcase-phone--left,
  .showcase-phone--right {
    display: none;
  }

  .showcase-phone--center .phone-frame {
    transform: none;
  }

  /* Stats */
  .proof-strip {
    gap: 2rem;
  }

  .proof-divider {
    display: none;
  }

  /* CTA */
  .cta-group {
    flex-direction: column;
    align-items: stretch;
  }

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

  /* Footer */
  .footer-links {
    flex-direction: column;
    gap: 1rem;
  }
}

/* ===================================================
   RESPONSIVE — SMALL MOBILE (≤ 375px)
   =================================================== */

@media (max-width: 375px) {
  .hero-headline {
    font-size: 2.25rem;
  }

  .phone-frame {
    width: 200px;
  }

  .section-title {
    font-size: 1.85rem;
  }
}
