/* Forge by DevUP landing page.
   No build step, no external requests, system fonts only.
   The palette is the Forge brand: ink #20211E, paper #F2F0E9, ember #ED603B.
   One fixed theme; the page does not follow the visitor's light or dark setting. */

:root {
  --ink: #20211e;
  --paper: #f2f0e9;
  --paper-2: #e7e7dd;
  --muted: #62635c;
  --line: #d0d0c6;
  --ember: #ed603b;
  --ember-hot: #ff7956;
  --ember-deep: #a93d22;
  --darkline: #484940;
  --light: #bbbdb1;
  --gutter: clamp(22px, 5.8vw, 94px);
  --sans: Arial, Helvetica, sans-serif;
  --mono: "Courier New", monospace;
}

/* Base */

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 24px; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--ember); color: var(--ink); }

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

a:focus-visible, summary:focus-visible { outline: 3px solid var(--ember); outline-offset: 6px; }

p { line-height: 1.65; margin: 0; }

h1, h2, h3 { margin: 0; font-weight: 500; letter-spacing: -.055em; line-height: 1.04; }

h2 { font-size: clamp(38px, 5.3vw, 76px); }

h3 { font-size: 30px; }

img { max-width: 100%; }

.wrap { max-width: 1600px; margin: auto; padding-inline: var(--gutter); }

.mono, .eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  line-height: 1.5;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.eyebrow { display: flex; gap: 12px; align-items: center; margin: 0 0 28px; }

.eyebrow::before { content: ""; width: 7px; height: 7px; background: var(--ember); flex: none; }

.dark { color: var(--paper); background: var(--ink); }

.section { padding-block: 100px; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 8vw; }

.intro { max-width: 530px; color: var(--muted); font-size: 18px; }

.section-heading { display: flex; justify-content: space-between; gap: 40px; align-items: end; margin-bottom: 54px; }

.section-heading .intro { max-width: 365px; font-size: 16px; }

.button {
  display: inline-flex;
  justify-content: space-between;
  align-items: center;
  gap: 42px;
  padding: 18px 22px;
  background: var(--ember);
  color: var(--ink);
  font-weight: 700;
  font-size: 14px;
  line-height: 1.4;
  transition: background .2s, transform .2s;
}

.button:hover { background: var(--ember-hot); transform: translateY(-2px); }

.text-link {
  display: inline-flex;
  gap: 24px;
  align-items: center;
  font-size: 14px;
  padding: 14px 0;
  border-bottom: 1px solid currentColor;
}

.text-link:hover { color: var(--ember); }

.skip { position: fixed; top: -100px; left: 16px; background: var(--paper); color: var(--ink); z-index: 10; padding: 14px; }

.skip:focus { top: 16px; }

/* Header */

.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding-block: 28px;
  border-bottom: 1px solid var(--darkline);
}

.brand { display: flex; align-items: center; gap: 12px; }

.wordmark { font-size: 28px; font-weight: 900; letter-spacing: -.08em; }

.mark { width: 26px; height: 28px; display: block; }

.nav { display: flex; align-items: center; gap: 32px; font-size: 14px; }

.nav a { padding-block: 8px; }

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

.nav .lang-switch { font-family: var(--mono); font-size: 12px; letter-spacing: .09em; border: 1px solid var(--darkline); padding: 6px 10px; }

.nav .lang-switch:hover { border-color: var(--ember); }

.nav .contact-link { border-bottom: 1px solid var(--ember); padding-bottom: 7px; }

/* Hero */

.hero { padding-top: 58px; padding-bottom: 34px; }

.hero-grid { display: grid; grid-template-columns: 1.08fr 1fr; gap: 4vw; align-items: center; }

.hero h1 { font-size: clamp(48px, 5.7vw, 86px); max-width: 980px; }

.hero h1 span { color: var(--ember); }

.hero-copy { max-width: 490px; color: var(--light); font-size: 18px; margin-top: 28px; }

.hero-copy strong { color: var(--paper); font-weight: 400; }

.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 34px; margin-top: 32px; }

.engineering-photo { margin: 0; position: relative; height: 540px; min-width: 0; overflow: hidden; background: #151813; }

.engineering-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 48% center; display: block; }

.engineering-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 45%, #10140ce8); }

.engineering-photo figcaption { position: absolute; bottom: 32px; left: 30px; right: 25px; z-index: 1; }

.engineering-photo figcaption .mono { display: block; color: #d4d5cc; margin-bottom: 12px; }

.engineering-photo figcaption strong { font-size: 30px; line-height: 1.12; font-weight: 400; letter-spacing: -.04em; display: block; max-width: 300px; }

.photo-tag {
  position: absolute;
  top: 20px;
  left: 20px;
  z-index: 1;
  background: #181c16d9;
  border: 1px solid #ffffff30;
  padding: 10px 12px;
  font: 12px var(--mono);
  color: #e5e8dc;
}

.journey {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--darkline);
  margin-top: 45px;
  padding-top: 25px;
  gap: 18px;
  color: var(--light);
}

.journey span { white-space: nowrap; }

.journey i { font-style: normal; color: var(--ember); }

.journey .active { color: var(--paper); }

/* 01 The next challenge */

.problem h2 { max-width: 520px; }

.problem .intro { margin-bottom: 36px; }

.questions { border-top: 1px solid var(--line); }

.question { display: flex; align-items: baseline; gap: 24px; padding: 20px 0; border-bottom: 1px solid var(--line); font-size: 18px; line-height: 1.5; }

.question .mono { color: var(--muted); }

.problem-note { color: var(--muted); font-size: 16px; margin-top: 28px; max-width: 470px; }

/* Before and after */

.transformation { padding-bottom: 85px; }

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

.example { min-width: 0; background: #e6e6df; border: 1px solid #cbcdc3; padding: 22px; }

.example.after { background: #dce1d6; border-color: #bec5b5; }

.example-label { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 22px; }

.example-label .mono { letter-spacing: .04em; }

.environment { font: 12px var(--mono); background: #d3d4cb; padding: 6px 8px; }

.environment.live { background: #27392d; color: #d9efdc; }

.browser-bar { background: #d4d7ce; padding: 12px 15px; display: flex; gap: 20px; color: #53594d; font: 12px var(--mono); border-bottom: 1px solid #c3c6bb; }

.window-dots { font-size: 9px; letter-spacing: 2px; color: #8d9585; }

.prototype-app { padding: 25px; background: #fafbf7; min-height: 294px; }

.app-brand { font-size: 18px; font-weight: 700; letter-spacing: -.06em; }

.prototype-app h3 { font-size: 23px; letter-spacing: -.03em; margin: 21px 0 8px; }

.prototype-app p { font-size: 14px; color: #6b7065; }

.slot { border: 1px solid #dadfd3; margin-top: 13px; padding: 10px 12px; display: flex; justify-content: space-between; font-size: 14px; }

.slot span { font-size: 12px; background: #e9ece3; padding: 3px 9px; }

.code-pane { background: #222821; color: #d4ddca; padding: 20px; min-height: 216px; }

.file-label { font: 12px var(--mono); color: #abb5a2; }

.code-pane pre { font: 13px/1.6 var(--mono); margin: 14px 0 0; white-space: pre-wrap; overflow-wrap: anywhere; }

.code-pane code { font: inherit; }

.code-purple { color: #c2aceb; }

.code-blue { color: #a5d5de; }

.code-orange { color: #ecae7f; }

.production-app { background: #fafbf7; padding: 22px; min-height: 294px; }

.app-header { display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid #e0e4d9; padding-bottom: 15px; }

.brand-square { color: #bd4829; margin-left: 5px; }

.avatar { border-radius: 50%; background: #e4e9db; padding: 8px; font-size: 11px; }

.dashboard-title { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 19px; }

.tiny-label { font: 10px var(--mono); color: #667059; }

.dashboard-title h3 { font-size: 21px; letter-spacing: -.035em; margin-top: 6px; }

.secure-label { font-size: 10px; color: #4b653d; }

.app-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 20px 0; }

.app-metrics div { border-left: 2px solid #ccd7bf; padding-left: 12px; }

.app-metrics span { font-size: 11px; display: block; color: #636c58; }

.app-metrics strong { font-size: 29px; font-weight: 500; letter-spacing: -.04em; display: block; margin-top: 6px; }

.booking-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; border-top: 1px solid #e0e4d9; padding-top: 13px; }

.booking-row b { font-size: 12px; font-weight: 500; }

.booking-row small { display: block; font-size: 10px; color: #667059; margin-top: 5px; }

.booking-row em { font-size: 10px; font-style: normal; color: #3f5c34; background: #e8eedf; padding: 6px 8px; }

.release-pane { background: #202a23; padding: 22px; min-height: 216px; color: #dce5d6; font-size: 13px; }

.release-title { display: flex; justify-content: space-between; align-items: center; }

.release-success { background: #334c39; padding: 6px 10px; color: #b7e7c3; font-size: 12px; }

.pipeline { display: flex; justify-content: space-between; gap: 8px; margin-top: 25px; padding-bottom: 20px; border-bottom: 1px solid #495546; font-size: 12px; color: #c9dabc; }

.runtime { display: flex; align-items: center; justify-content: space-between; margin-top: 17px; gap: 15px; font-size: 12px; }

.runtime svg { width: 45%; height: 35px; }

.example-caption { padding: 25px 4px 5px; }

.example-caption h3 { font-size: 26px; margin-bottom: 12px; }

.example-caption p { font-size: 16px; color: #5c6454; max-width: 450px; }

.engineering-strip { line-height: normal; display: flex; flex-wrap: wrap; gap: 16px 28px; padding: 25px 0; border-bottom: 1px solid var(--line); font-size: 13px; }

.engineering-strip > span { color: var(--muted); }

.engineering-strip strong { font-weight: 400; }

.engineering-strip strong::before { content: "+ "; color: var(--ember-deep); }

/* 02 The Forge process */

.process { border-top: 1px solid var(--line); }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }

.step { padding: 30px 32px 36px; min-height: 285px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.step-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 37px; }

.step-num { color: var(--muted); }

.step-glyph { width: 31px; height: 31px; fill: none; stroke: var(--ink); stroke-width: 1.4; }

.step h3 { font-size: 23px; letter-spacing: -.025em; margin-bottom: 16px; }

.step p { font-size: 16px; color: var(--muted); max-width: 330px; }

.step:last-child { background: var(--paper-2); }

/* 03 Beyond the launch */

.beyond { position: relative; overflow: hidden; }

.beyond h2 { max-width: 690px; }

.beyond h2 span { color: var(--ember); }

.beyond .intro { color: var(--light); max-width: 440px; margin-top: 6px; }

.beyond .intro p + p { margin-top: 22px; }

.loop { line-height: normal; margin-top: 64px; display: flex; align-items: center; border-top: 1px solid var(--darkline); border-bottom: 1px solid var(--darkline); padding-block: 28px; gap: 26px; }

.loop strong { font-size: clamp(25px, 3.2vw, 46px); font-weight: 400; letter-spacing: -.04em; }

.loop .line { height: 1px; flex: 1; background: var(--darkline); position: relative; }

.loop .line::after { content: "↗"; position: absolute; right: 0; top: -13px; font-size: 21px; color: var(--ember); }

.loop .mono { color: var(--light); margin-left: auto; max-width: 130px; }

/* 04 Your next chapter */

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

.path { padding: 40px; border: 1px solid var(--line); display: flex; flex-direction: column; }

.path.managed { background: var(--paper-2); }

.path .mono { color: var(--muted); margin-bottom: 33px; }

.path h3 { font-size: clamp(38px, 4vw, 58px); margin-bottom: 23px; }

.path > p:not(.mono) { color: var(--muted); font-size: 16px; max-width: 430px; }

.path ul, .price ul { list-style: none; padding: 0; margin: 30px 0; flex: 1; }

.path li, .price li { border-top: 1px solid #cbcdc1; padding: 14px 0; display: flex; gap: 12px; font-size: 14px; line-height: 1.5; }

.path li::before, .price li::before { content: "+"; color: var(--ember-deep); }

.path .text-link { align-self: flex-start; margin-top: 8px; }

/* 05 The free readiness check */

.check { border-top: 1px solid var(--line); }

.check h2 { max-width: 640px; }

.check .intro { margin-top: 28px; }

.check-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }

.check-list li { display: flex; align-items: baseline; gap: 24px; padding: 20px 0; border-bottom: 1px solid var(--line); font-size: 16px; line-height: 1.6; color: var(--muted); }

.check-list .mono { color: var(--muted); flex: none; }

.check-list strong { display: block; color: var(--ink); font-weight: 400; font-size: 18px; margin-bottom: 4px; }

/* 06 Pricing */

.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

.price { padding: 40px; border: 1px solid var(--line); display: flex; flex-direction: column; }

.price .mono { color: var(--muted); margin-bottom: 33px; }

.price h3 { font-size: 23px; letter-spacing: -.025em; margin-bottom: 22px; }

.price-amount { font-size: clamp(32px, 2.8vw, 44px); font-weight: 500; letter-spacing: -.055em; line-height: 1.04; white-space: nowrap; }

.price-amount span { display: block; font-size: 16px; letter-spacing: 0; line-height: 1.5; margin-top: 6px; color: var(--muted); }

.price-note { color: var(--muted); font-size: 15px; margin-top: 14px; }

.price ul { margin-bottom: 0; }

.price.featured { background: var(--ink); color: var(--paper); border-color: var(--ink); }

.price.featured .mono, .price.featured .price-note { color: var(--light); }

.price.featured .price-amount { color: var(--ember); }

.price.featured li { border-color: var(--darkline); }

.price.featured li::before { color: var(--ember); }

.fineprint { color: var(--muted); font-size: 14px; max-width: 760px; margin-top: 28px; }

/* 07 Questions */

.faq-section { border-top: 1px solid var(--line); }

.faq { border-top: 1px solid var(--line); }

.faq details { border-bottom: 1px solid var(--line); }

.faq summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 24px;
  padding: 22px 0;
  font-size: 18px;
  line-height: 1.5;
}

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

.faq summary::after { content: "+"; font-size: 22px; line-height: 1; color: var(--ember-deep); flex: none; }

.faq details[open] summary::after { content: "–"; }

.faq summary:hover { color: var(--ember-deep); }

.faq details p { color: var(--muted); font-size: 16px; max-width: 640px; padding-bottom: 26px; }

/* Forged by DevUP */

.devup { padding-block: 57px; border-top: 1px solid var(--line); display: grid; grid-template-columns: 1fr 1fr; gap: 8vw; align-items: center; }

.devup h2 { font-size: clamp(32px, 3.3vw, 48px); }

.devup h2 strong { font-weight: 800; letter-spacing: -.06em; }

.devup > p { color: var(--muted); max-width: 470px; font-size: 16px; }

.devup .eyebrow { margin-bottom: 20px; }

/* Call to action */

.cta { padding-block: 90px 74px; background: var(--ember); color: var(--ink); }

.cta .eyebrow::before { background: var(--ink); }

.cta h2 { font-size: clamp(49px, 7.3vw, 108px); max-width: 1000px; }

.cta-bottom { display: flex; justify-content: space-between; align-items: center; gap: 40px; margin-top: 40px; }

.cta-bottom p { max-width: 430px; font-size: 17px; }

.cta .button { background: var(--ink); color: var(--paper); flex-shrink: 0; }

.cta .button:hover { background: #35382f; }

.cta a:focus-visible, .cta summary:focus-visible { outline-color: var(--ink); }

.brief { margin-top: 30px; border-top: 1px solid #20211e50; padding-top: 20px; max-width: 760px; }

.brief summary { cursor: pointer; font-size: 14px; font-weight: 700; padding-block: 6px; }

.brief p { padding-top: 16px; max-width: 640px; font-size: 15px; }

.brief ol { padding-left: 22px; font-size: 15px; line-height: 1.8; }

.brief .small { font-size: 13px; }

.brief a { border-bottom: 1px solid currentColor; }

/* Footer */

.site-footer { padding-block: 30px; }

.footer-row { display: flex; justify-content: space-between; align-items: center; gap: 25px; }

.footer-row .mono { color: var(--light); }

.footer-row .wordmark { font-size: 22px; }

.footer-row > a:last-child { font-size: 12px; color: var(--light); }

.footer-links { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 28px; margin: 26px 0 0; padding: 22px 0 0; border-top: 1px solid var(--darkline); font-size: 13px; color: var(--light); }

.footer-links a:hover { color: var(--ember); }

.footer-note { color: var(--light); font-size: 12px; margin-top: 18px; }

/* Page not found */

.notfound { min-height: 100vh; display: flex; align-items: center; }

.notfound h1 { font-size: clamp(45px, 6vw, 86px); }

.notfound .hero-copy { max-width: 560px; }

/* Narrower screens */

@media (max-width: 1100px) {
  .nav { gap: 22px; }
  .price-grid { grid-template-columns: 1fr; }
  .price { padding: 30px; }
}

@media (max-width: 1000px) {
  .hero h1 { font-size: clamp(48px, 5.9vw, 70px); }
  .engineering-photo { height: 480px; }
  .section { padding-block: 76px; }
  .split { gap: 5vw; }
  .step { padding: 25px 23px; }
  .path { padding: 30px; }
  .loop .mono { display: none; }
  .example { padding: 16px; }
  .example-label { align-items: flex-start; flex-direction: column; }
  .dashboard-title { display: block; }
  .secure-label { display: none; }
  .app-metrics { gap: 7px; }
  .app-metrics div { padding-left: 8px; }
  .production-app, .prototype-app { padding: 18px; }
  .pipeline { font-size: 11px; }
  .code-pane { padding: 18px; }
  .code-pane pre { font-size: 12px; }
}

@media (max-width: 860px) {
  .nav a:not(.contact-link):not(.lang-switch) { display: none; }
  .nav { gap: 18px; }
}

@media (max-width: 700px) {
  .site-header { padding-block: 23px; }
  .hero { padding-top: 43px; }
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero h1 { font-size: clamp(45px, 9.4vw, 66px); }
  .hero-copy { max-width: 430px; }
  .hero .eyebrow { margin-bottom: 22px; }
  .engineering-photo { height: 370px; }
  .engineering-photo img { object-position: center; }
  .engineering-photo figcaption { left: 24px; bottom: 25px; }
  .engineering-photo figcaption strong { font-size: 29px; }
  .journey { margin-top: 38px; gap: 12px; flex-wrap: wrap; letter-spacing: .02em; }
  .section { padding-block: 60px; }
  .split { grid-template-columns: 1fr; gap: 30px; }
  .problem .intro { margin-bottom: 25px; }
  .problem-note { margin-top: 20px; }
  .section-heading { display: block; margin-bottom: 32px; }
  .section-heading .intro { margin-top: 24px; }
  .comparison { grid-template-columns: 1fr; gap: 26px; }
  .example-label { flex-direction: row; align-items: center; }
  .transformation { padding-bottom: 60px; }
  .dashboard-title h3 { font-size: 22px; }
  .app-metrics span, .booking-row small, .booking-row em, .pipeline, .tiny-label { font-size: 12px; }
  .app-metrics strong { font-size: 30px; }
  .booking-row b { font-size: 13px; }
  .code-pane pre { font-size: 13px; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .step { padding: 24px 18px; min-height: 320px; }
  .step h3 { font-size: 19px; }
  .step-top { margin-bottom: 25px; }
  .paths-grid { grid-template-columns: 1fr; }
  .path, .price { padding: 30px 26px; }
  .loop { gap: 20px; margin-top: 38px; }
  .loop strong { font-size: 26px; }
  .loop .line { min-width: 13px; }
  .check-list li, .question { gap: 16px; }
  .devup { grid-template-columns: 1fr; gap: 24px; padding-block: 42px; }
  .cta { padding-block: 58px; }
  .cta-bottom { align-items: flex-start; flex-direction: column; gap: 26px; }
  .cta h2 { font-size: clamp(45px, 9.8vw, 68px); }
  .footer-row { flex-wrap: wrap; }
  .footer-row .mono { order: 3; width: 100%; }
}

@media (max-width: 480px) {
  .steps { grid-template-columns: 1fr; }
  .step { min-height: 0; }
  .loop { gap: 12px; }
  .loop strong { font-size: 23px; }
  .button { gap: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

@media print {
  body { background: white; }
  .wrap { padding-inline: 24px; }
  .section { padding-block: 35px; }
  .nav, .button, .text-link, .brief, .footer-links, .footer-row > a:last-child { display: none; }
  .hero { padding-top: 30px; }
  .hero h1 { font-size: 55px; }
  .step, .path, .price, .faq details { break-inside: avoid; }
  .dark, .cta, .price.featured { print-color-adjust: exact; -webkit-print-color-adjust: exact; }
}
