:root {
  --bg: #f4f8ff;
  --bg2: #e9f1fb;
  --panel: #ffffff;
  --panel2: #f4f8ff;
  --stroke: #d4dfed;
  --text: #15243d;
  --muted: #425575;
  --muted2: #6a7c9c;
  --accent: #f2c94c;
  --accent2: #2d9cdb;
  --good: #27ae60;
  --shadow: 0 18px 50px rgba(16, 35, 62, 0.14);
  --shadow-soft: 0 22px 48px rgba(16, 35, 62, 0.1);
  --radius: 18px;
  --radius2: 14px;
  --max: 1160px;
  --header-offset: 74px;
  --mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  --display: "Fraunces", "Times New Roman", Times, serif;
  --sans: "Plus Jakarta Sans", "Segoe UI", Helvetica, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--text);
  padding-top: var(--header-offset);
  background: radial-gradient(900px 700px at 5% 0%, rgba(242, 201, 76, 0.22), transparent 60%),
    radial-gradient(800px 600px at 95% 10%, rgba(45, 156, 219, 0.2), transparent 55%),
    radial-gradient(700px 600px at 40% 100%, rgba(242, 201, 76, 0.12), transparent 60%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg2) 100%);
  line-height: 1.55;
}

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

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: repeating-linear-gradient(90deg, rgba(24, 38, 63, 0.06) 0 1px, transparent 1px 90px),
    repeating-linear-gradient(0deg, rgba(24, 38, 63, 0.06) 0 1px, transparent 1px 90px),
    radial-gradient(2px 2px at 20% 20%, rgba(24, 38, 63, 0.1), transparent 45%),
    radial-gradient(2px 2px at 80% 35%, rgba(24, 38, 63, 0.08), transparent 45%);
  opacity: 0.16;
  pointer-events: none;
  z-index: -1;
}

a:hover {
  text-decoration: underline;
}

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  background: var(--panel);
  border: 1px solid var(--stroke);
}

.skip-link:focus {
  left: 10px;
  z-index: 999;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 100;
  backdrop-filter: blur(12px);
  background: rgba(246, 250, 255, 0.9);
  border-bottom: 1px solid var(--stroke);
  box-shadow: 0 8px 26px rgba(16, 35, 62, 0.12);
}

.tech-marquee {
  border-bottom: 1px solid var(--stroke);
  background: rgba(240, 246, 255, 0.92);
  overflow: hidden;
}

.tech-track {
  display: flex;
  align-items: center;
  gap: 26px;
  padding: 10px 0;
  width: max-content;
  animation: marquee 35s linear infinite;
}

.tech-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--stroke);
  background: var(--panel2);
  white-space: nowrap;
  font-size: 0.9rem;
  color: var(--muted);
  text-decoration: none;
}

.tech-item:hover {
  color: var(--text);
  background: rgba(45, 156, 219, 0.12);
}

.tech-item:focus-visible {
  outline: 2px solid rgba(242, 201, 76, 0.6);
  outline-offset: 2px;
}

.tech-item img {
  width: 22px;
  height: 22px;
  display: block;
  object-fit: contain;
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .tech-track {
    animation: none;
  }
}
.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 12px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  font-weight: 760;
  letter-spacing: 0.2px;
  font-family: var(--display);
  font-size: 1.1rem;
}

.nav {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
}

.nav a {
  padding: 6px 8px;
  border-radius: 12px;
  border: 1px solid transparent;
  color: var(--muted);
  font-weight: 560;
  letter-spacing: 0.02em;
  font-size: 0.92rem;
}

.nav a:hover {
  text-decoration: none;
  color: var(--text);
  border-color: var(--stroke);
  background: rgba(45, 156, 219, 0.1);
}

.nav-dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.nav-dropdown summary {
  list-style: none;
  padding: 6px 8px;
  border-radius: 12px;
  border: 1px solid transparent;
  color: var(--muted);
  font-weight: 560;
  letter-spacing: 0.02em;
  font-size: 0.92rem;
  cursor: pointer;
  user-select: none;
}

.nav-dropdown summary::after {
  content: "v";
  margin-left: 6px;
  font-size: 0.72rem;
  color: var(--muted);
}

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

.nav-dropdown summary:hover,
.nav-dropdown[open] summary {
  text-decoration: none;
  color: var(--text);
  border-color: var(--stroke);
  background: rgba(45, 156, 219, 0.1);
}

.nav-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 260px;
  padding: 8px;
  border-radius: 14px;
  border: 1px solid var(--stroke);
  background: var(--panel2);
  box-shadow: 0 16px 36px rgba(16, 35, 62, 0.14);
  display: none;
  z-index: 20;
}

.nav-dropdown[open] .nav-menu {
  display: grid;
  gap: 4px;
}

.nav-menu a {
  display: block;
  padding: 6px 10px;
  border-radius: 10px;
}

.nav-menu a:hover {
  background: rgba(45, 156, 219, 0.12);
}

.nav a.lang {
  border-color: var(--stroke);
  background: var(--panel);
  color: var(--text);
}

.nav a.lang:hover {
  background: rgba(45, 156, 219, 0.14);
}

.nav a.nav-contact {
  border-color: rgba(242, 201, 76, 0.5);
  background: linear-gradient(135deg, rgba(242, 201, 76, 0.25), rgba(45, 156, 219, 0.2));
  color: var(--text);
  font-weight: 700;
}

.nav a.nav-contact:hover {
  background: linear-gradient(135deg, rgba(242, 201, 76, 0.35), rgba(45, 156, 219, 0.28));
}

.hero {
  padding: 56px 0 28px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 24px;
  align-items: start;
}

.hero-copy {
  padding: 22px 22px 18px;
  border-radius: var(--radius);
  border: 1px solid var(--stroke);
  background: var(--panel);
  box-shadow: var(--shadow-soft);
}

.kicker {
  color: var(--muted);
  font-family: var(--mono);
  letter-spacing: 0.2px;
  margin: 0 0 10px;
}

h1 {
  margin: 0 0 14px;
  font-size: clamp(32px, 4vw, 46px);
  line-height: 1.08;
  letter-spacing: -0.7px;
  font-family: var(--display);
}

.lead {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 1.06rem;
}

.cta-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 10px 0 18px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 14px;
  border-radius: 14px;
  border: 1px solid var(--stroke);
  background: var(--panel2);
  color: var(--text);
  font-weight: 650;
  text-decoration: none;
  box-shadow: 0 1px 0 rgba(16, 35, 62, 0.08) inset;
}

.btn:hover {
  text-decoration: none;
  background: rgba(45, 156, 219, 0.12);
}

.btn.primary {
  background: linear-gradient(135deg, rgba(242, 201, 76, 0.95) 0%, rgba(45, 156, 219, 0.95) 100%);
  border-color: rgba(242, 201, 76, 0.6);
  color: #10203b;
  box-shadow: 0 18px 60px rgba(242, 201, 76, 0.25);
}

.btn.primary:hover {
  background: linear-gradient(135deg, rgba(242, 201, 76, 1) 0%, rgba(45, 156, 219, 1) 100%);
}

.meta-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.meta-card {
  padding: 12px 14px;
  border-radius: var(--radius2);
  border: 1px solid var(--stroke);
  background: var(--panel);
}

.meta-k {
  font-size: 0.82rem;
  color: var(--muted2);
  margin-bottom: 4px;
  font-family: var(--mono);
}

.meta-v {
  font-weight: 600;
  color: var(--muted);
}

.hero-panel {
  padding: 16px 16px 14px;
  border-radius: var(--radius);
  border: 1px solid var(--stroke);
  background: var(--panel);
  box-shadow: var(--shadow);
  overflow: visible;
  position: relative;
  z-index: 1;
}

.panel-title {
  font-weight: 760;
  letter-spacing: -0.2px;
  margin-bottom: 4px;
}

.panel-sub {
  color: var(--muted);
  margin-bottom: 14px;
}

.panel-cards {
  display: grid;
  gap: 10px;
  margin-bottom: 14px;
}

.panel-card {
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid var(--stroke);
  background: var(--panel2);
  box-shadow: 0 12px 28px rgba(16, 35, 62, 0.12);
}

.panel-card h4 {
  margin: 0 0 4px;
  font-size: 1rem;
  font-family: var(--display);
}

.panel-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.panel-divider {
  height: 1px;
  background: var(--stroke);
  margin: 14px 0;
}

.diagram {
  width: 100%;
  height: auto;
  border-radius: 14px;
  border: 1px solid var(--stroke);
  background: var(--panel2);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  transform-origin: center;
  cursor: zoom-in;
}

.diagram:hover {
  transform: scale(2);
  box-shadow: 0 28px 70px rgba(16, 35, 62, 0.25);
  z-index: 5;
}

@media (max-width: 900px) {
  .diagram:hover {
    transform: scale(1.6);
  }
}

.panel-note {
  margin-top: 10px;
  font-size: 0.9rem;
  color: var(--muted2);
}

.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 20px;
  align-items: center;
}

.about-card {
  padding: 18px;
  border-radius: var(--radius);
  border: 1px solid var(--stroke);
  background: var(--panel);
  box-shadow: var(--shadow-soft);
}

.about-photo {
  margin: 0;
}

.about-photo img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  border: 1px solid var(--stroke);
  display: block;
}

.about-name {
  font-family: var(--display);
  font-size: 2rem;
  margin: 0 0 8px;
}

.about-role {
  color: var(--muted);
  font-weight: 600;
  margin: 0 0 14px;
}

.about-body p {
  margin: 0 0 12px;
  color: var(--muted);
}

.about-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.about-tags span {
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--stroke);
  background: var(--panel);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--muted);
}

.about-social {
  display: flex;
  align-items: center;
  gap: 10px;
}

.about-social-icon {
  width: 1em;
  height: 1em;
  flex: 0 0 auto;
  display: inline-block;
}

.about-social-link {
  color: var(--text);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.about-social-link:hover {
  text-decoration-thickness: 2px;
}

.section {
  padding: 50px 0;
  scroll-margin-top: calc(var(--header-offset) + 16px);
}

.section-to-top-row {
  display: flex;
  justify-content: flex-end;
  margin-top: 18px;
}

.section-to-top {
  padding: 8px 12px;
  font-size: 0.88rem;
}

.section.alt {
  background: rgba(232, 240, 251, 0.72);
  border-top: 1px solid rgba(184, 198, 220, 0.9);
  border-bottom: 1px solid rgba(184, 198, 220, 0.9);
}

.section-head h2 {
  margin: 0 0 8px;
  font-size: 1.95rem;
  letter-spacing: -0.4px;
  font-family: var(--display);
}

.section-head p {
  margin: 0 0 22px;
  color: var(--muted);
  max-width: 72ch;
}

.logo-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
}

.logo-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  min-width: 120px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--stroke);
  background: var(--panel);
  transition: transform 0.15s ease;
  gap: 8px;
}

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

.logo-item img {
  height: 26px;
  max-width: 120px;
  width: auto;
  display: block;
  object-fit: contain;
}

.logo-item span {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--muted);
  white-space: nowrap;
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-weight: 600;
}

.contact-item img {
  width: 20px;
  height: 20px;
  display: block;
}

.contact-item a {
  color: var(--text);
  font-weight: 600;
}

.section-lead {
  color: var(--muted2);
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  margin: 0 0 10px;
  font-family: var(--mono);
}

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

.card {
  padding: 16px 16px 14px;
  border-radius: var(--radius);
  border: 1px solid var(--stroke);
  background: var(--panel);
  box-shadow: 0 14px 36px rgba(16, 35, 62, 0.12);
  position: relative;
}

.card::before {
  content: "";
  position: absolute;
  inset: 10px 10px auto auto;
  width: 18px;
  height: 18px;
  border-top: 2px solid rgba(242, 201, 76, 0.6);
  border-right: 2px solid rgba(45, 156, 219, 0.6);
}

.card h3 {
  margin: 0 0 8px;
  letter-spacing: -0.2px;
  font-family: var(--display);
}

.card p {
  margin: 0 0 10px;
  color: var(--muted);
}

.card ul {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
}

.card li {
  margin: 6px 0;
}

.featured-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 20px;
}

.card.featured {
  position: relative;
  border: 1px solid rgba(242, 201, 76, 0.45);
  background: var(--panel);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.card.featured:nth-child(1) {
  grid-column: span 2;
}

.card.featured::after {
  content: "";
  position: absolute;
  inset: auto -40px -60px auto;
  width: 140px;
  height: 140px;
  background: radial-gradient(circle, rgba(45, 156, 219, 0.2), transparent 70%);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(242, 201, 76, 0.55);
  background: rgba(242, 201, 76, 0.12);
  color: #7a5a00;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

.service {
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: 0 14px 36px rgba(16, 35, 62, 0.12);
}

.service[open] {
  box-shadow: var(--shadow-soft);
}

.service summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px;
  cursor: pointer;
}

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

.service-title {
  font-family: var(--display);
  font-size: 1.1rem;
  margin: 0 0 4px;
}

.service-sub {
  color: var(--muted);
  font-size: 0.95rem;
  margin: 0;
}

.service-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.service-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.service-logos a {
  display: inline-flex;
  align-items: center;
}

.service-logos img {
  height: 26px;
  max-width: 120px;
  width: auto;
  display: block;
  object-fit: contain;
}

.service-body {
  padding: 0 16px 16px;
  border-top: 1px dashed var(--stroke);
}

.service-body p {
  color: var(--muted);
}

.workflow {
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid var(--stroke);
  background: var(--panel2);
}

.workflow h4 {
  margin: 0 0 8px;
  font-family: var(--display);
}

.workflow ol,
.workflow ul {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
}

.workflow li {
  margin: 6px 0;
}

.service.featured {
  border: 1px solid rgba(242, 201, 76, 0.45);
  background: var(--panel);
}

.service.featured summary {
  background: linear-gradient(90deg, rgba(242, 201, 76, 0.12), rgba(45, 156, 219, 0.1));
  border-radius: var(--radius) var(--radius) 0 0;
}

.service .chevron {
  width: 12px;
  height: 12px;
  border-right: 2px solid var(--muted);
  border-bottom: 2px solid var(--muted);
  transform: rotate(-45deg);
  transition: transform 0.2s ease;
  margin-left: auto;
}

.service[open] .chevron {
  transform: rotate(45deg);
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

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

.pillbox {
  padding: 16px;
  border-radius: var(--radius);
  border: 1px solid var(--stroke);
  background: var(--panel);
}

.pillbox h3 {
  margin: 0 0 10px;
}

.pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pills span {
  padding: 7px 10px;
  border-radius: 999px;
  border: 1px solid var(--stroke);
  background: var(--panel);
  color: var(--muted);
  font-weight: 600;
  font-size: 0.92rem;
}

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

.spacer {
  height: 18px;
}

.t-item {
  display: grid;
  grid-template-columns: 16px 1fr;
  gap: 12px;
  padding: 16px;
  border-radius: var(--radius);
  border: 1px solid var(--stroke);
  background: var(--panel);
}

.t-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  margin-top: 7px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent2) 100%);
  box-shadow: 0 0 0 3px rgba(242, 201, 76, 0.2);
}

.t-body h3 {
  margin: 0 0 6px;
}

.t-body p {
  margin: 0 0 10px;
  color: var(--muted);
}

.t-body ul {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
}

.footer-cta {
  margin-top: 18px;
  padding: 18px;
  border-radius: var(--radius);
  border: 1px solid var(--stroke);
  background: linear-gradient(
    135deg,
    rgba(242, 201, 76, 0.2) 0%,
    rgba(45, 156, 219, 0.15) 55%,
    rgba(255, 255, 255, 0.86) 100%
  );
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
}

.footer-cta h3 {
  margin: 0 0 6px;
}

.footer-cta p {
  margin: 0;
  color: var(--muted);
  max-width: 78ch;
}

.site-footer {
  border-top: 1px solid var(--stroke);
  padding: 20px 0;
  background: var(--panel);
}


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

.footer-brand {
  font-weight: 760;
  font-family: var(--display);
}

.footer-small {
  color: var(--muted2);
  font-size: 0.92rem;
}

@media (max-width: 980px) {
  .header-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .nav {
    width: 100%;
    justify-content: flex-start;
    gap: 8px;
  }
  .nav-dropdown {
    position: relative;
    flex-basis: auto;
    align-items: center;
  }
  .nav-dropdown summary {
    width: auto;
  }
  .nav-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: auto;
    min-width: 260px;
    width: min(90vw, 340px);
    margin-top: 0;
    max-height: 56vh;
    overflow-y: auto;
    z-index: 120;
  }
  .nav-menu a {
    padding: 8px 10px;
  }
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .about-grid {
    grid-template-columns: 1fr;
  }
  .featured-grid {
    grid-template-columns: 1fr;
  }
  .service summary {
    flex-direction: column;
    align-items: flex-start;
  }
  .cards {
    grid-template-columns: 1fr 1fr;
  }
  .grid-3 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .cards {
    grid-template-columns: 1fr;
  }
  .meta-row {
    grid-template-columns: 1fr;
  }
  .grid-2 {
    grid-template-columns: 1fr;
  }
  .footer-cta {
    flex-direction: column;
    align-items: stretch;
  }
}
