@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:wght@400;500;600;700&family=Fraunces:opsz,wght@9..144,500;9..144,700&display=swap');

:root {
  --bg: #f4f4f3;
  --surface: #ffffff;
  --surface-soft: #f6f7f8;
  --ink: #0d1015;
  --muted: #4a5565;
  --line: #d5dae2;
  --line-strong: #9aa4b2;
  --accent: #111827;
  --shadow: 0 20px 42px rgba(15, 23, 42, 0.08);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  min-height: 100vh;
  font-family: 'IBM Plex Sans', 'Segoe UI', sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 10% -10%, #ffffff 0%, transparent 38%),
    radial-gradient(circle at 95% 0%, #edf1f7 0%, transparent 45%),
    var(--bg);
  line-height: 1.58;
}

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

.macro-shell {
  max-width: 1140px;
  margin: 0 auto;
  padding: 1rem 1rem 2.5rem;
}

.macro-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.25rem 0 1rem;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  min-width: 0;
}

.brand__logo {
  width: clamp(132px, 18vw, 210px);
  height: auto;
  object-fit: contain;
}

.brand__meta {
  display: flex;
  flex-direction: column;
  gap: 0.16rem;
}

.brand__name {
  margin: 0;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #1f2937;
}

.brand__sub {
  margin: 0;
  font-size: 0.76rem;
  color: var(--muted);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 0.45rem 0.84rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.action:hover,
.action:focus-visible {
  border-color: #111827;
  transform: translateY(-1px);
}

.action--solid {
  border-color: #111827;
  background: #111827;
  color: #ffffff;
}

.action--solid:hover,
.action--solid:focus-visible {
  background: #1f2937;
  color: #ffffff;
}

.hero {
  margin-top: 1rem;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: linear-gradient(135deg, #ffffff 0%, #fbfcfe 52%, #f2f5f8 100%);
  box-shadow: var(--shadow);
  padding: clamp(1rem, 2.4vw, 1.7rem);
  display: grid;
  grid-template-columns: minmax(0, 1.28fr) minmax(0, 0.78fr);
  gap: 1rem;
}

.hero__eyebrow {
  margin: 0;
  font-size: 0.69rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #334155;
}

.hero h1 {
  margin: 0.25rem 0 0;
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(2rem, 4.6vw, 3.05rem);
  letter-spacing: -0.01em;
  line-height: 1.1;
}

.hero__lead {
  margin: 0.72rem 0 0;
  max-width: 70ch;
  color: #263446;
  font-size: clamp(0.96rem, 1.4vw, 1.05rem);
}

.hero-side {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(247, 249, 252, 0.86);
  padding: 0.9rem;
}

.hero-side h2 {
  margin: 0;
  font-family: 'Fraunces', Georgia, serif;
  font-size: 1.08rem;
}

.hero-side p {
  margin: 0.55rem 0 0;
  color: #334155;
  font-size: 0.9rem;
}

.hero-side ul {
  margin: 0.6rem 0 0;
  padding-left: 1rem;
}

.hero-side li {
  color: #1f2937;
  font-size: 0.88rem;
}

.hero-side li + li {
  margin-top: 0.3rem;
}

.profile-grid {
  margin-top: 0.95rem;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.56rem;
}

.profile-item {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #ffffff;
  padding: 0.62rem 0.66rem;
}

.profile-item p {
  margin: 0;
}

.profile-item__label {
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #475569;
  font-weight: 600;
}

.profile-item__value {
  margin-top: 0.18rem;
  font-size: 0.9rem;
  color: #111827;
  font-weight: 600;
}

.section {
  margin-top: 1.25rem;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.7rem;
  margin-bottom: 0.8rem;
  border-bottom: 1px solid var(--line);
  padding-bottom: 0.45rem;
}

.section-head h2 {
  margin: 0;
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(1.25rem, 2vw, 1.52rem);
  line-height: 1.2;
}

.section-head p {
  margin: 0;
  font-size: 0.82rem;
  color: #475569;
}

.module-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.82rem;
}

.module-card {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
  padding: 0.95rem;
  display: flex;
  flex-direction: column;
  gap: 0.62rem;
  min-height: 100%;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.module-card:hover {
  border-color: #9aa5b3;
  transform: translateY(-1px);
}

.module-head {
  display: flex;
  align-items: center;
  gap: 0.62rem;
}

.module-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  border: 1px solid #c8cfda;
  background: #f8fafc;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.module-icon svg {
  width: 19px;
  height: 19px;
  stroke: #111827;
}

.module-label {
  margin: 0;
  font-size: 0.71rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #475569;
}

.module-card h3 {
  margin: 0.08rem 0 0;
  font-size: 1.02rem;
  letter-spacing: -0.01em;
}

.module-card p {
  margin: 0;
  color: #4b5563;
  font-size: 0.87rem;
}

.module-points {
  margin: 0;
  padding: 0;
  list-style: none;
}

.module-points li {
  position: relative;
  padding-left: 0.92rem;
  color: #1f2937;
  font-size: 0.9rem;
}

.module-points li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.53em;
  width: 0.36rem;
  height: 0.36rem;
  border-radius: 999px;
  background: #94a3b8;
}

.module-points li + li {
  margin-top: 0.3rem;
}

.info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.82rem;
}

.info-card {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
  padding: 0.95rem;
}

.info-card h3 {
  margin: 0;
  font-size: 0.84rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #334155;
}

.info-card p {
  margin: 0.56rem 0 0;
  color: #1f2937;
  font-size: 0.93rem;
}

.notice {
  margin-top: 1rem;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface);
  padding: 1rem;
  box-shadow: var(--shadow);
}

.notice h1 {
  margin: 0;
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(1.7rem, 4vw, 2.3rem);
}

.notice p {
  margin: 0.65rem 0 0;
  color: #334155;
}

.notice__actions {
  margin-top: 0.85rem;
  display: flex;
  gap: 0.56rem;
  flex-wrap: wrap;
}

.footer {
  margin-top: 1.28rem;
  border-top: 1px solid var(--line);
  padding-top: 0.72rem;
  display: flex;
  justify-content: space-between;
  gap: 0.6rem;
  flex-wrap: wrap;
  font-size: 0.78rem;
  color: #475569;
}

@media (max-width: 1020px) {
  .hero {
    grid-template-columns: 1fr;
  }

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

  .module-grid,
  .info-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .macro-shell {
    padding-top: 0.72rem;
  }

  .macro-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .brand {
    width: 100%;
  }

  .brand__logo {
    width: min(220px, 58vw);
  }

  .header-actions {
    width: 100%;
    justify-content: flex-start;
  }

  .action {
    font-size: 0.68rem;
    padding: 0.4rem 0.68rem;
  }

  .hero {
    border-radius: 18px;
    padding: 0.95rem;
  }

  .profile-grid {
    grid-template-columns: 1fr;
  }

  .section-head {
    flex-direction: column;
    align-items: flex-start;
  }
}
