/* ===========================================
   Offramp — Marketing Site
   =========================================== */

:root {
  /* Surface palette — dimmer than v1, more atmosphere */
  --or-bg: #E8EBF1;
  --or-bg-subtle: #DDE2EA;
  --or-surface: #EFF2F6;       /* slightly elevated section bg */
  --or-card: #F7F8FB;          /* card surface, soft off-white */
  --or-card-hover: #FFFFFF;

  /* Ink */
  --or-ink: #050C1C;
  --or-ink-2: #1E2B3C;
  --or-ink-3: #4B5867;
  --or-ink-4: #8997A8;

  /* Brand — used sparingly */
  --or-brand-1: #7AA4FF;
  --or-brand-2: #D47AFF;
  --or-indigo: #6852FA;
  --or-indigo-soft: #ECE9FE;

  /* Status (kept saturated only inside the phone mockup, etc.) */
  --or-amber: #E89B3C;
  --or-red: #E94444;
  --or-success: #18B961;

  /* Borders / Navy */
  --or-hairline: #D2D8E1;
  --or-hairline-strong: #BCC4D0;
  --or-navy: #050C1C;
  --or-navy-2: #0E1626;

  --or-gradient: linear-gradient(135deg, #7AA4FF 0%, #9B84FF 40%, #C47AFF 72%, #D47AFF 100%);
  --or-gradient-muted: linear-gradient(135deg, #6F8DD8 0%, #8472D6 40%, #A569D6 72%, #B26BD6 100%);
  --or-gradient-soft: linear-gradient(135deg, rgba(122,164,255,0.10) 0%, rgba(155,132,255,0.08) 50%, rgba(212,122,255,0.10) 100%);

  --or-shadow-sm: 0 1px 2px rgba(5, 12, 28, 0.04);
  --or-shadow-md: 0 4px 20px rgba(5, 12, 28, 0.06);
  --or-shadow-lg: 0 16px 48px rgba(5, 12, 28, 0.08);
  --or-shadow-phone: 0 40px 100px -20px rgba(5, 12, 28, 0.30), 0 20px 40px -10px rgba(5, 12, 28, 0.18);

  --or-radius-sm: 12px;
  --or-radius-md: 16px;
  --or-radius-lg: 20px;
  --or-radius-xl: 24px;
  --or-radius-2xl: 28px;

  --or-container: 1180px;
  --or-container-narrow: 760px;

  --or-ease: cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* ---- Reset ---- */

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

html, body { margin: 0; padding: 0; }

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--or-ink-3);
  background-color: var(--or-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "ss01", "cv11";
}

::selection {
  background: rgba(104, 82, 250, 0.18);
  color: var(--or-ink);
}

img, svg { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; }

/* ---- Typography ---- */

h1, h2, h3, h4 {
  color: var(--or-ink);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin: 0 0 0.5em;
}

h1 {
  font-size: clamp(40px, 6.4vw, 72px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.05;
}

h2 {
  font-size: clamp(30px, 4.2vw, 44px);
  font-weight: 700;
}

h3 {
  font-size: clamp(20px, 2.4vw, 24px);
  font-weight: 600;
  letter-spacing: -0.02em;
}

h4 {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

p { margin: 0 0 1em; }

.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--or-ink-3);
  background: var(--or-bg-subtle);
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 24px;
  border: 1px solid var(--or-hairline);
}

.eyebrow-gradient {
  background: var(--or-indigo-soft);
  color: var(--or-indigo);
  border-color: rgba(104, 82, 250, 0.18);
}

.lead {
  font-size: clamp(17px, 1.8vw, 20px);
  line-height: 1.6;
  color: var(--or-ink-3);
  max-width: 580px;
}

.text-gradient {
  background: var(--or-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  background-size: 200% 200%;
  animation: gradientShift 8s ease-in-out infinite;
}

@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50%      { background-position: 100% 50%; }
}

/* ---- Layout ---- */

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

.container-narrow {
  max-width: var(--or-container-narrow);
  margin: 0 auto;
  padding: 0 24px;
}

section {
  padding: 96px 0;
  position: relative;
}

@media (max-width: 720px) {
  section { padding: 72px 0; }
}

/* ---- Buttons ---- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 48px;
  padding: 0 22px;
  border-radius: 14px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  border: 1px solid transparent;
  transition: transform 0.2s var(--or-ease),
              box-shadow 0.25s var(--or-ease),
              background-color 0.2s ease,
              border-color 0.2s ease,
              color 0.2s ease;
  white-space: nowrap;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

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

.btn-primary {
  background: var(--or-ink);
  color: #fff;
  box-shadow: 0 8px 22px -8px rgba(5, 12, 28, 0.45);
}
.btn-primary::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--or-gradient);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 0;
}
.btn-primary > * { position: relative; z-index: 1; }
.btn-primary:hover {
  box-shadow: 0 14px 34px -10px rgba(120, 90, 240, 0.45);
}
.btn-primary:hover::before { opacity: 1; }

.btn-secondary {
  background: var(--or-card);
  color: var(--or-ink);
  border: 1px solid var(--or-hairline);
}
.btn-secondary:hover {
  border-color: var(--or-ink);
  background: var(--or-card-hover);
}

.btn-ghost {
  background: transparent;
  color: var(--or-ink);
}
.btn-ghost:hover { background: var(--or-bg-subtle); }

.btn-sm {
  height: 40px;
  padding: 0 16px;
  font-size: 14px;
  border-radius: 12px;
}

.btn .apple-glyph { width: 16px; height: 16px; }

/* ---- Navigation ---- */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(232, 235, 241, 0.72);
  backdrop-filter: saturate(160%) blur(16px);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, background 0.3s ease;
}

.nav.is-scrolled {
  border-bottom-color: var(--or-hairline);
  background: rgba(232, 235, 241, 0.86);
}

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

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.03em;
  color: var(--or-ink);
  transition: opacity 0.2s ease;
}
.nav-brand:hover { opacity: 0.75; }
.nav-brand .glyph { width: 28px; height: 28px; }

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

.nav-link {
  position: relative;
  padding: 10px 14px;
  font-size: 15px;
  font-weight: 500;
  color: var(--or-ink-2);
  border-radius: 10px;
  transition: color 0.2s ease;
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 6px;
  height: 1px;
  background: var(--or-ink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--or-ease);
}
.nav-link:hover { color: var(--or-ink); }
.nav-link:hover::after { transform: scaleX(1); }

.nav-cta { margin-left: 12px; }
.nav-cta::after { display: none; }

@media (max-width: 760px) {
  .nav-links .nav-link:not(.nav-link-keep) { display: none; }
}

/* ---- Hero ---- */

.hero {
  padding-top: 72px;
  padding-bottom: 96px;
  overflow: hidden;
  position: relative;
}

.hero-blobs {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(140px);
  opacity: 0.5;
  will-change: transform;
}
.hero-blob-1 {
  width: 520px; height: 520px;
  background: #7AA4FF;
  top: -120px; left: -140px;
  animation: blobDrift1 22s ease-in-out infinite;
}
.hero-blob-2 {
  width: 580px; height: 580px;
  background: #C47AFF;
  bottom: -200px; right: -160px;
  animation: blobDrift2 28s ease-in-out infinite;
}

@keyframes blobDrift1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50%      { transform: translate(60px, 40px) scale(1.06); }
}
@keyframes blobDrift2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50%      { transform: translate(-70px, -50px) scale(1.04); }
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 64px;
  align-items: center;
}

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 56px; }
}

.hero-copy h1 { margin-bottom: 24px; }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.hero-meta {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  color: var(--or-ink-4);
  font-size: 14px;
}
.hero-meta-item { display: inline-flex; align-items: center; gap: 6px; }
.hero-meta-dot {
  width: 4px; height: 4px;
  background: var(--or-ink-4);
  border-radius: 50%;
}

/* ---- Phone Mockup (image-driven) ---- */

.phone-wrap {
  display: flex;
  justify-content: center;
  position: relative;
  perspective: 1200px;
}

.phone {
  position: relative;
  width: 300px;
  height: 612px;
  background: #050C1C;
  border-radius: 56px;
  padding: 12px;
  box-shadow: var(--or-shadow-phone);
  border: 1px solid #1a2436;
  will-change: transform;
  transform-style: preserve-3d;
}

.phone::before {
  content: "";
  position: absolute;
  top: 14px; left: 50%;
  transform: translateX(-50%);
  width: 110px; height: 28px;
  background: #050C1C;
  border-radius: 0 0 16px 16px;
  z-index: 3;
}

.phone-screen {
  width: 100%;
  height: 100%;
  background: #ECEEF3;
  border-radius: 44px;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: stretch;
  justify-content: stretch;
}

.phone-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

/* If image fails to load, show a graceful skeleton */
.phone-screen img:not([src]),
.phone-screen img[src=""] {
  display: none;
}

/* Reflection / glow under phone */
.phone-wrap::after {
  content: "";
  position: absolute;
  bottom: -40px;
  left: 50%;
  transform: translateX(-50%);
  width: 240px;
  height: 40px;
  background: radial-gradient(ellipse at center, rgba(5,12,28,0.18), transparent 70%);
  filter: blur(8px);
  z-index: -1;
  pointer-events: none;
}

/* ---- Social Proof ---- */

.proof {
  padding: 32px 0;
  border-top: 1px solid var(--or-hairline);
  border-bottom: 1px solid var(--or-hairline);
  background: var(--or-surface);
}
.proof-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  font-size: 14px;
  color: var(--or-ink-4);
}
.proof-stars {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--or-ink-2);
  font-weight: 500;
}
.proof-stars-row { display: inline-flex; gap: 2px; }
.proof-star {
  width: 16px; height: 16px;
  fill: #E0A85C;
  opacity: 0;
  transform: translateY(4px);
  animation: starIn 0.6s var(--or-ease) forwards;
}
.proof-star:nth-child(1) { animation-delay: 0.05s; }
.proof-star:nth-child(2) { animation-delay: 0.10s; }
.proof-star:nth-child(3) { animation-delay: 0.15s; }
.proof-star:nth-child(4) { animation-delay: 0.20s; }
.proof-star:nth-child(5) { animation-delay: 0.25s; }
@keyframes starIn {
  to { opacity: 1; transform: translateY(0); }
}

.proof-bullets {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
}
.proof-bullets span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.proof-bullets svg {
  width: 14px; height: 14px;
  flex-shrink: 0;
}

/* ---- Section Header ---- */

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 64px;
}
.section-header p {
  font-size: 18px;
  color: var(--or-ink-3);
  margin: 0 auto;
  max-width: 560px;
}

/* ---- How it Works ---- */

.howitworks {
  background: var(--or-surface);
  position: relative;
}

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

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

.step {
  background: var(--or-card);
  border: 1px solid var(--or-hairline);
  border-radius: var(--or-radius-xl);
  padding: 32px;
  position: relative;
  transition: transform 0.3s var(--or-ease),
              box-shadow 0.3s var(--or-ease),
              background 0.3s ease;
}
.step:hover {
  transform: translateY(-3px);
  background: var(--or-card-hover);
  box-shadow: var(--or-shadow-md);
}
.step-num {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: var(--or-ink);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 24px;
  position: relative;
  transition: transform 0.4s var(--or-ease);
}
.step:hover .step-num { transform: rotate(-8deg) scale(1.06); }

.step h3 { margin-bottom: 10px; }
.step p { margin: 0; font-size: 16px; }

/* ---- Features ---- */

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

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

@media (max-width: 980px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .feature-grid { grid-template-columns: 1fr; }
}

.feature-card {
  background: var(--or-card);
  border: 1px solid var(--or-hairline);
  border-radius: var(--or-radius-xl);
  padding: 32px;
  transition: transform 0.35s var(--or-ease),
              box-shadow 0.35s var(--or-ease),
              border-color 0.3s ease,
              background 0.3s ease;
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; height: 1px;
  background: var(--or-gradient);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--or-hairline-strong);
  background: var(--or-card-hover);
  box-shadow: var(--or-shadow-md);
}
.feature-card:hover::before { opacity: 1; }

.feature-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--or-bg-subtle);
  border: 1px solid var(--or-hairline);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  transition: transform 0.4s var(--or-ease),
              background 0.3s ease;
}
.feature-card:hover .feature-icon {
  transform: rotate(-6deg) scale(1.08);
  background: var(--or-card-hover);
}
.feature-icon svg {
  width: 22px; height: 22px;
  stroke: var(--or-ink-2);
  fill: none;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.feature-card h3 {
  margin-bottom: 8px;
  font-size: 19px;
}
.feature-card p {
  margin: 0;
  font-size: 15px;
  color: var(--or-ink-3);
  line-height: 1.6;
}

/* ---- Pricing ---- */

.pricing-section {
  background: var(--or-surface);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 880px;
  margin: 0 auto;
}

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

.price-card {
  background: var(--or-card);
  border: 1px solid var(--or-hairline);
  border-radius: var(--or-radius-xl);
  padding: 36px;
  display: flex;
  flex-direction: column;
  transition: transform 0.35s var(--or-ease),
              box-shadow 0.35s var(--or-ease);
}
.price-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--or-shadow-md);
}

.price-card-pro {
  position: relative;
  border-color: transparent;
  background-clip: padding-box;
  box-shadow: var(--or-shadow-md);
}
.price-card-pro::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1.5px;
  background: var(--or-gradient);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
          mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events: none;
  opacity: 0.7;
}

.price-tier {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}
.price-tier h3 { margin: 0; font-size: 22px; }

.price-badge {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--or-indigo-soft);
  color: var(--or-indigo);
  border: 1px solid rgba(104, 82, 250, 0.18);
}

.price-amount {
  font-size: 44px;
  font-weight: 800;
  color: var(--or-ink);
  letter-spacing: -0.04em;
  margin: 12px 0 4px;
}
.price-amount-suffix {
  font-size: 16px;
  font-weight: 500;
  color: var(--or-ink-3);
}
.price-sub {
  font-size: 14px;
  color: var(--or-ink-3);
  margin-bottom: 28px;
}

.price-list {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  flex: 1;
}
.price-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 8px 0;
  font-size: 15px;
  color: var(--or-ink-2);
}
.price-list svg {
  width: 18px; height: 18px;
  flex-shrink: 0;
  margin-top: 2px;
  stroke: var(--or-ink-2);
  fill: none;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.price-card-pro .price-list svg { stroke: var(--or-indigo); }

.price-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  border-radius: 14px;
  font-size: 14px;
  font-weight: 600;
  background: var(--or-bg-subtle);
  color: var(--or-ink-2);
}
.price-card-pro .price-cta {
  background: var(--or-ink);
  color: #fff;
}

/* ---- Privacy callout ---- */

.privacy-callout {
  background: var(--or-navy);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.privacy-callout::after {
  content: "";
  position: absolute;
  right: -160px;
  bottom: -200px;
  width: 600px; height: 600px;
  background: radial-gradient(circle at center, rgba(122, 164, 255, 0.10), transparent 60%);
  pointer-events: none;
  animation: glowPulse 8s ease-in-out infinite;
}

@keyframes glowPulse {
  0%, 100% { opacity: 0.7; transform: scale(1); }
  50%      { opacity: 1; transform: scale(1.1); }
}

.privacy-callout-glyph {
  position: absolute;
  right: -40px;
  top: -40px;
  width: 360px;
  opacity: 0.05;
  pointer-events: none;
  animation: slowSpin 60s linear infinite;
}

@keyframes slowSpin {
  to { transform: rotate(360deg); }
}

.privacy-callout-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}

@media (max-width: 880px) {
  .privacy-callout-inner { grid-template-columns: 1fr; gap: 40px; }
}

.privacy-callout h2 { color: #fff; margin-bottom: 16px; }
.privacy-callout .lead { color: rgba(255, 255, 255, 0.72); }
.privacy-callout .eyebrow {
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.85);
  border-color: rgba(255, 255, 255, 0.12);
}

.privacy-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.privacy-list li {
  display: flex;
  gap: 16px;
  padding: 18px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.78);
  font-size: 16px;
  line-height: 1.55;
  transition: padding-left 0.3s var(--or-ease);
}
.privacy-list li:first-child { border-top: none; }
.privacy-list li:hover { padding-left: 8px; }
.privacy-list li svg {
  width: 20px; height: 20px;
  flex-shrink: 0;
  margin-top: 2px;
  stroke: rgba(255, 255, 255, 0.55);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: stroke 0.3s ease;
}
.privacy-list li:hover svg { stroke: var(--or-brand-1); }
.privacy-list li strong {
  color: #fff;
  font-weight: 600;
  display: block;
  margin-bottom: 2px;
}

/* ---- CTA Strip ---- */

.cta-strip {
  padding: 96px 0;
  text-align: center;
  background: var(--or-bg);
}
.cta-strip h2 { margin-bottom: 16px; }
.cta-strip p {
  font-size: 18px;
  max-width: 520px;
  margin: 0 auto 32px;
}

/* ---- Footer ---- */

.footer {
  border-top: 1px solid var(--or-hairline);
  padding: 56px 0 40px;
  background: var(--or-bg-subtle);
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 40px;
  align-items: start;
}
@media (max-width: 720px) {
  .footer-inner { grid-template-columns: 1fr; }
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.03em;
  color: var(--or-ink);
}
.footer-brand .glyph { width: 28px; height: 28px; }
.footer-tag {
  color: var(--or-ink-3);
  font-size: 14px;
  margin: 0;
  max-width: 380px;
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 14px;
  color: var(--or-ink-3);
}
.footer-links a {
  color: var(--or-ink-3);
  transition: color 0.2s ease, transform 0.2s ease;
  display: inline-block;
  width: fit-content;
}
.footer-links a:hover {
  color: var(--or-ink);
  transform: translateX(3px);
}
.footer-meta {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--or-hairline);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  color: var(--or-ink-4);
}

/* ---- Legal pages ---- */

.legal-shell {
  padding: 56px 0 96px;
  background: var(--or-bg);
}

.legal-card {
  max-width: 760px;
  margin: 0 auto;
  background: #FFFFFF;
  border: 1px solid var(--or-hairline);
  border-radius: var(--or-radius-xl);
  padding: 56px;
  box-shadow: var(--or-shadow-sm);
}

@media (max-width: 720px) {
  .legal-card { padding: 36px 22px; border-radius: var(--or-radius-md); }
}

.legal-card h1 {
  font-size: clamp(32px, 4.4vw, 44px);
  margin-bottom: 8px;
}
.legal-meta {
  font-size: 14px;
  color: var(--or-ink-4);
  margin: 0 0 4px;
}
.legal-meta-block {
  margin-bottom: 36px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--or-hairline);
}
.legal-card h2 {
  font-size: 22px;
  margin-top: 40px;
  margin-bottom: 12px;
  color: var(--or-ink);
  letter-spacing: -0.02em;
  scroll-margin-top: 100px;
}
.legal-card h3 {
  font-size: 17px;
  margin-top: 24px;
  margin-bottom: 8px;
  color: var(--or-ink-2);
}
.legal-card p, .legal-card li {
  font-size: 16px;
  color: var(--or-ink-3);
  line-height: 1.7;
}
.legal-card ul {
  padding-left: 22px;
  margin: 0 0 18px;
}
.legal-card ul li { margin-bottom: 6px; }
.legal-card a {
  color: var(--or-indigo);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: opacity 0.2s ease;
  word-break: break-word;
}
.legal-card a:hover { opacity: 0.7; }
.legal-card strong { color: var(--or-ink); font-weight: 600; }

.legal-card hr {
  border: 0;
  border-top: 1px solid var(--or-hairline);
  margin: 40px 0;
}

.legal-card code {
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
  font-size: 0.86em;
  background: var(--or-bg-subtle);
  border: 1px solid var(--or-hairline);
  border-radius: 5px;
  padding: 1px 6px;
  color: var(--or-ink-2);
  word-break: break-all;
}

.legal-card table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0 24px;
  font-size: 14.5px;
  border: 1px solid var(--or-hairline);
  border-radius: var(--or-radius-sm);
  overflow: hidden;
}
.legal-card thead { background: var(--or-bg-subtle); }
.legal-card th, .legal-card td {
  text-align: left;
  padding: 12px 14px;
  border-bottom: 1px solid var(--or-hairline);
  color: var(--or-ink-2);
  vertical-align: top;
}
.legal-card th {
  font-weight: 600;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--or-ink-3);
}
.legal-card tbody tr:last-child td { border-bottom: none; }

@media (max-width: 600px) {
  .legal-card .table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 16px -8px 24px;
    padding: 0 8px;
  }
  .legal-card .table-wrap table { min-width: 480px; margin: 0; }
}

.legal-card .legal-emphasis {
  display: block;
  background: var(--or-bg-subtle);
  border-left: 3px solid var(--or-ink);
  padding: 16px 18px;
  margin: 18px 0;
  border-radius: 6px;
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--or-ink-2);
  letter-spacing: 0.005em;
}

/* ---- Reveal animation ---- */

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s var(--or-ease),
              transform 0.8s var(--or-ease);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger helpers — JS adds inline transition-delay too, but
   default cascading delays let CSS-only fall back gracefully */
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s var(--or-ease),
              transform 0.7s var(--or-ease);
}
.reveal-stagger.is-visible > *:nth-child(1) { transition-delay: 0.05s; }
.reveal-stagger.is-visible > *:nth-child(2) { transition-delay: 0.13s; }
.reveal-stagger.is-visible > *:nth-child(3) { transition-delay: 0.21s; }
.reveal-stagger.is-visible > *:nth-child(4) { transition-delay: 0.29s; }
.reveal-stagger.is-visible > *:nth-child(5) { transition-delay: 0.37s; }
.reveal-stagger.is-visible > *:nth-child(6) { transition-delay: 0.45s; }
.reveal-stagger.is-visible > * {
  opacity: 1;
  transform: translateY(0);
}

/* Subtle scroll-driven parallax for hero phone */
@media (min-width: 960px) {
  .phone-wrap { transition: transform 0.1s linear; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .reveal, .reveal-stagger > * { opacity: 1; transform: none; }
}
