@font-face {
  font-family: "IBM Plex Sans";
  src: url("/fonts/ibm-plex-sans-400.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Sans";
  src: url("/fonts/ibm-plex-sans-500.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Sans";
  src: url("/fonts/ibm-plex-sans-600.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
}

:root {
  color-scheme: light dark;
  --bg: #f9fafc;
  --surface: #ffffff;
  --text: #08182f;
  --muted: #5b6b82;
  --border: #e3e7ed;
  --volatilens: #225bfd;
  --radius: 16px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #010718;
    --surface: #08182f;
    --text: #f2f4f7;
    --muted: #94a2b6;
    --border: #182941;
    --volatilens: #709dff;
  }
}

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

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "IBM Plex Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

a:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
  border-radius: 4px;
}

.page {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 24px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

/* Header */

.site-header {
  padding: 28px 0;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 17px;
  letter-spacing: -0.01em;
  text-decoration: none;
}

.mark {
  width: 32px;
  height: 32px;
  flex: none;
}

/* Hero */

.hero {
  padding: 64px 0 48px;
}

.hero h1 {
  margin: 0 0 20px;
  font-size: clamp(40px, 7.5vw, 56px);
  line-height: 1.08;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.hero h1 em {
  font-style: normal;
  color: var(--muted);
}

.hero p {
  margin: 0;
  max-width: 32em;
  font-size: 19px;
  color: var(--muted);
}

/* Sections */

section {
  padding: 28px 0;
}

.section-title {
  margin: 0 0 20px;
  padding-top: 22px;
  border-top: 1px solid var(--border);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

/* App card */

.app-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-decoration: none;
  transition: border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.app-card:hover {
  border-color: color-mix(in srgb, var(--volatilens) 45%, var(--border));
  transform: translateY(-2px);
  box-shadow: 0 12px 28px -18px rgba(8, 24, 47, 0.35);
}

.app-icon {
  width: 76px;
  height: 76px;
  border-radius: 18px;
  flex: none;
}

.app-card h3 {
  margin: 0;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.app-card p {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.45;
}

.meta {
  font-size: 14px;
  color: var(--muted);
}

.app-card .meta {
  margin-top: 6px;
}

.arrow {
  margin-left: auto;
  color: var(--muted);
  font-size: 22px;
  flex: none;
  transition: transform 0.15s ease, color 0.15s ease;
}

.app-card:hover .arrow {
  transform: translateX(3px);
  color: var(--volatilens);
}

/* Lists with icons */

.points {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px 40px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.points li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 2px 14px;
}

.points svg {
  grid-row: span 2;
  width: 26px;
  height: 26px;
  margin-top: 2px;
  fill: currentColor;
}

.theme-volatilens .points svg {
  fill: var(--volatilens);
}

.points h3 {
  margin: 0;
  font-size: 17px;
  font-weight: 600;
}

.points p {
  margin: 0;
  font-size: 16px;
  color: var(--muted);
  line-height: 1.5;
}

/* Contact */

.contact p {
  margin: 0 0 10px;
  color: var(--muted);
}

.email {
  font-size: clamp(20px, 4.5vw, 26px);
  font-weight: 500;
  text-decoration-thickness: 1px;
  text-underline-offset: 6px;
  text-decoration-color: color-mix(in srgb, currentColor 35%, transparent);
  transition: text-decoration-color 0.15s ease;
  overflow-wrap: anywhere;
}

.email:hover {
  text-decoration-color: currentColor;
}

/* App page */

.app-hero {
  padding: 56px 0 40px;
}

.app-hero .app-icon {
  width: 104px;
  height: 104px;
  border-radius: 24px;
  margin-bottom: 26px;
  box-shadow: 0 16px 36px -20px rgba(34, 91, 253, 0.8);
}

.app-hero h1 {
  margin: 0 0 8px;
  font-size: clamp(38px, 7vw, 52px);
  line-height: 1.1;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.app-hero p {
  margin: 0;
  font-size: 19px;
  color: var(--muted);
}

.app-hero .meta {
  margin-top: 10px;
  font-size: 15px;
}

/* Footer */

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding: 48px 0 32px;
  font-size: 14px;
  color: var(--muted);
}

.site-footer nav {
  display: flex;
  gap: 18px;
}

.site-footer a {
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--text);
}

@media (max-width: 480px) {
  .page {
    padding: 0 16px;
  }

  .hero {
    padding: 40px 0 32px;
  }

  .app-card {
    gap: 16px;
    padding: 16px;
  }

  .app-card .app-icon {
    width: 60px;
    height: 60px;
    border-radius: 14px;
  }

  .arrow {
    display: none;
  }
}
