
:root {
  --bg: #f3f7f8;
  --surface: #ffffff;
  --surface-alt: #f8fbfc;
  --text: #10202e;
  --muted: #5d7180;
  --navy: #0f1720;
  --navy-2: #16212b;
  --charcoal: #1f2a33;
  --accent: #14b8c5;
  --accent-soft: #c9f0f2;
  --line: #d6e1e5;
  --line-strong: #b9c8cf;
  --success: #1e7f65;
  --warning: #b07d00;
  --radius: 22px;
  --radius-sm: 16px;
  --shadow: 0 16px 44px rgba(15,23,32,.08);
  --container: 1200px;
  --header: 82px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.68;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
.container { width: min(calc(100% - 32px), var(--container)); margin-inline: auto; }
.skip-link { position: absolute; left: -999px; top: 0; }
.skip-link:focus { left: 12px; top: 12px; z-index: 2000; background: #fff; padding: 8px 12px; border-radius: 10px; }
.site-header {
  position: sticky; top: 0; z-index: 999;
  backdrop-filter: blur(18px);
  background: rgba(243,247,248,.84);
  border-bottom: 1px solid rgba(16,32,46,.06);
}
.header-inner { min-height: var(--header); display:flex; align-items:center; justify-content:space-between; gap:20px; }
.brand { display:flex; align-items:center; gap:14px; flex-shrink:0; }
.brand img { width: 44px; height: 44px; }
.brand-copy { display:flex; flex-direction:column; }
.brand-copy strong { font-size: 1rem; letter-spacing: .28em; color: var(--navy); }
.brand-copy small { font-size: .67rem; letter-spacing: .28em; color: var(--muted); }
.site-nav { display:flex; align-items:center; gap:26px; }
.site-nav a { color: var(--muted); font-weight: 600; position: relative; }
.site-nav a::after { content:''; position:absolute; left:0; bottom:-8px; width:0; height:2px; background: var(--accent); transition:.25s ease; }
.site-nav a:hover::after,
.site-nav a.active::after { width:100%; }
.site-nav a.active { color: var(--navy); }
.nav-actions { display:flex; align-items:center; gap:14px; }
.hamburger { display:none; width:46px; height:46px; border-radius: 14px; border:1px solid var(--line); background:#fff; }
.button, .button-outline {
  display:inline-flex; align-items:center; justify-content:center; gap:10px; padding:14px 22px;
  border-radius: 14px; font-weight:700; transition: transform .22s ease, box-shadow .22s ease, background .22s ease;
}
.button { background: var(--navy); color:#fff; box-shadow: 0 12px 24px rgba(15,23,32,.12); }
.button:hover, .button-outline:hover { transform: translateY(-2px); }
.button-outline { background: #fff; border:1px solid var(--line-strong); color:var(--navy); }
.button.small, .button-outline.small { padding: 10px 16px; font-size: .95rem; }
.page {
  animation: fadeIn .5s ease;
}
@keyframes fadeIn { from { opacity:0; transform: translateY(8px);} to { opacity:1; transform:translateY(0);} }
.hero {
  padding: 54px 0 40px;
}
.hero-grid { display:grid; grid-template-columns: 1.02fr .98fr; gap: 34px; align-items: center; }
.hero-grid.visual-left { grid-template-columns: .92fr 1.08fr; }
.hero-text h1, .page-hero h1, h2.section-title, .section-title, .major-title {
  font-size: clamp(2.3rem, 4vw, 4.35rem);
  line-height: .98;
  letter-spacing: -.04em;
  margin: 0 0 18px;
  color: var(--navy);
}
.hero-text .eyebrow, .eyebrow, .section-kicker {
  display:inline-flex; align-items:center; gap:10px; margin-bottom: 18px;
  text-transform: uppercase; letter-spacing: .22em; color: var(--muted); font-weight:700; font-size:.78rem;
}
.eyebrow::before, .section-kicker::before { content:''; width: 42px; height: 2px; background: var(--accent); }
.hero-text p.lead { font-size: 1.08rem; color: var(--muted); max-width: 60ch; }
.button-row { display:flex; flex-wrap:wrap; gap:14px; margin-top: 28px; }
.hero-identity {
  display:flex; flex-wrap:wrap; gap:14px; margin-top: 18px; color: var(--muted); font-size:.95rem; font-weight:600;
}
.hero-identity span {
  background: rgba(255,255,255,.75); border:1px solid var(--line); border-radius:999px; padding: 10px 14px;
}
.panel, .card, .stateless-empty, .diagram-box, .case-card, .trust-card, .step-card, .service-panel, .content-panel, .faq-item, .metric-card, .article-card, .article-section, .form-panel, .sticky-figure, .note-box {
  background: var(--surface); border:1px solid rgba(16,32,46,.08); border-radius: var(--radius); box-shadow: var(--shadow);
}
.hero-visual { overflow:hidden; border-radius: 28px; padding: 12px; background: linear-gradient(180deg, #fff, #f7fbfc); border:1px solid rgba(16,32,46,.08); box-shadow: var(--shadow); }
.hero-visual img { border-radius: 22px; }
.hero-visual figcaption { padding: 16px 12px 6px; color: var(--muted); font-size:.95rem; }
.section { padding: 40px 0 88px; }
.section-head { display:flex; justify-content:space-between; gap:28px; align-items:end; margin-bottom: 26px; }
.section-head .intro { max-width: 48ch; color: var(--muted); }
.grid-4, .grid-3, .grid-2 { display:grid; gap:18px; }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.icon-card, .trust-card, .step-card, .metric-card { padding: 24px; }
.icon-card img, .trust-card img, .metric-card img { width: 64px; height: 64px; margin-bottom: 18px; }
.icon-card h3, .trust-card h3, .service-panel h3, .service-card h3, .case-card h3, .article-card h3, .faq-item h3, .contact-channel h3, .form-panel h2, .mini-title {
  margin:0 0 12px; font-size:1.28rem; line-height:1.2; color: var(--navy);
}
.icon-card p, .trust-card p, .article-card p, .case-card p, .service-panel p, .muted, .page-hero p, .section-text { color: var(--muted); }
.service-preview-card, .case-card, .project-card {
  overflow:hidden; display:flex; flex-direction:column;
}
.service-preview-card figure, .case-card figure, .project-card figure, .article-card figure { margin:0; aspect-ratio: 16/10; background: #e9eff1; overflow:hidden; }
.service-preview-card .body, .case-card .body, .project-card .body, .article-card .body { padding: 22px; display:flex; flex-direction:column; gap:10px; }
.tag-row, .pills, .meta-list, .project-tags, .review-meta { display:flex; flex-wrap:wrap; gap:10px; }
.tag, .pill, .meta-pill {
  padding: 9px 14px; border-radius: 999px; border:1px solid var(--line); background:#fff; color: var(--muted); font-size:.85rem; font-weight:700;
}
.pill.active { background: var(--navy); color:#fff; border-color: var(--navy); }
.list-check, .list-plain { list-style:none; padding:0; margin:0; }
.list-check li, .list-plain li { padding-left: 26px; position:relative; margin-bottom: 10px; color: var(--muted); }
.list-check li::before { content:'•'; color: var(--accent); position:absolute; left:8px; top:0; font-size:1.2rem; }
.service-block {
  display:grid; grid-template-columns: 1.02fr .98fr; gap:24px; align-items:start; margin-top: 26px;
}
.service-block.reverse { grid-template-columns: .98fr 1.02fr; }
.service-block.reverse > :first-child { order:2; }
.service-block.reverse > :last-child { order:1; }
.sticky-figure { padding: 12px; position: sticky; top: calc(var(--header) + 20px); }
.sticky-figure img { border-radius: 16px; }
.service-preview-card figure img, .case-card figure img, .project-card figure img, .article-card figure img { width:100%; height:100%; object-fit:cover; }
.hero-visual img, .sticky-figure img { width:100%; height:auto; }

.service-panel { padding: 26px; }
.service-meta {
  display:grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap:16px; margin-top: 18px;
}
.info-tile { border:1px solid var(--line); border-radius: 16px; padding: 16px; background: var(--surface-alt); }
.info-tile h4 { margin:0 0 8px; font-size:1rem; color: var(--navy); }
.info-tile p, .info-tile li { margin:0; color: var(--muted); font-size:.95rem; }
.diagram-box { padding: 20px; margin-top: 18px; }
.interactive-map { display:grid; grid-template-columns: 220px 1fr; gap:18px; align-items:start; }
.map-buttons { display:flex; flex-direction:column; gap:10px; }
.map-buttons button, .tab-button {
  width:100%; text-align:left; border:1px solid var(--line); background:#fff; border-radius: 14px; padding: 14px 16px; color: var(--muted); font-weight:700;
}
.map-buttons button.active, .tab-button.active { border-color: var(--accent); color: var(--navy); background: var(--accent-soft); }
.map-panel { border:1px solid var(--line); border-radius: 18px; padding: 22px; background: var(--surface-alt); min-height: 210px; }
.map-panel h4 { margin-top:0; margin-bottom:8px; }
.process-flow { display:grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap:14px; margin-top: 16px; }
.step-chip {
  padding: 16px; border-radius: 16px; background: #fff; border:1px solid var(--line); color: var(--muted); font-weight: 700; text-align:center;
}
.case-hero { padding: 42px 0 26px; }
.case-meta { display:flex; flex-wrap:wrap; gap:10px; margin-bottom: 14px; }
.case-layout { display:grid; grid-template-columns: .96fr 1.04fr; gap: 24px; align-items:start; }
.content-stack { display:flex; flex-direction:column; gap:18px; }
.content-panel { padding: 22px; }
.content-panel h2, .content-panel h3 { margin-top:0; }
.system-diagram { background: #fff; border:1px solid var(--line); border-radius: 18px; padding: 16px; }
.system-chain { display:flex; flex-wrap:wrap; gap:12px; align-items:center; }
.chain-node { padding: 12px 16px; border-radius: 14px; border:1px solid var(--line); background: var(--surface-alt); font-weight:700; }
.chain-arrow { color: var(--accent); font-weight:800; font-size:1.2rem; }
.hmi-panel {
  background: linear-gradient(180deg, #0f1720, #16212b); color:#fff; padding: 18px; border-radius: 18px;
}
.dashboard-grid { display:grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap:12px; margin-top:14px; }
.dashboard-item { background: rgba(255,255,255,.06); border:1px solid rgba(255,255,255,.08); border-radius: 14px; padding: 14px; }
.dashboard-item small { display:block; color: #b7c9d4; margin-bottom: 4px; }
.dashboard-item strong { font-size: 1.2rem; }
.chart-box { margin-top: 16px; border:1px dashed var(--line-strong); border-radius: 16px; padding: 18px; background: #fff; }
.conceptual-note { margin-top: 12px; font-size: .9rem; color: var(--muted); background: var(--surface-alt); border-left: 4px solid var(--accent); padding: 12px 14px; border-radius: 12px; }
.chart-bars { display:grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap:18px; align-items:end; min-height: 180px; padding-top: 12px; }
.bar { background: linear-gradient(180deg, var(--accent), #5dd9df); border-radius: 14px 14px 6px 6px; height: 0; position:relative; animation: growBar 1s ease forwards; }
.bar[data-height="65"] { --h: 65%; }
.bar[data-height="80"] { --h: 80%; }
.bar[data-height="55"] { --h: 55%; }
.bar[data-height="72"] { --h: 72%; }
.bar::after { content: attr(data-label); position:absolute; bottom:-34px; left:50%; transform:translateX(-50%); color: var(--muted); font-weight:700; white-space:nowrap; }
@keyframes growBar { from { height:0; } to { height: var(--h); } }
.timeline-wrap { display:grid; grid-template-columns: 320px 1fr; gap:20px; }
.timeline-nav { display:grid; gap:10px; }
.timeline-nav button {
  border:1px solid var(--line); background:#fff; border-radius:16px; text-align:left; padding:16px; color: var(--muted);
}
.timeline-nav button.active { background: var(--navy); color:#fff; border-color: var(--navy); }
.timeline-detail { padding: 26px; }
.timeline-detail h3 { margin-top:0; }
.moderation-flow { display:flex; flex-wrap:wrap; gap:10px; align-items:center; }
.moderation-step { padding: 12px 16px; border:1px solid var(--line); border-radius: 14px; background:#fff; font-weight:700; }
.arrow-mini { color: var(--accent); font-size: 1.1rem; font-weight:900; }
.stateless-empty { padding: 26px; }
.stateless-empty h3 { margin-top:0; }
.verified-review { padding: 20px; border:1px solid var(--line); border-radius: 18px; background: var(--surface-alt); }
.verified-badge { display:inline-flex; align-items:center; gap:8px; background: #e8f7f1; color: var(--success); border-radius:999px; padding:8px 12px; font-weight:700; font-size:.88rem; }
.form-layout { display:grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap:16px; }
.form-layout .full { grid-column: 1 / -1; }
.field { display:flex; flex-direction:column; gap:8px; }
.field label, .field legend { font-weight:700; color: var(--navy); }
.field input, .field select, .field textarea {
  width:100%; padding: 14px 16px; border-radius: 14px; border:1px solid var(--line-strong); background:#fff; color: var(--text);
}
.field textarea { min-height: 136px; resize: vertical; }
.fieldset { border:1px solid var(--line); border-radius: 16px; padding: 14px 16px; }
.radio-row, .checkbox-row, .star-row { display:flex; flex-wrap:wrap; gap:12px; align-items:center; }
.radio-row label, .checkbox-row label, .star-row label { font-weight:600; color: var(--muted); }
.radio-row input, .checkbox-row input { width:auto; }
.star-input { display:flex; flex-direction: row-reverse; justify-content:flex-end; gap:8px; }
.star-input input { display:none; }
.star-input label { font-size:1.8rem; color:#c7d2d8; cursor:pointer; transition:.2s ease; }
.star-input input:checked ~ label,
.star-input label:hover,
.star-input label:hover ~ label { color: #f5b700; }
.feedback-matrix { display:grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap:16px; }
.feedback-score { padding:16px; border-radius:16px; border:1px solid var(--line); background: var(--surface-alt); }
.feedback-score h4 { margin:0 0 12px; }
.filters { display:flex; flex-wrap:wrap; gap:10px; margin-bottom: 20px; }
.project-grid { display:grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap:18px; }
.project-card .body p { margin:0; }
.project-card.hide { display:none; }
.article-list { display:grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap:18px; }
.article-section { padding: 26px; margin-top: 22px; }
.article-section figure { margin: 0 0 18px; border-radius: 18px; overflow:hidden; border:1px solid var(--line); }
.insight-summary { display:grid; grid-template-columns: 1fr 1fr; gap:18px; }
.contact-hero-grid, .contact-grid { display:grid; grid-template-columns: 1fr 1fr; gap:24px; align-items:start; }
.contact-channel { padding: 20px; border:1px solid var(--line); border-radius: 18px; background: var(--surface-alt); }
.contact-channel h3 { font-size: 1.05rem; margin-bottom: 6px; }
.contact-stack { display:grid; gap:16px; }
.footer { margin-top: 72px; background: var(--navy); color: #fff; }
.footer-inner { display:grid; grid-template-columns: 1.1fr .9fr .9fr; gap: 24px; padding: 42px 0; }
.footer .brand-copy strong { color:#fff; }
.footer .brand-copy small, .footer p, .footer a { color: #b9c8cf; }
.footer-nav, .footer-social { display:grid; gap:10px; }
.footer-bottom { border-top:1px solid rgba(255,255,255,.08); padding: 16px 0 28px; color: #b9c8cf; font-size:.95rem; }
.breadcrumbs { display:flex; flex-wrap:wrap; gap:10px; align-items:center; margin-bottom: 16px; color: var(--muted); font-size:.92rem; }
.breadcrumbs a { color: var(--muted); }
.breadcrumbs span.sep { color: var(--line-strong); }
.note-box { padding: 18px; background: #fff; }
.cta-band { margin-top: 28px; padding: 24px; display:flex; flex-wrap:wrap; gap:18px; justify-content:space-between; align-items:center; }
.small-meta { font-size: .88rem; color: var(--muted); }
.table-wrap { overflow:auto; }
.compare-table { width:100%; border-collapse: collapse; min-width: 780px; }
.compare-table th, .compare-table td { padding: 16px; border:1px solid var(--line); text-align:left; }
.compare-table th { background: var(--surface-alt); color: var(--navy); }
.faq-list { display:grid; gap:12px; }
.faq-item { overflow:hidden; }
.faq-toggle { width:100%; border:none; background:transparent; display:flex; justify-content:space-between; gap:14px; align-items:center; padding: 18px 20px; font-weight:700; color: var(--navy); }
.faq-answer { padding: 0 20px 18px; color: var(--muted); display:none; }
.faq-item.open .faq-answer { display:block; }
.notice { padding: 12px 14px; border-radius: 12px; background: #eff8fb; border: 1px solid #cfeff4; color: var(--muted); font-size: .93rem; }
@media (max-width: 1100px) {
  .hero-grid, .service-block, .case-layout, .contact-grid, .contact-hero-grid, .timeline-wrap, .project-grid, .grid-4, .grid-3, .grid-2, .article-list, .insight-summary, .footer-inner {
    grid-template-columns: 1fr 1fr;
  }
  .service-block.reverse > :first-child,
  .service-block.reverse > :last-child { order: unset; }
}
@media (max-width: 860px) {
  .hamburger { display:inline-flex; align-items:center; justify-content:center; }
  .site-nav {
    position: absolute; top: calc(var(--header) - 2px); left: 16px; right: 16px; display:none; flex-direction:column; align-items:flex-start;
    background:#fff; border:1px solid var(--line); border-radius: 18px; padding: 16px; box-shadow: var(--shadow);
  }
  .site-nav.open { display:flex; }
  .button.header-cta { display:none; }
  .hero-grid, .service-block, .case-layout, .contact-grid, .contact-hero-grid, .timeline-wrap, .project-grid, .grid-4, .grid-3, .grid-2, .article-list, .insight-summary, .form-layout, .footer-inner, .interactive-map, .process-flow {
    grid-template-columns: 1fr;
  }
  .section-head { flex-direction:column; align-items:flex-start; }
  .hero { padding-top: 30px; }
  .hero-visual { order: -1; }
  .sticky-figure { position: static; }
  .service-meta, .feedback-matrix { grid-template-columns: 1fr; }
  .header-inner { min-height: 74px; }
}
@media (max-width: 560px) {
  .container { width: min(calc(100% - 22px), var(--container)); }
  .brand-copy strong { font-size: .95rem; letter-spacing: .18em; }
  .brand-copy small { font-size: .6rem; letter-spacing: .18em; }
  .button, .button-outline { width: 100%; }
  .button-row { width:100%; }
  .hero-identity span { width:100%; }
  .dashboard-grid { grid-template-columns: 1fr; }
}

/* Reviews experience */
.review-showcase-section { padding-top: 20px; }
.demo-review-notice {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 22px;
  padding: 16px 18px;
  border: 1px solid #cfe9ec;
  border-left: 4px solid var(--accent);
  border-radius: 16px;
  background: #f6fcfd;
  color: var(--muted);
}
.demo-review-notice p { margin: 4px 0 0; }
.demo-review-notice-icon {
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-weight: 800;
}
.review-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.review-card {
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-height: 100%;
  padding: 24px;
  background: #fff;
  border: 1px solid rgba(16,32,46,.09);
  border-radius: 22px;
  box-shadow: var(--shadow);
}
.review-card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 14px;
}
.review-stars {
  color: #e5a900;
  font-size: 1.2rem;
  letter-spacing: .12em;
  white-space: nowrap;
}
.star-muted { color: #d3dde2; }
.demo-badge,
.sample-badge,
.submitted-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 7px 10px;
  font-size: .7rem;
  line-height: 1;
  font-weight: 800;
  letter-spacing: .09em;
  white-space: nowrap;
}
.demo-badge {
  background: #fff5dc;
  color: #8a6200;
  border: 1px solid #f0d78c;
}
.sample-badge {
  background: #eef5f7;
  color: #526a7a;
  border: 1px solid #d6e1e5;
}
.submitted-badge {
  background: #e9f9fb;
  color: #087f87;
  border: 1px solid #bce9ec;
}
.review-card blockquote {
  margin: 0;
  color: var(--text);
  font-size: 1rem;
  line-height: 1.72;
}
.review-person {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-top: auto;
  padding-top: 4px;
}
.review-avatar {
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: var(--navy);
  color: #fff;
  font-weight: 800;
  letter-spacing: .04em;
}
.review-person strong,
.review-person span { display: block; }
.review-person > div > span {
  margin-top: 3px;
  color: var(--muted);
  font-size: .84rem;
  line-height: 1.45;
}
.review-meta { gap: 8px; }
.review-meta span {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface-alt);
  padding: 7px 10px;
  color: var(--muted);
  font-size: .77rem;
  font-weight: 700;
}
.review-recommendation {
  margin: -4px 0 0;
  color: var(--success);
  font-size: .86rem;
  font-weight: 700;
}
.review-empty-state[hidden] { display: none; }
.review-live-section { padding-top: 10px; }
.review-live-section .review-card-grid:not(:empty) { margin-bottom: 20px; }
.moderation-step.is-current {
  border-color: var(--accent);
  background: var(--accent-soft);
  color: var(--navy);
}
.hidden-field {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(1px,1px,1px,1px) !important;
  white-space: nowrap !important;
}
.review-submit-row {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.review-submit-message {
  margin: 0;
  min-height: 1.4em;
  color: var(--muted);
  font-size: .9rem;
}
.review-submit-message.is-success { color: var(--success); }
.review-submit-message.is-error { color: #a13939; }

@media (max-width: 980px) {
  .review-card-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
  .review-card-grid { grid-template-columns: 1fr; }
  .review-card-top { align-items: flex-start; }
  .review-submit-row .button { width: 100%; }
}
