/* Shared styles for the solcash.com pages (index.html and ht/index.html). */
:root {
  --bg: #faf8f4;
  --ink: #1b2120;
  --muted: #6b7271;
  --teal: #02a09a;
  --teal-dark: #018a85;
  --rule: #dcdcd8;
  --max: 1360px;
  --gutter: clamp(16px, 5vw, 80px);
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family:
    'Inter',
    ui-sans-serif,
    system-ui,
    -apple-system,
    'Segoe UI',
    Roboto,
    'Helvetica Neue',
    Arial,
    sans-serif;
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}
a {
  color: inherit;
}
.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* Header */
header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 24px;
  padding-bottom: 24px;
}
.logo img {
  display: block;
  height: 40px;
  width: auto;
}
nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 4vw, 48px);
}
nav a {
  white-space: nowrap;
}
nav a.text {
  text-decoration: none;
  font-size: 1.125rem;
  color: #3a403f;
}
nav a.text:hover {
  color: var(--teal);
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 18px 28px;
  border-radius: 6px;
  background: var(--teal);
  color: #fff;
  font-weight: 600;
  font-size: 1.125rem;
  text-decoration: none;
  transition: background 0.15s ease;
}
.btn:hover {
  background: var(--teal-dark);
}
.btn:focus-visible,
a:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 3px;
}
.btn svg {
  width: 22px;
  height: 22px;
  flex: none;
}
header .btn {
  padding: 14px 24px;
}

/* Hero */
.hero .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  align-items: center;
  gap: 24px;
  padding-top: clamp(24px, 4vw, 48px);
  padding-bottom: clamp(32px, 4vw, 56px);
}
h1 {
  margin: 0;
  font-size: clamp(2.5rem, 5.4vw, 5rem);
  line-height: 1.04;
  letter-spacing: -0.035em;
  font-weight: 700;
}
h1 .line,
h1 .accent {
  display: block;
}
h1 .accent {
  color: var(--teal);
}
.lede {
  margin: 28px 0 40px;
  max-width: 30ch;
  font-size: clamp(1.125rem, 1.6vw, 1.625rem);
  line-height: 1.45;
  color: var(--muted);
}
.hero img {
  display: block;
  width: 100%;
  height: auto;
}

/* About */
.about .wrap {
  padding-top: clamp(32px, 5vw, 64px);
  padding-bottom: clamp(32px, 5vw, 64px);
}
.about h2 {
  margin: 0 0 16px;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  letter-spacing: -0.02em;
}
.about p {
  margin: 0 0 16px;
  max-width: 62ch;
  font-size: 1.125rem;
  color: #3a403f;
}
.about a {
  color: var(--teal-dark);
}

/* Footer */
footer .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  padding-top: 24px;
  padding-bottom: 32px;
  border-top: 1px solid var(--rule);
  font-size: 0.9375rem;
  color: #4b5150;
}
footer .copy {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.01em;
}
footer ul {
  display: flex;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}
footer li + li::before {
  content: '|';
  margin-right: 12px;
  color: #9aa09f;
}
footer a {
  text-decoration: none;
}
footer a:hover {
  text-decoration: underline;
}

@media (max-width: 820px) {
  .hero .wrap {
    grid-template-columns: 1fr;
  }
  .lede {
    margin: 20px 0 28px;
  }
}
@media (max-width: 480px) {
  header .wrap {
    gap: 12px;
  }
  .logo img {
    height: 26px;
  }
  nav {
    gap: 12px;
  }
  header .btn {
    padding: 10px 12px;
    font-size: 0.9375rem;
    gap: 8px;
  }
  header .btn svg {
    display: none;
  }
  nav a.text {
    font-size: 0.9375rem;
  }
}
@media (max-width: 360px) {
  .logo img {
    height: 22px;
  }
  nav {
    gap: 8px;
  }
  nav a.text,
  header .btn {
    font-size: 0.875rem;
  }
  header .btn {
    padding: 8px 10px;
  }
}
