:root {
  color-scheme: light;
  --ink: #101827;
  --muted: #526172;
  --line: #d7e2eb;
  --paper: #f6f9fc;
  --surface: #ffffff;
  --accent: #0f766e;
  --accent-dark: #115e59;
  --amber: #d9902f;
  --blue: #2563eb;
  --cyan: #0891b2;
  --pink: #be185d;
  --shadow: 0 20px 60px rgba(16, 24, 39, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at top left, rgba(45, 212, 191, 0.24), transparent 32rem),
    radial-gradient(circle at 85% 8%, rgba(37, 99, 235, 0.18), transparent 28rem),
    linear-gradient(180deg, #f7fbff 0%, var(--paper) 38%, #eef8f7 100%);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

a {
  color: inherit;
}

.site-header {
  align-items: center;
  background: rgba(246, 249, 252, 0.88);
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 24px;
  justify-content: space-between;
  min-height: 72px;
  padding: 16px clamp(20px, 5vw, 64px);
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(14px);
}

.brand {
  align-items: center;
  display: inline-flex;
  font-size: 1rem;
  font-weight: 800;
  gap: 10px;
  text-decoration: none;
  white-space: nowrap;
}

.brand-logo {
  border-radius: 8px;
  box-shadow: 0 10px 22px rgba(16, 24, 39, 0.18);
  display: block;
}

.site-nav,
.footer-links,
.hero-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.site-nav a,
.footer-links a {
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 650;
  text-decoration: none;
}

.site-nav a:hover,
.footer-links a:hover,
.text-link:hover {
  color: var(--accent-dark);
}

.hero {
  background:
    linear-gradient(135deg, rgba(15, 118, 110, 0.12), transparent 42%),
    linear-gradient(315deg, rgba(217, 144, 47, 0.15), transparent 34%);
  display: grid;
  gap: clamp(28px, 5vw, 64px);
  grid-template-columns: minmax(0, 1.3fr) minmax(280px, 0.7fr);
  min-height: calc(100vh - 72px);
  padding: clamp(56px, 8vw, 110px) clamp(20px, 5vw, 64px) 72px;
}

.hero-content {
  align-self: center;
  max-width: 820px;
}

.eyebrow {
  color: var(--accent-dark);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  margin: 0 0 12px;
  text-transform: uppercase;
}

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

h1 {
  font-size: clamp(2.55rem, 6vw, 5.8rem);
  line-height: 0.98;
  margin-bottom: 24px;
  max-width: 980px;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1.05;
  margin-bottom: 0;
}

h3 {
  font-size: 1.25rem;
  line-height: 1.2;
  margin-bottom: 12px;
}

.hero-copy {
  color: var(--muted);
  font-size: clamp(1.08rem, 2vw, 1.35rem);
  max-width: 720px;
}

.button {
  border-radius: 8px;
  display: inline-flex;
  font-weight: 800;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  text-decoration: none;
}

.button.primary {
  background: linear-gradient(135deg, var(--accent), var(--blue));
  color: #fff;
  box-shadow: 0 14px 30px rgba(37, 99, 235, 0.22);
}

.button.secondary {
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(37, 99, 235, 0.22);
  color: var(--blue);
}

.hero-panel {
  align-self: end;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.86)),
    linear-gradient(135deg, rgba(15, 118, 110, 0.22), rgba(37, 99, 235, 0.18));
  border: 1px solid rgba(37, 99, 235, 0.18);
  border-radius: 8px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 28px;
  padding: 28px;
}

.hero-logo {
  border-radius: 24px;
  box-shadow: 0 18px 38px rgba(16, 24, 39, 0.2);
}

.hero-panel strong,
.hero-panel a {
  display: block;
  font-size: 1.25rem;
  line-height: 1.3;
}

.hero-panel a {
  color: var(--blue);
  font-weight: 800;
  text-decoration: none;
}

.panel-label {
  color: var(--muted);
  display: block;
  font-size: 0.82rem;
  font-weight: 800;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.section {
  border-top: 1px solid var(--line);
  padding: 72px clamp(20px, 5vw, 64px);
}

.section:nth-of-type(2) {
  background: linear-gradient(90deg, rgba(37, 99, 235, 0.08), rgba(8, 145, 178, 0.08));
}

.section:nth-of-type(3) {
  background: linear-gradient(90deg, rgba(15, 118, 110, 0.1), rgba(217, 144, 47, 0.1));
}

.section-heading {
  display: grid;
  gap: 12px;
  margin-bottom: 28px;
}

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

.app-card {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.9)),
    linear-gradient(135deg, rgba(45, 212, 191, 0.25), rgba(37, 99, 235, 0.2));
  border: 1px solid var(--line);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 260px;
  padding: 28px;
}

.app-card.muted {
  border-top: 6px solid var(--amber);
}

.app-card:first-child {
  border-top: 6px solid var(--blue);
}

.app-card p,
.about-grid p,
.policy-content p {
  color: var(--muted);
}

.text-link {
  color: var(--accent-dark);
  font-weight: 850;
  text-decoration: none;
}

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

.about-grid p {
  background: rgba(255, 255, 255, 0.72);
  border-left: 4px solid var(--cyan);
  margin: 0;
  padding: 22px;
}

.credential-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.credential-list li {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  font-weight: 700;
  padding: 10px 14px;
}

.credential-list li:nth-child(3n + 1) {
  border-color: rgba(15, 118, 110, 0.36);
}

.credential-list li:nth-child(3n + 2) {
  border-color: rgba(37, 99, 235, 0.34);
}

.credential-list li:nth-child(3n + 3) {
  border-color: rgba(217, 144, 47, 0.42);
}

.site-footer {
  align-items: center;
  background: linear-gradient(135deg, #101827, #14313f 52%, #113f3b);
  color: var(--paper);
  display: flex;
  gap: 24px;
  justify-content: space-between;
  padding: 28px clamp(20px, 5vw, 64px);
}

.site-footer div:first-child {
  display: grid;
  gap: 4px;
}

.site-footer span,
.site-footer a {
  color: rgba(247, 245, 239, 0.78);
}

.policy-page {
  padding: 64px clamp(20px, 5vw, 64px);
}

.policy-header,
.policy-content {
  margin: 0 auto;
  max-width: 840px;
}

.policy-header {
  border-bottom: 1px solid var(--line);
  margin-bottom: 36px;
  padding-bottom: 28px;
}

.policy-logo {
  border-radius: 18px;
  box-shadow: 0 18px 38px rgba(16, 24, 39, 0.2);
  margin-bottom: 18px;
}

.policy-header h1 {
  font-size: clamp(2.5rem, 5vw, 4.8rem);
  margin-bottom: 10px;
}

.policy-content {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.97), rgba(255, 255, 255, 0.91)),
    linear-gradient(135deg, rgba(15, 118, 110, 0.16), rgba(37, 99, 235, 0.14));
  border: 1px solid rgba(37, 99, 235, 0.16);
  border-radius: 8px;
  padding: clamp(24px, 5vw, 48px);
}

.policy-content h2 {
  font-size: 1.35rem;
  margin-top: 34px;
}

.policy-content h2:first-child {
  margin-top: 0;
}

@media (max-width: 820px) {
  .site-header,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero,
  .app-list,
  .about-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .site-nav {
    gap: 10px 14px;
  }
}

@media (max-width: 520px) {
  h1 {
    font-size: 2.45rem;
  }

  .site-header {
    position: static;
  }

  .button {
    width: 100%;
  }

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