:root {
  --ink: #2f3432;
  --muted: #747a74;
  --line: #d9d4ca;
  --line-soft: #e9e3d8;
  --blue: #7f98a5;
  --blue-dark: #526c78;
  --blue-soft: #edf2f1;
  --green: #8fa394;
  --green-soft: #eef2ec;
  --panel: #f4f1eb;
  --paper: #fbfaf7;
  --warm: #b89a83;
  --warm-soft: #f3ebe3;
  --clay: #a88479;
  --sage: #8fa394;
  --shadow: 0 18px 46px rgba(64, 61, 54, .12);
  --shadow-soft: 0 10px 28px rgba(64, 61, 54, .08);
}

* { box-sizing: border-box; }

html,
body {
  width: 100%;
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: "Microsoft JhengHei", "Noto Sans TC", Arial, sans-serif;
  color: var(--ink);
  background:
    linear-gradient(180deg, #f4f1eb 0, #fbfaf7 320px),
    var(--paper);
  line-height: 1.65;
  font-size: 14px;
}

a { color: inherit; text-decoration: none; }

img,
svg {
  max-width: 100%;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 12px clamp(18px, 4vw, 64px);
  border-bottom: 1px solid rgba(217, 212, 202, .88);
  background: rgba(251, 250, 247, .94);
  backdrop-filter: blur(14px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--blue-dark);
  font-weight: 900;
  min-width: 0;
}

.brand span:last-child {
  overflow-wrap: anywhere;
}

.brand-mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(135deg, var(--blue-dark), var(--sage));
  box-shadow: 0 8px 18px rgba(82, 108, 120, .22);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: 14px;
  min-width: 0;
}

.nav-links a {
  padding: 8px 10px;
  border-radius: 8px;
  white-space: nowrap;
}

.nav-links a:hover {
  color: var(--blue-dark);
  background: var(--blue-soft);
}

.language-select {
  max-width: 100%;
  min-width: 0;
  min-height: 38px;
  padding: 8px 34px 8px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--blue-dark);
  background: #fbfaf7;
  font: inherit;
  font-size: 14px;
  font-weight: 800;
  box-shadow: 0 6px 16px rgba(23, 32, 47, .06);
}

.language-select:focus {
  outline: 3px solid rgba(0, 111, 201, .16);
  border-color: var(--blue);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(24px, 4.2vw, 52px) clamp(18px, 4vw, 64px);
  background:
    linear-gradient(90deg, rgba(251,250,247,.98), rgba(244,241,235,.88)),
    linear-gradient(180deg, #f4f1eb, #fbfaf7);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(127, 152, 165, .08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(143, 163, 148, .07) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(90deg, rgba(0,0,0,.9), rgba(0,0,0,.12));
}

.hero-grid {
  position: relative;
  z-index: 1;
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(360px, 1.05fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--blue-dark);
  font-size: 14px;
  font-weight: 800;
  width: fit-content;
  margin-bottom: 16px;
  padding: 7px 11px;
  border: 1px solid rgba(0, 111, 201, .14);
  border-radius: 999px;
  background: rgba(251, 250, 247, .82);
  box-shadow: var(--shadow-soft);
}

.eyebrow::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 6px rgba(34, 160, 107, .14);
}

h1 {
  margin: 0;
  font-size: clamp(26px, 3.4vw, 40px);
  line-height: 1.12;
  letter-spacing: 0;
  max-width: 760px;
  overflow-wrap: anywhere;
}

h2 {
  margin: 0 0 12px;
  font-size: clamp(21px, 2.6vw, 30px);
  line-height: 1.15;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

h3 {
  margin: 0 0 8px;
  font-size: 16px;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

p { margin: 0; color: var(--muted); }

.lead {
  max-width: 780px;
  margin-top: 10px;
  font-size: clamp(13px, 1.25vw, 16px);
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 680px;
  margin-top: 18px;
}

.stat {
  padding: 14px 16px;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  background: rgba(255, 255, 255, .82);
  box-shadow: var(--shadow-soft);
}

.stat strong {
  display: block;
  color: var(--blue-dark);
  font-size: 24px;
  line-height: 1.15;
}

.stat span {
  display: block;
  color: var(--muted);
  font-size: 13px;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 18px;
  border-radius: 8px;
  border: 1px solid var(--blue);
  color: var(--blue-dark);
  background: #fbfaf7;
  font-weight: 800;
  box-shadow: 0 8px 18px rgba(23, 32, 47, .07);
  transition: transform .16s ease, box-shadow .16s ease, background .16s ease;
  text-align: center;
  white-space: normal;
}

.button.primary {
  color: #fff;
  background: linear-gradient(135deg, var(--blue-dark), var(--sage));
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 24px rgba(23, 32, 47, .10);
}

.section {
  padding: clamp(24px, 4vw, 48px) clamp(18px, 4vw, 64px);
}

.section.alt { background: var(--panel); }

.section-head {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 16px;
}

.architecture-lead {
  color: var(--ink);
  font-size: clamp(17px, 1.7vw, 22px);
  line-height: 1.72;
  font-weight: 700;
}

.feature-grid {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.feature-card {
  position: relative;
  overflow: hidden;
  min-height: 240px;
  display: grid;
  align-content: start;
  gap: 14px;
  padding: 24px;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(251,250,247,.98), rgba(244,241,235,.96));
  box-shadow: var(--shadow-soft);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.feature-thumb {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  background: #e9e3d8;
}

.feature-thumb img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  filter: saturate(.88) contrast(.97) brightness(.99);
  transition: transform .2s ease;
}

.feature-card:hover .feature-thumb img {
  transform: scale(1.035);
}

.feature-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--blue), var(--green), var(--warm));
  opacity: .75;
}

.feature-card::after {
  content: none;
  display: none;
}

.feature-card:hover {
  transform: translateY(-3px);
  border-color: rgba(0,111,201,.45);
  box-shadow: var(--shadow);
}

.feature-no {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(135deg, var(--blue-dark), var(--sage));
  font-weight: 900;
}

.pill {
  display: inline-flex;
  width: fit-content;
  padding: 4px 9px;
  border-radius: 999px;
  color: var(--blue-dark);
  background: #eef7ff;
  font-size: 12px;
  font-weight: 800;
}

.visual {
  position: relative;
  overflow: hidden;
  min-height: clamp(320px, 42vw, 520px);
  padding: 0;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  background: #e9e3d8;
  box-shadow: var(--shadow);
}

.visual::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(251,250,247,.02), rgba(47,52,50,.28));
  pointer-events: none;
}

.visual::after {
  content: "Feasycom ESL";
  position: absolute;
  left: 18px;
  bottom: 18px;
  z-index: 2;
  padding: 8px 12px;
  border: 1px solid rgba(251, 250, 247, .45);
  border-radius: 8px;
  color: #fbfaf7;
  background: rgba(47, 52, 50, .38);
  backdrop-filter: blur(10px);
  font-size: 13px;
  font-weight: 900;
}

.visual-photo {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(.86) contrast(.96) brightness(.98);
}

.visual svg {
  display: none;
}

.detail-layout {
  position: relative;
  z-index: 1;
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(360px, 1.1fr);
  gap: clamp(24px, 5vw, 62px);
  align-items: center;
}

.point-grid {
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 24px;
}

.point {
  padding: 20px;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  background: #fbfaf7;
  box-shadow: var(--shadow-soft);
}

.point p { font-size: 13px; }

.architecture-grid {
  align-items: stretch;
}

.architecture-card {
  display: grid;
  gap: 14px;
  align-content: start;
}

.architecture-card h3,
.architecture-card p {
  position: relative;
  z-index: 1;
}

.layer-visual {
  position: relative;
  min-height: 168px;
  overflow: hidden;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(251,250,247,.94), rgba(244,241,235,.88)),
    radial-gradient(circle at 20% 20%, rgba(143,163,148,.22), transparent 34%),
    radial-gradient(circle at 82% 30%, rgba(127,152,165,.22), transparent 32%),
    #f4f1eb;
}

.layer-visual::before,
.layer-visual::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.layer-visual::before {
  inset: 18px;
  border: 1px dashed rgba(82, 108, 120, .35);
  border-radius: 8px;
}

.layer-visual::after {
  left: 34px;
  right: 34px;
  top: 50%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(82,108,120,.5), transparent);
}

.scene-layer {
  min-height: 190px;
  padding: 0;
  background: #e9e3d8;
}

.scene-layer::before {
  inset: 0;
  z-index: 1;
  border: 0;
  border-radius: 0;
  background: linear-gradient(180deg, rgba(251,250,247,.02), rgba(47,52,50,.34));
}

.scene-layer::after {
  display: none;
}

.scene-img {
  width: 100%;
  height: 100%;
  min-height: 190px;
  display: block;
  object-fit: cover;
  filter: saturate(.88) contrast(.97) brightness(.98);
}

.scene-badges {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.scene-badges span {
  padding: 5px 8px;
  border: 1px solid rgba(251, 250, 247, .5);
  border-radius: 8px;
  color: #fbfaf7;
  background: rgba(47, 52, 50, .42);
  backdrop-filter: blur(8px);
  font-size: 11px;
  font-weight: 900;
}

.layer-node,
.layer-cloud,
.layer-system,
.layer-api {
  position: absolute;
  z-index: 1;
  display: grid;
  place-items: center;
  border: 1px solid rgba(217, 212, 202, .88);
  box-shadow: var(--shadow-soft);
}

.field-layer .shelf {
  left: 22px;
  bottom: 32px;
  width: 112px;
  height: 58px;
  border-radius: 8px;
  background: repeating-linear-gradient(0deg, #d8d1c7 0 8px, #f7f4ee 8px 18px);
}

.field-layer .tag {
  left: 72px;
  top: 36px;
  width: 74px;
  height: 42px;
  border-radius: 8px;
  background: #fbfaf7;
}

.field-layer .product {
  right: 96px;
  bottom: 34px;
  width: 52px;
  height: 68px;
  border-radius: 8px 8px 14px 14px;
  background: linear-gradient(180deg, var(--warm-soft), #d6c6b7);
}

.field-layer .gateway {
  right: 28px;
  top: 38px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--sage));
}

.field-layer .gateway::before,
.field-layer .gateway::after {
  content: "";
  position: absolute;
  inset: -14px;
  border: 1px solid rgba(82,108,120,.28);
  border-radius: 50%;
}

.field-layer .gateway::after {
  inset: -28px;
  opacity: .55;
}

.layer-cloud {
  left: 50%;
  top: 28px;
  width: 118px;
  height: 64px;
  transform: translateX(-50%);
  border-radius: 34px;
  background: linear-gradient(180deg, #fbfaf7, var(--blue-soft));
}

.layer-cloud::before,
.layer-cloud::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: inherit;
}

.layer-cloud::before {
  left: 18px;
  top: -20px;
  width: 54px;
  height: 54px;
}

.layer-cloud::after {
  right: 18px;
  top: -14px;
  width: 46px;
  height: 46px;
}

.cloud-console {
  position: absolute;
  left: 50%;
  top: 64px;
  z-index: 2;
  width: 136px;
  height: 64px;
  transform: translateX(-50%);
  border: 1px solid rgba(82, 108, 120, .26);
  border-radius: 8px;
  background:
    linear-gradient(var(--blue-dark), var(--blue-dark)) 16px 14px / 104px 4px no-repeat,
    linear-gradient(var(--sage), var(--sage)) 16px 28px / 42px 6px no-repeat,
    linear-gradient(var(--blue), var(--blue)) 66px 28px / 42px 6px no-repeat,
    linear-gradient(var(--warm), var(--warm)) 16px 44px / 28px 6px no-repeat,
    linear-gradient(var(--sage), var(--sage)) 52px 44px / 28px 6px no-repeat,
    linear-gradient(var(--blue), var(--blue)) 88px 44px / 28px 6px no-repeat,
    #fbfaf7;
  box-shadow: var(--shadow-soft);
}

.cloud-console::after {
  content: "";
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: -22px;
  height: 22px;
  border-left: 1px solid rgba(82,108,120,.36);
  border-right: 1px solid rgba(82,108,120,.36);
}

.cloud-module {
  position: absolute;
  z-index: 1;
  width: 50px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  color: var(--blue-dark);
  background: rgba(251, 250, 247, .96);
  box-shadow: var(--shadow-soft);
}

.cloud-module::before,
.cloud-module::after {
  content: "";
  position: absolute;
}

.cloud-module.store {
  left: 18px;
  bottom: 22px;
}

.cloud-module.store::before {
  left: 12px;
  right: 12px;
  bottom: 8px;
  height: 18px;
  border-radius: 4px 4px 2px 2px;
  background:
    linear-gradient(var(--blue-dark), var(--blue-dark)) 6px 7px / 5px 5px no-repeat,
    linear-gradient(var(--blue-dark), var(--blue-dark)) 18px 7px / 5px 5px no-repeat,
    var(--blue-soft);
  border: 1px solid rgba(82,108,120,.32);
}

.cloud-module.store::after {
  left: 10px;
  right: 10px;
  top: 7px;
  height: 10px;
  border-radius: 2px;
  background: var(--warm);
  transform: skewX(-12deg);
}

.cloud-module.device {
  left: calc(50% - 72px);
  bottom: 22px;
}

.cloud-module.device::before {
  left: 10px;
  top: 9px;
  width: 30px;
  height: 18px;
  border-radius: 5px;
  background: #fbfaf7;
  border: 2px solid var(--sage);
}

.cloud-module.device::after {
  left: 18px;
  top: 16px;
  width: 14px;
  height: 3px;
  border-radius: 3px;
  background: var(--blue-dark);
}

.cloud-module.template {
  right: calc(50% - 72px);
  bottom: 22px;
}

.cloud-module.template::before {
  left: 14px;
  top: 7px;
  width: 22px;
  height: 24px;
  border-radius: 4px;
  background:
    linear-gradient(var(--blue-dark), var(--blue-dark)) 5px 7px / 12px 3px no-repeat,
    linear-gradient(var(--sage), var(--sage)) 5px 14px / 12px 3px no-repeat,
    #fbfaf7;
  border: 1px solid rgba(82,108,120,.32);
}

.cloud-module.template::after {
  right: 13px;
  top: 7px;
  width: 8px;
  height: 8px;
  background: var(--warm);
  clip-path: polygon(0 0, 100% 100%, 0 100%);
}

.cloud-module.status {
  right: 18px;
  bottom: 22px;
}

.cloud-module.status::before {
  left: 11px;
  top: 8px;
  width: 26px;
  height: 20px;
  border-radius: 12px;
  background: var(--green-soft);
  border: 2px solid var(--sage);
}

.cloud-module.status::after {
  left: 20px;
  top: 13px;
  width: 12px;
  height: 7px;
  border-left: 3px solid var(--sage);
  border-bottom: 3px solid var(--sage);
  transform: rotate(-45deg);
}

.layer-system,
.layer-api {
  height: 46px;
  border-radius: 8px;
  color: var(--blue-dark);
  background: #fbfaf7;
  font-weight: 900;
  font-size: 13px;
}

.enterprise-layer .layer-system:nth-child(1) {
  left: 24px;
  top: 28px;
  width: 66px;
}

.enterprise-layer .layer-system:nth-child(2) {
  right: 24px;
  top: 28px;
  width: 66px;
}

.enterprise-layer .layer-system:nth-child(3) {
  left: 50%;
  bottom: 24px;
  width: 66px;
  transform: translateX(-50%);
}

.layer-api {
  left: 50%;
  top: 50%;
  width: 74px;
  transform: translate(-50%, -50%);
  color: #fff;
  background: linear-gradient(135deg, var(--clay), var(--warm));
}

.image-note {
  padding-top: 12px;
  border-top: 1px solid var(--line-soft);
  color: var(--blue-dark);
  font-size: 13px !important;
  font-weight: 700;
}

.flow-list {
  max-width: 920px;
  margin-left: auto;
  margin-right: auto;
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.flow-item {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 14px;
  padding: 16px;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  background: #fbfaf7;
  box-shadow: var(--shadow-soft);
}

.flow-num {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: #fff;
  background: var(--blue);
  font-weight: 900;
}

.professional-block {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(340px, 1.05fr);
  gap: 22px;
  align-items: start;
}

.insight-panel {
  padding: 18px;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  background: #fbfaf7;
  box-shadow: var(--shadow-soft);
}

.insight-panel.accent {
  background:
    linear-gradient(180deg, rgba(234,246,255,.95), rgba(255,255,255,.98));
  border-color: rgba(0, 111, 201, .18);
}

.insight-list {
  display: grid;
  gap: 12px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.insight-list li {
  position: relative;
  padding-left: 24px;
  color: var(--muted);
  font-size: 14px;
}

.insight-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .68em;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 5px rgba(34, 160, 107, .12);
}

.spec-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.spec-item {
  padding: 14px;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  background: #fbfcfe;
}

.spec-item strong {
  display: block;
  margin-bottom: 4px;
  color: var(--blue-dark);
}

.spec-item span {
  color: var(--muted);
  font-size: 13px;
}

.page-nav {
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.deep-dive {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(340px, .95fr) minmax(0, 1.05fr);
  gap: 24px;
  align-items: stretch;
}

.deep-photo {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  background: #e9e3d8;
  box-shadow: var(--shadow);
}

.deep-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(.88) contrast(.97) brightness(.98);
}

.deep-photo::after {
  content: attr(data-caption);
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  padding: 10px 12px;
  border: 1px solid rgba(251, 250, 247, .42);
  border-radius: 8px;
  color: #fbfaf7;
  background: rgba(47, 52, 50, .42);
  backdrop-filter: blur(10px);
  font-size: 13px;
  font-weight: 900;
}

.deep-content {
  display: grid;
  gap: 14px;
}

.deep-card {
  padding: 18px;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  background: #fbfaf7;
  box-shadow: var(--shadow-soft);
}

.deep-card h2,
.deep-card h3 {
  margin-bottom: 10px;
}

.deep-card p + p {
  margin-top: 10px;
}

.deep-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.deep-metric {
  padding: 14px;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  background: #f4f1eb;
}

.deep-metric strong {
  display: block;
  color: var(--blue-dark);
  font-size: 14px;
  margin-bottom: 4px;
}

.deep-metric span {
  color: var(--muted);
  font-size: 12px;
}

.tech-section {
  background: linear-gradient(180deg, #fbfaf7, var(--panel));
}

.tech-wrap {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  gap: 18px;
}

.tech-header {
  max-width: 980px;
}

.tech-kicker {
  color: var(--blue-dark);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.tech-header p {
  margin-top: 8px;
}

.tech-visual-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 14px;
}

.tech-visual {
  overflow: hidden;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  background: #e9e3d8;
  box-shadow: var(--shadow-soft);
}

.tech-visual img {
  width: 100%;
  height: 100%;
  min-height: 220px;
  display: block;
  object-fit: cover;
}

.tech-body {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, .75fr);
  gap: 18px;
  align-items: start;
}

.tech-copy,
.tech-points {
  padding: 20px;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  background: #fbfaf7;
  box-shadow: var(--shadow-soft);
}

.tech-copy h3,
.tech-points h3 {
  color: var(--blue-dark);
}

.tech-copy p + p {
  margin-top: 12px;
}

.tech-points ul {
  display: grid;
  gap: 10px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

.tech-points li {
  position: relative;
  padding-left: 20px;
  color: var(--muted);
  font-size: 13px;
}

.tech-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .72em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--sage);
}

.extension-section {
  background: linear-gradient(180deg, #fbfaf7, #f3eee6);
}

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

.extension-card {
  display: block;
  min-height: 220px;
  padding: 24px;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: var(--shadow-soft);
  color: inherit;
  text-decoration: none;
}

.extension-card:nth-child(2) {
  background: #f5f1ea;
}

.extension-preview {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 7px;
  margin-bottom: 16px;
}

.extension-preview img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid var(--line-soft);
  background: #ece6dc;
  box-shadow: 0 6px 16px rgba(91, 81, 68, .12);
}

.extension-kicker {
  display: inline-flex;
  padding: 6px 10px;
  border-radius: 999px;
  background: #e9e1d6;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .02em;
  text-transform: uppercase;
}

.extension-card h3 {
  margin: 18px 0 10px;
  font-size: clamp(22px, 2.4vw, 30px);
}

.extension-card p {
  color: var(--muted);
  line-height: 1.75;
}

.extension-card strong {
  display: inline-block;
  margin-top: 16px;
  color: var(--accent-strong);
}

.footer {
  padding: 24px clamp(18px, 4vw, 64px);
  border-top: 1px solid var(--line);
  background: #fbfcfe;
  color: var(--muted);
  font-size: 14px;
}

@media (max-width: 980px) {
  .hero-grid,
  .detail-layout,
  .professional-block,
  .deep-dive,
  .extension-grid {
    grid-template-columns: 1fr;
  }

  .feature-grid,
  .point-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .stats {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  html,
  body {
    max-width: 100%;
  }

  body {
    line-height: 1.6;
  }

  .nav {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
    padding: 10px 14px;
    position: relative;
  }

  .nav-links {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
  }

  .nav-links a {
    min-height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 7px 6px;
    border: 1px solid var(--line-soft);
    background: rgba(251, 250, 247, .72);
    text-align: center;
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .language-select {
    width: 100%;
    grid-column: 1 / -1;
    min-height: 36px;
    font-size: 13px;
  }

  .hero {
    padding: 16px 16px 24px;
  }

  .hero-grid,
  .detail-layout {
    gap: 16px;
  }

  .section {
    padding: 22px 16px;
  }

  .section-head {
    margin-bottom: 20px;
  }

  h1 {
    font-size: clamp(21px, 6.4vw, 28px);
    line-height: 1.12;
  }

  h2 {
    font-size: clamp(19px, 5.8vw, 24px);
  }

  .lead {
    margin-top: 10px;
    font-size: 13px;
  }

  .architecture-lead {
    font-size: 16px;
    line-height: 1.7;
  }

  .button-row {
    flex-direction: column;
    gap: 10px;
    margin-top: 18px;
  }

  .stats,
  .feature-grid,
  .point-grid {
    gap: 12px;
  }

  .feature-grid,
  .point-grid,
  .spec-grid,
  .deep-metrics,
  .tech-body {
    grid-template-columns: 1fr;
  }

  .feature-card,
  .point,
  .insight-panel,
  .deep-card {
    padding: 14px;
  }

  .feature-card {
    min-height: 0;
    gap: 10px;
  }

  .visual,
  .deep-photo {
    min-height: 0;
    aspect-ratio: 16 / 11;
  }

  .visual-photo,
  .deep-photo img,
  .feature-thumb img {
    object-position: center;
  }

  .professional-block,
  .deep-dive {
    gap: 16px;
  }

  .spec-item,
  .deep-metric,
  .tech-copy,
  .tech-points {
    padding: 12px;
  }

  .tech-visual-grid {
    grid-template-columns: 1fr;
  }

  .tech-visual img {
    min-height: 160px;
  }

  .visual::after,
  .deep-photo::after {
    left: 12px;
    right: 12px;
    bottom: 12px;
    font-size: 11px;
    line-height: 1.35;
    padding: 7px 9px;
  }

  .layer-visual {
    min-height: 140px;
  }

  .scene-layer,
  .scene-img {
    min-height: 150px;
  }

  .scene-badges {
    left: 10px;
    right: 10px;
    bottom: 10px;
    gap: 5px;
  }

  .scene-badges span {
    padding: 4px 7px;
    font-size: 10px;
  }

  .layer-visual::before {
    inset: 12px;
  }

  .field-layer .shelf {
    left: 14px;
    bottom: 26px;
    width: 90px;
    height: 48px;
  }

  .field-layer .tag {
    left: 56px;
    top: 30px;
    width: 60px;
    height: 36px;
  }

  .field-layer .product {
    right: 74px;
    bottom: 28px;
    width: 42px;
    height: 56px;
  }

  .field-layer .gateway {
    right: 20px;
    top: 34px;
    width: 46px;
    height: 46px;
  }

  .layer-cloud {
    top: 22px;
    width: 96px;
    height: 52px;
  }

  .layer-cloud::before {
    left: 16px;
    top: -16px;
    width: 42px;
    height: 42px;
  }

  .layer-cloud::after {
    right: 16px;
    top: -12px;
    width: 36px;
    height: 36px;
  }

  .cloud-console {
    top: 52px;
    width: 108px;
    height: 52px;
  }

  .cloud-module {
    width: 42px;
    height: 30px;
  }

  .cloud-module.store {
    left: 10px;
    bottom: 14px;
  }

  .cloud-module.device {
    left: calc(50% - 58px);
    bottom: 14px;
  }

  .cloud-module.template {
    right: calc(50% - 58px);
    bottom: 14px;
  }

  .cloud-module.status {
    right: 10px;
    bottom: 14px;
  }

  .enterprise-layer .layer-system:nth-child(1) {
    left: 14px;
    top: 24px;
  }

  .enterprise-layer .layer-system:nth-child(2) {
    right: 14px;
    top: 24px;
  }

  .enterprise-layer .layer-system:nth-child(3) {
    bottom: 18px;
  }

  .layer-system,
  .layer-api {
    width: 56px;
    height: 38px;
    font-size: 11px;
  }

  .layer-api {
    width: 62px;
  }

  .button { width: 100%; }

  .footer {
    padding: 20px 16px;
  }
}

@media (max-width: 380px) {
  .nav-links {
    grid-template-columns: 1fr;
  }

  .language-select {
    grid-column: auto;
  }

  .brand-mark {
    width: 30px;
    height: 30px;
  }

  .brand {
    font-size: 14px;
  }

  h1 {
    font-size: 21px;
  }

  .cloud-module {
    width: 38px;
    height: 28px;
  }

  .cloud-module.device {
    left: calc(50% - 52px);
  }

  .cloud-module.template {
    right: calc(50% - 52px);
  }
}
