/* ============================================================
   shellexchange.com — Domain For Sale Landing Page
   Palette: Charcoal #101820 | Emerald #1A7A4A | Silver #B8C4CC
   ============================================================ */

:root {
  --bg:        #101820;
  --bg-alt:    #131e28;
  --bg-card:   #172030;
  --accent:    #1A7A4A;
  --accent-lt: #21976A;
  --silver:    #B8C4CC;
  --text:      #EEF2F5;
  --text-muted:#8A9AA8;
  --border:    rgba(26,122,74,.22);
  --border-si: rgba(184,196,204,.12);
  --radius:    6px;
  --max:       1120px;
  --ff-head:   'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
  --ff-body:   'Inter', system-ui, sans-serif;
  --ease:      cubic-bezier(.4,0,.2,1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--ff-body);
  font-size: 1rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

/* ── Bar ──────────────────────────────────────────────────── */
.bar {
  background: var(--accent);
  color: #fff;
  text-align: center;
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .04em;
  padding: .45rem 1rem;
}
.bar a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }

/* ── Nav ──────────────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
  transition: background .3s var(--ease), box-shadow .3s var(--ease);
}
.nav--scrolled {
  background: rgba(16,24,32,.96);
  box-shadow: 0 1px 0 var(--border-si);
  backdrop-filter: blur(10px);
}
.nav__brand {
  font-family: var(--ff-head);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
}
.nav__brand span { color: var(--accent-lt); }
.nav__cta {
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  font-size: .875rem;
  padding: .5rem 1.25rem;
  border-radius: var(--radius);
  text-decoration: none;
  transition: background .2s var(--ease);
}
.nav__cta:hover { background: var(--accent-lt); }

/* ── Hero — two column ─────────────────────────────────────── */
.hero {
  min-height: 88vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 4rem;
  max-width: var(--max);
  margin: 0 auto;
  padding: 5rem 2rem 4rem;
}
.hero__domain {
  font-size: .8125rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--accent-lt);
  margin-bottom: 1.25rem;
}
.hero__title {
  font-family: var(--ff-head);
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--text);
  margin-bottom: 1.25rem;
}
.hero__title em { font-style: italic; color: var(--accent-lt); }
.hero__sub {
  font-size: 1.0625rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 2.5rem;
}
.hero__actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.btn {
  display: inline-block;
  padding: .85rem 2rem;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: .9375rem;
  text-decoration: none;
  transition: background .2s var(--ease), transform .15s var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--accent); color: #fff; }
.btn--primary:hover { background: var(--accent-lt); }
.btn--ghost {
  border: 1.5px solid var(--border-si);
  color: var(--text);
  background: transparent;
}
.btn--ghost:hover { border-color: var(--accent-lt); color: var(--accent-lt); }

/* ── Data panel (hero right) ──────────────────────────────── */
.hero__panel {
  background: var(--bg-card);
  border: 1px solid var(--border-si);
  border-radius: 12px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.hero__panel-title {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: .25rem;
  border-bottom: 1px solid var(--border-si);
  padding-bottom: .75rem;
}
.listing {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .75rem .5rem;
  border-radius: var(--radius);
  border-bottom: 1px solid var(--border-si);
}
.listing:last-of-type { border-bottom: none; }
.listing__name { font-weight: 600; font-size: .9375rem; color: var(--text); }
.listing__jx { font-size: .8125rem; color: var(--text-muted); }
.listing__tag {
  font-size: .75rem;
  font-weight: 700;
  padding: .2rem .6rem;
  border-radius: 20px;
  background: rgba(26,122,74,.18);
  color: var(--accent-lt);
  white-space: nowrap;
}

/* ── Example bar ──────────────────────────────────────────── */
.example-bar {
  background: var(--bg-card);
  border-top: 1px solid var(--border-si);
  border-bottom: 1px solid var(--border-si);
  text-align: center;
  padding: 1rem 2rem;
  font-size: .8125rem;
  color: var(--text-muted);
  font-style: italic;
}

/* ── Sections ─────────────────────────────────────────────── */
.section {
  padding: 5rem 2rem;
  max-width: var(--max);
  margin: 0 auto;
}
.section__label {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent-lt);
  margin-bottom: .75rem;
}
.section__title {
  font-family: var(--ff-head);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text);
  margin-bottom: 1.25rem;
}
.section__body {
  font-size: 1.0625rem;
  color: var(--text-muted);
  max-width: 680px;
  line-height: 1.75;
}

/* ── Cards ────────────────────────────────────────────────── */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}
.card {
  background: var(--bg-card);
  border: 1px solid var(--border-si);
  border-radius: 10px;
  padding: 2rem 1.75rem;
}
.card__icon { font-size: 1.75rem; margin-bottom: 1rem; display: block; }
.card__title {
  font-family: var(--ff-head);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: .5rem;
}
.card__body { font-size: .9375rem; color: var(--text-muted); line-height: 1.65; }

/* ── Value list ───────────────────────────────────────────── */
.value-list { list-style: none; margin-top: 2rem; display: flex; flex-direction: column; gap: .875rem; }
.value-list li { display: flex; gap: .875rem; align-items: flex-start; font-size: 1rem; color: var(--text-muted); }
.value-list li::before { content: '✦'; color: var(--accent-lt); font-size: .8rem; margin-top: .3rem; flex-shrink: 0; }

/* ── Audience ─────────────────────────────────────────────── */
.audience { background: var(--bg-alt); border-top: 1px solid var(--border-si); border-bottom: 1px solid var(--border-si); }
.audience-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.25rem;
  margin-top: 2.5rem;
}
.audience-item {
  background: var(--bg-card);
  border: 1px solid var(--border-si);
  border-radius: var(--radius);
  padding: 1.5rem 1.25rem;
  text-align: center;
}
.audience-item__role { font-family: var(--ff-head); font-size: 1rem; font-weight: 600; color: var(--accent-lt); margin-bottom: .4rem; }
.audience-item__desc { font-size: .875rem; color: var(--text-muted); }

/* ── Acquire ──────────────────────────────────────────────── */
.acquire {
  background: var(--bg-card);
  border-top: 1px solid var(--border-si);
  padding: 5rem 2rem;
  text-align: center;
}
.acquire__inner { max-width: 560px; margin: 0 auto; }
.acquire__title { font-family: var(--ff-head); font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 700; color: var(--text); margin-bottom: 1rem; }
.acquire__sub { font-size: 1.0625rem; color: var(--text-muted); margin-bottom: 2.5rem; }
.form { display: flex; flex-direction: column; gap: 1rem; text-align: left; }
.form label { font-size: .875rem; font-weight: 600; color: var(--text-muted); margin-bottom: .25rem; display: block; }
.form input, .form textarea {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--border-si);
  border-radius: var(--radius);
  padding: .75rem 1rem;
  color: var(--text);
  font-family: var(--ff-body);
  font-size: .9375rem;
  transition: border-color .2s var(--ease);
}
.form input:focus, .form textarea:focus { outline: none; border-color: var(--accent-lt); }
.form textarea { min-height: 130px; resize: vertical; }
.form__submit {
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: var(--radius);
  padding: .9rem 2rem;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: background .2s var(--ease);
  font-family: var(--ff-body);
}
.form__submit:hover { background: var(--accent-lt); }

/* ── FAQ ─────────────────────────────────────────────────── */
.faq { padding: 5rem 2rem; max-width: 760px; margin: 0 auto; }
.faq__title { font-family: var(--ff-head); font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 700; color: var(--text); margin-bottom: 2.5rem; text-align: center; }
.faq__item { border-bottom: 1px solid var(--border-si); padding: 1.5rem 0; }
.faq__q { font-weight: 600; font-size: 1rem; color: var(--text); margin-bottom: .5rem; }
.faq__a { font-size: .9375rem; color: var(--text-muted); line-height: 1.7; }

/* ── Footer ───────────────────────────────────────────────── */
.foot { border-top: 1px solid var(--border-si); padding: 2rem; text-align: center; }
.foot__small { font-size: .8125rem; color: var(--text-muted); }
.foot__small a { color: var(--accent-lt); text-decoration: none; }
.foot__small a:hover { text-decoration: underline; }

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; min-height: auto; padding: 4rem 1.5rem 3rem; }
  .hero__panel { display: none; }
  .section { padding: 4rem 1.5rem; }
}
@media (max-width: 600px) {
  .nav { padding: .875rem 1rem; }
  .hero { padding: 3.5rem 1rem 3rem; }
  .hero__title { font-size: 2rem; }
  .hero__actions { flex-direction: column; }
  .btn { width: 100%; text-align: center; }
  .section { padding: 3rem 1rem; }
  .cards { grid-template-columns: 1fr; }
  .audience-grid { grid-template-columns: 1fr 1fr; }
  .faq { padding: 3rem 1rem; }
  .acquire { padding: 3.5rem 1rem; }
}

/* --- Mobile overflow hardening --- */
html,
body {
  max-width: 100%;
  overflow-x: clip;
}

body {
  overscroll-behavior-x: none;
}

img,
svg,
video,
canvas {
  max-width: 100%;
  height: auto;
}

main,
section,
header,
footer,
nav,
form,
fieldset,
[class*="__inner"],
[class*="__grid"],
[class*="__row"],
[class*="__cols"],
[class*="__card"],
[class*="__item"] {
  min-width: 0;
}

input,
textarea,
select,
button {
  max-width: 100%;
  min-width: 0;
}

p,
h1,
h2,
h3,
h4,
h5,
h6,
a,
li,
span {
  overflow-wrap: anywhere;
}

@media (max-width: 480px) {
  .btn,
  .btn-primary,
  .btn-ghost,
  [class*="btn"],
  [class*="button"] {
    max-width: 100%;
    white-space: normal;
  }
}

/* --- Hero image layer --- */
.hero {
  position: relative;
  isolation: isolate;
}

.hero__image {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .28;
  filter: saturate(.95) contrast(1.04);
}

.hero__image::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0,0,0,.62), rgba(0,0,0,.22) 48%, rgba(0,0,0,.5)),
    linear-gradient(180deg, rgba(0,0,0,.3), rgba(0,0,0,.58));
}

.hero > :not(.hero__image) {
  position: relative;
  z-index: 1;
}

/* Skip navigation */
.skip-link { position: absolute; top: -100%; left: 1rem; background: #000; color: #fff; padding: .5rem 1rem; z-index: 9999; font-size: .875rem; font-weight: 600; border-radius: 0 0 4px 4px; text-decoration: none; }
.skip-link:focus { top: 0; }
