/* ============================================
   SUBMERSIBLE — Site Styles
   Modern iOS game landing page
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Space+Grotesk:wght@500;600;700&display=swap');

:root {
  --bg-deep: #050B14;
  --bg-base: #0A1825;
  --bg-elevated: #111F30;
  --bg-card: #16243A;
  --border: rgba(94, 229, 229, 0.14);
  --border-strong: rgba(94, 229, 229, 0.3);
  --border-hover: rgba(94, 229, 229, 0.55);

  --cyan: #5EE5E5;
  --cyan-bright: #A0F4F4;
  --cyan-glow: rgba(94, 229, 229, 0.35);

  --orange: #FF8A4D;
  --orange-glow: rgba(255, 138, 77, 0.35);

  --green: #4ADE80;
  --red: #FF5566;

  --text: #E6F0FA;
  --text-muted: rgba(230, 240, 250, 0.65);
  --text-dim: rgba(230, 240, 250, 0.4);
  --text-ink: #050B14;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg-base);
  color: var(--text);
  line-height: 1.6;
  font-size: 17px;
  overflow-x: hidden;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(94, 229, 229, 0.10) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 100% 100%, rgba(255, 138, 77, 0.06) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}

.grid-bg {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(94, 229, 229, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(94, 229, 229, 0.05) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse at center, black 0%, transparent 80%);
  mask-image: radial-gradient(ellipse at center, black 0%, transparent 80%);
  pointer-events: none;
  z-index: 0;
}

h1, h2, h3 {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--text);
}

a {
  color: var(--cyan);
  text-decoration: none;
  transition: color 0.15s ease;
}

a:hover {
  color: var(--cyan-bright);
}

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

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 2;
}

section {
  position: relative;
  padding: 100px 0;
  z-index: 2;
}

/* ============================================
   NAV
   ============================================ */

header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 24, 37, 0.7);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--border);
}

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

.nav-logo {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-logo::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 12px var(--cyan);
  animation: pulse 2.4s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

.nav-links {
  display: flex;
  gap: 32px;
}

.nav-links a {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--text-muted);
  letter-spacing: 0.01em;
}

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

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

.hero {
  padding: 96px 0 80px;
  overflow: hidden;
}

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

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 28px;
  padding: 6px 14px;
  border: 1px solid var(--border-strong);
  border-radius: 100px;
  background: rgba(94, 229, 229, 0.05);
}

.hero-eyebrow::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 8px var(--cyan);
}

.hero-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(3rem, 8vw, 5.5rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  margin-bottom: 18px;
  line-height: 0.95;
}

.hero-tagline {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.2rem, 2.2vw, 1.5rem);
  font-weight: 500;
  color: var(--cyan);
  margin-bottom: 24px;
  letter-spacing: -0.01em;
}

.hero-description {
  font-size: 1.08rem;
  color: var(--text-muted);
  margin-bottom: 36px;
  max-width: 520px;
  line-height: 1.6;
}

.hero-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
}

/* Hero visual: phone */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 600px;
}

.hero-visual::before {
  content: '';
  position: absolute;
  width: 70%;
  height: 60%;
  background: radial-gradient(circle, var(--cyan-glow) 0%, transparent 65%);
  filter: blur(50px);
  z-index: 0;
}

.phone-placeholder {
  width: 290px;
  height: 590px;
  background: var(--bg-deep);
  border-radius: 44px;
  border: 1px solid var(--border-strong);
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.55),
    0 0 0 8px #0a1018,
    0 0 0 9px rgba(94, 229, 229, 0.12),
    0 0 80px rgba(94, 229, 229, 0.15);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.phone-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.phone-placeholder-empty {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle at 50% 40%, rgba(94, 229, 229, 0.15) 0%, transparent 60%),
    var(--bg-deep);
  color: var(--text-dim);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.phone-placeholder-empty::after {
  content: '[ screenshot ]';
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 14px 22px;
  border: 1px solid var(--border-strong);
  background: rgba(94, 229, 229, 0.04);
  color: var(--cyan);
  cursor: pointer;
  border-radius: 12px;
  transition: all 0.18s ease;
  text-transform: none;
}

.btn:hover {
  background: rgba(94, 229, 229, 0.1);
  border-color: var(--border-hover);
  color: var(--cyan-bright);
  transform: translateY(-1px);
  box-shadow: 0 0 24px var(--cyan-glow);
}

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

.btn-primary:hover {
  background: var(--cyan-bright);
  color: var(--text-ink);
  border-color: var(--cyan-bright);
  box-shadow: 0 0 32px var(--cyan-glow);
}

/* App Store badge */
.app-store-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 11px 20px;
  background: #000;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 14px;
  text-decoration: none;
  transition: all 0.18s ease;
  font-family: 'Inter', sans-serif;
}

.app-store-btn:hover {
  background: #0d0d0d;
  border-color: rgba(255, 255, 255, 0.36);
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.5), 0 0 32px var(--cyan-glow);
  color: #fff;
}

.app-store-btn img {
  height: 44px;
  display: block;
}

.app-store-btn::before {
  content: '';
  width: 26px;
  height: 30px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 384 512' fill='white'><path d='M318.7 268.7c-.2-36.7 16.4-64.4 50-84.8-18.8-26.9-47.2-41.7-84.7-44.6-35.5-2.8-74.3 20.7-88.5 20.7-15 0-49.4-19.7-76.4-19.7C63.3 141.2 4 184.8 4 273.5q0 39.3 14.4 81.2c12.8 36.7 59 126.7 107.2 125.2 25.2-.6 43-17.9 75.8-17.9 31.8 0 48.3 17.9 76.4 17.9 48.6-.7 90.4-82.5 102.6-119.3-65.2-30.7-61.7-90-61.7-91.9zm-56.6-164.2c27.3-32.4 24.8-61.9 24-72.5-24.1 1.4-52 16.4-67.9 34.9-17.5 19.8-27.8 44.3-25.6 71.9 26.1 2 49.9-11.4 69.5-34.3z'/></svg>");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  flex-shrink: 0;
}

.app-store-btn-placeholder {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
  align-items: flex-start;
  padding: 2px 0;
}

.app-store-btn-sup {
  font-size: 0.68rem;
  letter-spacing: 0.02em;
  opacity: 0.78;
  margin-bottom: 3px;
}

.app-store-btn-main {
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

/* ============================================
   SECTION HEADERS
   ============================================ */

.section-header {
  margin-bottom: 56px;
}

.section-label {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--cyan);
  margin-bottom: 14px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
}

.section-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text);
  max-width: 720px;
}

.section-lede {
  max-width: 620px;
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-top: 20px;
}

/* ============================================
   FEATURES (Briefing)
   ============================================ */

.briefing {
  background: var(--bg-base);
}

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

.feature {
  background: linear-gradient(180deg, var(--bg-elevated) 0%, var(--bg-base) 100%);
  border: 1px solid var(--border);
  padding: 32px 28px;
  border-radius: 18px;
  position: relative;
  transition: all 0.25s ease;
}

.feature:hover {
  transform: translateY(-4px);
  border-color: var(--border-hover);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4), 0 0 32px var(--cyan-glow);
}

.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(94, 229, 229, 0.08);
  border: 1px solid var(--border-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cyan);
  margin-bottom: 24px;
}

.feature-icon svg {
  width: 22px;
  height: 22px;
  display: block;
}

.feature-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--text);
  margin-bottom: 10px;
}

.feature-text {
  color: var(--text-muted);
  font-size: 0.96rem;
  line-height: 1.6;
}

/* ============================================
   SCREENSHOTS
   ============================================ */

.screenshots {
  background: var(--bg-deep);
}

.screenshot-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}

.screenshot {
  aspect-ratio: 9 / 19.5;
  background: var(--bg-elevated);
  border-radius: 28px;
  border: 1px solid var(--border-strong);
  overflow: hidden;
  position: relative;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.4);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.screenshot::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(94, 229, 229, 0.1) 0%, transparent 30%);
  pointer-events: none;
}

.screenshot:hover {
  transform: translateY(-6px);
  box-shadow: 0 32px 60px rgba(0, 0, 0, 0.55), 0 0 40px var(--cyan-glow);
}

.screenshot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.screenshot-empty {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dim);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  background:
    radial-gradient(circle at 50% 30%, rgba(94, 229, 229, 0.1) 0%, transparent 60%),
    var(--bg-elevated);
}

/* ============================================
   STORE
   ============================================ */

.quartermaster {
  background: var(--bg-base);
}

.store-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.product {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 18px;
  position: relative;
  overflow: hidden;
  transition: all 0.25s ease;
}

.product:hover {
  transform: translateY(-4px);
  border-color: var(--border-hover);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.4), 0 0 32px var(--cyan-glow);
}

.product-image {
  width: 100%;
  aspect-ratio: 1;
  background: var(--bg-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.product-image::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(94, 229, 229, 0.08) 0%, transparent 60%);
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-image-empty {
  color: var(--text-dim);
  font-size: 0.78rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  position: relative;
}

.product-info {
  padding: 22px 24px 24px;
}

.product-name {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 1.1rem;
  letter-spacing: -0.01em;
  color: var(--text);
  margin-bottom: 8px;
}

.product-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-bottom: 16px;
  line-height: 1.55;
}

.product-price {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--cyan);
}

.product-status {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(5, 11, 20, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--orange);
  font-weight: 600;
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  padding: 5px 10px;
  text-transform: uppercase;
  z-index: 2;
  border: 1px solid rgba(255, 138, 77, 0.35);
  border-radius: 6px;
}

/* Store waitlist */
.store-waitlist {
  max-width: 640px;
  margin: 64px auto 0;
  text-align: center;
  padding: 48px 36px;
  background: linear-gradient(180deg, var(--bg-elevated) 0%, var(--bg-base) 100%);
  border: 1px solid var(--border);
  border-radius: 22px;
  position: relative;
}

.store-waitlist .section-label {
  margin-bottom: 12px;
}

.store-waitlist-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.25rem, 2.4vw, 1.6rem);
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--text);
  margin: 0 auto 28px;
  max-width: 460px;
  line-height: 1.35;
}

.store-waitlist-text {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 28px;
  line-height: 1.6;
}

/* ============================================
   EMAIL FORM
   ============================================ */

.email-form {
  display: flex;
  gap: 8px;
  max-width: 460px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.email-form input[type="email"] {
  flex: 1;
  min-width: 240px;
  padding: 13px 18px;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  background: var(--bg-deep);
  color: var(--text);
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  outline: none;
  transition: all 0.15s ease;
}

.email-form input[type="email"]::placeholder {
  color: var(--text-dim);
}

.email-form input[type="email"]:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px var(--cyan-glow);
}

.email-form button {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  padding: 13px 22px;
  border: 1px solid var(--cyan);
  background: var(--cyan);
  color: var(--text-ink);
  cursor: pointer;
  transition: all 0.18s ease;
  font-size: 0.95rem;
  border-radius: 12px;
}

.email-form button:hover {
  background: var(--cyan-bright);
  border-color: var(--cyan-bright);
  box-shadow: 0 0 24px var(--cyan-glow);
}

.form-note {
  margin-top: 18px;
  font-size: 0.82rem;
  color: var(--text-dim);
}

.form-success {
  display: none;
  margin-top: 20px;
  padding: 14px 18px;
  background: rgba(74, 222, 128, 0.08);
  border: 1px solid rgba(74, 222, 128, 0.4);
  color: var(--green);
  border-radius: 12px;
  font-size: 0.95rem;
}

.form-success.show {
  display: block;
}

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

footer {
  background: var(--bg-deep);
  padding: 56px 0 40px;
  position: relative;
  z-index: 2;
  border-top: 1px solid var(--border);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}

.footer-logo {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.18em;
  color: var(--text);
  text-transform: uppercase;
}

.footer-links {
  display: flex;
  gap: 28px;
}

.footer-links a {
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 500;
}

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

.footer-copy {
  font-size: 0.82rem;
  color: var(--text-dim);
  text-align: center;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

/* ============================================
   VIDEO MODAL
   ============================================ */

body.modal-open {
  overflow: hidden;
}

.video-modal {
  position: fixed;
  inset: 0;
  background: rgba(5, 11, 20, 0.92);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 200;
  padding: 32px 24px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.video-modal.open {
  display: flex;
  animation: video-modal-in 0.2s ease-out;
}

@keyframes video-modal-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

.video-modal-content {
  width: 100%;
  max-width: 1100px;
  position: relative;
}

.video-modal-iframe-wrap {
  position: relative;
  aspect-ratio: 16 / 9;
  width: 100%;
  border: 1px solid var(--border-strong);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 0 60px var(--cyan-glow), 0 20px 60px rgba(0, 0, 0, 0.6);
  background: var(--bg-deep);
}

.video-modal-iframe-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-modal-close {
  position: absolute;
  top: -54px;
  right: 0;
  background: rgba(10, 24, 37, 0.8);
  color: var(--text);
  border: 1px solid var(--border-strong);
  width: 40px;
  height: 40px;
  font-size: 1rem;
  cursor: pointer;
  border-radius: 50%;
  transition: all 0.18s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-modal-close:hover {
  background: var(--bg-elevated);
  border-color: var(--border-hover);
  color: var(--cyan);
}

@media (max-width: 600px) {
  .video-modal-close {
    top: -50px;
    width: 36px;
    height: 36px;
  }
}

/* ============================================
   LEGAL PAGES
   ============================================ */

.legal-page {
  padding: 80px 0 100px;
}

.legal-content {
  max-width: 760px;
  margin: 0 auto;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 56px 56px 48px;
  border-radius: 22px;
}

.legal-content h1 {
  font-family: 'Space Grotesk', sans-serif;
  color: var(--text);
  font-size: 2.2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
  text-transform: none;
}

.legal-meta {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin: 12px 0 32px;
}

.legal-content h2 {
  font-family: 'Space Grotesk', sans-serif;
  color: var(--text);
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-top: 32px;
  margin-bottom: 12px;
  text-transform: none;
}

.legal-content p,
.legal-content li {
  color: var(--text);
  opacity: 0.85;
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 12px;
}

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

.legal-content a {
  color: var(--cyan);
}

.legal-back {
  display: inline-block;
  margin-bottom: 24px;
  font-size: 0.9rem;
  color: var(--cyan);
  font-weight: 500;
}

.legal-back::before {
  content: '← ';
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 900px) {
  body { font-size: 16px; }

  .nav-links { gap: 18px; }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .hero-visual {
    min-height: 560px;
  }

  .phone-placeholder {
    width: 260px;
    height: 530px;
  }

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

  section {
    padding: 64px 0;
  }

  .hero {
    padding: 56px 0 48px;
  }

  .legal-content {
    padding: 40px 28px;
  }

  .email-form {
    flex-direction: column;
  }

  .email-form input[type="email"] {
    min-width: 100%;
  }

  .footer-content {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 500px) {
  .nav-links a:not(:last-child) {
    display: none;
  }
}
