*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: 16px;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #0f172a;
  background-color: #0b1120;
}

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

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

a:focus-visible {
  outline: 2px solid #0ea5e9;
  outline-offset: 2px;
}

.container {
  max-width: 1120px;
  margin-inline: auto;
  padding-inline: 1.5rem;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(16px);
  background: rgba(15, 23, 42, 0.85);
  border-bottom: 1px solid rgba(148, 163, 184, 0.3);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 0.8rem;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brand-mark {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: linear-gradient(135deg, #0ea5e9, #38bdf8);
  color: #0b1120;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-weight: 600;
  font-size: 0.95rem;
  color: #e5e7eb;
}

.brand-tagline {
  font-size: 0.8rem;
  color: #9ca3af;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  font-size: 0.9rem;
}

.main-nav a {
  color: #e5e7eb;
  padding-block: 0.25rem;
}

.main-nav a:hover {
  color: #0ea5e9;
}

/* Hero */

.hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  color: #e5e7eb;
  background-image:
    linear-gradient(to bottom, rgba(15, 23, 42, 0.4), rgba(15, 23, 42, 0.95)),
    url("./assets/bg_01.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top left, rgba(56, 189, 248, 0.35), transparent 55%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  padding-block: 5rem 3rem;
}

.hero-text {
  max-width: 36rem;
}

.hero h1 {
  font-size: clamp(2.25rem, 3vw + 1rem, 3rem);
  line-height: 1.1;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1rem;
  color: #d1d5db;
  margin-bottom: 1.5rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.6rem 1.5rem;
  font-size: 0.9rem;
  font-weight: 500;
  border: 1px solid transparent;
  cursor: pointer;
}

.btn.primary {
  background: linear-gradient(135deg, #0ea5e9, #38bdf8);
  color: #0b1120;
}

.btn.primary:hover {
  opacity: 0.9;
}

.btn.ghost {
  background: transparent;
  border-color: rgba(148, 163, 184, 0.5);
  color: #e5e7eb;
}

.btn.ghost:hover {
  border-color: #0ea5e9;
}

.hero-details {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.75rem 2rem;
  font-size: 0.85rem;
}

.hero-details dt {
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #9ca3af;
  font-size: 0.75rem;
}

.hero-details dd {
  margin: 0.1rem 0 0;
  color: #e5e7eb;
}

/* Sections */

.section {
  padding-block: 3rem;
  background: #020617;
  color: #e5e7eb;
}

.section:nth-of-type(even) {
  background: #020617;
}

.section-muted {
  background: #020617;
  border-block: 1px solid rgba(15, 23, 42, 0.9);
}

.section-header {
  text-align: center;
  margin-bottom: 2.25rem;
}

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

.section-header h2 {
  font-size: 1.5rem;
  margin-bottom: 0.4rem;
}

.section-header p {
  margin: 0;
  color: #9ca3af;
  font-size: 0.95rem;
}

/* Cards */

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

.card {
  background: radial-gradient(circle at top left, rgba(56, 189, 248, 0.12), rgba(15, 23, 42, 0.98));
  border-radius: 1rem;
  border: 1px solid rgba(148, 163, 184, 0.4);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.card-media {
  max-height: 160px;
  overflow: hidden;
}

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-body {
  padding: 1.25rem 1.3rem 1.4rem;
  font-size: 0.9rem;
}

.card h3 {
  margin-top: 0;
  margin-bottom: 0.6rem;
  font-size: 1.05rem;
}

.card p {
  margin: 0 0 0.75rem;
  color: #e5e7eb;
}

.card ul {
  margin: 0;
  padding-left: 1.1rem;
  color: #cbd5f5;
  font-size: 0.85rem;
}

.card ul li + li {
  margin-top: 0.25rem;
}
