/* =========================
   Base
========================= */

:root {
  --bg: #ffffff;
  --bg-light: #faf8f5;
  --bg-alt: #FFF1D7;
  --bg-dark: #111318;

  --text: #474747;
  --text-muted: #626975;
  --border: #e4e7eb;

  /* Brand */
  /* --primary: #FFC431; */
  --primary: #F1671B;
  /* --secondary: #F1671B; */
  --secondary: #FFC431;
  --accent: #F1671B;
  --accent-soft: #FFF1D7;

  --primary-text: #474747;
  --secondary-text: #F1671B;

  --primary-border: #E8C75D;
  --secondary-border: #F6B08A;

  --container: 1180px;
  --radius: 12px;
  --radius-large: 18px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    Helvetica,
    Arial,
    sans-serif;

  color: var(--text);
  background: var(--bg);

  line-height: 1.6;
}

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

.container {
  width: min(var(--container), calc(100% - 48px));
  margin: 0 auto;
}


/* =========================
   Typography
========================= */

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.15;
  letter-spacing: -0.025em;
}

h1 {
  font-size: clamp(2.4rem, 4vw, 3.8rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.025em;
}

h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.025em;
}

h3 {
  font-size: 1.25rem;
}

p {
  color: var(--text-muted);
}

.eyebrow {
  margin-bottom: 18px;

  font-size: 0.78rem;
  font-weight: 700;

  letter-spacing: 0.12em;
  text-transform: uppercase;

  color: #6d7480;
}

/* =========================
   Header
========================= */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav {
  min-height: 72px;
  display: flex;
  align-items: center;
}

.brand {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0px;
  text-decoration: none;
}

.brand-logo {
  height: 42px;
  width: auto;
  display: block;
}

.brand-by {
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-left: auto;
  margin-right: 28px;
}

.nav-links a:hover {
  color: var(--text);
}

.nav-links a {
  color: var(--text-muted);
  transition: color 0.2s ease;
}

.nav-links a.active {
  color: var(--primary);
  position: relative;
}

/* .nav-links a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 2px;
  border-radius: 2px;
  background: var(--primary);
} */

.nav-cta {
  padding: 9px 16px;
  background: var(--secondary);
  color: white;
  border-radius: 7px;
  font-size: 0.85rem;
  font-weight: 650;
  transition:
    background 0.18s ease,
    transform 0.18s ease,
    box-shadow 0.18s ease;
}

.nav-cta:hover {
  background: #F2B51A;
  color: white;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(255, 196, 49, 0.25);
}


/* =========================
   Buttons
========================= */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-height: 44px;
  padding: 0 21px;

  border-radius: 8px;

  font-size: 0.9rem;
  font-weight: 650;

  transition:
    transform 0.15s ease,
    opacity 0.15s ease,
    background 0.15s ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  background: var(--secondary);
  color: white;
}

.button-primary:hover {
  opacity: 0.88;
}

.button-secondary {
  background: white;
  border: 1px solid var(--border);
}

.button-secondary:hover {
  background: var(--bg-light);
}

.button-outline-light {
  border: 1px solid #454a54;
  color: white;
}

.button-outline-light:hover {
  background: #1b1e25;
}

.button-full {
  width: 70%;
  min-width: 220px;
  margin-top: 24px;
  border-radius: 10px;
  display: flex;
  justify-content: center;
  margin-left: auto;
  margin-right: auto;
}

.disabled {
  opacity: 0.5;
  pointer-events: none;
}


/* =========================
   Hero
========================= */

.hero {
  position: relative;
  overflow: hidden;
  background: #fff;

  padding: 110px 0 120px;

  border-bottom: 1px solid var(--border);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 0.85fr;

  gap: 90px;

  align-items: center;
}

.hero-content h1 span {
  display: block;
  color: var(--primary);
}

.hero-text {
  max-width: 650px;

  margin: 30px 0;

  font-size: 1.15rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-note {
  margin-top: 20px;

  font-size: 0.82rem;
  color: #858b95;
}


/* =========================
   Upload preview
========================= */

.hero-card {
  overflow: hidden;
  position: relative;

  background: white;

  border: 1px solid var(--border);
  border-radius: var(--radius-large);

  box-shadow:
    0 25px 60px rgba(15,23,42,.10),
    0 8px 20px rgba(15,23,42,.05);
}


.hero-card::before {
  content: "";

  position: absolute;
  inset: 0;

  border-radius: inherit;

  pointer-events: none;

  border: 1px solid rgba(241, 103, 27, 0.18);
}

.window-bar {
  height: 42px;

  display: flex;
  align-items: center;

  gap: 6px;

  padding: 0 16px;

  background: #f4f5f7;

  border-bottom: 1px solid var(--border);
}

.window-bar span {
  width: 8px;
  height: 8px;

  border-radius: 50%;

  background: #c7cbd1;
}

.upload-preview {
  padding: 48px 42px;
}

.upload-icon {
  width: 48px;
  height: 48px;

  display: flex;
  align-items: center;
  justify-content: center;

  margin-bottom: 20px;

  border-radius: 10px;

  background: #f3f4f6;
  color: #6b7280;

  font-size: 1.4rem;
}

.upload-preview h3 {
  font-size: 1.6rem;
}

.upload-preview p {
  margin-top: 7px;
}

.upload-area {
  margin-top: 28px;
  padding: 30px;

  text-align: center;

  border: 1px dashed #cdd1d7;
  border-radius: 10px;

  background: #fafafa;
}

.upload-area span {
  display: block;

  font-weight: 650;
}

.upload-area small {
  display: block;

  margin-top: 4px;

  color: #858b95;
}

.upload-progress {
  margin-top: 25px;
}

.progress-header {
  display: flex;
  justify-content: space-between;

  margin-bottom: 8px;

  font-size: 0.78rem;
  color: #666c76;
}

.progress-bar {
  height: 6px;

  overflow: hidden;

  border-radius: 10px;

  background: #e5e7ea;
}

.progress-bar div {
  width: 100%;
  height: 100%;

  background: var(--primary);
}


/* =========================
   Sections
========================= */

.section {
  padding: 110px 0;
}

.section-light {
  background: #f6f8fb;
}

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

.section-dark {
  background: var(--bg-dark);
  color: white;
}

.section-heading {
  max-width: 720px;

  margin-bottom: 35px;
}

.section-heading p {
  margin-top: 20px;

  font-size: 1.05rem;
}

.section-heading-dark p {
  color: #9ba1ab;
}

.section-heading-dark .eyebrow {
  color: #8f96a1;
}


/* =========================
   Features
========================= */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);

  gap: 40px;

  background: transparent;
  border: none;
}

.feature {
  min-height: 180px;

  padding: 32px;

  position: relative;
  text-align: center;
}





.feature-icon {
  width: 64px;
  height: 64px;

  margin: 0 auto 24px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 999px;

  background: rgba(37,99,235,.04);
  color: #D99A00;
  opacity: 1;
}

.feature:nth-child(1) .feature-icon {
  color: #3b82f6;
}

.feature:nth-child(2) .feature-icon {
  color: #6366f1;
}

.feature:nth-child(3) .feature-icon {
  color: #14b8a6;
}

.feature:nth-child(4) .feature-icon {
  color: #f59e0b;
}

.feature h3 {
  margin-bottom: 14px;
}

.feature-icon svg {
  width: 24px;
  height: 24px;
}

.feature h3 {
  font-size: 1.35rem;
  letter-spacing: -0.03em;
}


.feature p {
  margin: 0;

  font-size: 0.92rem;
  line-height: 1.7;
}



/* =========================
   Steps
========================= */

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);

  gap: 50px;
}

.step {
  position: relative;

  padding-top: 45px;

  border-top: 1px solid var(--border);
}

.step-number {
  position: absolute;
  top: 15px;
  right: 0;

  font-size: 0.75rem;
  font-weight: 700;

  color: #9aa0a9;
}

.step p {
  margin-top: 13px;
}


/* =========================
   Editions
========================= */

.edition-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);

  gap: 24px;
}

.edition-card {
  position: relative;

  padding: 32px 36px;

  border: 1px solid #30343c;
  border-radius: var(--radius-large);

  background: #171a20;
}

.edition-card-featured {
  border-color: #606671;

  background: #1b1e25;
}

.popular-badge {
  position: absolute;
  top: -12px;
  right: 28px;

  padding: 4px 12px;

  background: var(--primary);
  color: white;

  border-radius: 20px;

  font-size: 0.7rem;
  font-weight: 700;

  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.edition-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;

  gap: 20px;
}

.edition-label {
  display: block;

  margin-bottom: 10px;

  font-size: 0.75rem;
  font-weight: 700;

  color: #a2a8b2;

  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.edition-card h3 {
  font-size: 2.5rem;
  color: white;
}

.edition-card h3 small {
  font-size: 0.72rem;
  font-weight: 500;
  color: #9299a4;
  letter-spacing: 0;
}

.price-note {
  display: block;

  margin-top: 4px;

  font-size: 0.75rem;
  color: #9299a4;
}

.edition-description {
  min-height: 0;

  margin: 20px 0 22px;

  color: #a5abb4;
}

.feature-list {
  padding: 0;

  margin: 0 0 26px;

  list-style: none;
}

.feature-list li {
  display: flex;
  gap: 9px;

  padding: 5px 0;

  font-size: 0.86rem;

  color: #d1d5db;
}

.feature-list li span {
  color: #aeb4bd;
}

.edition-included {
  padding: 8px 0 4px;
  border: none;
}

.edition-included h4,
.edition-highlights h4 {
  margin: 0 0 8px;

  font-size: 0.72rem;
  font-weight: 700;

  color: #9da4ae;

  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.edition-included p {
  margin: 0;

  font-size: 0.82rem;
  line-height: 1.5;

  color: #858c97;
}

.edition-highlights {
  padding-top: 8px;
}

.edition-highlights .feature-list {
  margin-bottom: 0;
}

.edition-more {
  margin-top: 22px;
  margin-bottom: 22px;
}

.edition-more a {
  font-size: 0.8rem;
  font-weight: 600;

  color: #b8bec7;
}

.edition-more a:hover {
  color: white;
}

.edition-more span {
  margin-left: 4px;
}


/* =========================
   Architecture
========================= */

#how-it-works {
  background: #ffffff;
}

.workflow-timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 64px;
  margin-top: 72px;
}

.workflow-line {
  position: absolute;
  top: 28px;
  left: 16%;
  right: 16%;
  height: 2px;
  background: var(--primary-border);
  z-index: 1;
}

.workflow-item {
  position: relative;
  z-index: 2;
  text-align: center;
}

.workflow-dot {
  width: 56px;
  height: 56px;

  margin: 0 auto 24px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 999px;

  background: white;
  border: 2px solid var(--primary-border);

  color: var(--primary-text);

  font-weight: 700;
}


.architecture-grid {
  display: grid;
  grid-template-columns: 1fr 0.9fr;

  gap: 100px;

  align-items: center;
}

.architecture-grid > div > p {
  max-width: 600px;

  margin: 25px 0;
}

.architecture-list {
  padding: 0;

  margin: 35px 0 0;

  list-style: none;
}

.architecture-list li {
  display: flex;
  flex-direction: column;

  padding: 16px 0;

  border-bottom: 1px solid var(--border);
}

.architecture-list strong {
  font-size: 0.95rem;
}

.architecture-list span {
  font-size: 0.82rem;

  color: var(--text-muted);
}

.architecture-diagram {
  padding: 40px;

  text-align: center;

  border: 1px solid var(--border);
  border-radius: var(--radius-large);

  background: var(--bg-light);
}

.diagram-node {
  padding: 18px;

  border: 1px solid #d9dce1;
  border-radius: 9px;

  background: white;

  font-weight: 650;
}

.diagram-node-highlight {
  border-color: #aeb3bb;

  background: #f0f1f3;
}

.diagram-arrow {
  padding: 10px;

  color: #9aa0a9;
}

.diagram-caption {
  margin-top: 25px;

  font-size: 0.78rem;

  color: #7d838c;
}


/* =========================
   Philosophy
========================= */

.philosophy {
  max-width: 850px;

  text-align: center;
}

.philosophy h2 {
  max-width: 800px;

  margin: 0 auto;
}

.philosophy p {
  max-width: 700px;

  margin: 25px auto 35px;

  font-size: 1.05rem;
}

.philosophy-values {
  display: flex;
  justify-content: center;

  gap: 10px;

  flex-wrap: wrap;
}

.philosophy-values span {
  padding: 8px 14px;

  border: 1px solid var(--border);
  border-radius: 20px;

  font-size: 0.78rem;
  font-weight: 650;
}


/* =========================
   Documentation
========================= */

.documentation {
  padding: 70px;

  border: 1px solid var(--border);
  border-radius: var(--radius-large);

  background: var(--bg-light);
}

.documentation-content {
  max-width: 720px;
}

.documentation-content p {
  margin: 22px 0 28px;

  font-size: 1rem;
}


/* =========================
   Contact
========================= */

.contact-section {
  padding-top: 80px;
  padding-bottom: 80px;
}

.contact {
  display: flex;
  justify-content: space-between;
  align-items: center;

  gap: 40px;
}

.contact h2 {
  margin-bottom: 12px;
}

.contact p {
  margin: 0;
}

.contact-email {
  font-size: 1.15rem;
  font-weight: 650;

  border-bottom: 1px solid #b9bdc4;
}

.contact-email:hover {
  border-color: var(--text);
}


/* =========================
   Footer
========================= */

.site-footer {
  padding: 55px 0 35px;

  background: #111318;

  color: white;
}

.footer-inner {
  display: grid;

  grid-template-columns: 1fr auto;

  gap: 40px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 5px;
}

.footer-logo {
  width: auto;
  height: 38px;
  display: block;
}

.footer-brand span {
  color: #aeb4bd;
  font-size: 0.85rem;
  line-height: 1.4;
}

.footer-tagline {
  margin-top: 5px;

  font-size: 0.8rem;

  color: #858b95;
}

.footer-links {
  display: flex;

  gap: 22px;

  font-size: 0.8rem;

  color: #a0a6af;
}

.footer-links a {
  color: #aeb4bd;
  font-size: 0.875rem;
  transition: color 0.18s ease;
}

.footer-links a:hover {
  color: white;
}

.footer-bottom {
  color: #8f96a1;
  font-size: 0.8rem;
}


/* =========================
   Responsive
========================= */

@media (max-width: 1000px) {

  .nav-links {
    display: none;
  }

  .hero-grid,
  .architecture-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    gap: 60px;
  }

  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps {
    gap: 30px;
  }

  .architecture-grid {
    gap: 60px;
  }
}


@media (max-width: 700px) {

  .container {
    width: min(var(--container), calc(100% - 32px));
  }

  .nav {
    min-height: 64px;
  }

  .brand-by {
    display: none;
  }

  .nav-cta {
    padding: 8px 13px;
  }

  .hero {
    padding: 75px 0 80px;
  }

  .section {
    padding: 75px 0;
  }

  .feature-grid,
  .edition-grid,
  .steps {
    grid-template-columns: 1fr;
  }

  .edition-card {
    padding: 30px;
  }

  .upload-preview {
    padding: 35px 25px;
  }

  .architecture-diagram {
    padding: 25px;
  }

  .documentation {
    padding: 35px 25px;
  }

  .contact {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }

  .footer-links {
    flex-wrap: wrap;
  }

}