

:root {
  --bg: #050B18;
  --surface: #0B1F3A;
  --surface-2: #0F2748;
  --primary: #1E6FE0;
  --accent: #5FD4E8;
  --text: #E8EEF7;
  --text-dim: #8FA3C0;
  --border: rgba(95, 212, 232, 0.14);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', 'Inter Fallback', system-ui, sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: 'Space Grotesk', 'Space Grotesk Fallback', sans-serif;
  font-weight: 600;
  margin: 0;
  letter-spacing: -0.01em;
}

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

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


.site-header {
  border-bottom: 1px solid var(--border);
  background: rgba(5, 11, 24, 0.85);
  backdrop-filter: blur(8px);
  position: sticky;
  top: 0;
  z-index: 10;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-mark {
  height: 32px;
  width: 32px;
  aspect-ratio: 1 / 1;
}

.brand-mark.small { height: 22px; width: 22px; }

.brand-name {
  font-family: 'Space Grotesk', 'Space Grotesk Fallback', sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--text);
}

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

.site-nav a {
  color: var(--text-dim);
  font-size: 0.95rem;
  transition: color 0.15s ease;
}

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


.hero {
  padding: 88px 0 64px;
  overflow: hidden;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: center;
}

.hero-kicker {
  color: var(--accent);
  font-size: 0.9rem;
  margin: 0 0 16px;
  font-weight: 500;
}

.hero-text h1 {
  font-size: clamp(2rem, 4vw, 2.9rem);
  line-height: 1.15;
  color: var(--text);
}

.hero-sub {
  color: var(--text-dim);
  font-size: 1.05rem;
  max-width: 46ch;
  margin: 20px 0 32px;
}

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

.hero-links {
  display: flex;
  align-items: center;
  margin-top: 20px;
  flex-wrap: wrap;
}

.hero-links a {
  color: var(--text-dim);
  font-size: 0.88rem;
  margin-right: 10px;
}

.hero-links a:hover { color: var(--accent); }

.hero-links a:not(:last-child)::after {
  content: '';
  display: inline-block;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--text-dim);
  margin-left: 10px;
  vertical-align: middle;
}

.hero-graphic {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 320px;
}

.hero-logo {
  position: relative;
  width: 190px;
  height: 190px;
  aspect-ratio: 1 / 1;
  filter: drop-shadow(0 20px 50px rgba(30, 111, 224, 0.35));
}


.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
  border: 1px solid transparent;
  background: transparent;
  font-family: inherit;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
}
.btn-primary:hover { background: #2f7de8; }

.btn-ghost {
  color: var(--text);
  border-color: var(--border);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

.btn-outline {
  border-color: var(--border);
  color: var(--text);
  width: 100%;
}
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }


.strip {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--surface);
  
  content-visibility: auto;
  contain-intrinsic-size: auto 128px;
}

.strip-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 28px 24px;
}

.strip-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 4px;
}

.strip-num {
  font-family: 'Space Grotesk', 'Space Grotesk Fallback', sans-serif;
  font-size: 1.4rem;
  color: var(--accent);
  font-weight: 600;
}

.strip-label {
  color: var(--text-dim);
  font-size: 0.85rem;
}


.plans {
  padding: 96px 0;
  
  content-visibility: auto;
  contain-intrinsic-size: auto 1150px;
}

.section-title {
  font-size: 2rem;
  text-align: center;
}

.section-sub {
  color: var(--text-dim);
  text-align: center;
  margin: 12px 0 56px;
}

.section-lead {
  color: var(--text-dim);
  text-align: center;
  max-width: 62ch;
  margin: -32px auto 56px;
  font-size: 0.95rem;
  line-height: 1.6;
}

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

.plan-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
}

.plan-featured {
  background: var(--surface-2);
  border: 1px solid var(--accent);
  box-shadow: 0 0 0 1px rgba(95, 212, 232, 0.15), 0 20px 60px rgba(30, 111, 224, 0.2);
  transform: translateY(-8px);
}

.plan-tag {
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 600;
  margin: 0 0 12px;
}

.plan-name {
  font-size: 1.3rem;
}

.plan-desc {
  color: var(--text-dim);
  font-size: 0.92rem;
  margin: 10px 0 24px;
  min-height: 42px;
}

.plan-price {
  font-family: 'Space Grotesk', 'Space Grotesk Fallback', sans-serif;
  font-size: 2.1rem;
  font-weight: 700;
  margin: 0 0 24px;
}

.plan-price span {
  font-family: 'Inter', 'Inter Fallback', sans-serif;
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--text-dim);
}

.plan-specs {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  flex: 1;
}

.plan-specs li {
  padding: 9px 0;
  border-top: 1px solid var(--border);
  color: var(--text-dim);
  font-size: 0.92rem;
}

.plan-specs li:first-child { border-top: none; }

.custom-plan {
  margin-top: 32px;
  background: var(--surface);
  border: 1px dashed var(--border);
  border-radius: 12px;
  padding: 28px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.custom-plan-title {
  font-size: 1.15rem;
  margin: 0 0 6px;
}

.custom-plan-desc {
  color: var(--text-dim);
  font-size: 0.92rem;
  margin: 0;
  max-width: 46ch;
}


.infra {
  margin-top: 56px;
}

.infra-title {
  font-family: 'Space Grotesk', 'Space Grotesk Fallback', sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 0 0 20px;
  text-align: center;
}

.infra-list {
  list-style: none;
  margin: 0;
  padding: 24px 0 0;
  border-top: 1px solid var(--border);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  column-gap: 48px;
  row-gap: 14px;
}

.infra-list li {
  color: var(--text);
  font-size: 0.92rem;
  line-height: 1.5;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}

.infra-label {
  display: inline-block;
  min-width: 130px;
  color: var(--text-dim);
  font-weight: 600;
  margin-right: 6px;
}


.site-footer {
  border-top: 1px solid var(--border);
  padding: 32px 0;
  
  content-visibility: auto;
  contain-intrinsic-size: auto 120px;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 25px;
  color: var(--text-dim);
  font-size: 0.9rem;
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  color: var(--text-dim);
  font-size: 0.9rem;
}
.footer-links a:hover { color: var(--accent); }

.footer-copy {
  color: var(--text-dim);
  font-size: 0.85rem;
  margin: 0;
  width: 100%;
  text-align: center;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}


.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(2, 6, 16, 0.72);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 100;
}

.modal-overlay[hidden] { display: none; }

.modal {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 32px;
  max-width: 420px;
  width: 100%;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.modal h3 {
  margin: 0 0 12px;
  font-family: 'Space Grotesk', 'Space Grotesk Fallback', sans-serif;
  color: var(--text);
}

.modal p {
  margin: 0 0 20px;
  color: var(--text-dim);
  line-height: 1.5;
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 14px;
  background: none;
  border: none;
  color: var(--text-dim);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.modal-close:hover { color: var(--accent); }


.not-found {
  padding: 120px 0;
}

.not-found-inner {
  text-align: center;
  max-width: 520px;
}

.not-found-code {
  font-family: 'Space Grotesk', 'Space Grotesk Fallback', sans-serif;
  font-size: 4rem;
  font-weight: 700;
  color: var(--accent);
  margin: 0 0 8px;
  line-height: 1;
}

.not-found-inner h1 {
  font-size: 1.6rem;
  color: var(--text);
  margin-bottom: 12px;
}

.not-found-sub {
  color: var(--text-dim);
  margin: 0 0 32px;
}

.not-found-inner .hero-actions {
  justify-content: center;
}


.faq {
  padding: 96px 0;
  border-top: 1px solid var(--border);
  
  content-visibility: auto;
  contain-intrinsic-size: auto 850px;
}

.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 4px 24px;
}

.faq-item summary {
  cursor: pointer;
  padding: 18px 0;
  font-family: 'Space Grotesk', 'Space Grotesk Fallback', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  color: var(--text);
  list-style: none;
  position: relative;
  padding-right: 28px;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 18px;
  color: var(--accent);
  font-size: 1.3rem;
  line-height: 1;
}

.faq-item[open] summary::after { content: '\2212'; }

.faq-item p {
  color: var(--text-dim);
  font-size: 0.95rem;
  margin: 0 0 20px;
  line-height: 1.6;
}


.blogs-hero {
  padding: 72px 0 32px;
  text-align: center;
}

.blogs-hero h1 {
  font-size: 2.2rem;
  margin: 8px 0 0;
}

.blogs-list {
  padding: 32px 0 96px;
}

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

.blog-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.blog-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
}

.blog-card-link {
  display: flex;
  flex-direction: column;
  padding: 28px;
  height: 100%;
}

.blog-card-date {
  color: var(--text-dim);
  font-size: 0.82rem;
}

.blog-card-title {
  font-size: 1.2rem;
  margin: 10px 0 12px;
}

.blog-card-summary {
  color: var(--text-dim);
  font-size: 0.92rem;
  line-height: 1.6;
  margin: 0;
  flex: 1;
}

.blog-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.blog-tag {
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--accent);
  font-size: 0.75rem;
  padding: 4px 10px;
  border-radius: 999px;
}


.blog-post {
  padding: 64px 0 96px;
}

.blog-post-inner {
  max-width: 760px;
}

.blog-back {
  color: var(--text-dim);
  font-size: 0.9rem;
  display: inline-block;
  margin-bottom: 24px;
}

.blog-back:hover { color: var(--accent); }

.blog-post-header h1 {
  font-size: 2rem;
  margin-bottom: 12px;
}

.blog-post-meta {
  color: var(--text-dim);
  font-size: 0.88rem;
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.blog-post-header .blog-card-tags {
  margin-top: 16px;
}

.blog-post-content {
  margin-top: 40px;
  font-size: 1rem;
  line-height: 1.75;
  color: var(--text);
}

.blog-post-content h2 {
  font-size: 1.4rem;
  margin: 40px 0 16px;
}

.blog-post-content h3 {
  font-size: 1.15rem;
  margin: 32px 0 14px;
}

.blog-post-content p {
  margin: 0 0 18px;
  color: var(--text-dim);
}

.blog-post-content ul,
.blog-post-content ol {
  color: var(--text-dim);
  margin: 0 0 18px;
  padding-left: 22px;
}

.blog-post-content li { margin-bottom: 6px; }

.blog-post-content a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.blog-post-content code {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 2px 6px;
  font-size: 0.9em;
}

.blog-post-content pre {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 16px;
  overflow-x: auto;
}

.blog-post-content pre code {
  background: none;
  border: none;
  padding: 0;
}

.blog-post-content blockquote {
  border-left: 3px solid var(--accent);
  margin: 0 0 18px;
  padding: 4px 0 4px 18px;
  color: var(--text-dim);
  font-style: italic;
}

.blog-post-footer {
  margin-top: 56px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

.blog-post-footer p {
  color: var(--text-dim);
  margin: 0 0 20px;
}


@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-graphic { order: -1; min-height: 220px; }
  .plan-grid { grid-template-columns: 1fr; }
  .custom-plan { flex-direction: column; text-align: center; }
  .custom-plan-desc { max-width: none; }
  .plan-featured { transform: none; }
  .strip-inner { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .site-nav { gap: 16px; }
  .infra-list { grid-template-columns: 1fr; }
  .not-found-inner .hero-actions { flex-direction: column; }
  .faq-item { padding: 4px 18px; }
  .blog-grid { grid-template-columns: 1fr; }

  
  .strip { contain-intrinsic-size: auto 216px; }
  .plans { contain-intrinsic-size: auto 2500px; }
}


.status-page-html,
.status-page-body {
  margin: 0;
  padding: 0;
  height: 100%;
}
.status-page-iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}


.stock-badge {
  display: inline-block;
  margin: 0 0 12px;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  border: 1px solid transparent;
}
.stock-in      { color: #4ade80; background: rgba(74, 222, 128, 0.10); border-color: rgba(74, 222, 128, 0.30); }
.stock-limited { color: #fbbf24; background: rgba(251, 191, 36, 0.10); border-color: rgba(251, 191, 36, 0.30); }
.stock-preorder{ color: var(--accent); background: rgba(95, 212, 232, 0.10); border-color: rgba(95, 212, 232, 0.30); }
.stock-out     { color: #f87171; background: rgba(248, 113, 113, 0.10); border-color: rgba(248, 113, 113, 0.30); }

.plan-unavailable { opacity: 0.72; }
.btn[disabled] { cursor: not-allowed; opacity: 0.6; }
.btn[disabled]:hover { border-color: inherit; color: inherit; }
.plan-unavailable-note { margin: 12px 0 0; font-size: 14px; color: var(--text-dim); }
.plan-unavailable-note a { color: var(--accent); }


.plan-name a { color: inherit; text-decoration: none; }
.plan-name a:hover { color: var(--accent); }
.plan-more {
  display: block;
  margin-top: 12px;
  text-align: center;
  font-size: 14px;
  color: var(--text-dim);
}
.plan-more:hover { color: var(--accent); }
.plans-all { margin: 24px 0 0; text-align: center; }
.plans-all a { color: var(--accent); font-weight: 500; }


.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 24px;
  font-size: 14px;
  color: var(--text-dim);
}
.breadcrumb a { color: var(--text-dim); text-decoration: none; }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb [aria-current="page"] { color: var(--text); }


.plan-page { padding: 48px 0 72px; }
.plans-page { padding-top: 48px; }
.plan-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 32px;
  align-items: start;
  margin-bottom: 40px;
}
.plan-hero-text h1 {
  margin: 0 0 12px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(30px, 5vw, 44px);
  line-height: 1.1;
}
.plan-lead { margin: 0 0 16px; font-size: 18px; color: var(--text-dim); }
.plan-buy {
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--surface);
}
.plan-price-large { font-size: 36px; margin-top: 0; }
.plan-section { margin: 0 0 40px; }
.plan-section h2 {
  margin: 0 0 16px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 24px;
}
.plan-about p { margin: 0 0 14px; color: var(--text-dim); line-height: 1.7; max-width: 72ch; }
.plan-bestfor { margin: 0; padding-left: 20px; color: var(--text-dim); line-height: 1.8; }
.plan-bestfor li::marker { color: var(--accent); }

@media (max-width: 760px) {
  .plan-hero { grid-template-columns: 1fr; }
}
