/* Stackline Automation — styles */

:root {
  --navy: #10265C;
  --orange: #FF6A13;
  --white: #FFFFFF;
  --gray-bg: #F5F6FA;
  --gray-text: #475169;
  --border: #E2E5EE;
  --max-width: 1100px;
  --radius: 12px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--navy);
  background: var(--white);
  line-height: 1.55;
}

h1, h2, h3 {
  font-weight: 800;
  line-height: 1.15;
  margin: 0 0 0.5em;
}

p {
  margin: 0 0 1em;
  color: var(--gray-text);
}

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

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

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

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Buttons */

.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
  font-size: 1rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.1s ease, opacity 0.15s ease;
}

.btn:hover {
  opacity: 0.92;
}

.btn-primary {
  background: var(--orange);
  color: var(--white);
}

.btn-secondary {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  z-index: 50;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
}

.site-header .logo {
  display: flex;
  align-items: center;
}

.site-header .logo img {
  width: 120px;
  height: auto;
}

.site-header nav {
  display: none;
}

@media (min-width: 720px) {
  .site-header nav {
    display: flex;
    gap: 24px;
  }
  .site-header nav a {
    color: var(--navy);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
  }
  .site-header nav a:hover {
    color: var(--orange);
  }
}

.header-cta {
  display: none;
}

@media (min-width: 720px) {
  .header-cta {
    display: inline-block;
    padding: 10px 18px;
    font-size: 0.9rem;
  }
}

/* Hero */

.hero {
  background: var(--navy);
  color: var(--white);
  padding: 64px 0 56px;
  text-align: center;
}

.hero h1 {
  color: var(--white);
  font-size: clamp(1.9rem, 4.5vw, 3rem);
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}

.hero p {
  color: #C9D2E8;
  font-size: 1.15rem;
  max-width: 620px;
  margin: 0 auto 2em;
}

/* Sections */

section {
  padding: 64px 0;
}

section.alt {
  background: var(--gray-bg);
}

.section-title {
  font-size: clamp(1.5rem, 3.5vw, 2.1rem);
  text-align: center;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.section-intro {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 2.5em;
  font-size: 1.05rem;
}

/* Problem section */

.problem-text {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  font-size: 1.1rem;
}

/* How it works */

.steps {
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr;
  margin-top: 2.5em;
}

@media (min-width: 720px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
  }
}

.step {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 22px;
  text-align: left;
}

.step .step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--orange);
  color: var(--white);
  font-weight: 800;
  margin-bottom: 14px;
}

.step h3 {
  font-size: 1.15rem;
}

/* Services */

.services-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
  margin-top: 2.5em;
}

@media (min-width: 720px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}

.service-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.4em;
}

.service-card p {
  margin-bottom: 0;
}

.addons {
  margin-top: 36px;
}

.addons h3 {
  text-align: center;
  font-size: 1.2rem;
  margin-bottom: 1.2em;
}

.addons-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .addons-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.addon-card {
  background: var(--gray-bg);
  border-radius: var(--radius);
  padding: 18px 20px;
}

.addon-card h4 {
  margin: 0 0 0.3em;
  font-size: 1rem;
  color: var(--navy);
}

.addon-card p {
  margin: 0;
  font-size: 0.95rem;
}

/* Pricing */

.pricing-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr;
}

@media (min-width: 720px) {
  .pricing-grid {
    grid-template-columns: repeat(3, 1fr);
    align-items: start;
  }
}

.price-card {
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 24px;
  text-align: center;
  position: relative;
}

.price-card.featured {
  border-color: var(--orange);
  box-shadow: 0 8px 24px rgba(255, 106, 19, 0.15);
}

.price-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--orange);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 999px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.price-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.6em;
}

.price-amount {
  font-size: 2rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 0.1em;
}

.price-amount .per {
  font-size: 1rem;
  font-weight: 600;
  color: var(--gray-text);
}

.price-setup {
  font-size: 0.95rem;
  color: var(--gray-text);
  margin-bottom: 1.4em;
}

.price-card ul {
  text-align: left;
  padding-left: 1.1em;
  margin: 0 0 1.6em;
  color: var(--gray-text);
  font-size: 0.95rem;
}

.price-card li {
  margin-bottom: 0.5em;
}

.pricing-footnote {
  max-width: 720px;
  margin: 2.5em auto 0;
  text-align: center;
  font-size: 0.9rem;
  color: var(--gray-text);
}

/* About */

.about-text {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  font-size: 1.1rem;
}

/* FAQ */

.faq-list {
  max-width: 760px;
  margin: 2em auto 0;
}

.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 18px 0;
}

.faq-item summary {
  font-weight: 700;
  cursor: pointer;
  font-size: 1.05rem;
  color: var(--navy);
  list-style: none;
  position: relative;
  padding-right: 28px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 0;
  font-size: 1.3rem;
  color: var(--orange);
}

.faq-item[open] summary::after {
  content: "\2212";
}

.faq-item p {
  margin-top: 0.8em;
  margin-bottom: 0;
}

/* Contact */

.contact-grid {
  display: grid;
  gap: 40px;
  grid-template-columns: 1fr;
}

@media (min-width: 820px) {
  .contact-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.contact-info h3 {
  font-size: 1.2rem;
}

.contact-info a {
  color: var(--navy);
  font-weight: 600;
  text-decoration: none;
}

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

.contact-links {
  list-style: none;
  padding: 0;
  margin: 1em 0;
}

.contact-links li {
  margin-bottom: 0.8em;
}

form.contact-form {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
}

.form-row {
  margin-bottom: 18px;
}

.form-row label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 6px;
  color: var(--navy);
}

.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 11px 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
  color: var(--navy);
  background: var(--white);
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: 2px solid var(--orange);
  outline-offset: 1px;
}

.form-row textarea {
  resize: vertical;
  min-height: 110px;
}

/* honeypot field, hidden from real users */
.hp-field {
  position: absolute;
  left: -9999px;
  top: -9999px;
}

/* Footer */

.site-footer {
  background: var(--navy);
  color: #C9D2E8;
  padding: 36px 0;
  font-size: 0.9rem;
}

.site-footer .container {
  text-align: center;
}

.site-footer p {
  color: #C9D2E8;
  margin: 0 0 0.6em;
}

.site-footer a {
  color: var(--white);
}

.footer-brand {
  font-weight: 800;
  color: var(--white);
  font-size: 1.05rem;
}

/* Final CTA strip */

.final-cta {
  background: var(--orange);
  color: var(--white);
  text-align: center;
  padding: 48px 0;
}

.final-cta h2 {
  color: var(--white);
  font-size: clamp(1.4rem, 3.5vw, 2rem);
}

.final-cta .btn-primary {
  background: var(--navy);
}

/* Thanks page */

.thanks-wrap {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 20px;
}

.thanks-wrap img {
  margin: 0 auto 24px;
  height: 48px;
}
