:root {
  --bg: #f4f8fc;
  --surface-low: #edf2f7;
  --surface: #ffffff;
  --surface-high: #e6edf5;
  --surface-top: #d6e0ee;
  --text: #22303f;
  --text-muted: #617082;
  --outline: #b3becc;
  --primary: #3a679a;
  --primary-deep: #294d78;
  --neutral: #667487;
  --shadow: 0 18px 50px rgba(31, 54, 86, 0.08);
  --max-width: 1440px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Sora", sans-serif;
  background:
    radial-gradient(circle at 12% 10%, rgba(58, 103, 154, 0.09), transparent 24%),
    radial-gradient(circle at 88% 4%, rgba(102, 137, 186, 0.12), transparent 18%),
    linear-gradient(180deg, #f7fbff 0%, var(--bg) 42%, #eef3f9 100%);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

p {
  line-height: 1.75;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(244, 248, 252, 0.96);
  border-bottom: 1px solid rgba(179, 190, 204, 0.2);
  backdrop-filter: blur(10px);
}

.header-inner,
.hero-inner,
.section-head,
.philosophy-section,
.site-footer .footer-grid {
  width: min(calc(100% - 48px), var(--max-width));
  margin: 0 auto;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 92px;
}

.brand {
  font-size: 1.22rem;
  font-weight: 700;
  letter-spacing: -0.05em;
}

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

.site-nav a {
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(34, 48, 63, 0.78);
  transition: color 180ms ease, opacity 180ms ease;
}

.site-nav a:hover,
.footer-column a:hover {
  color: var(--primary);
}

.header-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transition: transform 180ms ease, opacity 180ms ease, background-color 180ms ease;
}

.header-cta {
  min-height: 46px;
  padding: 0 22px;
  background: var(--primary);
  color: #eef6ff;
  box-shadow: 0 12px 24px rgba(58, 103, 154, 0.18);
}

.header-cta:hover,
.button:hover {
  opacity: 0.95;
  transform: translateY(-1px);
}

.hero-section {
  position: relative;
  overflow: hidden;
  min-height: 870px;
  padding: 112px 0 72px;
}

.grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(214, 224, 238, 0.8) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(214, 224, 238, 0.8) 1px, transparent 1px);
  background-size: 40px 40px;
  opacity: 0.42;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 8fr) minmax(320px, 4fr);
  gap: 48px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 24px;
  color: var(--primary);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.hero-copy h1,
.section-head h2,
.philosophy-intro h2 {
  margin: 0;
  letter-spacing: -0.08em;
  line-height: 0.9;
}

.hero-copy h1 {
  font-size: clamp(3.8rem, 9vw, 8rem);
  margin-bottom: 32px;
}

.hero-text,
.section-text,
.philosophy-intro p,
.principles p,
.product-card p,
.structure-grid p,
.footer-note,
.footer-end p {
  color: var(--text-muted);
}

.hero-text {
  max-width: 640px;
  margin: 0 0 36px;
  font-size: 1.08rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.button {
  min-height: 58px;
  padding: 0 28px;
}

.button-primary {
  background: var(--primary);
  color: #eef6ff;
  box-shadow: 0 16px 28px rgba(58, 103, 154, 0.18);
}

.button-secondary {
  background: var(--surface-high);
  color: var(--text);
  border: 1px solid rgba(179, 190, 204, 0.26);
}

.hero-frame {
  display: flex;
  justify-content: flex-end;
}

.frame-shell {
  position: relative;
  width: min(100%, 460px);
  aspect-ratio: 1 / 1;
  padding: 48px;
  border: 1px solid rgba(179, 190, 204, 0.34);
  background: rgba(255, 255, 255, 0.52);
  backdrop-filter: blur(10px);
  box-shadow: 0 26px 60px rgba(31, 54, 86, 0.08);
}

.frame-content {
  height: 100%;
  border: 0.5px solid rgba(58, 103, 154, 0.24);
  display: grid;
  align-content: space-between;
  padding: 32px;
  background:
    linear-gradient(180deg, rgba(247, 250, 255, 0.92), rgba(235, 242, 249, 0.88));
}

.frame-corners {
  position: absolute;
  width: 18px;
  height: 18px;
  border-color: var(--primary);
}

.frame-corner-top-left {
  top: 0;
  left: 0;
  border-top: 1px solid var(--primary);
  border-left: 1px solid var(--primary);
}

.frame-corner-top-right {
  top: 0;
  right: 0;
  border-top: 1px solid var(--primary);
  border-right: 1px solid var(--primary);
}

.frame-corner-bottom-left {
  bottom: 0;
  left: 0;
  border-bottom: 1px solid var(--primary);
  border-left: 1px solid var(--primary);
}

.frame-corner-bottom-right {
  bottom: 0;
  right: 0;
  border-bottom: 1px solid var(--primary);
  border-right: 1px solid var(--primary);
}

.frame-stat span,
.footer-column span {
  display: block;
  margin-bottom: 12px;
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.frame-stat strong {
  display: block;
  max-width: 10ch;
  font-size: 2rem;
  line-height: 1.08;
  letter-spacing: -0.05em;
}

.frame-list {
  display: grid;
  gap: 10px;
}

.frame-list p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.products-section,
.structure-section {
  background: var(--surface-low);
  padding: 120px 0;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 48px;
  margin-bottom: 72px;
}

.section-head h2,
.philosophy-intro h2 {
  font-size: clamp(2.3rem, 4.6vw, 4.2rem);
}

.section-text {
  max-width: 520px;
  margin: 0;
  text-align: right;
}

.products-grid,
.structure-grid {
  width: min(calc(100% - 48px), var(--max-width));
  margin: 0 auto;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: rgba(179, 190, 204, 0.22);
  border: 1px solid rgba(179, 190, 204, 0.24);
}

.product-card {
  display: flex;
  flex-direction: column;
  padding: 40px;
  background: var(--surface);
  min-height: 400px;
  transition: background-color 180ms ease;
}

.product-card:hover {
  background: #f8fbff;
}

.card-icon {
  margin-bottom: 48px;
  color: var(--primary);
  font-size: 2rem;
  font-weight: 300;
  letter-spacing: -0.08em;
}

.product-card h3 {
  margin: 0 0 16px;
  font-size: 1.35rem;
  letter-spacing: -0.05em;
}

.product-card p {
  margin: 0 0 28px;
  font-size: 0.92rem;
}

.product-card a {
  margin-top: auto;
  color: var(--primary);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.philosophy-section {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 96px;
  padding-top: 120px;
  padding-bottom: 120px;
}

.divider {
  width: 96px;
  height: 1px;
  background: var(--primary);
  margin: 28px 0;
}

.principles {
  display: flex;
  flex-direction: column;
  gap: 56px;
}

.principles article {
  display: flex;
  gap: 28px;
}

.principles span {
  color: rgba(173, 179, 180, 0.9);
  font-size: 2.6rem;
  font-weight: 700;
  letter-spacing: -0.08em;
  transition: color 180ms ease;
}

.principles article:hover span {
  color: var(--primary);
}

.principles h3,
.structure-grid h3 {
  margin: 0 0 12px;
  font-size: 1.2rem;
  letter-spacing: -0.04em;
}

.principles p,
.structure-grid p {
  max-width: 540px;
  margin: 0;
}

.structure-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.structure-grid article {
  min-height: 220px;
  padding: 28px;
  background: var(--surface);
  border: 1px solid rgba(179, 190, 204, 0.18);
  box-shadow: var(--shadow);
}

.site-footer {
  background: var(--surface-low);
  border-top: 1px solid rgba(34, 48, 63, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 48px;
  padding: 72px 0;
}

.footer-brand {
  margin: 0 0 20px;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.05em;
}

.footer-note,
.footer-end p {
  margin: 0;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.footer-column {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-column a {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(34, 48, 63, 0.84);
}

.footer-end {
  display: flex;
  align-items: end;
  justify-content: flex-end;
}

@media (max-width: 1100px) {
  .hero-inner,
  .philosophy-section,
  .section-head,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-inner,
  .philosophy-section {
    gap: 56px;
  }

  .section-head {
    display: grid;
    align-items: start;
  }

  .section-text {
    text-align: left;
  }

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

  .footer-end {
    justify-content: flex-start;
  }
}

@media (max-width: 760px) {
  .header-inner,
  .hero-inner,
  .section-head,
  .philosophy-section,
  .site-footer .footer-grid,
  .products-grid,
  .structure-grid {
    width: min(calc(100% - 24px), var(--max-width));
  }

  .site-nav {
    display: none;
  }

  .hero-section,
  .products-section,
  .structure-section {
    padding-top: 88px;
    padding-bottom: 88px;
  }

  .hero-copy h1 {
    font-size: 3.2rem;
  }

  .hero-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .frame-shell {
    padding: 22px;
  }

  .frame-content {
    padding: 20px;
  }

  .frame-stat strong {
    max-width: none;
    font-size: 1.6rem;
  }

  .products-grid,
  .structure-grid {
    grid-template-columns: 1fr;
  }

  .product-card {
    min-height: auto;
  }

  .principles article {
    gap: 18px;
  }

  .principles span {
    font-size: 2rem;
  }
}
