/* CSS reset + typography. Loaded after variables.css. */

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

html,
body {
  margin: 0;
  padding: 0;
  background: var(--surface);
  color: var(--ink);
  font-family: "Nunito Sans", system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  line-height: 1.5;
}

body {
  overflow-x: hidden;
}

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

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

h1,
h2,
h3,
h4,
p,
ul {
  margin: 0;
  padding: 0;
}

ul {
  list-style: none;
}

/* Utility: hide horizontal scrollbar */
.no-scrollbar::-webkit-scrollbar {
  display: none;
}
.no-scrollbar {
  scrollbar-width: none;
}

/* Viewport helpers (applied via media queries below) */
.desktop-only {
  display: block;
}
.mobile-only {
  display: none;
}

.phone-shell {
  position: relative;
  display: block;
  padding: 12px;
  border-radius: 40px;
  background: linear-gradient(180deg, #141716 0%, #0f1312 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 26px 56px rgba(0, 0, 0, 0.34);
}

.phone-shell::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 50%;
  width: 34%;
  height: 16px;
  transform: translateX(-50%);
  border-radius: 0 0 12px 12px;
  background: #090b0b;
  z-index: 2;
}

.phone-shell::after {
  content: "";
  position: absolute;
  bottom: 7px;
  left: 50%;
  width: 28%;
  height: 4px;
  transform: translateX(-50%);
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.18);
}

@media (max-width: 767px) {
  .desktop-only {
    display: none;
  }
  .mobile-only {
    display: block;
  }
}
