/* 220 Tech LLC — site styles */
:root {
  --bg: #0a0a0a;
  --bg-elevated: #111111;
  --orange: #FF6A00;
  --orange-soft: rgba(255, 106, 0, 0.14);
  --grey: #8B919A;
  --grey-light: #A8ADB5;
  --text: #F2F3F5;
  --border: rgba(168, 173, 181, 0.14);
  --max: 1080px;
  --font: "Inter", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

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

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

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  font-weight: 400;
  letter-spacing: -0.011em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

a:hover {
  color: var(--orange);
}

/* —— Layout —— */
.wrap {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

main {
  flex: 1;
}

/* —— Header —— */
.site-header {
  border-bottom: 1px solid var(--border);
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 20;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 6rem;
  padding-block: 0.65rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.brand img {
  height: 88px;
  width: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav a {
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--grey-light);
  transition: color 0.15s ease;
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--orange);
}

/* —— Hero —— */
.hero {
  padding: 6.5rem 0 5.5rem;
}

.hero-eyebrow {
  margin: 0 0 1.25rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange);
}

.hero h1 {
  margin: 0;
  max-width: 16ch;
  font-size: clamp(2rem, 4.6vw, 3.15rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.035em;
  color: var(--text);
}

.hero-lead {
  margin: 1.5rem 0 0;
  max-width: 36rem;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--grey-light);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2.25rem;
}

/* —— Buttons —— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 2.65rem;
  padding: 0.65rem 1.2rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 550;
  letter-spacing: -0.01em;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease,
    transform 0.15s ease;
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background: var(--orange);
  color: #0a0a0a;
}

.btn-primary:hover {
  background: #ff7d1f;
  color: #0a0a0a;
}

.btn-ghost {
  background: transparent;
  border-color: var(--border);
  color: var(--grey-light);
}

.btn-ghost:hover {
  border-color: rgba(255, 106, 0, 0.45);
  color: var(--orange);
}

/* —— Section —— */
.section {
  padding: 1rem 0 5.5rem;
}

.section-label {
  margin: 0 0 1.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--grey);
}

.page-intro {
  padding: 4.25rem 0 2.5rem;
}

.page-intro h1 {
  margin: 0;
  font-size: clamp(1.85rem, 3.8vw, 2.5rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.page-intro p {
  margin: 0.9rem 0 0;
  max-width: 34rem;
  color: var(--grey-light);
  font-size: 1.05rem;
}

/* —— App cards —— */
.app-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 720px) {
  .app-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }
}

.app-card {
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
  padding: 1.75rem 1.65rem 1.55rem;
  border: 1px solid var(--border);
  border-radius: 1.15rem;
  background: linear-gradient(180deg, #121212 0%, #0d0d0d 100%);
  transition: border-color 0.18s ease, background 0.18s ease;
}

.app-card:hover {
  border-color: rgba(255, 106, 0, 0.35);
}

.app-card-top {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.app-logo {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  object-fit: contain;
  flex-shrink: 0;
  background: #000;
  box-shadow: 0 0 0 1px var(--border);
}

.app-card h2 {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.025em;
}

.app-card .tag {
  margin: 0.2rem 0 0;
  font-size: 0.8rem;
  color: var(--grey);
  letter-spacing: 0.01em;
}

.app-card p {
  margin: 0;
  color: var(--grey-light);
  font-size: 0.975rem;
  line-height: 1.65;
  flex: 1;
}

.app-card .card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 0.35rem;
  padding-top: 1.15rem;
  border-top: 1px solid var(--border);
}

/* —— Feature strip (home) —— */
.feature-strip {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  margin-top: 3.5rem;
  border: 1px solid var(--border);
  border-radius: 1.1rem;
  overflow: hidden;
  background: var(--border);
}

@media (min-width: 720px) {
  .feature-strip {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

.feature {
  padding: 1.5rem 1.4rem;
  background: var(--bg-elevated);
}

.feature h3 {
  margin: 0 0 0.45rem;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: -0.015em;
}

.feature p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--grey);
  line-height: 1.55;
}

/* —— Footer —— */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 1.75rem 0;
  margin-top: auto;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
}

.footer-inner p {
  margin: 0;
  font-size: 0.8rem;
  color: var(--grey);
}

.footer-inner a {
  color: var(--grey-light);
  font-size: 0.8rem;
  font-weight: 500;
}

.footer-inner a:hover {
  color: var(--orange);
}

/* —— Utilities —— */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* —— Legal / privacy —— */
.legal {
  padding: 2.5rem 0 4rem;
}

.legal .legal-meta {
  color: var(--grey);
  font-size: 0.9rem;
  margin: 0 0 1.25rem;
}

.legal h1 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  letter-spacing: -0.03em;
}

.legal h2 {
  margin: 2rem 0 0.65rem;
  font-size: 1.1rem;
  color: var(--text);
}

.legal p,
.legal li {
  color: var(--grey-light);
  max-width: 42rem;
}

.legal ul {
  padding-left: 1.25rem;
  margin: 0.5rem 0 0;
}

.legal li + li {
  margin-top: 0.35rem;
}

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

.legal a:hover {
  text-decoration: underline;
}
