:root {
  --ink: #14162B;
  --ink-rgb: 20, 22, 43;
  --muted: rgba(var(--ink-rgb), 0.62);
  --muted-strong: rgba(var(--ink-rgb), 0.8);
  --bg: #F6F7FB;
  --card-bg: #FFFFFF;
  --line: rgba(var(--ink-rgb), 0.09);
  --indigo: #3A3FC0;
  --indigo-dark: #2D30A0;
  --teal: #17B6A6;
  --accent-bg: rgba(58, 63, 192, 0.08);
  --shadow-sm: 0 1px 2px rgba(20, 22, 43, 0.04), 0 1px 1px rgba(20, 22, 43, 0.03);
  --shadow-lg: 0 24px 48px -20px rgba(20, 22, 43, 0.22);
  --radius: 18px;
  --radius-sm: 12px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --ink: #EDEEF7;
    --ink-rgb: 237, 238, 247;
    --bg: #0D0E1C;
    --card-bg: #171929;
    --line: rgba(237, 238, 247, 0.1);
    --indigo: #7B7FE8;
    --indigo-dark: #9498F0;
    --teal: #2FD6C4;
    --accent-bg: rgba(123, 127, 232, 0.14);
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 24px 48px -20px rgba(0, 0, 0, 0.6);
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--indigo-dark);
}

.wrap {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */

header.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(var(--ink-rgb), 0.02);
  backdrop-filter: blur(14px) saturate(1.4);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  border-bottom: 1px solid var(--line);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  padding-bottom: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
}

.brand img {
  width: 30px;
  height: 30px;
  display: block;
}

.brand span {
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.01em;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 32px;
}

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

nav.site-nav a {
  color: var(--muted-strong);
  text-decoration: none;
  font-size: 14.5px;
  font-weight: 500;
  transition: color 0.15s ease;
}

nav.site-nav a:hover {
  color: var(--indigo-dark);
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--muted-strong);
  font-size: 14.5px;
  font-weight: 500;
  transition: color 0.15s ease;
}

.nav-dropdown summary::-webkit-details-marker {
  display: none;
}

.nav-dropdown summary::after {
  content: "";
  width: 6px;
  height: 6px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  opacity: 0.55;
  transition: transform 0.15s ease;
}

.nav-dropdown[open] summary::after {
  transform: rotate(-135deg) translateY(2px);
}

.nav-dropdown summary:hover,
.nav-dropdown[open] summary {
  color: var(--indigo-dark);
}

.nav-dropdown .dropdown-menu {
  position: absolute;
  top: calc(100% + 16px);
  left: 0;
  min-width: 160px;
  background: var(--card-bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.nav-dropdown .dropdown-menu a {
  display: block;
  padding: 9px 12px;
  border-radius: 8px;
  color: var(--muted-strong);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
}

.nav-dropdown .dropdown-menu a:hover {
  background: var(--accent-bg);
  color: var(--indigo-dark);
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  padding: 10px 18px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  transition: opacity 0.15s ease, transform 0.15s ease;
}

.btn-primary {
  background: var(--indigo);
  color: #fff;
}

.btn-primary:hover {
  opacity: 0.92;
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
}

.btn-ghost:hover {
  border-color: rgba(var(--ink-rgb), 0.25);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 13.5px;
}

/* Hero */

.hero {
  position: relative;
  padding: 100px 0 76px;
  text-align: center;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -20% -10% auto -10%;
  height: 480px;
  background:
    radial-gradient(480px 280px at 22% 20%, rgba(58, 63, 192, 0.16), transparent 70%),
    radial-gradient(420px 260px at 78% 10%, rgba(23, 182, 166, 0.14), transparent 70%);
  pointer-events: none;
  z-index: -1;
}

.hero h1 {
  font-family: 'Sora', sans-serif;
  font-weight: 800;
  font-size: 50px;
  line-height: 1.08;
  letter-spacing: -0.025em;
  margin: 0 0 20px;
}

.hero p.lead {
  max-width: 520px;
  margin: 0 auto 34px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* Sections */

section {
  padding: 72px 0;
  border-top: 1px solid var(--line);
}

.section-head {
  margin-bottom: 36px;
}

h2.section-title {
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  font-size: 12.5px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--teal);
  margin: 0 0 10px;
}

h3.section-heading {
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  font-size: 28px;
  letter-spacing: -0.015em;
  margin: 0;
}

/* Product / Braid */

.product-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.product-copy p {
  color: var(--muted-strong);
  font-size: 16px;
  line-height: 1.7;
  max-width: 460px;
  margin: 16px 0 26px;
}

.feature-list {
  list-style: none;
  margin: 0 0 30px;
  padding: 0;
  display: grid;
  gap: 11px;
}

.feature-list li {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-size: 14.5px;
  color: var(--muted-strong);
}

.feature-list li::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--teal);
  flex-shrink: 0;
  transform: translateY(-3px);
}

.product-visual {
  background: var(--card-bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 36px 30px;
  text-align: center;
}

.product-visual .icon-frame {
  width: 88px;
  height: 88px;
  border-radius: 22px;
  margin: 0 auto 20px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.product-visual .icon-frame img {
  width: 100%;
  height: 100%;
  display: block;
}

.product-visual h4 {
  font-family: 'Sora', sans-serif;
  font-size: 19px;
  margin: 0 0 6px;
}

.product-visual .store-status {
  font-size: 13.5px;
  color: var(--muted);
  margin: 0 0 22px;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}

.chip {
  font-size: 12px;
  font-weight: 600;
  color: var(--muted-strong);
  background: var(--bg);
  border: 1px solid var(--line);
  padding: 6px 12px;
  border-radius: 999px;
}

/* About */

.about-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 48px;
}

.about-grid p {
  color: var(--muted-strong);
  font-size: 16px;
  line-height: 1.75;
  max-width: 520px;
}

.fact-card {
  background: var(--card-bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 26px;
  box-shadow: var(--shadow-sm);
}

.fact-row {
  display: flex;
  justify-content: space-between;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}

.fact-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.fact-row:first-child {
  padding-top: 0;
}

.fact-row .k {
  color: var(--muted);
}

.fact-row .v {
  color: var(--ink);
  font-weight: 600;
  text-align: right;
}

.page-intro {
  padding: 88px 0 8px;
  text-align: center;
}

.page-intro h1 {
  font-family: 'Sora', sans-serif;
  font-weight: 800;
  font-size: 42px;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
}

.page-intro p.lead {
  max-width: 560px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.value-card {
  background: var(--card-bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px;
  box-shadow: var(--shadow-sm);
}

.value-card h4 {
  font-family: 'Sora', sans-serif;
  font-size: 16px;
  margin: 0 0 8px;
}

.value-card p {
  color: var(--muted-strong);
  font-size: 14px;
  line-height: 1.65;
  margin: 0;
}

.cta-band {
  text-align: center;
}

.cta-band h3.section-heading {
  margin-bottom: 14px;
}

.cta-band .hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 22px;
}

/* Footer */

footer.site-footer {
  border-top: 1px solid var(--line);
  padding: 56px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
}

.footer-brand .brand {
  margin-bottom: 12px;
}

.footer-brand p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
  max-width: 260px;
  margin: 0;
}

.footer-col h5 {
  font-family: 'Sora', sans-serif;
  font-size: 12.5px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin: 0 0 16px;
  font-weight: 700;
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 11px;
}

.footer-col a {
  color: var(--muted-strong);
  text-decoration: none;
  font-size: 14px;
}

.footer-col a:hover {
  color: var(--indigo-dark);
}

.footer-col .plain {
  color: var(--muted-strong);
  font-size: 14px;
}

.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
}

.footer-bottom .legal-links a {
  color: var(--muted);
  text-decoration: none;
  margin-left: 18px;
  font-size: 13px;
}

.footer-bottom .legal-links a:hover {
  color: var(--indigo-dark);
}

@media (max-width: 760px) {
  .hero h1 {
    font-size: 36px;
  }
  .product-grid,
  .about-grid,
  .value-grid {
    grid-template-columns: 1fr;
  }
  .page-intro h1 {
    font-size: 32px;
  }
  .product-visual {
    order: -1;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
  .footer-bottom .legal-links a {
    margin-left: 0;
    margin-right: 16px;
  }
}
