:root {
  --ink: #101827;
  --muted: #5f6b7a;
  --paper: #f7f9fc;
  --panel: #ffffff;
  --line: #dce4ef;
  --blue: #1257d8;
  --blue-dark: #083f9f;
  --cyan: #13a8c7;
  --green: #18a66a;
  --amber: #f2b84b;
  --shadow: 0 18px 48px rgba(16, 24, 39, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Segoe UI", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.75;
}

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

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
  padding: 14px clamp(18px, 4vw, 58px);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--blue-dark);
  font-size: 1.12rem;
  font-weight: 900;
  text-decoration: none;
  white-space: nowrap;
}

.brand img {
  width: 46px;
  height: 46px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 3px;
}

.site-nav a {
  min-height: 42px;
  padding: 10px 13px;
  border-radius: 8px;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 800;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--blue-dark);
  background: #eaf2ff;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--ink);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.92fr);
  align-items: center;
  gap: clamp(30px, 5vw, 72px);
  min-height: calc(100vh - 76px);
  padding: clamp(54px, 8vw, 96px) clamp(18px, 6vw, 76px);
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 82% 22%, rgba(19, 168, 199, 0.45), transparent 30%),
    linear-gradient(135deg, #071a3a 0%, #0e3274 52%, #103b7d 100%);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto -10% -34% -10%;
  height: 360px;
  background: rgba(255, 255, 255, 0.08);
  transform: rotate(-4deg);
}

.hero-copy,
.hero-art {
  position: relative;
  z-index: 1;
}

.hero-copy {
  max-width: 760px;
}

.hero-art {
  width: min(560px, 100%);
  justify-self: center;
  filter: drop-shadow(0 32px 40px rgba(0, 0, 0, 0.28));
}

.kicker,
.eyebrow {
  margin: 0 0 12px;
  color: var(--cyan);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero .kicker {
  color: #7de7ff;
}

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

h1 {
  margin-bottom: 20px;
  font-size: clamp(2.45rem, 6vw, 5.3rem);
  line-height: 1.06;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(1.7rem, 3vw, 2.55rem);
  line-height: 1.22;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  font-size: 1.12rem;
}

.hero-copy p {
  max-width: 690px;
  color: #dbe8ff;
  font-size: 1.08rem;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
}

.button.primary {
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  box-shadow: 0 12px 24px rgba(18, 87, 216, 0.24);
}

.button.secondary {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.12);
}

.button.centered {
  width: fit-content;
  margin: 28px auto 0;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  width: min(1120px, calc(100% - 36px));
  margin: -34px auto 0;
  position: relative;
  z-index: 2;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
  box-shadow: var(--shadow);
}

.trust-strip div {
  padding: 22px;
  background: #fff;
}

.trust-strip strong,
.trust-strip span {
  display: block;
}

.trust-strip strong {
  color: var(--blue-dark);
  font-size: 1rem;
}

.trust-strip span {
  color: var(--muted);
  font-size: 0.93rem;
}

.section {
  width: min(1140px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(56px, 8vw, 96px) 0;
}

.split,
.two-column,
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(28px, 5vw, 64px);
}

.feature-grid,
.values,
.plan-cards,
.pricing-grid {
  display: grid;
  gap: 18px;
}

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

.feature-grid article,
.values article,
.plan-cards article,
.pricing-card,
.contact-panel,
.contact-form {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 10px 30px rgba(16, 24, 39, 0.06);
}

.feature-grid article,
.values article,
.plan-cards article,
.pricing-card,
.contact-panel {
  padding: 24px;
}

.feature-grid h3::before,
.values h3::before {
  content: "";
  display: inline-block;
  width: 10px;
  height: 10px;
  margin-right: 9px;
  border-radius: 50%;
  background: var(--green);
}

.plans-preview {
  text-align: center;
}

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

.price {
  margin-bottom: 10px;
  color: var(--blue-dark);
  font-size: 2.15rem;
  font-weight: 900;
  line-height: 1.1;
}

.price span {
  color: var(--muted);
  font-size: 1rem;
}

.featured {
  border-color: rgba(18, 87, 216, 0.34) !important;
  box-shadow: var(--shadow) !important;
}

.page-hero {
  padding: clamp(58px, 9vw, 98px) clamp(18px, 6vw, 76px);
  color: #fff;
  background:
    linear-gradient(135deg, rgba(7, 26, 58, 0.94), rgba(14, 50, 116, 0.92)),
    url("../images/banner.svg") center / cover no-repeat;
}

.page-hero h1 {
  max-width: 960px;
  font-size: clamp(2.15rem, 5vw, 4.25rem);
}

.page-hero p:last-child {
  max-width: 800px;
  color: #dbe8ff;
  font-size: 1.05rem;
}

.two-column p,
.feature-grid p,
.values p,
.plan-cards p,
.pricing-card li,
.legal-copy p,
.contact-panel p,
.contact-panel address {
  color: var(--muted);
}

.pricing-card {
  display: flex;
  flex-direction: column;
  min-height: 420px;
}

.plan-label {
  width: fit-content;
  margin-bottom: 12px;
  padding: 4px 10px;
  border-radius: 999px;
  color: var(--blue-dark);
  background: #eaf2ff;
  font-size: 0.82rem;
  font-weight: 900;
}

.pricing-card ul {
  margin: 16px 0 24px;
  padding-left: 20px;
}

.pricing-card .button {
  width: 100%;
  margin-top: auto;
}

.compare {
  padding-top: 0;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(16, 24, 39, 0.06);
}

table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
}

th,
td {
  padding: 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

th {
  color: var(--blue-dark);
  background: #eef5ff;
}

tr:last-child td {
  border-bottom: 0;
}

.contact-panel address {
  margin-bottom: 18px;
  font-style: normal;
}

.contact-panel a {
  color: var(--blue);
  font-weight: 900;
}

.contact-form {
  display: grid;
  gap: 10px;
  padding: 26px;
}

.contact-form label {
  font-weight: 900;
}

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

.contact-form textarea {
  resize: vertical;
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: var(--green);
  font-weight: 900;
}

.legal-copy {
  max-width: 900px;
}

.legal-copy h2 {
  margin-top: 30px;
  font-size: 1.42rem;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(18px, 4vw, 58px);
  color: #dbe8ff;
  background: #071a3a;
}

.site-footer p {
  margin: 0;
}

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

  .site-nav {
    position: absolute;
    top: 75px;
    left: 18px;
    right: 18px;
    display: none;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: var(--shadow);
  }

  .site-nav.open {
    display: grid;
  }

  .site-nav a {
    width: 100%;
  }

  .hero,
  .split,
  .two-column,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .trust-strip,
  .feature-grid,
  .values,
  .plan-cards,
  .pricing-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .brand span {
    font-size: 1rem;
  }

  .hero {
    padding-top: 44px;
  }

  .hero-actions,
  .site-footer {
    flex-direction: column;
    align-items: stretch;
  }

  .button,
  .button.centered {
    width: 100%;
  }

  .trust-strip {
    margin-top: 0;
    width: 100%;
    border-left: 0;
    border-right: 0;
    border-radius: 0;
  }
}
