/* ==========================================
   TOWN TOURIST PREMIUM DESIGN SYSTEM
   ========================================== */

/* Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
  /* Color Tokens */
  --bg-main: #060913;
  --bg-surface: rgba(15, 22, 42, 0.65);
  --bg-surface-light: rgba(255, 255, 255, 0.03);
  --bg-card: rgba(30, 41, 59, 0.5);
  --border-color: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(255, 255, 255, 0.2);
  
  --primary: #3b82f6;          /* Ocean Blue */
  --primary-glow: rgba(59, 130, 246, 0.3);
  --secondary: #f97316;        /* Sunset Orange */
  --secondary-glow: rgba(249, 115, 22, 0.35);
  --success: #10b981;          /* Emerald Green */
  --success-glow: rgba(16, 185, 129, 0.2);
  --danger: #ef4444;           /* Coral Red */
  
  --text-main: #f8fafc;        /* Off-white */
  --text-muted: #94a3b8;       /* Cool Gray */
  --text-dark: #0f172a;
  
  --font-display: 'Outfit', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
  
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.3), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-glow: 0 0 20px rgba(59, 130, 246, 0.15);
  
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
}

/* Base Styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: var(--bg-main);
  background-image: 
    radial-gradient(at 0% 0%, rgba(59, 130, 246, 0.08) 0, transparent 50%),
    radial-gradient(at 100% 100%, rgba(249, 115, 22, 0.05) 0, transparent 50%),
    radial-gradient(at 50% 50%, rgba(16, 185, 129, 0.03) 0, transparent 60%);
  background-attachment: fixed;
  color: var(--text-main);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: var(--transition-smooth);
}

a:hover {
  color: var(--secondary);
}

/* Glassmorphism Panel Wrapper */
.glass-panel {
  background: var(--bg-surface);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 24px;
  transition: var(--transition-smooth);
}

.glass-panel:hover {
  border-color: var(--border-hover);
}

/* Layout Containers */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px;
}

/* Premium Navigation Bar */
.nav-header {
  border-bottom: 1px solid var(--border-color);
  background: rgba(6, 9, 19, 0.7);
  backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 100;
  transition: var(--transition-smooth);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 22px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-link {
  color: var(--text-muted);
  font-weight: 500;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
}

.nav-link:hover, .nav-link.active {
  color: var(--text-main);
  background: var(--bg-surface-light);
}

/* Landing Page Hero Section */
.hero {
  text-align: center;
  padding: 80px 24px 60px;
  max-width: 800px;
  margin: 0 auto;
}

.hero h1 {
  font-size: 54px;
  line-height: 1.1;
  margin-bottom: 24px;
  background: linear-gradient(135deg, #ffffff 40%, var(--text-muted));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p {
  font-size: 18px;
  color: var(--text-muted);
  margin-bottom: 32px;
}

/* Value Props Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
  margin-top: 48px;
}

.feature-card {
  background: rgba(30, 41, 59, 0.3);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 32px 24px;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.feature-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary);
  box-shadow: 0 12px 30px rgba(59, 130, 246, 0.1);
}

.feature-icon {
  font-size: 32px;
  color: var(--primary);
  margin-bottom: 16px;
  display: inline-block;
}

.feature-card h3 {
  margin-bottom: 12px;
  font-size: 20px;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 14px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  font-weight: 600;
  font-family: var(--font-body);
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: var(--transition-smooth);
  gap: 8px;
}

.btn-primary {
  background: var(--primary);
  color: #ffffff;
  box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
  background: #2563eb;
  transform: translateY(-2px);
  box-shadow: 0 0 25px rgba(59, 130, 246, 0.3);
}

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

.btn-secondary:hover {
  background: var(--bg-surface-light);
  border-color: var(--border-hover);
}

.btn-success {
  background: var(--success);
  color: #ffffff;
}

.btn-success:hover {
  background: #059669;
}

.btn-danger {
  background: var(--danger);
  color: #ffffff;
}

.btn-danger:hover {
  background: #dc2626;
}

/* Centered Form Cards (Login/Register) */
.auth-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: calc(100vh - 180px);
  padding: 24px;
}

.auth-card {
  width: 100%;
  max-width: 450px;
}

.auth-header {
  text-align: center;
  margin-bottom: 32px;
}

.auth-header h2 {
  font-size: 32px;
  margin-bottom: 8px;
}

.auth-header p {
  color: var(--text-muted);
}

/* Premium Form Elements */
.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-main);
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  color: var(--text-main);
  font-family: var(--font-body);
  transition: var(--transition-smooth);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-glow);
}

textarea.form-control {
  min-height: 120px;
  resize: vertical;
}

.form-checkbox {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

/* Alerts and Messages */
.alert {
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  margin-bottom: 20px;
  font-size: 14px;
  border: 1px solid transparent;
}

.alert-success {
  background: rgba(16, 185, 129, 0.15);
  border-color: rgba(16, 185, 129, 0.3);
  color: #34d399;
}

.alert-error, .alert-danger {
  background: rgba(239, 68, 68, 0.15);
  border-color: rgba(239, 68, 68, 0.3);
  color: #f87171;
}

.alert-info {
  background: rgba(59, 130, 246, 0.15);
  border-color: rgba(59, 130, 246, 0.3);
  color: #60a5fa;
}

/* Dashboard Layout */
.dashboard-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 32px;
  align-items: start;
}

/* Sidebar Styling */
.sidebar {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sidebar-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  font-weight: 600;
  transition: var(--transition-smooth);
}

.sidebar-link:hover, .sidebar-link.active {
  color: var(--text-main);
  background: rgba(59, 130, 246, 0.1);
  border-left: 3px solid var(--primary);
}

/* Stat Cards */
.stats-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-bottom: 32px;
}

.stat-card {
  background: rgba(30, 41, 59, 0.4);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 24px;
  text-align: center;
  position: relative;
}

.stat-card .val {
  font-size: 36px;
  font-weight: 800;
  font-family: var(--font-display);
  color: var(--primary);
  margin-bottom: 4px;
}

.stat-card .lbl {
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
}

/* Data Table Styles */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
}

.premium-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  background: rgba(15, 23, 42, 0.3);
}

.premium-table th {
  background: rgba(30, 41, 59, 0.6);
  padding: 16px;
  font-weight: 700;
  font-size: 13px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-bottom: 1px solid var(--border-color);
}

.premium-table td {
  padding: 16px;
  border-bottom: 1px solid var(--border-color);
  font-size: 14px;
  color: var(--text-main);
}

.premium-table tr:hover td {
  background: rgba(255, 255, 255, 0.02);
}

.tag {
  display: inline-block;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.tag-blue {
  background: rgba(59, 130, 246, 0.2);
  color: #93c5fd;
}

.tag-orange {
  background: rgba(249, 115, 22, 0.2);
  color: #fdba74;
}

.tag-green {
  background: rgba(16, 185, 129, 0.2);
  color: #6ee7b7;
}

/* Flex utils */
.flex-between {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.mb-4 {
  margin-bottom: 32px;
}

/* OCR Section Box */
.ocr-box {
  background: radial-gradient(circle at 10% 20%, rgba(249, 115, 22, 0.05) 0%, rgba(59, 130, 246, 0.05) 90%);
  border: 1.5px dashed var(--primary);
  border-radius: var(--radius-md);
  padding: 24px;
  text-align: center;
  margin-bottom: 32px;
  transition: var(--transition-smooth);
}

.ocr-box:hover {
  border-color: var(--secondary);
  background: radial-gradient(circle at 10% 20%, rgba(249, 115, 22, 0.08) 0%, rgba(59, 130, 246, 0.08) 90%);
}

.ocr-loading {
  display: none;
  margin-top: 12px;
  color: var(--secondary);
  font-weight: 700;
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0% { opacity: 0.6; }
  50% { opacity: 1; }
  100% { opacity: 0.6; }
}

/* ==========================================
   EDITORIAL MEDITERRANEAN LANDING
   ========================================== */

.page-landing {
  --paper: #efe6d2;
  --paper-deep: #e6dabc;
  --paper-soft: #f6f0e0;
  --ink: #161513;
  --ink-mid: #4a4641;
  --ink-soft: #807a72;
  --rule: rgba(22, 21, 19, 0.18);
  --rule-soft: rgba(22, 21, 19, 0.08);
  --terra: #b2441f;
  --terra-deep: #8f3416;
  --sea: #1e4b56;
  --olive: #65692b;
  --sun: #d49a3a;

  background-color: var(--paper);
  background-image:
    radial-gradient(at 8% 12%, rgba(180, 68, 31, 0.07) 0, transparent 38%),
    radial-gradient(at 92% 8%, rgba(212, 154, 58, 0.10) 0, transparent 42%),
    radial-gradient(at 50% 100%, rgba(30, 75, 86, 0.06) 0, transparent 50%);
  background-attachment: fixed;
  color: var(--ink);
}

/* Paper grain — subtle noise overlay */
.page-landing::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.4;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' seed='4'/><feColorMatrix values='0 0 0 0 0.09  0 0 0 0 0.08  0 0 0 0 0.075  0 0 0 0.13 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

.page-landing .container,
.page-landing main.container {
  position: relative;
  z-index: 2;
  max-width: 1180px;
  padding: 0 32px;
}

/* Override nav for landing — make it transparent on paper */
.page-landing .nav-header {
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom: 1px solid var(--rule);
  position: relative;
}
.page-landing .nav-container {
  max-width: 1180px;
  padding: 22px 32px;
}
.page-landing .logo {
  background: none;
  -webkit-background-clip: initial;
  -webkit-text-fill-color: initial;
  color: var(--ink);
  font-family: 'Fraunces', serif;
  font-weight: 600;
  font-style: italic;
  font-size: 22px;
  letter-spacing: -0.01em;
}
.page-landing .logo span { color: var(--terra); font-style: normal; }
.page-landing .nav-link { color: var(--ink-mid); font-weight: 500; }
.page-landing .nav-link:hover, .page-landing .nav-link.active {
  color: var(--ink); background: transparent;
}
.page-landing .nav-links .btn {
  background: var(--ink) !important;
  color: var(--paper-soft) !important;
  box-shadow: none !important;
  border: none !important;
  border-radius: 0;
  font-family: 'Geist', sans-serif;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  font-size: 11px !important;
  padding: 10px 18px !important;
}
.page-landing .nav-links .btn:hover {
  background: var(--terra) !important;
  transform: none;
}
.page-landing .site-footer {
  background: var(--ink);
  color: var(--paper-soft);
  border: none;
  padding: 48px 32px;
  font-family: 'Geist', sans-serif;
  font-size: 13px;
  letter-spacing: 0.02em;
}
.page-landing .site-footer a { color: var(--sun); }

.lp-paper {
  font-family: 'Geist', 'Helvetica Neue', sans-serif;
  color: var(--ink);
  line-height: 1.55;
  font-weight: 400;
  position: relative;
  padding-bottom: 24px;
}

/* ==== Typography primitives ==== */
.lp-display {
  font-family: 'Fraunces', 'Times New Roman', serif;
  font-weight: 350;
  font-size: clamp(48px, 7vw, 96px);
  line-height: 0.98;
  letter-spacing: -0.025em;
  color: var(--ink);
  font-variation-settings: "opsz" 144, "SOFT" 30, "WONK" 1;
  margin: 0;
}
.lp-display em {
  font-style: italic;
  color: var(--terra);
  font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1;
}
.lp-display-sm {
  font-family: 'Fraunces', serif;
  font-weight: 400;
  font-size: clamp(36px, 4.5vw, 56px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  margin: 0 0 18px;
  color: var(--ink);
  font-variation-settings: "opsz" 144, "SOFT" 40;
}
.lp-display-sm em {
  font-style: italic;
  color: var(--terra);
}

.lp-eyebrow {
  font-family: 'Geist', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-mid);
}

.lp-lede {
  font-family: 'Fraunces', serif;
  font-weight: 300;
  font-size: clamp(17px, 1.4vw, 21px);
  line-height: 1.55;
  color: var(--ink-mid);
  max-width: 44ch;
  margin: 28px 0 36px;
  font-variation-settings: "opsz" 24, "SOFT" 60;
}

/* ==== Buttons ==== */
.lp-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  font-family: 'Geist', sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: 0;
  cursor: pointer;
  transition: all 0.25s ease;
}
.lp-btn-primary {
  background: var(--terra);
  color: var(--paper-soft);
}
.lp-btn-primary:hover {
  background: var(--terra-deep);
  color: var(--paper-soft);
  transform: translateY(-1px);
}
.lp-btn-ghost {
  background: transparent;
  border-color: var(--ink);
  color: var(--ink);
}
.lp-btn-ghost:hover {
  background: var(--ink);
  color: var(--paper-soft);
}
.lp-btn-ink {
  background: var(--ink);
  color: var(--paper-soft);
}
.lp-btn-ink:hover {
  background: var(--terra);
  color: var(--paper-soft);
}
.lp-btn-lg {
  padding: 18px 32px;
  font-size: 14px;
}

/* ==== HERO ==== */
.lp-hero {
  padding: 56px 0 24px;
}
.lp-hero-meta {
  display: flex;
  align-items: center;
  gap: 18px;
  padding-bottom: 56px;
}
.lp-meta-rule {
  flex: 1;
  height: 1px;
  background: var(--rule);
}
.lp-meta-line {
  font-family: 'Geist', sans-serif;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

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

.lp-hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* ==== Postcard composition ==== */
.lp-postcard-wrap {
  position: relative;
  padding: 24px 0;
  display: flex;
  justify-content: center;
}
.lp-postcard {
  position: relative;
  background: var(--paper-soft);
  border: 1px solid var(--ink);
  padding: 36px 28px 32px;
  width: 100%;
  max-width: 380px;
  transform: rotate(-1.5deg);
  box-shadow: 12px 14px 0 var(--ink);
  z-index: 2;
}
.lp-postcard-shadow { display: none; }

.lp-postcard-stamp {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 78px;
  height: 92px;
  background: var(--paper-deep);
  border: 1.5px dashed var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  transform: rotate(4deg);
  color: var(--terra-deep);
}
.lp-stamp-inner {
  text-align: center;
  font-family: 'Fraunces', serif;
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--terra-deep);
}
.lp-stamp-inner svg { display: block; margin: 0 auto 4px; }

.lp-postcard-postmark {
  position: absolute;
  top: 22px;
  left: 18px;
  width: 64px;
  height: 64px;
  border: 1.5px solid var(--sea);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transform: rotate(-12deg);
  font-family: 'Fraunces', serif;
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sea);
  opacity: 0.7;
}
.lp-postcard-postmark span:first-child { font-size: 14px; font-weight: 600; letter-spacing: 0.05em; }

/* Phone inside postcard */
.lp-phone {
  margin: 64px auto 0;
  width: 220px;
  background: var(--ink);
  padding: 8px;
  border-radius: 26px;
  box-shadow: 0 12px 30px rgba(22, 21, 19, 0.25);
  transform: rotate(2deg);
}
.lp-phone-screen {
  background: var(--paper-soft);
  border-radius: 20px;
  overflow: hidden;
  min-height: 320px;
  display: flex;
  flex-direction: column;
}
.lp-app-header {
  padding: 16px 14px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid var(--rule-soft);
  background: var(--paper-soft);
}
.lp-app-emblem {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--sea);
  color: var(--paper-soft);
  display: flex; align-items: center; justify-content: center;
}
.lp-app-title {
  font-family: 'Fraunces', serif;
  font-weight: 500;
  font-size: 13px;
  font-style: italic;
  color: var(--ink);
}
.lp-app-sub {
  font-family: 'Geist', sans-serif;
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.lp-app-tabs {
  display: flex;
  gap: 14px;
  padding: 10px 14px;
  font-family: 'Geist', sans-serif;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--rule-soft);
}
.lp-app-tabs span { color: var(--ink-soft); padding-bottom: 4px; }
.lp-app-tabs span.active {
  color: var(--ink); font-weight: 600;
  border-bottom: 1.5px solid var(--terra);
}
.lp-app-card {
  margin: 10px 12px 0;
  padding: 10px 12px;
  background: #fff;
  border: 1px solid var(--rule-soft);
  display: flex;
  gap: 10px;
  align-items: stretch;
}
.lp-app-card-bar {
  width: 3px; background: var(--terra);
}
.lp-app-card-bar.olive { background: var(--olive); }
.lp-app-card-body { display: flex; flex-direction: column; }
.lp-app-card strong {
  font-family: 'Fraunces', serif;
  font-weight: 500;
  font-size: 12px;
  color: var(--ink);
}
.lp-app-card span {
  font-family: 'Geist', sans-serif;
  font-size: 9.5px;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
  margin-top: 2px;
}
.lp-app-dock {
  margin-top: auto;
  display: flex;
  justify-content: space-around;
  padding: 12px 14px 14px;
  border-top: 1px solid var(--rule-soft);
}
.lp-app-dock span {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--rule);
}
.lp-app-dock span.active { background: var(--terra); }

/* ==== Marquee strip ==== */
.lp-marquee {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 56px;
  padding: 16px 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  font-family: 'Fraunces', serif;
  font-weight: 400;
  font-style: italic;
  font-size: 15px;
  color: var(--ink-mid);
  overflow: hidden;
  flex-wrap: wrap;
  justify-content: center;
}
.lp-marquee span[aria-hidden] { color: var(--terra); font-style: normal; }

/* ==== Sections ==== */
.lp-section {
  padding: 96px 0 64px;
  position: relative;
}
.lp-section-alt {
  background: var(--paper-soft);
  margin: 0 -32px;
  padding-left: 32px;
  padding-right: 32px;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}

.lp-section-head {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 32px;
  align-items: start;
  margin-bottom: 64px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--rule);
}
.lp-section-num {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-weight: 300;
  font-size: 48px;
  line-height: 1;
  color: var(--terra);
  font-variation-settings: "opsz" 144, "SOFT" 100;
}
.lp-section-title {
  font-family: 'Fraunces', serif;
  font-weight: 400;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0 0 10px;
  font-variation-settings: "opsz" 144, "SOFT" 30;
}
.lp-section-kicker {
  font-family: 'Fraunces', serif;
  font-weight: 300;
  font-size: 17px;
  line-height: 1.5;
  color: var(--ink-mid);
  max-width: 56ch;
  margin: 0;
}

/* ==== 3-column pillars ==== */
.lp-cols-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--rule);
}
.lp-pillar {
  padding: 36px 28px 36px 0;
  border-right: 1px solid var(--rule);
}
.lp-pillar:last-child { border-right: none; padding-right: 0; }
.lp-pillar:not(:first-child) { padding-left: 28px; }
.lp-pillar svg { color: var(--sea); margin-bottom: 24px; }
.lp-pillar h3 {
  font-family: 'Fraunces', serif;
  font-weight: 500;
  font-style: italic;
  font-size: 24px;
  letter-spacing: -0.015em;
  margin: 0 0 12px;
  color: var(--ink);
  font-variation-settings: "opsz" 36, "SOFT" 50;
}
.lp-pillar p {
  font-family: 'Geist', sans-serif;
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink-mid);
  margin: 0;
}

/* ==== Modules list ==== */
.lp-modules {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-top: 1px solid var(--rule);
}
.lp-modules li {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 20px;
  align-items: start;
  padding: 28px 32px 28px 0;
  border-bottom: 1px solid var(--rule);
}
.lp-modules li:nth-child(odd) { padding-right: 40px; border-right: 1px solid var(--rule); }
.lp-modules li:nth-child(even) { padding-left: 40px; }
.lp-mod-num {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-weight: 300;
  font-size: 28px;
  color: var(--terra);
  letter-spacing: -0.02em;
  line-height: 1;
  padding-top: 4px;
}
.lp-modules h3 {
  font-family: 'Fraunces', serif;
  font-weight: 500;
  font-size: 20px;
  letter-spacing: -0.01em;
  margin: 0 0 6px;
  color: var(--ink);
}
.lp-modules p {
  font-family: 'Geist', sans-serif;
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink-mid);
  margin: 0;
}

/* ==== Process steps ==== */
.lp-process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--rule);
  border-left: 1px solid var(--rule);
}
.lp-step {
  padding: 32px 24px 28px;
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  background: transparent;
  position: relative;
}
.lp-step header {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-bottom: 14px;
}
.lp-step header span {
  font-family: 'Fraunces', serif;
  font-weight: 300;
  font-style: italic;
  font-size: 32px;
  color: var(--sea);
  letter-spacing: 0.04em;
  font-variation-settings: "opsz" 144, "SOFT" 60;
}
.lp-step h3 {
  font-family: 'Fraunces', serif;
  font-weight: 500;
  font-size: 20px;
  margin: 0;
  color: var(--ink);
}
.lp-step p {
  font-family: 'Geist', sans-serif;
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink-mid);
  margin: 0 0 18px;
}
.lp-step small {
  font-family: 'Geist', sans-serif;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

/* ==== Panel card ==== */
.lp-panel-card {
  background: var(--ink);
  color: var(--paper-soft);
  padding: 64px 56px;
  position: relative;
  overflow: hidden;
}
.lp-panel-card::before {
  content: "";
  position: absolute;
  top: -40%; right: -10%;
  width: 480px; height: 480px;
  background: radial-gradient(circle, var(--terra) 0%, transparent 65%);
  opacity: 0.25;
  pointer-events: none;
}
.lp-panel-tag {
  display: inline-block;
  font-family: 'Geist', sans-serif;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--sun);
  padding-bottom: 8px;
  border-bottom: 1px solid var(--sun);
  margin-bottom: 32px;
}
.lp-panel-card .lp-display-sm { color: var(--paper-soft); max-width: 18ch; }
.lp-panel-card .lp-display-sm em { color: var(--sun); font-style: italic; }
.lp-panel-card > p {
  font-family: 'Fraunces', serif;
  font-weight: 300;
  font-size: 18px;
  line-height: 1.55;
  color: rgba(246, 240, 224, 0.78);
  max-width: 52ch;
  margin: 0 0 36px;
}
.lp-panel-card > p em { color: var(--sun); font-style: italic; }
.lp-panel-list {
  list-style: none;
  padding: 0;
  margin: 0 0 40px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px 32px;
}
.lp-panel-list li {
  font-family: 'Geist', sans-serif;
  font-size: 14px;
  line-height: 1.5;
  color: rgba(246, 240, 224, 0.86);
  display: flex;
  gap: 12px;
}
.lp-bull {
  color: var(--sun);
  font-family: 'Fraunces', serif;
  font-size: 22px;
  line-height: 0.8;
}

/* ==== CTA ==== */
.lp-cta {
  text-align: left;
  padding: 96px 0 80px;
  border-top: 1px solid var(--rule);
  position: relative;
}
.lp-cta-rule {
  width: 80px;
  height: 2px;
  background: var(--terra);
  margin-bottom: 32px;
}
.lp-cta-eyebrow {
  font-family: 'Geist', sans-serif;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-mid);
  margin: 0 0 24px;
}
.lp-cta .lp-display {
  max-width: 14ch;
  margin-bottom: 36px;
}
.lp-cta-text {
  font-family: 'Fraunces', serif;
  font-weight: 300;
  font-size: 20px;
  line-height: 1.5;
  color: var(--ink-mid);
  max-width: 48ch;
  margin: 0 0 36px;
}
.lp-cta-foot {
  font-family: 'Geist', sans-serif;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
  margin-top: 20px;
}

/* ==== Responsive ==== */
@media(max-width: 900px) {
  .lp-hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .lp-postcard-wrap { padding: 0; }
  .lp-cols-3 { grid-template-columns: 1fr; }
  .lp-pillar { border-right: none; border-bottom: 1px solid var(--rule); padding: 32px 0; }
  .lp-pillar:not(:first-child) { padding-left: 0; }
  .lp-modules { grid-template-columns: 1fr; }
  .lp-modules li:nth-child(odd) { padding-right: 0; border-right: none; }
  .lp-modules li:nth-child(even) { padding-left: 0; }
  .lp-process { grid-template-columns: repeat(2, 1fr); }
  .lp-panel-card { padding: 40px 28px; }
  .lp-panel-list { grid-template-columns: 1fr; }
  .lp-section-head { grid-template-columns: 1fr; gap: 16px; }
  .lp-section-alt { margin-left: -16px; margin-right: -16px; padding-left: 16px; padding-right: 16px; }
}
@media(max-width: 560px) {
  .lp-process { grid-template-columns: 1fr; }
  .page-landing .container,
  .page-landing main.container { padding: 0 16px; }
  .lp-hero-meta { gap: 12px; }
  .lp-meta-line { font-size: 10px; }
}

/* Mobile-first tweaks */
@media(max-width: 768px) {
  .dashboard-grid {
    grid-template-columns: 1fr;
  }

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

  .nav-container {
    flex-direction: column;
    gap: 12px;
  }

  .lp-hero {
    grid-template-columns: 1fr;
    padding: 32px 0;
    text-align: center;
  }

  .lp-hero-text h1 {
    font-size: 36px;
  }

  .lp-hero-actions, .lp-trust {
    justify-content: center;
  }

  .lp-section {
    padding: 36px 0;
  }

  .lp-panel-promo {
    padding: 24px;
  }
}
