@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&display=swap');

/* ---------- Theme tokens ---------- */

:root {
  color-scheme: light;

  /* Brand palette */
  --navy: #0d2b73;
  --purple: #5d2a9d;
  --blue: #2876d6;
  --azure: #09acfd;
  --cyan: #26f8d9;

  /* Light theme */
  --body-bg: #e9edf8;
  --page: #f6f8ff;
  --surface: #ffffff;
  --surface-soft: #eef3ff;
  --heading: #080912;
  --text: #1a1d2e;
  --muted: #5b6078;
  --outline: #080912;
  --line: rgba(13, 43, 115, 0.14);
  --accent-text: var(--navy);
  --btn-bg: var(--navy);
  --btn-bg-hover: linear-gradient(110deg, var(--navy), var(--blue));
  --field-bg: rgba(255, 255, 255, 0.7);
  --device-hero: linear-gradient(160deg, #eaf1ff, #dfe8fb);
  --glow-1: rgba(9, 172, 253, 0.22);
  --glow-2: rgba(38, 248, 217, 0.18);
  --glow-3: rgba(93, 42, 157, 0.08);
  --shadow: 0 24px 50px -20px rgba(13, 43, 115, 0.35);
  --frame-shadow: 0 30px 80px -40px rgba(13, 43, 115, 0.4);
  --logo-filter: none;
  --card-bg: var(--surface);
  --card-border: rgba(13, 43, 115, 0.06);
  --card-shadow: var(--shadow);
  --success: #0c8a78;
  --error: #c2334d;
}

:root[data-theme='dark'] {
  color-scheme: dark;
  --body-bg: #04050b;
  --page: #080912;
  --surface: #121630;
  --surface-soft: #1b2146;
  --heading: #f5f7ff;
  --text: #e3e7fa;
  --muted: #9aa1c0;
  --outline: #d7ddf5;
  --line: rgba(255, 255, 255, 0.14);
  --accent-text: var(--cyan);
  --btn-bg: linear-gradient(110deg, var(--blue), var(--azure));
  --btn-bg-hover: linear-gradient(110deg, var(--purple), var(--blue) 60%, var(--azure));
  --field-bg: rgba(18, 22, 48, 0.7);
  --device-hero: linear-gradient(160deg, #141939, #0f1330);
  --glow-1: rgba(9, 172, 253, 0.2);
  --glow-2: rgba(38, 248, 217, 0.1);
  --glow-3: rgba(93, 42, 157, 0.3);
  --shadow: 0 24px 50px -20px rgba(0, 0, 0, 0.8);
  --frame-shadow: 0 30px 80px -40px rgba(9, 172, 253, 0.25);
  --logo-filter: brightness(1.9) saturate(1.1);
  --card-bg: linear-gradient(160deg, #262f63 0%, #1a2049 100%);
  --card-border: rgba(120, 165, 255, 0.28);
  --card-shadow: 0 24px 50px -18px rgba(0, 0, 0, 0.85), 0 0 36px -8px rgba(9, 172, 253, 0.28);
  --success: #26f8d9;
  --error: #ff7a90;
}

/* Fallback when JavaScript is off: follow the system setting */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    color-scheme: dark;
    --body-bg: #04050b;
    --page: #080912;
    --surface: #121630;
    --surface-soft: #1b2146;
    --heading: #f5f7ff;
    --text: #e3e7fa;
    --muted: #9aa1c0;
    --outline: #d7ddf5;
    --line: rgba(255, 255, 255, 0.14);
    --accent-text: var(--cyan);
    --btn-bg: linear-gradient(110deg, var(--blue), var(--azure));
    --btn-bg-hover: linear-gradient(110deg, var(--purple), var(--blue) 60%, var(--azure));
    --field-bg: rgba(18, 22, 48, 0.7);
    --device-hero: linear-gradient(160deg, #141939, #0f1330);
    --glow-1: rgba(9, 172, 253, 0.2);
    --glow-2: rgba(38, 248, 217, 0.1);
    --glow-3: rgba(93, 42, 157, 0.3);
    --shadow: 0 24px 50px -20px rgba(0, 0, 0, 0.8);
    --frame-shadow: 0 30px 80px -40px rgba(9, 172, 253, 0.25);
    --logo-filter: brightness(1.9) saturate(1.1);
    --card-bg: linear-gradient(160deg, #262f63 0%, #1a2049 100%);
    --card-border: rgba(120, 165, 255, 0.28);
    --card-shadow: 0 24px 50px -18px rgba(0, 0, 0, 0.85), 0 0 36px -8px rgba(9, 172, 253, 0.28);
  --card-bg: linear-gradient(160deg, #262f63 0%, #1a2049 100%);
  --card-border: rgba(120, 165, 255, 0.28);
  --card-shadow: 0 24px 50px -18px rgba(0, 0, 0, 0.85), 0 0 36px -8px rgba(9, 172, 253, 0.28);
    --success: #26f8d9;
    --error: #ff7a90;
  }
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--body-bg);
  color: var(--text);
  font-family: 'Manrope', sans-serif;
  -webkit-font-smoothing: antialiased;
  transition: background 0.3s ease, color 0.3s ease;
}

a {
  color: inherit;
  text-decoration: none;
}

svg {
  display: block;
}

img[src='logo.png'] {
  filter: var(--logo-filter);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ---------- Page frame (fills the screen, scrolls when needed) ---------- */

.page {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  overflow: hidden;
  padding: 0 clamp(1.25rem, 5vw, 5.5rem);
  background:
    radial-gradient(38rem 30rem at 50% 18%, var(--glow-1), transparent 70%),
    radial-gradient(30rem 26rem at 78% 40%, var(--glow-2), transparent 70%),
    radial-gradient(26rem 24rem at 30% 90%, var(--glow-3), transparent 70%),
    var(--page);
  transition: background-color 0.3s ease;
}

@media (min-width: 1100px) {
  body {
    padding: 1.5rem;
  }

  .page {
    min-height: calc(100vh - 3rem);
    min-height: calc(100dvh - 3rem);
    border-radius: 36px;
    box-shadow: var(--frame-shadow);
  }
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  border: 0;
  border-radius: 999px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-dark {
  background: var(--btn-bg);
  color: #fff;
  padding: 0.95rem 1.8rem;
}

.btn-dark:hover,
.btn-dark:focus-visible {
  background: var(--btn-bg-hover);
  box-shadow: 0 12px 24px -10px rgba(40, 118, 214, 0.7);
  transform: translateY(-1px);
}

.btn svg {
  width: 1rem;
  height: 1rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- Header ---------- */

.site-header {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: clamp(0.9rem, 3vh, 1.75rem) 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: clamp(0.5rem, 1vw, 0.9rem);
  margin-right: auto;
  min-width: 0;
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1;
}

.brand-mark {
  display: block;
  flex-shrink: 0;
  width: clamp(44px, 5.5vw, 76px);
  height: auto;
}

.brand-copy {
  min-width: 0;
}

.brand-wordmark {
  display: block;
  width: fit-content;
  font-size: clamp(1.75rem, 3.3vw, 2.75rem);
  font-weight: 750;
  letter-spacing: -0.04em;
  line-height: 1.1;
  background: linear-gradient(110deg, #102955, #1468cf 42%, #11a9cf 78%, #6562c5);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.brand-slogan {
  display: block;
  margin-top: 0.35rem;
  width: clamp(170px, 24vw, 300px);
  max-width: 100%;
  aspect-ratio: 18 / 1;
  overflow: hidden;
}

.brand-slogan img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.45) saturate(1.25);
}

[data-theme='dark'] .brand-slogan img {
  filter: none;
}

[data-theme='dark'] .brand-wordmark {
  background-image: linear-gradient(110deg, #f0f6ff, #90bfff 36%, #39c6dc 77%, #a39bf3);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) .brand-wordmark {
    background-image: linear-gradient(110deg, #f0f6ff, #90bfff 36%, #39c6dc 77%, #a39bf3);
  }

  :root:not([data-theme]) .brand-slogan img {
    filter: none;
  }
}

.site-nav {
  display: flex;
  gap: 2.75rem;
  margin: 0 auto;
  font-weight: 600;
  font-size: 0.95rem;
}

.site-nav a {
  position: relative;
  padding: 0.25rem 0;
}

.site-nav a::after,
.footer-links a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.site-nav a:hover::after,
.footer-links a:hover::after,
.footer-links a.active::after {
  transform: scaleX(1);
}

.theme-toggle {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1.5px solid var(--line);
  border-radius: 50%;
  background: var(--surface);
  color: var(--heading);
  cursor: pointer;
  transition: border-color 0.2s ease, transform 0.3s ease;
}

.theme-toggle:hover,
.theme-toggle:focus-visible {
  border-color: var(--azure);
  transform: rotate(20deg);
}

.theme-toggle svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.theme-toggle .icon-sun,
[data-theme='dark'] .theme-toggle .icon-moon {
  display: none;
}

[data-theme='dark'] .theme-toggle .icon-sun {
  display: block;
}

.menu-toggle {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  gap: 7px;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  padding: 0;
  background: none;
  border: 0;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  height: 2.5px;
  border-radius: 2px;
  background: var(--heading);
  transition: transform 0.25s ease, width 0.25s ease;
}

.menu-toggle span:first-child {
  width: 30px;
}

.menu-toggle span:last-child {
  width: 22px;
}

.menu-toggle[aria-expanded='true'] span:first-child {
  width: 26px;
  transform: translateY(4.75px) rotate(45deg);
}

.menu-toggle[aria-expanded='true'] span:last-child {
  width: 26px;
  transform: translateY(-4.75px) rotate(-45deg);
}

/* ---------- Hero ---------- */

.hero {
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  align-items: center;
  gap: 3rem;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0 0 clamp(0.75rem, 2.5vh, 1.5rem);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--accent-text);
}

.eyebrow::before {
  content: '';
  width: 1.4rem;
  height: 2px;
  background: currentColor;
}

h1 {
  margin: 0 0 clamp(1.25rem, 4.5vh, 2.5rem);
  font-weight: 800;
  font-size: clamp(2.1rem, min(5.2vw, 8.5vh), 4.6rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--heading);
}

.gradient-text {
  background: linear-gradient(110deg, var(--purple) 0%, var(--blue) 50%, var(--azure) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-description {
  max-width: 34rem;
  margin: 0 0 1.5rem;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--muted);
}

[data-theme='dark'] .gradient-text {
  background-image: linear-gradient(110deg, #9b6dff 0%, var(--azure) 55%, var(--cyan) 100%);
}

.notify-form {
  display: flex;
  align-items: center;
  max-width: 34rem;
  padding: 0.35rem;
  border: 1.5px solid var(--outline);
  border-radius: 999px;
  background: var(--field-bg);
  backdrop-filter: blur(6px);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.notify-form:focus-within {
  border-color: var(--azure);
  box-shadow: 0 0 0 4px rgba(9, 172, 253, 0.18);
}

.notify-form input {
  flex: 1;
  min-width: 0;
  padding: 0.9rem 1.4rem;
  border: 0;
  background: transparent;
  font: inherit;
  font-size: 1.05rem;
  color: var(--text);
  outline: none;
}

.notify-form input::placeholder {
  color: var(--muted);
}

.notify-form .btn {
  flex-shrink: 0;
}

.form-note {
  margin: clamp(0.75rem, 2vh, 1.25rem) 0 0;
  font-size: 0.95rem;
  color: var(--muted);
}

.form-note.success {
  color: var(--success);
  font-weight: 600;
}

.form-note.error {
  color: var(--error);
  font-weight: 600;
}

/* ---------- Hero visual ----------
   Everything inside is sized in multiples of --u, which shrinks with the
   viewport height so the whole graphic always fits without scrolling. */

.hero-visual {
  --u: clamp(4px, min(calc((100dvh - 17rem) / 32), calc(40vw / 34)), 16px);
  position: relative;
  width: calc(var(--u) * 34);
  min-height: calc(var(--u) * 32);
  justify-self: center;
}

.orb {
  position: absolute;
  top: 50%;
  left: 55%;
  width: calc(var(--u) * 22);
  height: calc(var(--u) * 22);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  background: linear-gradient(145deg, var(--cyan) 0%, var(--azure) 45%, var(--blue) 75%, var(--purple) 100%);
  opacity: 0.9;
  box-shadow: 0 calc(var(--u) * 2.5) calc(var(--u) * 5.5) calc(var(--u) * -2) rgba(9, 172, 253, 0.7);
}

.device,
.float-card {
  position: absolute;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  box-shadow: var(--card-shadow);
  color: var(--text);
}

.visual-stack {
  position: relative;
  padding-top: calc(var(--u) * 1.5);
  padding-bottom: var(--u);
  width: calc(var(--u) * 22);
  display: flex;
  flex-direction: column;
  /* Reserve space for the full independent floating motion of both cards. */
  gap: calc(var(--u) * 2);
}

.device {
  position: relative;
  align-self: flex-end;
  width: calc(var(--u) * 14.5);
  padding: calc(var(--u) * 0.9) var(--u) var(--u);
  border-radius: calc(var(--u) * 1.4);
  font-size: calc(var(--u) * 0.8);
  animation: float 7s ease-in-out infinite;
}

.device-status {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: calc(var(--u) * 0.65);
  font-weight: 700;
}

.signal {
  width: calc(var(--u) * 1.6);
  height: calc(var(--u) * 0.45);
  border-radius: 2px;
  background: linear-gradient(90deg, var(--heading) 70%, transparent 70%);
}

.device-title {
  margin: calc(var(--u) * 0.8) 0 var(--u);
  text-align: center;
  font-size: calc(var(--u) * 0.75);
  font-weight: 600;
  color: var(--muted);
}

.device-profile {
  display: flex;
  align-items: center;
  gap: calc(var(--u) * 0.6);
}

.device-profile img {
  width: calc(var(--u) * 2.1);
  height: calc(var(--u) * 2.1);
  padding: calc(var(--u) * 0.25);
  border-radius: 50%;
  background: var(--surface-soft);
  object-fit: contain;
}

.device-profile strong,
.device-meta strong {
  display: block;
  font-weight: 800;
  color: var(--heading);
}

.device-profile small,
.device-meta small {
  display: block;
  font-size: calc(var(--u) * 0.65);
  color: var(--muted);
}

.chip {
  margin-left: auto;
  padding: calc(var(--u) * 0.35) calc(var(--u) * 0.75);
  border-radius: 999px;
  font-size: calc(var(--u) * 0.65);
  font-weight: 700;
  color: var(--accent-text);
  background: rgba(38, 248, 217, 0.3);
}

[data-theme='dark'] .chip {
  background: rgba(38, 248, 217, 0.15);
}

.chip.chip-solid {
  color: #fff;
  background: linear-gradient(110deg, var(--blue), var(--azure));
}

.device-hero {
  display: grid;
  place-items: center;
  height: calc(var(--u) * 8.5);
  margin: calc(var(--u) * 0.9) 0;
  border-radius: calc(var(--u) * 0.9);
  background:
    radial-gradient(circle at 50% 60%, rgba(38, 248, 217, 0.35), transparent 65%),
    var(--device-hero);
}

.device-hero img {
  height: calc(var(--u) * 7.5);
  width: auto;
  filter: var(--logo-filter) drop-shadow(0 10px 14px rgba(13, 43, 115, 0.3));
}

.device-meta {
  padding-bottom: calc(var(--u) * 0.8);
  border-bottom: 1px solid var(--line);
}

.device-footer {
  display: flex;
  align-items: center;
  margin-top: calc(var(--u) * 0.8);
}

.price {
  font-weight: 800;
  font-size: calc(var(--u) * 1.05);
  color: var(--heading);
}

.float-card {
  border-radius: var(--u);
}

.card-insight {
  top: calc(var(--u) * 5.5);
  right: 0;
  width: calc(var(--u) * 9);
  padding: var(--u) calc(var(--u) * 0.9) calc(var(--u) * 0.8);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: calc(var(--u) * 0.6);
  animation: float 6s ease-in-out infinite -2s;
}

.pin {
  display: grid;
  place-items: center;
  width: calc(var(--u) * 3.4);
  height: calc(var(--u) * 3.4);
  border-radius: 50%;
  background: linear-gradient(145deg, var(--cyan), var(--azure));
}

.pin svg {
  width: calc(var(--u) * 1.7);
  height: calc(var(--u) * 1.7);
  fill: #fff;
}

.card-insight .chip {
  margin: 0;
}

.chip.wide {
  width: 100%;
  text-align: center;
  padding: calc(var(--u) * 0.45) 0;
}

.card-insight small {
  font-size: calc(var(--u) * 0.6);
  font-weight: 600;
  color: var(--muted);
}

.card-chart {
  top: calc(var(--u) * 19);
  right: 0;
  width: calc(var(--u) * 9);
  height: calc(var(--u) * 5);
  padding: calc(var(--u) * 0.9) calc(var(--u) * 0.9) calc(var(--u) * 0.7);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  animation: float 8s ease-in-out infinite -4s;
}

.card-chart span {
  width: calc(var(--u) * 0.45);
  height: var(--h);
  border-radius: 3px;
  background: linear-gradient(180deg, var(--cyan), var(--blue));
}

.card-chart span:nth-child(even) {
  background: var(--navy);
}

[data-theme='dark'] .card-chart span:nth-child(even) {
  background: #5b7bd6;
}

.card-message {
  position: relative;
  width: calc(var(--u) * 16.5);
  padding: calc(var(--u) * 0.85) var(--u);
  display: flex;
  align-items: flex-start;
  gap: calc(var(--u) * 0.7);
  animation: float 7s ease-in-out infinite -1s;
}

.avatar {
  flex-shrink: 0;
  width: calc(var(--u) * 2.1);
  height: calc(var(--u) * 2.1);
  border-radius: 50%;
  background: var(--surface-soft);
  display: grid;
  place-items: center;
}

.avatar img {
  width: 80%;
  height: 80%;
  object-fit: contain;
}

.card-message strong {
  display: block;
  font-size: calc(var(--u) * 0.8);
  font-weight: 800;
  color: var(--heading);
}

.card-message p {
  margin: calc(var(--u) * 0.2) 0 0;
  font-size: calc(var(--u) * 0.68);
  color: var(--muted);
}

.card-message small {
  margin-left: auto;
  font-size: calc(var(--u) * 0.6);
  color: var(--muted);
  white-space: nowrap;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(calc(var(--u) * -0.6));
  }
}

@media (prefers-reduced-motion: reduce) {
  .device,
  .float-card {
    animation: none;
  }

  body,
  .theme-toggle {
    transition: none;
  }
}

/* ---------- Footer ---------- */

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: clamp(0.9rem, 3vh, 1.75rem) 0 clamp(1rem, 3.5vh, 2.25rem);
}

.socials {
  display: flex;
  gap: 0.9rem;
}

.socials a {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border: 1.5px solid var(--outline);
  border-radius: 50%;
  color: var(--heading);
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.socials a:hover,
.socials a:focus-visible {
  border-color: transparent;
  background: var(--btn-bg);
  color: #fff;
}

.socials svg {
  width: 1.15rem;
  height: 1.15rem;
  fill: currentColor;
}

.socials svg.stroke {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

.footer-links {
  display: flex;
  gap: 2.25rem;
  font-weight: 600;
  font-size: 0.95rem;
}

.footer-links a {
  position: relative;
}

/* ---------- Responsive ---------- */

@media (max-width: 960px) {
  .site-header {
    gap: 0.75rem;
  }

  .brand {
    margin-right: auto;
  }

  .header-cta {
    display: none;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin: 0;
    flex-direction: column;
    gap: 0;
    padding: 0.5rem;
    border-radius: 20px;
    background: var(--surface);
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  }

  .site-nav.open {
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .site-nav a {
    padding: 0.9rem 1rem;
    border-radius: 12px;
  }

  .site-nav a:hover {
    background: var(--surface-soft);
  }

  .site-nav a::after {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr;
    align-items: start;
    gap: clamp(0.5rem, 2vh, 1.5rem);
    padding-top: clamp(0.5rem, 3vh, 2rem);
  }

  .hero-visual {
    --u: clamp(4px, min(calc((100dvh - 33rem) / 32), calc((100vw - 2.5rem) / 34)), 14px);
    align-self: center;
  }

  .site-footer {
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.9rem 1.5rem;
  }
}

@media (max-width: 560px) {
  .brand {
    font-size: 1.05rem;
  }

  .brand-wordmark {
    font-size: clamp(1.625rem, 7.7vw, 2.125rem);
  }

  .brand-slogan {
    width: clamp(170px, 52vw, 260px);
  }

  .eyebrow {
    font-size: 1rem;
  }

  .notify-form input {
    padding: 0.8rem 0.9rem;
    font-size: 0.95rem;
  }

  .btn-dark {
    padding: 0.85rem 1.25rem;
  }

  .form-note {
    font-size: 0.85rem;
  }

  .socials {
    gap: 0.6rem;
  }

  .socials a {
    width: 2.5rem;
    height: 2.5rem;
  }

  .footer-links {
    gap: 1.5rem;
    font-size: 0.9rem;
  }
}

/* Very short screens (landscape phones): drop the graphic, keep the essentials */
@media (max-width: 960px) and (max-height: 640px) {
  .hero-visual {
    display: none;
  }
}

@media (min-width: 961px) and (max-height: 520px) {
  .hero-visual {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
  }
}
