/* Shares its tokens and base styles with pentable.unarysystems.com so the sites read as one family */
:root {
  color-scheme: dark;
  --bg: #000000;
  --surface: #0a0a0b;
  --surface-2: #111113;
  --border: rgba(255, 255, 255, 0.09);
  --border-strong: rgba(255, 255, 255, 0.16);
  --text: #ededef;
  --text-secondary: #a0a0a8;
  --text-muted: #6e6e76;
  --accent: #4d9aff;
  --accent-strong: #266ec8;
  --radius: 12px;
  --radius-lg: 16px;
  --max-width: 1120px;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-size-adjust: 100%;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
}

main {
  flex: 1;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.15s ease;
}

a:hover {
  color: #7ab5ff;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
}

.brand:hover {
  color: var(--text);
}

.brand img {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.nav-links a {
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
}

.nav-links a:hover {
  color: var(--text);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 11px 20px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.94rem;
  line-height: 1.2;
  border: 1px solid transparent;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.btn svg {
  flex-shrink: 0;
}

.btn-sm {
  padding: 7px 14px;
  font-size: 0.86rem;
  border-radius: 8px;
}

.btn-primary,
.btn-primary:hover {
  color: #000000;
}

.btn-primary {
  background: var(--text);
}

.btn-primary:hover {
  background: #ffffff;
}

.nav-links .btn-secondary,
.btn-secondary {
  background: transparent;
  color: var(--text);
  border-color: var(--border-strong);
}

.nav-links .btn-secondary:hover,
.btn-secondary:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.26);
}

/* Hero */
.hero {
  padding: 120px 0 112px;
}

.hero h1 {
  max-width: 820px;
  font-size: clamp(2.5rem, 6vw, 4.25rem);
  line-height: 1.04;
  letter-spacing: -0.04em;
  font-weight: 700;
  margin-bottom: 24px;
}

.hero h1 span {
  color: var(--text-muted);
}

.hero-lead {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin-bottom: 36px;
}

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

/* Sections */
.section {
  padding: 104px 0;
  border-top: 1px solid var(--border);
}

.section-header {
  max-width: 640px;
  margin-bottom: 56px;
}


.section-header h2 {
  font-size: clamp(1.8rem, 3.2vw, 2.5rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
  font-weight: 700;
  margin-bottom: 16px;
}

.section-header p {
  font-size: 1.05rem;
  color: var(--text-secondary);
}

/* Product card */
.product {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 48px;
}

.product-head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 22px;
}

.product-icon {
  width: 56px;
  height: 56px;
  border-radius: 13px;
  flex-shrink: 0;
}

.product-head h3 {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.product-platforms {
  font-size: 0.86rem;
  color: var(--text-muted);
}

.product-lead {
  color: var(--text-secondary);
  font-size: 1rem;
  margin-bottom: 22px;
}

.product-points {
  list-style: none;
  margin-bottom: 32px;
  font-size: 0.92rem;
  color: var(--text-secondary);
}

.product-points li {
  position: relative;
  padding: 10px 0 10px 22px;
  border-bottom: 1px solid var(--border);
}

.product-points li:first-child {
  border-top: 1px solid var(--border);
}

.product-points li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 19px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.product-visual svg {
  display: block;
  width: 100%;
  height: auto;
}

.more-note {
  margin-top: 20px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Approach grid: 1px gaps over a border-coloured background give hairline dividers */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.feature {
  background: var(--bg);
  padding: 32px;
}

.feature-icon {
  display: inline-flex;
  color: var(--accent);
  margin-bottom: 18px;
}

.feature h3 {
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
}

.feature p {
  font-size: 0.94rem;
  color: var(--text-secondary);
}

/* Contact */
.contact {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: end;
}

.contact .section-header {
  margin-bottom: 0;
}

.contact-mail {
  font-size: clamp(1.1rem, 2.4vw, 1.6rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text);
  border-bottom: 1px solid var(--border-strong);
  padding-bottom: 4px;
  overflow-wrap: anywhere;
}

.contact-mail:hover {
  color: #ffffff;
  border-color: var(--accent);
}

/* 404 */
.not-found {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 24px;
  text-align: center;
}

.not-found h1 {
  font-size: 2.4rem;
  letter-spacing: -0.03em;
  font-weight: 700;
  margin-bottom: 12px;
}

.not-found p {
  color: var(--text-secondary);
  margin-bottom: 28px;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 48px 0 40px;
  font-size: 0.87rem;
  color: var(--text-muted);
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  margin-bottom: 32px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  list-style: none;
}

.footer-links a {
  color: var(--text-secondary);
}

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

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-size: 0.8rem;
}

.site-footer > .container > .footer-bottom:first-child {
  padding-top: 0;
  border-top: none;
}

.footer-bottom .legal-note {
  max-width: 560px;
}

/* Responsive */
@media (max-width: 960px) {
  .hero {
    padding: 88px 0 80px;
  }
  .product {
    grid-template-columns: 1fr;
    padding: 36px;
  }
  .product-visual {
    max-width: 520px;
  }
  .features-grid {
    grid-template-columns: 1fr 1fr;
  }
  .contact {
    grid-template-columns: 1fr;
    align-items: start;
  }
  .contact-mail {
    justify-self: start;
  }
}

@media (max-width: 680px) {
  .container {
    padding: 0 16px;
  }
  .nav-links {
    gap: 16px;
  }
  .nav-links .hide-mobile {
    display: none;
  }
  .hero {
    padding: 64px 0 64px;
  }
  .section {
    padding: 72px 0;
  }
  .section-header {
    margin-bottom: 40px;
  }
  .product {
    padding: 24px;
    gap: 32px;
  }
  .product .btn {
    width: 100%;
  }
  .features-grid {
    grid-template-columns: 1fr;
  }
  .feature {
    padding: 26px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
