:root {
  --orange: #fc6e1f;
  --orange-dark: #d95a16;
  --orange-100: #fff4ed;
  --orange-200: #ffe0cf;
  --ink: #242427;
  --muted: #62646a;
  --line: #e7e4df;
  --soft: #f6f3ef;
  --panel: #ffffff;
  --charcoal: #3f3f42;
  --green: #2f9f6b;
  --green-dark: #248a5a;
  --blue: #2877b9;
  --red: #d75144;
  --shadow: 0 18px 50px rgba(27, 24, 21, 0.11);
  --shadow-sm: 0 4px 16px rgba(27, 24, 21, 0.06);
  --shadow-lg: 0 24px 64px rgba(27, 24, 21, 0.14);
  --radius: 8px;
  --radius-lg: 12px;
  --transition: 200ms ease;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: Archivo, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: inherit;
}

.skip-link {
  position: fixed;
  left: 1rem;
  top: 1rem;
  z-index: 100;
  transform: translateY(-140%);
  background: var(--ink);
  color: #fff;
  padding: 0.75rem 1rem;
  border-radius: 6px;
  font-weight: 600;
}

.skip-link:focus {
  transform: translateY(0);
}

.container {
  width: min(1120px, calc(100% - 32px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(231, 228, 223, 0.8);
  backdrop-filter: blur(14px);
  transition: box-shadow var(--transition);
}

.site-header.is-scrolled {
  box-shadow: var(--shadow-sm);
}

.header-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1.5rem;
}

.header-inner .brand {
  margin-right: auto;
  order: 1;
}

.header-inner .site-nav {
  order: 2;
}

.header-inner .lang-switcher {
  order: 3;
}

.header-inner .menu-button {
  order: 4;
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.brand img {
  width: 140px;
  height: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-weight: 600;
  color: #4a4b50;
  font-size: 0.95rem;
}

.site-nav a {
  text-decoration: none;
  transition: color var(--transition);
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--orange);
}

.menu-button {
  display: none;
  width: 52px;
  height: 52px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  grid-template-rows: repeat(3, auto);
  place-items: center;
  gap: 5px;
  padding: 0;
  cursor: pointer;
  transition: background var(--transition);
  overflow: visible;
}

.menu-button:hover {
  background: var(--soft);
}

.menu-button span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  transition: transform var(--transition), opacity var(--transition), background var(--transition);
}

.menu-button.is-active span {
  background: var(--orange-dark);
}

.menu-button.is-active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-button.is-active span:nth-child(2) {
  opacity: 0;
}

.menu-button.is-active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.85rem 1.5rem;
  border: 0;
  border-radius: 6px;
  background: var(--orange);
  color: #fff;
  font: inherit;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 12px 24px rgba(252, 110, 31, 0.24);
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
}

.button:hover {
  background: var(--orange-dark);
  transform: translateY(-1px);
  box-shadow: 0 16px 32px rgba(252, 110, 31, 0.28);
}

.button:active {
  transform: translateY(0);
}

.button-secondary {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.45);
  box-shadow: none;
}

.button-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: none;
  box-shadow: none;
}

/* Light-background variant: dark ink on white, for buttons on .section / .section-muted */
.button-ghost {
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

.button-ghost:hover {
  background: var(--soft);
  border-color: var(--orange);
  color: var(--orange-dark);
  box-shadow: var(--shadow-sm);
}

.button-small {
  min-height: 40px;
  padding: 0.55rem 1.1rem;
  font-size: 0.875rem;
  color: #fff !important;
}

.hero {
  color: #fff;
  background:
    linear-gradient(135deg, rgba(62, 62, 64, 0.99), rgba(71, 71, 69, 0.98)),
    radial-gradient(circle at 80% 38%, rgba(252, 110, 31, 0.22), transparent 28%);
  overflow: hidden;
  padding-block: 5rem 3rem;
}

.hero-grid {
  min-height: 680px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(380px, 1fr);
  align-items: center;
  gap: 3.5rem;
  padding-block: 0 1rem;
}

.eyebrow {
  margin: 0 0 0.75rem;
  color: var(--orange);
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.eyebrow > span:first-child {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--orange);
  opacity: 0.7;
  min-width: 2ch;
  position: relative;
}

.eyebrow > span:first-child::after {
  content: "—";
  margin-left: 0.5rem;
  opacity: 0.4;
}

.eyebrow-light {
  color: #ffe0cf;
}

h1,
h2,
h3,
p {
  overflow-wrap: break-word;
}

h1 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(2.5rem, 4.5vw, 4rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
}

h2 {
  margin: 0;
  font-size: clamp(1.85rem, 3.5vw, 2.75rem);
  line-height: 1.12;
  letter-spacing: -0.01em;
}

h3 {
  margin: 0 0 0.5rem;
  font-size: 1.15rem;
  line-height: 1.3;
  font-weight: 700;
}

.hero-lead {
  max-width: 600px;
  margin: 1.25rem 0 0;
  color: #eee9e3;
  font-size: 1.2rem;
  line-height: 1.5;
}

.hero-support {
  max-width: 580px;
  margin: 0.85rem 0 0;
  color: #ddd7cf;
  font-size: 0.95rem;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0 0 1rem;
  padding: 0.5rem 0.85rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.13);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
}

.cell-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #45d483;
  display: inline-block;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.75rem;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  max-width: 480px;
  margin: 2.5rem 0 0;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.metrics div {
  min-width: 0;
}

.metrics dt {
  font-size: 1.75rem;
  font-weight: 800;
  line-height: 1;
}

.metrics dd {
  margin: 0.25rem 0 0;
  color: #d8d4d0;
  font-size: 0.85rem;
}

.hero-visual {
  justify-self: end;
  width: min(100%, 560px);
}

.hero-visual img {
  width: 100%;
  filter: drop-shadow(0 24px 40px rgba(0, 0, 0, 0.24));
}

.site-footer img {
  width: 140px;
  height: auto;
}

.section {
  padding-block: 4.5rem;
  background: #fff;
}

.section-white {
  background: #fff;
}

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

.section-head {
  margin-bottom: 2.5rem;
}

.section-head p:not(.eyebrow) {
  margin: 0.85rem 0 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.section-intro {
  color: var(--muted);
  font-size: 1.05rem;
  margin-top: 0.85rem;
}

.section-intro a {
  color: var(--orange);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.section-intro a:hover {
  text-decoration: none;
}

.section-foot {
  margin: 2rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

/* Skills Grid */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.skill-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: box-shadow var(--transition), border-color var(--transition), transform var(--transition);
}

.skill-card:hover {
  box-shadow: var(--shadow);
  border-color: var(--orange);
  transform: translateY(-2px);
}

.skill-icon {
  width: 48px;
  height: 48px;
  display: inline-grid;
  place-items: center;
  border-radius: 10px;
  margin-bottom: 1rem;
  color: #fff;
}

.skill-icon--orange { background: var(--orange); }
.skill-icon--green { background: var(--green); }
.skill-icon--blue { background: var(--blue); }
.skill-icon--ink { background: var(--ink); }

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

.skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.skill-tags li {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  background: var(--soft);
  color: var(--muted);
  border: 1px solid var(--line);
}

/* Problem Grid */
.problem-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.problem-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.35rem;
}

.problem-card p {
  color: var(--muted);
}

.problem-meta {
  display: flex;
  gap: 0.5rem;
  margin: 0 0 0.75rem;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 0.8rem;
  font-weight: 500;
}

.cell-ref {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
  background: var(--soft);
  color: var(--muted);
}

.err-tag {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
  background: rgba(215, 81, 68, 0.1);
  color: var(--red);
}

/* Service List */
.service-list {
  display: flex;
  flex-direction: column;
}

.service-row {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 1.25rem;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  transition: background var(--transition), padding-left var(--transition);
}

.service-row:first-child {
  border-top: 1px solid var(--line);
}

.service-row:hover {
  background: var(--panel);
  padding-left: 2rem;
}

.service-index {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--muted);
}

.service-swap {
  font-weight: 700;
  font-size: 1.05rem;
}

.service-swap i {
  font-style: normal;
  text-decoration: line-through;
  color: var(--muted);
}

.service-desc {
  color: var(--muted);
  font-size: 0.9rem;
}

.service-arrow {
  font-size: 1.25rem;
  color: var(--orange);
  transition: transform var(--transition);
}

.service-row:hover .service-arrow {
  transform: translateX(4px);
}

/* Case Grid */
.case-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.case-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow var(--transition);
}

.case-card:hover {
  box-shadow: var(--shadow);
}

.case-body {
  padding: 1.35rem;
}

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

.case-label {
  margin: 0 0 0.5rem;
  color: var(--orange) !important;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.case-grid dl {
  display: grid;
  gap: 0.75rem;
  margin: 1rem 0 0;
}

.case-grid dt {
  color: var(--ink);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.case-grid dd {
  margin: 0.15rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

/* Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.step {
  text-align: center;
  padding: 1.5rem;
}

.step-num {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--orange);
  margin: 0 0 0.75rem;
  letter-spacing: 0.1em;
}

.step h3 {
  font-size: 1.2rem;
  margin-bottom: 0.65rem;
}

.step p {
  color: var(--muted);
  font-size: 0.95rem;
}

/* Solutions */
.solutions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.solutions article {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
}

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

.solutions ul {
  margin: 0.85rem 0 0;
  padding-left: 1.15rem;
}

.formula-chip {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 0.8rem;
  font-weight: 500;
  padding: 0.35rem 0.75rem;
  border-radius: 6px;
  background: var(--soft);
  color: var(--muted);
  display: inline-block;
  margin-bottom: 0.85rem;
}

/* Logo Cloud */
.logo-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.logo-cloud span {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.55rem 1rem;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  color: #4d4b48;
}

/* FAQ */
.faq-list {
  max-width: 800px;
}

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

.faq-item[open] summary .faq-icon {
  transform: rotate(45deg);
}

.faq-item summary {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1.25rem 0;
  cursor: pointer;
  list-style: none;
  font-weight: 600;
}

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

.faq-index {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--orange);
  flex-shrink: 0;
}

.faq-question {
  flex: 1;
}

.faq-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  position: relative;
  transition: transform var(--transition);
}

.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  background: var(--muted);
  border-radius: 1px;
}

.faq-icon::before {
  width: 12px;
  height: 2px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.faq-icon::after {
  width: 2px;
  height: 12px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.faq-item > div {
  padding: 0 0 1.25rem 2.5rem;
}

.faq-item > div p {
  color: var(--muted);
  margin: 0;
}

/* Contact Section */
.contact-section {
  padding-block: 4.5rem;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(63, 63, 66, 0.98), rgba(252, 110, 31, 0.9)),
    var(--charcoal);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.85fr);
  gap: 3rem;
  align-items: start;
}

.contact-copy h2 {
  margin-bottom: 0.75rem;
}

.contact-grid > div > p:not(.eyebrow) {
  color: #fff3ed;
  font-size: 1.05rem;
}

.contact-promise {
  margin: 1rem 0 0;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 0.9rem;
  color: #45d483;
  font-weight: 600;
}

.contact-list {
  display: grid;
  gap: 0.85rem;
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
}

.contact-list li {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 1rem;
  align-items: baseline;
}

.contact-list strong {
  color: #ffe2d0;
  font-weight: 600;
}

.contact-list a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.contact-list a:hover {
  text-decoration: none;
}

.contact-form {
  color: var(--ink);
  background: var(--panel);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-lg);
}

.contact-form h3 {
  margin: 0 0 1rem;
  font-size: 1.2rem;
}

.contact-form label {
  display: block;
  margin: 0.85rem 0 0.35rem;
  font-weight: 700;
  font-size: 0.9rem;
}

.contact-form .required {
  color: var(--red);
  font-weight: 400;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid #d6d1ca;
  border-radius: 6px;
  padding: 0.75rem 0.85rem;
  color: var(--ink);
  font: inherit;
  font-size: 0.95rem;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(252, 110, 31, 0.15);
}

.contact-form textarea {
  resize: vertical;
  min-height: 120px;
}

.hp-field {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  width: 0;
  overflow: hidden;
}

.hp-field input {
  pointer-events: none;
}

.contact-form .button {
  width: 100%;
  margin-top: 1rem;
}

.form-status {
  min-height: 1.5rem;
  margin: 0.75rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

/* Footer */
.site-footer {
  background: #242427;
  color: #ddd8d2;
  padding-block: 2rem;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.footer-inner p {
  margin: 0;
  text-align: right;
  font-size: 0.9rem;
}

.footer-formula {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 0.8rem;
  color: #8a8782;
}

.footer-updated {
  font-size: 0.75rem;
  color: #62646a;
  padding-block: 1rem;
  text-align: center;
}

.footer-nav {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 1.5rem;
  padding-top: 1.75rem;
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.5rem;
}

.footer-cols h2 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #8a8782;
  margin: 0 0 0.6rem;
  font-weight: 600;
}

.footer-cols ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-cols li {
  margin: 0 0 0.4rem;
}

.footer-cols a {
  color: #ddd8d2;
  text-decoration: none;
  font-size: 0.9rem;
}

.footer-cols a:hover,
.footer-cols a:focus {
  color: #fff;
  text-decoration: underline;
}

/* Hero Visual Elements */
.sheet {
  background: #fff;
  border-radius: 8px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.sheet-old {
  margin-bottom: 1.5rem;
}

.sheet-head {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1rem;
  background: #f0efed;
  border-bottom: 1px solid var(--line);
}

.sheet-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ddd;
}

.sheet-dot:nth-child(1) { background: #ff5f57; }
.sheet-dot:nth-child(2) { background: #febc2e; }
.sheet-dot:nth-child(3) { background: #28c840; }

.sheet-title {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 0.75rem;
  color: var(--muted);
  margin-left: 0.5rem;
}

.sheet-formula {
  padding: 0.5rem 1rem;
  background: #f8f7f5;
  border-bottom: 1px solid var(--line);
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 0.8rem;
  color: var(--muted);
}

.sheet-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.8rem;
}

.sheet-table th,
.sheet-table td {
  padding: 0.45rem 0.65rem;
  border: 1px solid var(--line);
  text-align: left;
}

.sheet-table th {
  background: #f8f7f5;
  font-weight: 600;
  color: var(--ink);
}

.sheet-table td {
  color: var(--ink);
}

.sheet-table .err {
  color: var(--red);
  font-weight: 600;
}

.hero-fx {
  text-align: center;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--orange);
  margin: 1rem 0;
}

.app-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.65rem 1rem;
  background: var(--soft);
  border-bottom: 1px solid var(--line);
}

.app-title {
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--ink);
}

.app-pill {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: rgba(47, 159, 107, 0.12);
  color: var(--green);
}

.app-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.55rem 1rem;
  border-bottom: 1px solid var(--line);
}

.app-label {
  font-size: 0.8rem;
  font-weight: 500;
  min-width: 180px;
  color: var(--ink);
}

.app-bar {
  flex: 1;
  height: 8px;
  background: var(--soft);
  border-radius: 4px;
  overflow: hidden;
}

.app-bar i {
  display: block;
  height: 100%;
  background: var(--green);
  border-radius: 4px;
}

.app-ok {
  color: var(--green);
  font-size: 0.9rem;
}

.app-foot {
  display: flex;
  gap: 1rem;
  padding: 0.55rem 1rem;
  font-size: 0.7rem;
  color: var(--muted);
}

/* Strike and highlight */
.strike {
  text-decoration: line-through;
  opacity: 0.55;
}

.highlight {
  color: var(--orange);
  font-weight: 800;
}

/* Responsive */
@media (max-width: 900px) {
  .menu-button {
    display: grid;
    position: relative;
    z-index: 10;
  }

  .site-nav {
    position: absolute;
    inset: 72px 0 auto 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.75rem 1rem 1rem;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-sm);
    z-index: 1;
  }

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

  .site-nav a {
    padding: 0.85rem 0;
  }

  .site-nav .button {
    margin-top: 0.4rem;
  }

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

  .hero-grid {
    min-height: auto;
    padding-block: 0;
  }

  .hero-visual {
    justify-self: start;
    max-width: 520px;
  }

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

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

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

@media (max-width: 620px) {
  .container {
    width: min(100% - 24px, 1120px);
  }

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

  .site-nav {
    inset-block-start: 64px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .metrics,
  .skills-grid,
  .problem-grid,
  .case-grid,
  .solutions {
    grid-template-columns: 1fr;
  }

  .section,
  .contact-section {
    padding-block: 3rem;
  }

  .contact-list li {
    grid-template-columns: 1fr;
    gap: 0.15rem;
  }

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

  .footer-inner p {
    text-align: left;
  }

  .service-row {
    grid-template-columns: auto 1fr auto;
  }

  .service-desc {
    display: none;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Language Switcher */
.lang-switcher {
  display: inline-flex;
  align-items: center;
}

.lang-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 0.75rem;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-weight: 700;
  font-size: 0.875rem;
  cursor: pointer;
  transition: all var(--transition);
  flex-shrink: 0;
}

.lang-btn:hover {
  border-color: var(--orange);
  color: var(--orange);
  background: var(--orange-100);
}

.lang-btn:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 2px;
}

@media (max-width: 900px) {
  .header-inner {
    gap: 0.5rem;
  }

  .header-inner .brand {
    order: 1;
  }

  .header-inner .lang-switcher {
    order: 2;
  }

  .header-inner .menu-button {
    order: 3;
  }

  .header-inner .site-nav {
    order: 4;
  }

  .lang-switcher {
    margin-left: auto;
    position: relative;
    z-index: 10;
  }

  .lang-btn {
    min-width: 36px;
    height: 36px;
    padding: 0 0.5rem;
    font-size: 0.8rem;
  }
}

/* Comparison Table */
.comparison-table-wrapper {
  overflow-x: auto;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.comparison-table thead th {
  padding: 0.85rem 1rem;
  font-weight: 700;
  text-align: left;
  border-bottom: 2px solid var(--ink);
}

.comparison-table thead th:first-child {
  width: 30%;
}

.comparison-table tbody td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.comparison-table tbody td:first-child {
  font-weight: 600;
  color: var(--ink);
}

.comparison--no {
  color: var(--muted);
}

.comparison--yes {
  color: var(--green);
  font-weight: 600;
}

/* Focus visible */
:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 2px;
}

/* Hide reCAPTCHA badge by default, show on form focus */
.grecaptcha-badge {
  visibility: hidden;
  opacity: 0;
  transition: visibility 0.3s, opacity 0.3s;
}

.contact-form:focus-within ~ .grecaptcha-badge,
.contact-section:target ~ .grecaptcha-badge,
body.form-active .grecaptcha-badge {
  visibility: visible;
  opacity: 1;
}

/* Founder / About */
.founder {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}
.founder-avatar {
  flex: none;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: var(--orange);
  color: #fff;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-weight: 600;
  font-size: 2rem;
  letter-spacing: 0.05em;
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-sm);
}
.founder-bio {
  flex: 1 1 320px;
}
.founder-bio h3 {
  margin: 0 0 0.25rem;
}
.founder-role {
  color: var(--muted);
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 0.9rem;
  margin: 0 0 1rem;
}
.founder-tags {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 0;
  margin: 1.25rem 0;
}
.founder-tags li {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 0.8rem;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.25rem 0.75rem;
}
.founder-note {
  background: var(--orange-100);
  border-left: 3px solid var(--orange);
  padding: 0.75rem 1rem;
  border-radius: 6px;
  margin-top: 1rem;
}
.founder-links {
  margin: 0 0 1rem;
}
.founder-linkedin {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 600;
  color: var(--blue);
  text-decoration: none;
}
.founder-linkedin:hover,
.founder-linkedin:focus-visible {
  color: var(--orange);
}
.founder-linkedin svg {
  flex: none;
}

/* Cookie consent */
.consent-bar {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 60;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  max-width: 720px;
  margin-inline: auto;
  background: var(--ink);
  color: #fff;
  padding: 1rem 1.25rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.consent-text {
  margin: 0;
  font-size: 0.9rem;
  flex: 1 1 260px;
}
.consent-text a {
  color: var(--orange-200);
}
.consent-actions {
  display: flex;
  gap: 0.5rem;
  flex: none;
}
.consent-bar .button {
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
}
.consent-bar .button-secondary {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.4);
}

.lang-btn {
  text-decoration: none;
}
