/* ============================================================
   salvationco.in — Domain For Sale Landing Page
   Palette: Deep teal #0B2226 | Warm gold #C9933A | Cream #F0EDE8
   ============================================================ */

:root {
  --bg:        #0B2226;
  --bg-alt:    #0E2A2F;
  --bg-card:   #112E33;
  --accent:    #C9933A;
  --accent-lt: #DBA84E;
  --text:      #F0EDE8;
  --text-muted:#A09990;
  --border:    rgba(201,147,58,.20);
  --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;
}

/* ── Announcement bar ─────────────────────────────────────── */
.bar {
  background: var(--accent);
  color: #0B2226;
  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(11,34,38,.96);
  box-shadow: 0 1px 0 var(--border);
  backdrop-filter: blur(10px);
}
.nav__brand {
  font-family: var(--ff-head);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
  letter-spacing: .01em;
}
.nav__brand span { color: var(--accent); }
.nav__cta {
  background: var(--accent);
  color: #0B2226;
  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 ─────────────────────────────────────────────────── */
.hero {
  min-height: 88vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 6rem 2rem 5rem;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 60% at 50% 40%, rgba(201,147,58,.08) 0%, transparent 70%);
  pointer-events: none;
}
.hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .12;
  z-index: 0;
}
.hero__content { position: relative; z-index: 1; max-width: 780px; }
.hero__domain {
  display: inline-block;
  font-family: var(--ff-body);
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.5rem;
}
.hero__title {
  font-family: var(--ff-head);
  font-size: clamp(2.4rem, 5.5vw, 4rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--text);
  margin-bottom: 1.25rem;
}
.hero__title em { font-style: italic; color: var(--accent); }
.hero__sub {
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 2.5rem;
  line-height: 1.75;
}
.hero__actions { display: flex; gap: 1rem; justify-content: center; 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: #0B2226; }
.btn--primary:hover { background: var(--accent-lt); }
.btn--ghost {
  border: 1.5px solid var(--border);
  color: var(--text);
  background: transparent;
}
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); }

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

/* ── Generic section ─────────────────────────────────────── */
.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);
  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;
}

/* ── Card grid ────────────────────────────────────────────── */
.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);
  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);
  font-size: .8rem;
  margin-top: .3rem;
  flex-shrink: 0;
}

/* ── Audience section ─────────────────────────────────────── */
.audience {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.audience .section { max-width: var(--max); }
.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);
  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);
  margin-bottom: .4rem;
}
.audience-item__desc { font-size: .875rem; color: var(--text-muted); }

/* ── Acquire / contact ────────────────────────────────────── */
.acquire {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  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);
  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); }
.form textarea { min-height: 130px; resize: vertical; }
.form__submit {
  background: var(--accent);
  color: #0B2226;
  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); 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);
  padding: 2rem;
  text-align: center;
}
.foot__small { font-size: .8125rem; color: var(--text-muted); }
.foot__small a { color: var(--accent); text-decoration: none; }
.foot__small a:hover { text-decoration: underline; }

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 960px) {
  .nav { padding: 1rem 1.5rem; }
  .section { padding: 4rem 1.5rem; }
  .hero { padding: 5rem 1.5rem 4rem; }
}

@media (max-width: 600px) {
  .nav { padding: .875rem 1rem; }
  .nav__brand { font-size: 1rem; }
  .hero { min-height: 75vh; padding: 4rem 1rem 3rem; }
  .hero__title { font-size: 2rem; }
  .hero__sub { font-size: 1rem; }
  .hero__actions { flex-direction: column; align-items: center; }
  .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;
  }
}

/* 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; }
