:root {
  --blue-950: #061942;
  --blue-850: #082b70;
  --blue-700: #0b4fb3;
  --blue-600: #0e63d8;
  --blue-100: #eaf3ff;
  --blue-50: #f4f8ff;
  --red: #e30613;
  --ink: #101828;
  --muted: #5f6f85;
  --line: #d8e3f0;
  --surface: #ffffff;
  --soft: #f7f9fc;
  --shadow: 0 18px 42px rgba(6, 25, 66, 0.12);
  --radius: 8px;
  --container: 1160px;
  --font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--surface);
  font-family: var(--font);
  line-height: 1.6;
  overflow-x: hidden;
}

img,
svg {
  display: block;
}

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

button,
input,
select {
  font: inherit;
}

.container {
  width: min(100% - 40px, var(--container));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(216, 227, 240, 0.85);
  backdrop-filter: blur(18px);
}

.header-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  gap: 22px;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 210px;
}

.brand-link img {
  width: 44px;
  height: 44px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: 0 8px 18px rgba(227, 6, 19, 0.18);
}

.brand-link strong {
  display: block;
  color: var(--blue-950);
  font-size: 1rem;
  line-height: 1.1;
  letter-spacing: 0;
}

.brand-link small {
  display: block;
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.2;
  letter-spacing: 0;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}

.site-nav a {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 650;
  padding: 10px 12px;
  border-radius: var(--radius);
  transition: color 180ms ease, background 180ms ease;
}

.site-nav a:hover,
.site-nav a.is-active {
  color: var(--blue-700);
  background: var(--blue-50);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  color: var(--blue-950);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 750;
  line-height: 1.15;
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

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

.btn-primary {
  color: #fff;
  background: var(--blue-700);
  box-shadow: 0 12px 28px rgba(11, 79, 179, 0.22);
}

.btn-primary:hover {
  background: var(--blue-600);
}

.btn-soft,
.btn-header {
  color: var(--blue-700);
  background: var(--surface);
  border-color: var(--line);
}

.btn-soft:hover,
.btn-header:hover {
  border-color: var(--blue-600);
  background: var(--blue-50);
}

.btn-header {
  min-height: 42px;
  padding: 10px 14px;
  margin-left: 6px;
}

.hero {
  position: relative;
  overflow: hidden;
  background: var(--blue-50) url("../assets/logo-yojam.jpeg") right 8% center / 360px no-repeat;
  border-bottom: 1px solid var(--line);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.78);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 460px;
  gap: 48px;
  align-items: center;
  padding: 58px 0 46px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 22px;
  color: var(--blue-700);
  font-weight: 800;
  letter-spacing: 0;
}

.status-dot {
  width: 10px;
  height: 10px;
  background: var(--red);
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(227, 6, 19, 0.11);
}

.hero h1,
.page-hero h1 {
  margin: 0;
  color: var(--blue-950);
  font-size: 4.2rem;
  line-height: 0.98;
  letter-spacing: 0;
}

.hero-slogan {
  margin: 18px 0 0;
  color: var(--red);
  font-size: 1.22rem;
  font-weight: 850;
}

.hero-lede,
.page-hero p,
.section-lede {
  color: var(--muted);
  font-size: 1.08rem;
  max-width: 680px;
}

.hero-lede {
  margin: 18px 0 0;
}

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

.trust-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 34px;
  max-width: 720px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 68px;
  padding: 14px;
  color: var(--blue-950);
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.trust-item svg {
  color: var(--blue-700);
  flex: 0 0 auto;
}

.trust-item strong {
  display: block;
  font-size: 0.94rem;
  line-height: 1.2;
}

.trust-item span {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.2;
}

.request-shell,
.contact-panel,
.blue-panel {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.request-shell {
  overflow: hidden;
}

.request-shell-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 18px;
  border-bottom: 1px solid var(--line);
}

.request-shell-header img {
  width: 42px;
  height: 42px;
  object-fit: cover;
  border-radius: var(--radius);
}

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

.request-shell-header strong {
  display: block;
  color: var(--blue-950);
}

.request-shell-header span {
  color: var(--muted);
  font-size: 0.84rem;
}

.request-status {
  color: var(--blue-700);
  font-size: 0.82rem;
  font-weight: 800;
}

.form-tabs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  padding: 16px 16px 0;
}

.form-tab {
  min-height: 42px;
  color: var(--blue-950);
  background: var(--blue-50);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-weight: 800;
  cursor: pointer;
}

.form-tab.is-active {
  color: #fff;
  background: var(--blue-700);
  border-color: var(--blue-700);
}

.request-form {
  padding: 18px;
}

.form-heading {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 18px;
}

.form-heading h2 {
  margin: 0;
  color: var(--blue-950);
  font-size: 1.25rem;
  letter-spacing: 0;
}

.form-heading p {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.webhook-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  align-self: flex-start;
  color: var(--blue-700);
  background: var(--blue-50);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 7px 9px;
  font-size: 0.78rem;
  font-weight: 800;
  white-space: nowrap;
}

.field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.field {
  display: grid;
  gap: 7px;
}

.field span:first-child {
  color: var(--blue-950);
  font-size: 0.85rem;
  font-weight: 800;
}

.field input,
.field select {
  width: 100%;
  min-height: 44px;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 10px 12px;
  outline: none;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.field input:focus,
.field select:focus {
  border-color: var(--blue-600);
  box-shadow: 0 0 0 4px rgba(14, 99, 216, 0.11);
}

.file-field input {
  position: absolute;
  inline-size: 1px;
  block-size: 1px;
  opacity: 0;
  pointer-events: none;
}

.file-field {
  position: relative;
}

.file-control {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  color: var(--blue-700);
  background: var(--blue-50);
  border: 1px dashed var(--blue-600);
  border-radius: 6px;
  padding: 10px 12px;
  cursor: pointer;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.form-note {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.form-status {
  margin-top: 12px;
  min-height: 0;
  color: var(--blue-950);
  font-size: 0.9rem;
  font-weight: 750;
}

.form-status.is-success,
.form-status.is-error {
  padding: 11px 12px;
  border-radius: var(--radius);
}

.form-status.is-success {
  color: var(--blue-950);
  background: var(--blue-50);
  border: 1px solid var(--line);
}

.form-status.is-error {
  color: var(--red);
  background: #fff7f7;
  border: 1px solid rgba(227, 6, 19, 0.22);
}

.signal-strip {
  background: var(--blue-950);
  color: #fff;
}

.signal-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: rgba(255, 255, 255, 0.18);
}

.signal-grid > div {
  padding: 24px;
  background: var(--blue-950);
}

.signal-grid strong {
  display: block;
  font-size: 1.1rem;
  line-height: 1.2;
}

.signal-grid span {
  display: block;
  margin-top: 5px;
  color: rgba(255, 255, 255, 0.76);
}

.section {
  padding: 76px 0;
}

.section-muted {
  background: var(--soft);
}

.section-blue {
  color: #fff;
  background: var(--blue-950);
}

.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 32px;
}

.section-kicker {
  margin: 0 0 10px;
  color: var(--red);
  font-weight: 850;
  letter-spacing: 0;
}

.section h1,
.section h2,
.page-hero h1 {
  letter-spacing: 0;
}

.section-title,
.section-header h2 {
  margin: 0;
  color: var(--blue-950);
  font-size: 2.25rem;
  line-height: 1.08;
}

.section-blue .section-title,
.section-blue .section-header h2,
.section-blue .section-lede,
.section-blue .section-kicker {
  color: #fff;
}

.section-blue .section-kicker {
  color: #ffccd1;
}

.section-blue .section-lede {
  color: rgba(255, 255, 255, 0.74);
}

.services-grid,
.future-grid,
.values-grid,
.contact-grid,
.two-column {
  display: grid;
  gap: 18px;
}

.services-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.future-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-card,
.capability-card,
.value-card {
  min-height: 230px;
  padding: 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.service-card:hover,
.capability-card:hover,
.value-card:hover {
  transform: translateY(-3px);
  border-color: rgba(14, 99, 216, 0.34);
  box-shadow: 0 18px 34px rgba(6, 25, 66, 0.1);
}

.card-icon {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--blue-700);
  background: var(--blue-50);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.service-card span {
  display: inline-flex;
  margin-top: 18px;
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 850;
}

.service-card h2,
.capability-card h2,
.value-card h2 {
  margin: 10px 0 8px;
  color: var(--blue-950);
  font-size: 1.18rem;
  line-height: 1.2;
  letter-spacing: 0;
}

.service-card p,
.capability-card p,
.value-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.future-grid .capability-card {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.16);
}

.future-grid .capability-card h2 {
  color: #fff;
}

.future-grid .capability-card p {
  color: rgba(255, 255, 255, 0.72);
}

.future-grid .card-icon {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
}

.page-hero {
  background: var(--blue-50);
  border-bottom: 1px solid var(--line);
}

.page-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 44px;
  align-items: center;
  padding: 58px 0 48px;
}

.page-mark {
  justify-self: end;
  width: 260px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.page-mark img {
  width: 72%;
  height: 72%;
  object-fit: cover;
  border-radius: var(--radius);
}

.architecture-flow {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.flow-step {
  position: relative;
  min-height: 118px;
  padding: 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.flow-step span {
  display: block;
  color: var(--red);
  font-size: 0.8rem;
  font-weight: 900;
}

.flow-step strong {
  display: block;
  margin-top: 10px;
  color: var(--blue-950);
  line-height: 1.2;
}

.flow-step::after {
  content: "";
  position: absolute;
  right: -9px;
  top: 50%;
  width: 14px;
  height: 2px;
  background: var(--blue-600);
}

.flow-step:nth-child(5)::after,
.flow-step:last-child::after {
  display: none;
}

.two-column {
  grid-template-columns: 1.05fr 0.95fr;
  align-items: start;
}

.blue-panel {
  padding: 28px;
  background: var(--blue-950);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: none;
}

.blue-panel h2,
.blue-panel h3 {
  margin: 0 0 12px;
  color: #fff;
  letter-spacing: 0;
}

.blue-panel p,
.blue-panel li {
  color: rgba(255, 255, 255, 0.78);
}

.principle-list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 20px 0 0;
  list-style: none;
}

.principle-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.principle-list svg {
  flex: 0 0 auto;
  color: #fff;
}

.timeline {
  display: grid;
  gap: 14px;
}

.timeline-item {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}

.timeline-item span {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--blue-700);
  border-radius: var(--radius);
  font-weight: 900;
}

.timeline-item h2 {
  margin: 0 0 4px;
  color: var(--blue-950);
  font-size: 1.16rem;
  letter-spacing: 0;
}

.timeline-item p {
  margin: 0;
  color: var(--muted);
}

.faq-list {
  display: grid;
  gap: 12px;
  max-width: 860px;
  margin: 0 auto;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.faq-item summary {
  cursor: pointer;
  padding: 18px 20px;
  color: var(--blue-950);
  font-weight: 850;
}

.faq-item p {
  margin: 0;
  padding: 0 20px 20px;
  color: var(--muted);
}

.contact-grid {
  grid-template-columns: 0.8fr 1.2fr;
  align-items: start;
}

.contact-panel {
  padding: 24px;
}

.contact-panel h2 {
  margin: 0 0 12px;
  color: var(--blue-950);
  letter-spacing: 0;
}

.contact-list {
  display: grid;
  gap: 12px;
  margin: 22px 0 0;
}

.contact-list > a,
.contact-list > span {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
}

.contact-list svg {
  color: var(--blue-700);
}

.site-footer {
  background: #061942;
  color: #fff;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr;
  gap: 34px;
  padding: 44px 0;
}

.footer-brand strong,
.footer-grid h2 {
  color: #fff;
}

.footer-brand small,
.footer-grid p,
.footer-grid a,
.footer-grid span {
  color: rgba(255, 255, 255, 0.72);
}

.footer-grid h2 {
  margin: 0 0 12px;
  font-size: 1rem;
  letter-spacing: 0;
}

.footer-grid a,
.footer-grid span {
  display: block;
  margin-top: 9px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 0;
  color: rgba(255, 255, 255, 0.62);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.88rem;
}

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 480ms ease, transform 480ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1040px) {
  .btn-header {
    display: none;
  }

  .hero-grid,
  .page-hero-inner,
  .two-column,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .page-mark {
    justify-self: start;
    width: 180px;
  }

  .services-grid,
  .future-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .architecture-flow {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .flow-step:nth-child(5)::after {
    display: block;
  }

  .flow-step:nth-child(even)::after,
  .flow-step:last-child::after {
    display: none;
  }
}

@media (max-width: 820px) {
  .container {
    width: min(100% - 28px, var(--container));
  }

  .header-inner {
    min-height: 68px;
  }

  .brand-link {
    min-width: auto;
  }

  .brand-link small {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
    margin-left: auto;
  }

  .site-nav {
    position: absolute;
    left: 14px;
    right: 14px;
    top: 76px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 13px 12px;
  }

  .hero {
    background: var(--blue-50) url("../assets/logo-yojam.jpeg") right 18px top 24px / 140px no-repeat;
  }

  .hero::after {
    background: rgba(255, 255, 255, 0.82);
  }

  .hero-grid {
    gap: 30px;
    padding: 42px 0 34px;
  }

  .hero h1,
  .page-hero h1 {
    font-size: 3rem;
  }

  .hero-slogan {
    font-size: 1.08rem;
  }

  .trust-row,
  .signal-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 56px 0;
  }

  .section-header {
    display: grid;
    gap: 12px;
  }

  .section-title,
  .section-header h2 {
    font-size: 1.95rem;
  }

  .field-grid {
    grid-template-columns: 1fr;
  }

  .form-heading {
    display: grid;
  }

  .services-grid,
  .future-grid,
  .architecture-flow {
    grid-template-columns: 1fr;
  }

  .flow-step::after {
    display: none;
  }

  .footer-bottom {
    display: grid;
  }
}

@media (max-width: 520px) {
  .hero h1,
  .page-hero h1 {
    font-size: 2.4rem;
  }

  .hero-actions,
  .form-actions {
    display: grid;
  }

  .btn {
    width: 100%;
  }

  .request-shell-header {
    align-items: flex-start;
  }

  .request-status {
    display: none;
  }
}

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

  .reveal {
    opacity: 1;
    transform: none;
  }
}
