/* Yard25 — black & white, simple sans-serif */

:root {
  --black: #0a0a0a;
  --white: #ffffff;
  --gray-100: #f4f4f4;
  --gray-300: #d4d4d4;
  --gray-500: #737373;
  --gray-700: #404040;
  --max-width: 1080px;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  background: var(--white);
  color: var(--black);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

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

/* Header */
header {
  border-bottom: 1px solid var(--gray-300);
  background: var(--white);
  position: sticky;
  top: 0;
  z-index: 10;
}

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

.logo {
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: 0.08em;
  text-decoration: none;
}

nav a {
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gray-700);
  margin-left: 28px;
}

nav a:hover {
  color: var(--black);
}

/* Hero */
.hero {
  background: var(--black);
  color: var(--white);
  padding: 110px 0 120px;
}

.hero h1 {
  font-size: clamp(2.2rem, 6vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  max-width: 16em;
}

.hero p {
  margin-top: 24px;
  font-size: 1.15rem;
  color: var(--gray-300);
  max-width: 38em;
}

.hero .cta {
  display: inline-block;
  margin-top: 40px;
  background: var(--white);
  color: var(--black);
  text-decoration: none;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: 4px;
}

.hero .cta:hover {
  background: var(--gray-300);
}

/* Sections */
section {
  padding: 90px 0;
}

section + section {
  border-top: 1px solid var(--gray-300);
}

.section-label {
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--gray-500);
  margin-bottom: 12px;
}

h2 {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 20px;
}

section > .container > p {
  max-width: 44em;
  color: var(--gray-700);
}

/* Apps section — one .app block per app, repeatable */
.app {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 72px;
  align-items: center;
  margin-top: 56px;
}

.app + .app {
  margin-top: 88px;
  padding-top: 88px;
  border-top: 1px solid var(--gray-300);
}

/* Alternate the mock-up side so a long list of apps keeps a rhythm */
.app:nth-of-type(even) {
  grid-template-columns: 300px 1fr;
}

.app:nth-of-type(even) .phone-wrap {
  order: -1;
}

/* For an app with no visual yet */
.app.app-solo {
  grid-template-columns: 1fr;
}

.app-name {
  font-size: 1.9rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.1;
}

.app-tagline {
  font-size: 1.05rem;
  color: var(--gray-500);
  margin-top: 4px;
}

.app-desc {
  margin-top: 20px;
  color: var(--gray-700);
}

.app-meta {
  margin-top: 32px;
  font-size: 0.85rem;
  color: var(--gray-500);
}

.apps-outro {
  margin-top: 72px;
  color: var(--gray-700);
  font-size: 0.95rem;
}

.feature-list {
  list-style: none;
  margin-top: 32px;
}

.feature-list li + li {
  margin-top: 32px;
}

.feature-list h4 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.feature-list p {
  color: var(--gray-700);
  font-size: 0.95rem;
}

.badge {
  display: inline-block;
  margin-right: 10px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border: 1px solid var(--black);
  border-radius: 999px;
  padding: 4px 12px;
  color: var(--black);
}

/* Tunero phone mock-up */
.phone-wrap {
  justify-self: center;
}

.phone {
  width: 280px;
  border: 10px solid var(--black);
  border-radius: 42px;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
}

.phone-screen {
  background: #d6ecd6;
  padding: 34px 18px 26px;
  text-align: center;
}

.tuner-note {
  font-size: 4.6rem;
  font-weight: 800;
  line-height: 1;
  color: #0a0a0a;
}

.tuner-octave {
  font-size: 1.5rem;
  color: #7d9a7d;
  margin-top: 4px;
}

.tuner-meter {
  display: block;
  width: 100%;
  margin: 26px 0 4px;
}

.tuner-cents {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 1rem;
  color: #6f8a6f;
  margin-bottom: 30px;
}

.tuner-mode-label {
  font-size: 0.85rem;
  color: #7d9a7d;
}

.tuner-mode-value {
  font-size: 0.8rem;
  color: #8fa88f;
  margin-bottom: 10px;
}

.tuner-pills {
  display: flex;
  align-items: center;
  gap: 4px;
  background: #c2ddc2;
  border-radius: 999px;
  padding: 4px;
  margin-bottom: 22px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, #000 82%, transparent 100%);
  mask-image: linear-gradient(to right, #000 82%, transparent 100%);
}

.pill {
  flex: none;
  font-size: 0.8rem;
  font-weight: 500;
  color: #2f4a2f;
  padding: 5px 9px;
  border-radius: 999px;
}

.pill-active {
  background: var(--white);
  font-weight: 700;
  color: var(--black);
}

.tuner-slider {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
}

.slider-min,
.slider-max {
  font-size: 0.75rem;
  color: #8fa88f;
}

.slider-track {
  position: relative;
  flex: 1;
  height: 5px;
  border-radius: 999px;
  background: #bcd4bc;
}

.slider-fill {
  position: absolute;
  inset: 0 50% 0 0;
  border-radius: 999px;
  background: #6f7a6f;
}

.slider-knob {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 26px;
  height: 17px;
  transform: translate(-50%, -50%);
  border-radius: 999px;
  background: var(--white);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.phone-caption {
  margin-top: 18px;
  text-align: center;
  font-size: 0.8rem;
  color: var(--gray-500);
}

/* About / two-column facts */
.facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 32px;
  margin-top: 40px;
}

.fact h3 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gray-500);
  margin-bottom: 6px;
}

.fact p {
  font-size: 1rem;
  color: var(--black);
}

/* Contact */
.contact-box {
  margin-top: 32px;
  border: 1px solid var(--gray-300);
  border-radius: 8px;
  padding: 32px;
  max-width: 560px;
}

.contact-box p {
  color: var(--gray-700);
}

.contact-box a {
  font-weight: 600;
}

/* Footer */
footer {
  background: var(--black);
  color: var(--gray-300);
  padding: 56px 0;
  font-size: 0.85rem;
}

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

footer h3 {
  color: var(--white);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 12px;
}

footer a {
  color: var(--gray-300);
  text-decoration: none;
}

footer a:hover {
  color: var(--white);
  text-decoration: underline;
}

footer ul {
  list-style: none;
}

footer li {
  margin-bottom: 6px;
}

.footer-bottom {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--gray-700);
  color: var(--gray-500);
}

/* Legal pages (privacy, terms, support) */
.legal {
  padding: 72px 0;
}

.legal .container {
  max-width: 760px;
}

.legal h1 {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
}

.legal .updated {
  color: var(--gray-500);
  font-size: 0.9rem;
  margin-bottom: 40px;
}

.legal h2 {
  font-size: 1.25rem;
  margin: 40px 0 12px;
}

.legal p,
.legal li {
  color: var(--gray-700);
  margin-bottom: 12px;
}

.legal ul {
  padding-left: 24px;
}

@media (max-width: 860px) {
  .app,
  .app:nth-of-type(even) {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .app:nth-of-type(even) .phone-wrap {
    order: 0;
  }
}

@media (max-width: 600px) {
  nav a {
    margin-left: 16px;
  }

  .phone {
    width: 260px;
  }

  .hero {
    padding: 70px 0 80px;
  }

  section {
    padding: 60px 0;
  }
}
