﻿:root {
  --navy: #08305f;
  --blue: #1668b8;
  --bitone: #d84848;
  --bitone-soft: #fff0ef;
  --wp: #146fbd;
  --wp-soft: #edf6ff;
  --green: #15986b;
  --mint: #e8f7f1;
  --orange: #f07a24;
  --yellow: #ffd75e;
  --ink: #172233;
  --muted: #5b697a;
  --line: #dbe5ee;
  --base: #f6f8fb;
  --white: #ffffff;
  --shadow: 0 18px 46px rgba(8, 48, 95, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: "Noto Sans JP", system-ui, sans-serif;
  line-height: 1.8;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
  padding: 14px clamp(20px, 5vw, 72px);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(219, 229, 238, 0.9);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 184px;
  color: var(--navy);
}

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

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: var(--white);
  background: linear-gradient(135deg, var(--bitone), var(--orange));
  border-radius: 50%;
  font-size: 22px;
  font-weight: 900;
}

.brand strong,
.site-footer strong {
  display: block;
  font-size: 20px;
  line-height: 1;
}

.brand small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.global-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--navy);
  font-size: 14px;
  font-weight: 800;
}

.global-nav a {
  padding: 10px 14px;
  border-radius: 999px;
}

.global-nav a:hover {
  background: var(--wp-soft);
}

.global-nav .nav-cta {
  color: var(--white);
  background: linear-gradient(135deg, var(--orange), var(--bitone));
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 8px;
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--navy);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(430px, 1.05fr);
  gap: clamp(34px, 5vw, 76px);
  align-items: center;
  min-height: clamp(620px, 70vh, 760px);
  padding: clamp(52px, 6vw, 82px) clamp(20px, 5vw, 72px) 66px;
  background:
    linear-gradient(115deg, #ffffff 0%, #ffffff 56%, #eef7ff 56%, #eef7ff 100%);
}

.hero-copy {
  max-width: 820px;
  align-self: center;
  justify-self: center;
  text-align: center;
}

.hero-copy .eyebrow {
  font-size: clamp(16px, 1.55vw, 22px);
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--green);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 22px;
  color: var(--navy);
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.25;
  letter-spacing: 0;
}

h2 {
  color: var(--navy);
  font-size: clamp(26px, 3.2vw, 42px);
  line-height: 1.38;
  letter-spacing: 0;
}

h3 {
  color: var(--navy);
  font-size: 20px;
  line-height: 1.45;
}

.lead {
  max-width: 720px;
  color: var(--muted);
  font-size: clamp(16px, 1.7vw, 19px);
}

.demo-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.demo-actions .button {
  min-width: 220px;
}

.demo-actions .demo-request {
  flex-basis: 100%;
  width: fit-content;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 13px 24px;
  border: 0;
  border-radius: 8px;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--orange), var(--bitone));
  box-shadow: 0 12px 24px rgba(216, 72, 72, 0.24);
}

.button.secondary {
  color: var(--navy);
  background: var(--white);
  border: 1px solid var(--line);
}

.button.light {
  color: var(--navy);
  background: var(--white);
  box-shadow: 0 12px 26px rgba(8, 48, 95, 0.18);
}

.wp-logo {
  width: min(100%, 560px);
  height: auto;
  margin: clamp(20px, 3vw, 30px) auto clamp(18px, 2.4vw, 24px);
}

.hero-description {
  max-width: 560px;
  margin-right: auto;
  margin-bottom: 0;
  margin-left: auto;
  color: var(--navy);
  font-size: clamp(20px, 2.1vw, 28px);
  font-weight: 900;
  line-height: 1.45;
}

.hero-contact {
  width: min(100%, 520px);
  min-height: 82px;
  margin-top: 28px;
  font-size: clamp(22px, 2vw, 28px);
}

.hero-media {
  display: grid;
  gap: 0;
  align-items: center;
  align-self: center;
}

.hero-visual img {
  width: 100%;
  max-height: 460px;
  object-fit: contain;
}

.hero-bubbles {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-content: start;
  justify-content: center;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero-bubbles li {
  position: relative;
  width: fit-content;
  max-width: 320px;
  padding: 10px 16px;
  color: var(--navy);
  background: rgba(255, 255, 255, 0.94);
  border: 2px solid rgba(20, 111, 189, 0.22);
  border-radius: 999px;
  box-shadow: 0 10px 24px rgba(8, 48, 95, 0.14);
  font-size: clamp(13px, 1.05vw, 15px);
  font-weight: 900;
  line-height: 1.35;
  white-space: normal;
}

.hero-bubbles li::after {
  position: absolute;
  right: 22px;
  bottom: -8px;
  width: 14px;
  height: 14px;
  content: "";
  background: rgba(255, 255, 255, 0.94);
  border-right: 2px solid rgba(20, 111, 189, 0.22);
  border-bottom: 2px solid rgba(20, 111, 189, 0.22);
  transform: rotate(45deg);
}

.service-strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  margin: 0 clamp(20px, 5vw, 72px);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 12px 32px rgba(8, 48, 95, 0.08);
  transform: translateY(-24px);
}

.service-strip a {
  display: grid;
  min-height: 70px;
  place-items: center;
  padding: 12px;
  color: var(--navy);
  border-right: 1px solid var(--line);
  font-weight: 900;
  text-align: center;
}

.service-strip a:last-child {
  color: var(--white);
  background: var(--green);
  border-right: 0;
}

.section {
  padding: clamp(58px, 8vw, 96px) clamp(20px, 5vw, 72px);
}

.section-head {
  max-width: 820px;
  margin: 0 auto 36px;
  text-align: center;
}

.section-head.wide {
  max-width: 980px;
}

.section-head p:not(.eyebrow) {
  color: var(--muted);
}

.issue,
.flow {
  background: var(--base);
}

.issue-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  max-width: 1180px;
  margin: 0 auto;
}

.issue-grid article {
  padding: 28px;
  background: var(--white);
  border: 2px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(8, 48, 95, 0.06);
}

.issue-image {
  width: 100%;
  aspect-ratio: 4 / 3;
  margin-bottom: 18px;
  object-fit: cover;
  object-position: center;
  border-radius: 8px;
  background: var(--base);
}

.issue-grid p,
.demo-layout p {
  color: var(--muted);
}

.icon {
  display: inline-grid;
  width: 48px;
  height: 42px;
  place-items: center;
  margin-bottom: 16px;
  color: var(--white);
  background: var(--navy);
  border-radius: 8px;
  font-weight: 900;
}

.wordpress {
  background: var(--white);
}

.wordpress h2 {
  font-size: clamp(34px, 5vw, 58px);
}

.strength-layout {
  display: grid;
  grid-template-columns: minmax(220px, 0.78fr) minmax(320px, 1.2fr) minmax(220px, 0.78fr);
  gap: clamp(20px, 4vw, 42px);
  align-items: center;
  max-width: 1180px;
  margin: 0 auto;
}

.strength-list {
  display: grid;
  gap: 18px;
}

.strength-list div {
  position: relative;
  padding: 18px 20px;
  background: var(--white);
  border: 2px solid rgba(20, 111, 189, 0.22);
  border-radius: 28px;
  box-shadow: 0 10px 28px rgba(8, 48, 95, 0.08);
}

.strength-list.right div {
  border-color: rgba(21, 152, 107, 0.24);
}

.strength-list div::before,
.strength-list div::after {
  position: absolute;
  content: "";
  background: var(--white);
  border: 2px solid rgba(20, 111, 189, 0.22);
  border-radius: 50%;
}

.strength-list.left div::before {
  right: -20px;
  top: 50%;
  width: 22px;
  height: 22px;
  transform: translateY(-50%);
}

.strength-list.left div::after {
  right: -48px;
  top: calc(50% + 12px);
  width: 12px;
  height: 12px;
}

.strength-list.right div::before {
  left: -20px;
  top: 50%;
  width: 22px;
  height: 22px;
  border-color: rgba(21, 152, 107, 0.24);
  transform: translateY(-50%);
}

.strength-list.right div::after {
  left: -48px;
  top: calc(50% + 12px);
  width: 12px;
  height: 12px;
  border-color: rgba(21, 152, 107, 0.24);
}

.strength-list.left div:nth-child(1)::before {
  top: 72%;
}

.strength-list.left div:nth-child(1)::after {
  top: calc(72% + 18px);
}

.strength-list.left div:nth-child(2)::before {
  top: 50%;
}

.strength-list.left div:nth-child(2)::after {
  top: calc(50% + 12px);
}

.strength-list.left div:nth-child(3)::before {
  top: 30%;
}

.strength-list.left div:nth-child(3)::after {
  top: calc(30% - 16px);
}

.strength-list.right div:nth-child(1)::before {
  top: 72%;
}

.strength-list.right div:nth-child(1)::after {
  top: calc(72% + 18px);
}

.strength-list.right div:nth-child(2)::before {
  top: 50%;
}

.strength-list.right div:nth-child(2)::after {
  top: calc(50% + 12px);
}

.strength-list.right div:nth-child(3)::before {
  top: 30%;
}

.strength-list.right div:nth-child(3)::after {
  top: calc(30% - 16px);
}

.strength-list span {
  display: inline-grid;
  min-width: 58px;
  min-height: 30px;
  place-items: center;
  margin-bottom: 10px;
  padding: 4px 12px;
  color: var(--white);
  background: var(--wp);
  border-radius: 6px;
  font-size: 13px;
  font-weight: 900;
}

.strength-list.right span {
  background: var(--green);
}

.strength-list h3 {
  margin-bottom: 8px;
  font-size: clamp(17px, 1.6vw, 22px);
}

.strength-list p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.strength-image {
  display: block;
}

.strength-image img {
  width: 100%;
  border-radius: 8px;
}

.strength-list.right div:last-child {
  background: var(--base);
  border-color: rgba(240, 122, 36, 0.28);
}

.strength-list.right div:last-child span {
  background: var(--orange);
}

.strength-list.right div:last-child::before,
.strength-list.right div:last-child::after {
  background: var(--base);
  border-color: rgba(240, 122, 36, 0.28);
}

.strength-list.right div:last-child::before {
  left: -20px;
}

.demo {
  background: linear-gradient(180deg, #ffffff 0%, #edf8f3 100%);
}

.demo-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(330px, 0.62fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
  max-width: 1180px;
  margin: 0 auto;
}

.demo-panel {
  overflow: hidden;
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.demo-panel picture {
  display: block;
  overflow: hidden;
  width: 100%;
  height: 300px;
  margin: -14px auto 18px;
  border-radius: 8px;
}

.demo-panel img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  transform: none;
}

.demo-panel ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--navy);
  font-weight: 900;
}

.demo-panel li {
  padding: 12px 14px;
  background: var(--base);
  border-left: 4px solid var(--green);
  border-radius: 6px;
}

.analysis {
  position: relative;
  z-index: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  width: min(calc(100% - 40px), 1180px);
  margin: 0 auto;
  padding: clamp(44px, 7vw, 78px) 0;
  color: var(--white);
  background: transparent;
}

.analysis::before {
  position: absolute;
  inset: 0 50%;
  z-index: -1;
  width: 100vw;
  content: "";
  background:
    linear-gradient(135deg, rgba(8, 48, 95, 0.98), rgba(22, 104, 184, 0.94)),
    repeating-linear-gradient(90deg, rgba(255, 215, 94, 0.28) 0 18px, transparent 18px 42px);
  transform: translateX(-50%);
}

.analysis h2,
.analysis p,
.analysis .eyebrow {
  color: var(--white);
}

.analysis-copy {
  max-width: 850px;
}

.analysis-button {
  min-width: min(100%, 560px);
  min-height: 112px;
  padding: 26px 56px;
  border: 4px solid rgba(255, 255, 255, 0.92);
  border-radius: 999px;
  box-shadow: 0 18px 0 rgba(8, 48, 95, 0.22), 0 26px 40px rgba(8, 48, 95, 0.24);
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.15;
}

.analysis-button::after {
  margin-left: 18px;
  content: ">";
  font-size: 0.9em;
}

.works-head p {
  width: fit-content;
  margin: 0 auto 18px;
  color: var(--green);
  font-size: clamp(20px, 4.5vw, 24px);
  font-weight: 500;
  line-height: 1.5;
  text-align: center;
}

.works-head h2 {
  width: fit-content;
  margin: 0 auto 20px;
  color: var(--green);
  font-size: clamp(28px, 6vw, 32px);
  line-height: 1.2;
  font-weight: 900;
  text-align: center;
}

.works-button {
  position: relative;
  display: grid;
  place-items: center;
  width: min(100%, 1120px);
  min-height: 220px;
  margin: 80px auto 0;
  padding: 34px clamp(230px, 28vw, 390px) 34px clamp(28px, 7vw, 92px);
  overflow: visible;
  color: var(--white);
  background: linear-gradient(to right, #22b573 20%, #8bd8b5 60%, #b1e5cf 100%);
  border-radius: 9999px;
  box-shadow: 0 22px 44px rgba(20, 111, 189, 0.16);
  font-weight: 900;
  text-align: center;
}

.works-button-image {
  position: absolute;
  right: clamp(20px, 5vw, 70px);
  bottom: -18px;
  display: block;
  width: clamp(180px, 23vw, 300px);
  aspect-ratio: 523 / 640;
  overflow: visible;
  border-radius: 0;
  transform: none;
}

.works-button-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: bottom right;
}

.works-button-text {
  position: relative;
  z-index: 1;
  display: block;
  font-size: clamp(34px, 4.2vw, 54px);
  line-height: 1.2;
  text-shadow: none;
}

.works-button-text span {
  color: #ffff00;
}

.works-button-text::after {
  display: none;
}

.flow-list {
  display: block;
  max-width: 720px;
  margin: 48px auto 0;
  padding: 0;
  list-style: none;
}

.flow-list li {
  position: relative;
  display: flex;
  gap: 16px;
  min-height: 92px;
  background-color: var(--white);
  border: 0;
  border-radius: 5px;
  box-shadow: 0 12px 30px rgba(8, 48, 95, 0.08);
  text-align: left;
}

.flow-list li + li {
  margin-top: 52px;
}

.flow-list li::after {
  position: absolute;
  bottom: -16px;
  left: 50%;
  z-index: 2;
  width: 180px;
  height: 20px;
  content: "";
  background: linear-gradient(90deg, #08305f 0%, #1668b8 100%);
  clip-path: polygon(0 0, 100% 0, 50% 100%);
  transform: translate(-50%, 100%);
}

.flow-list li:last-child::after {
  display: none;
}

.flow-list span {
  position: relative;
  display: grid;
  width: 92px;
  min-width: 92px;
  place-items: center;
  margin-bottom: 0;
  overflow: hidden;
  color: transparent;
  background: linear-gradient(90deg, #08305f 0%, #1668b8 100%);
  background-clip: text;
  -webkit-background-clip: text;
  font-size: clamp(42px, 4.4vw, 62px);
  line-height: 1;
  font-weight: 900;
  transform: none;
}

.flow-list li > div {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 16px 18px 16px 0;
}

.flow-list h3 {
  display: block;
  align-items: center;
  margin-bottom: 4px;
  padding: 0;
  color: var(--navy);
  font-size: clamp(18px, 1.389vw, 20px);
  line-height: 1.5;
  font-weight: 700;
}

.flow-list p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.contact {
  display: block;
  padding: clamp(58px, 8vw, 96px) clamp(20px, 5vw, 72px);
  background: linear-gradient(180deg, #fff8ef, #ffffff);
}

.contact-copy {
  max-width: 920px;
  margin: 0 auto clamp(34px, 5vw, 56px);
  text-align: center;
}

.contact-copy p:not(.eyebrow) {
  max-width: 760px;
  margin-right: auto;
  margin-left: auto;
  color: var(--muted);
}

.ai-simulator {
  display: grid;
  gap: 22px;
  max-width: 1180px;
  margin: 0 auto;
}

.simulator-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(22px, 4vw, 42px);
  align-items: start;
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: clamp(22px, 4vw, 34px);
  background: var(--white);
  border: 1px solid #f2d5c1;
  border-radius: 8px;
  box-shadow: 0 20px 44px rgba(216, 72, 72, 0.1);
}

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

.simulator-form .simulator-step,
.simulator-form .form-row,
.simulator-form .simulator-message-field,
.simulator-form .simulator-error,
.simulator-form .simulator-run {
  grid-column: 1 / -1;
}

.proposal-card,
.simulator-success {
  display: grid;
  gap: 16px;
  padding: clamp(22px, 4vw, 34px);
  background: var(--navy);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  box-shadow: 0 20px 44px rgba(8, 48, 95, 0.18);
}

.proposal-card {
  min-height: 100%;
}

.simulator-contact-form {
  max-width: 760px;
  margin: 26px auto 0;
}

.proposal-card,
.proposal-card p,
.proposal-card h3,
.proposal-card small,
.simulator-success,
.simulator-success p {
  color: var(--white);
}

.simulator-step {
  display: grid;
  gap: 4px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(20, 111, 189, 0.14);
}

.proposal-card .simulator-step {
  border-bottom-color: rgba(255, 255, 255, 0.12);
}

.simulator-step span {
  color: var(--green);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.proposal-card .simulator-step span {
  color: #ffd75e;
}

.simulator-step strong {
  color: var(--navy);
  font-size: 18px;
}

.proposal-card .simulator-step strong {
  color: var(--white);
}

.contact-form label {
  display: grid;
  gap: 7px;
  color: var(--navy);
  font-size: 14px;
  font-weight: 900;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 13px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  font: inherit;
  background: var(--white);
}

.contact-form textarea {
  resize: vertical;
}

.simulator-summary-field textarea {
  min-height: 180px;
  background: #f7fbff;
  border-color: rgba(20, 111, 189, 0.18);
  font-size: 13px;
  line-height: 1.7;
}

.simulator-run,
.simulator-submit {
  width: 100%;
  min-height: 58px;
}

.simulator-error {
  margin: 0;
  padding: 12px 14px;
  color: #b42318;
  background: #fff0f0;
  border: 1px solid #ffd2d2;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 900;
}

.ai-empty-state,
.ai-loading-state,
.ai-result-panel {
  min-height: 320px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
}

.ai-empty-state {
  display: grid;
  place-content: center;
  text-align: center;
}

.ai-empty-state p {
  max-width: 360px;
  margin: 8px auto 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
}

.ai-loading-state {
  display: grid;
  place-content: center;
  text-align: center;
}

.ai-loading-state span {
  display: block;
  width: 42px;
  height: 42px;
  margin: 0 auto 14px;
  border: 4px solid rgba(255, 255, 255, 0.16);
  border-top-color: #ffd75e;
  border-radius: 50%;
  animation: simulator-spin 0.9s linear infinite;
}

.ai-loading-state p {
  margin: 0;
  font-weight: 900;
}

.ai-result-panel {
  gap: 12px;
}

.result-note {
  margin-bottom: 10px;
  color: #bdf7df;
  font-size: 13px;
  font-weight: 900;
}

#proposal-output-box,
#draft-reply-box {
  max-height: 420px;
  margin: 0;
  padding: 16px;
  overflow: auto;
  color: var(--white);
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  font-family: inherit;
  font-size: 13px;
  line-height: 1.7;
  white-space: pre-wrap;
}

.simulator-success {
  max-width: 760px;
  margin-left: auto;
}

.simulator-success h3 {
  margin: 0;
  color: var(--white);
}

.is-hidden {
  display: none !important;
}

@keyframes simulator-spin {
  to {
    transform: rotate(360deg);
  }
}

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

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 28px clamp(20px, 5vw, 72px);
  color: var(--white);
  background: var(--navy);
}

.site-footer span,
.site-footer p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
}

@media (max-width: 980px) {
  .nav-toggle {
    display: block;
  }

  .global-nav {
    position: absolute;
    inset: 76px 20px auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 14px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
  }

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

  .global-nav a {
    border-radius: 8px;
  }

  .hero,
  .demo-layout,
  .analysis,
  .contact,
  .simulator-grid {
    grid-template-columns: 1fr;
  }

  .demo-actions {
    display: grid;
  }

  .demo-actions .button,
  .demo-actions .demo-request {
    width: 100%;
  }

  .hero {
    background: linear-gradient(180deg, #ffffff 0%, #eef7ff 100%);
  }

  .hero-visual {
    max-width: 720px;
  }

  .hero-bubbles {
    justify-content: flex-start;
  }

  .service-strip,
  .issue-grid,
  .strength-layout {
    grid-template-columns: 1fr;
  }

  .flow-list {
    max-width: 720px;
  }

  .flow-list li:nth-child(n) {
    min-height: 92px;
  }

  .flow-list li::after {
    bottom: -14px;
    left: 50%;
    transform: translate(-50%, 100%);
  }

  .works-button {
    min-height: 190px;
    padding-right: clamp(150px, 34vw, 240px);
  }

  .works-button-image {
    width: clamp(120px, 25vw, 190px);
  }

  .strength-list.right div {
    border-color: rgba(21, 152, 107, 0.24);
  }

  .strength-list div::before,
  .strength-list div::after {
    display: none;
  }

  .service-strip {
    transform: none;
    margin-top: 20px;
  }

  .service-strip a {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .service-strip a:last-child {
    border-bottom: 0;
  }
}

@media (max-width: 640px) {
  .site-header {
    min-height: 68px;
    padding: 12px 16px;
  }

  .brand {
    min-width: 0;
  }

  .brand img {
    width: 128px;
  }

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

  .brand strong {
    font-size: 18px;
  }

  .global-nav {
    inset: 68px 16px auto;
  }

  .hero {
    padding: 34px 16px 40px;
  }

  .hero-bubbles li,
  .hero-bubbles li:nth-child(n) {
    width: 100%;
    max-width: none;
    margin-left: 0;
    border-radius: 8px;
    white-space: normal;
  }

  .hero-bubbles li::after {
    display: none;
  }

  h1 {
    font-size: 32px;
  }

  .demo-actions {
    display: grid;
  }

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

  .section,
  .contact {
    padding: 52px 16px;
  }

  .issue-grid article,
  .demo-panel {
    padding: 22px;
  }

  .analysis {
    padding: 48px 16px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    padding: 26px 16px;
  }
}
