:root {
  --ink: #23313a;
  --muted: #65727b;
  --blue: #00557a;
  --blue-dark: #01364f;
  --red: #d84343;
  --line: #d9e1e5;
  --soft: #f3f7f8;
  --paper: #fffdf9;
  --white: #ffffff;
  --warm: #fff3ef;
  --shadow: 0 20px 50px rgba(1, 54, 79, 0.12);
  --radius: 22px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Segoe UI", Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--blue);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 253, 249, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.nav {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--ink);
  font-weight: 700;
}

.brand img {
  width: 148px;
  display: block;
}

.brand span {
  max-width: 250px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.25;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  border-radius: 16px;
  font-size: 22px;
  cursor: pointer;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-links a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
}

.nav-links a[aria-current="page"] {
  color: var(--blue);
}

.button,
.button-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
}

.button {
  color: var(--white);
  background: var(--blue);
  box-shadow: 0 10px 22px rgba(0, 85, 122, 0.2);
}

.button:hover {
  background: var(--blue-dark);
}

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

.section {
  padding: 76px 0;
}

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

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

.hero {
  padding: 72px 0 64px;
  background:
    radial-gradient(circle at 88% 18%, rgba(216, 67, 67, 0.14), transparent 28%),
    radial-gradient(circle at 8% 82%, rgba(0, 85, 122, 0.12), transparent 32%),
    linear-gradient(135deg, rgba(0, 85, 122, 0.08), rgba(216, 67, 67, 0.06)),
    var(--paper);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 48px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 16px;
  color: var(--blue-dark);
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 3px;
  background: var(--red);
  border-radius: 99px;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--ink);
  line-height: 1.12;
}

h1 {
  max-width: 760px;
  font-size: clamp(2.2rem, 5vw, 4.6rem);
}

h2 {
  font-size: clamp(1.8rem, 3vw, 2.7rem);
}

h3 {
  font-size: 1.18rem;
}

.lead {
  max-width: 680px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 1.12rem;
}

.hero-actions,
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.hero-card,
.hero-visual {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}

.hero-visual {
  position: relative;
  overflow: hidden;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 92% 12%, rgba(216, 67, 67, 0.18), transparent 28%),
    linear-gradient(135deg, rgba(0, 85, 122, 0.08), rgba(216, 67, 67, 0.06));
  pointer-events: none;
}

.hero-visual > * {
  position: relative;
}

.visual-top {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.visual-top img {
  width: 86px;
  display: block;
}

.visual-top strong,
.visual-top span {
  display: block;
}

.visual-top span {
  color: var(--muted);
  font-size: 14px;
}

.browser-frame {
  margin-bottom: 22px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--white);
}

.browser-dots {
  display: flex;
  gap: 6px;
  margin-bottom: 16px;
}

.browser-dots span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--line);
}

.browser-dots span:first-child {
  background: var(--red);
}

.mock-line {
  height: 12px;
  border-radius: 99px;
  background: rgba(0, 85, 122, 0.18);
  margin-bottom: 10px;
}

.mock-line.large {
  width: 76%;
  height: 18px;
  background: var(--blue);
}

.mock-line.medium {
  width: 54%;
}

.mock-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 18px;
}

.mock-grid span {
  min-height: 56px;
  border-radius: 16px;
  background: var(--soft);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue-dark);
  font-size: 13px;
  font-weight: 800;
}

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

.quick-list li {
  display: grid;
  grid-template-columns: 10px minmax(0, 1fr);
  gap: 12px;
  align-items: flex-start;
  color: var(--ink);
}

.quick-list > li > span {
  width: 10px;
  height: 10px;
  margin-top: 8px;
  border-radius: 50%;
  background: var(--red);
}

.quick-list strong {
  display: block;
  margin-bottom: 2px;
}

.comic-scene {
  position: relative;
  overflow: hidden;
  margin: 0;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.comic-scene img {
  display: block;
  width: 100%;
  aspect-ratio: 21 / 9;
  object-fit: cover;
  border-radius: 18px;
}

.comic-scene figcaption {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  padding: 16px 8px 4px;
}

.comic-scene figcaption strong {
  color: var(--ink);
  font-size: 1.1rem;
}

.comic-scene figcaption span {
  max-width: 720px;
  color: var(--muted);
}

.hero-comic {
  margin-top: 42px;
}

.page-illustration {
  overflow: hidden;
  margin: 34px 0 0;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.page-illustration img {
  display: block;
  width: 100%;
  aspect-ratio: 21 / 8;
  object-fit: cover;
  border-radius: 16px;
}

.visual-split {
  display: grid;
  grid-template-columns: minmax(280px, 0.75fr) minmax(0, 1fr);
  gap: 30px;
  align-items: center;
}

.visual-right {
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.72fr);
}

.visual-panel {
  grid-column: 1 / -1;
}

.side-visual {
  overflow: hidden;
  margin: 0;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.side-visual img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 16px;
}

.section-head {
  max-width: 760px;
  margin-bottom: 34px;
}

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

.grid-3,
.grid-2,
.offer-grid {
  display: grid;
  gap: 18px;
}

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

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

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 24px;
}

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

.service-card {
  min-height: 260px;
  display: flex;
  flex-direction: column;
}

.service-card strong {
  display: block;
  margin-top: auto;
  padding-top: 18px;
  color: var(--blue-dark);
}

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

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

.cost-grid article {
  min-height: 190px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 12px 28px rgba(1, 54, 79, 0.08);
}

.cost-grid strong,
.cost-grid span {
  display: block;
}

.cost-grid strong {
  color: var(--ink);
  font-size: 1.12rem;
}

.cost-grid span {
  margin-top: 10px;
  color: var(--blue);
  font-weight: 800;
}

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

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

.offer-card {
  min-height: 230px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.98)),
    var(--white);
  box-shadow: 0 12px 28px rgba(1, 54, 79, 0.08);
}

.offer-card.large {
  grid-column: span 2;
  background:
    linear-gradient(135deg, rgba(0, 85, 122, 0.08), rgba(216, 67, 67, 0.08)),
    var(--white);
}

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

.offer-card strong {
  display: block;
  margin-top: 16px;
  color: var(--blue-dark);
}

.number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 34px;
  padding: 0 8px;
  margin-bottom: 16px;
  border-radius: 50%;
  background: rgba(0, 85, 122, 0.1);
  color: var(--blue);
  font-weight: 700;
}

.showcase {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(360px, 1.15fr);
  gap: 38px;
  align-items: center;
}

.showcase-copy p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.05rem;
}

.showcase-board {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: 22px;
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(0, 85, 122, 0.9), rgba(1, 54, 79, 1)),
    var(--blue-dark);
  box-shadow: var(--shadow);
}

.showcase-board div {
  min-height: 128px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
}

.showcase-board strong,
.showcase-board span {
  display: block;
}

.showcase-board strong {
  color: var(--white);
  font-size: 1.15rem;
}

.showcase-board span {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.78);
}

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

.project-strip article,
.path-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 12px 28px rgba(1, 54, 79, 0.08);
}

.project-strip article {
  padding: 24px;
  min-height: 220px;
}

.project-strip article::after,
.path-card::after {
  content: "";
  position: absolute;
  right: -46px;
  bottom: -46px;
  width: 118px;
  height: 118px;
  border-radius: 50%;
  background: rgba(216, 67, 67, 0.1);
}

.project-strip span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  border-radius: 50%;
  color: var(--white);
  background: var(--blue);
  font-weight: 800;
}

.project-strip strong {
  display: block;
  font-size: 1.15rem;
  line-height: 1.25;
  color: var(--ink);
}

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

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

.path-card {
  min-height: 275px;
  padding: 24px;
}

.path-card.featured {
  grid-column: span 2;
  background:
    linear-gradient(135deg, rgba(0, 85, 122, 0.08), rgba(216, 67, 67, 0.08)),
    var(--white);
}

.path-card h2 {
  font-size: 1.55rem;
}

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

.path-card strong {
  display: block;
  margin-top: 18px;
  color: var(--blue-dark);
}

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

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

.clarity-grid article {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 12px 28px rgba(1, 54, 79, 0.08);
}

.clarity-grid h2 {
  font-size: 1.35rem;
}

.clarity-grid ul {
  display: grid;
  gap: 8px;
  margin: 16px 0 0;
  padding-left: 18px;
  color: var(--muted);
}

.price-card {
  display: flex;
  flex-direction: column;
  min-height: 440px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 12px 28px rgba(1, 54, 79, 0.08);
}

.price-card.featured {
  background:
    linear-gradient(135deg, rgba(0, 85, 122, 0.08), rgba(216, 67, 67, 0.08)),
    var(--white);
}

.price-card h2 {
  font-size: 1.45rem;
}

.price {
  margin: 16px 0 0;
  color: var(--blue-dark);
  font-size: 1.45rem;
  font-weight: 900;
}

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

.price-card ul {
  display: grid;
  gap: 8px;
  margin: auto 0 0;
  padding: 18px 0 0 18px;
  color: var(--ink);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
  gap: 42px;
  align-items: start;
}

.panel {
  background: var(--blue-dark);
  color: var(--white);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow);
}

.panel h2,
.panel h3 {
  color: var(--white);
}

.panel p {
  color: rgba(255, 255, 255, 0.82);
}

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

.step {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}

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

.step span {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  font-weight: 700;
}

.contact-box {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
}

.contact-visual {
  margin-bottom: 22px;
}

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

.contact-list strong {
  display: block;
  color: var(--ink);
}

.contact-list a {
  font-weight: 700;
  text-decoration: none;
}

.contact-form {
  display: grid;
  gap: 16px;
  margin-top: 18px;
}

.contact-form label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-weight: 800;
}

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

.contact-form textarea {
  resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: 3px solid rgba(0, 85, 122, 0.18);
  border-color: var(--blue);
}

.notice {
  margin-top: 18px;
  padding: 14px 16px;
  border-left: 4px solid var(--red);
  border-radius: 0 14px 14px 0;
  background: rgba(216, 67, 67, 0.08);
  color: var(--ink);
}

.page-title {
  padding: 58px 0 36px;
  background: var(--soft);
}

.page-title p {
  max-width: 760px;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.footer {
  padding: 34px 0;
  color: rgba(255, 255, 255, 0.78);
  background: var(--blue-dark);
}

.footer .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footer a {
  color: var(--white);
  text-decoration: none;
  font-weight: 700;
}

@media (max-width: 820px) {
  .nav {
    min-height: 68px;
  }

  .brand img {
    width: 126px;
  }

  .brand span {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .nav-links {
    position: absolute;
    left: 16px;
    right: 16px;
    top: 68px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
  }

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

  .nav-links a {
    padding: 8px 0;
  }

  .hero-grid,
  .split,
  .showcase,
  .grid-2,
  .grid-3,
  .cost-grid,
  .hosting-grid,
  .offer-grid,
  .project-strip,
  .service-paths,
  .pricing-grid,
  .clarity-grid {
    grid-template-columns: 1fr;
  }

  .offer-card.large,
  .path-card.featured {
    grid-column: auto;
  }

  .hero {
    padding-top: 36px;
  }

  .comic-scene {
    padding: 8px;
  }

  .comic-scene img {
    aspect-ratio: 4 / 5;
    object-position: 35% center;
  }

  .comic-scene figcaption {
    display: block;
    padding: 14px 6px 4px;
  }

  .comic-scene figcaption span {
    display: block;
    margin-top: 6px;
  }

  .page-illustration img {
    aspect-ratio: 4 / 3;
  }

  .visual-split,
  .visual-right {
    grid-template-columns: 1fr;
  }

  .visual-left .side-visual {
    order: 2;
  }

  .visual-left .visual-copy {
    order: 1;
  }

  .visual-panel {
    grid-column: auto;
  }

  .section {
    padding: 54px 0;
  }

  .showcase-board {
    grid-template-columns: 1fr;
  }

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