:root{
  --bg: #0b1020;
  --bg2:#0c1635;
  --card:#121a33;
  --text:#e8ecff;
  --muted:#b7c0e0;
  --line: rgba(232,236,255,.12);
  --brand:#6ea8fe;
  --brand2:#a78bfa;
  --ok:#34d399;
  --warn:#fbbf24;
  --shadow: 0 10px 30px rgba(0,0,0,.35);
  --radius: 18px;
  --max: 1120px;
  --mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  --sans: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
}
[data-theme="light"]{
  --bg:#f6f7ff;
  --bg2:#eef2ff;
  --card:#ffffff;
  --text:#0b1020;
  --muted:#4a5677;
  --line: rgba(11,16,32,.12);
  --shadow: 0 10px 30px rgba(8,12,24,.12);
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:var(--sans);
  color:var(--text);
  background:
    radial-gradient(900px 500px at 20% 0%, rgba(110,168,254,.20), transparent 60%),
    radial-gradient(700px 450px at 85% 10%, rgba(167,139,250,.18), transparent 60%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg2) 65%, var(--bg) 100%);
  min-height:100vh;
}
a{color:inherit; text-decoration:none}
.wrap{max-width:var(--max); margin:0 auto; padding:0 20px}

/* Header */
header{
  position:sticky; top:0; z-index:50;
  backdrop-filter:saturate(160%) blur(10px);
  background: color-mix(in oklab, var(--bg) 70%, transparent);
  border-bottom:1px solid var(--line);
}
.nav{
  display:flex; align-items:center; justify-content:space-between;
  padding:14px 0;
  gap:14px;
}
.brand{
  display:flex; align-items:center; gap:10px;
  font-weight:800; letter-spacing:.2px;
}
.logo{
  width:40px; height:40px; border-radius:10px;
  background: color-mix(in oklab, var(--card) 80%, transparent);
  border: 1px solid var(--line);
  display:grid; place-items:center;
}
.logo svg{
  /* The old heavy drop-shadow is removed so the colored SVG looks clean */
}
nav ul{display:flex; list-style:none; padding:0; margin:0; gap:18px; align-items:center}
nav a{color:var(--muted); font-weight:600; font-size:14px}
nav a:hover{color:var(--text)}
.actions{display:flex; align-items:center; gap:10px}
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  padding:10px 14px;
  border-radius:12px;
  border:1px solid var(--line);
  background: color-mix(in oklab, var(--card) 88%, transparent);
  color:var(--text);
  box-shadow: none;
  font-weight:700;
  font-size:14px;
  cursor:pointer;
  transition: transform .12s ease, border-color .12s ease, background .12s ease;
  user-select:none;
}
.btn:hover{transform: translateY(-1px); border-color: color-mix(in oklab, var(--brand) 40%, var(--line))}
.btn.primary{
  border: none;
  background: linear-gradient(135deg, var(--brand), var(--brand2));
  color: white;
  box-shadow: 0 12px 26px rgba(110,168,254,.20);
}
.btn.primary:hover{transform: translateY(-1px) scale(1.01)}
.iconbtn{
  width:42px; height:42px; padding:0;
  border-radius:12px;
}
.hamburger{display:none}

/* Mobile menu */
.mobile{
  display:none;
  padding:0 0 14px 0;
}
.mobile a{
  display:block;
  padding:12px 10px;
  border-radius:12px;
  color:var(--muted);
  font-weight:700;
}
.mobile a:hover{background: color-mix(in oklab, var(--card) 75%, transparent); color:var(--text)}
.mobile .row{display:flex; gap:10px; padding:10px 0}

/* Add this new block here: */
.mobile .row .btn {
  display: flex;
  justify-content: center;
  align-items: center;
}

.divider{height:1px; background:var(--line); margin:6px 0 10px}

/* Hero */
.hero{padding:56px 0 30px}
.hero-grid{
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap:26px;
  align-items:stretch;
}
.kicker{
  display:inline-flex; align-items:center; gap:8px;
  padding:8px 12px;
  border-radius:999px;
  border:1px solid var(--line);
  background: color-mix(in oklab, var(--card) 80%, transparent);
  color:var(--muted);
  font-weight:800;
  font-size:12px;
  letter-spacing:.25px;
  width:fit-content;
}
h1{
  margin:14px 0 10px;
  font-size: clamp(34px, 5.2vw, 54px);
  line-height:1.05;
  letter-spacing:-.8px;
}
.lead{
  color:var(--muted);
  font-size: 17px;
  line-height:1.6;
  max-width: 55ch;
  margin: 0 0 18px;
}
.cta{display:flex; flex-wrap:wrap; gap:10px; margin-top:16px}
.subnote{color:var(--muted); font-size:12.5px; margin-top:10px}

.hero-card{
  border:1px solid var(--line);
  background: color-mix(in oklab, var(--card) 86%, transparent);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow:hidden;
  position:relative;
  min-height: 330px;
}
.hero-card::before{
  content:"";
  position:absolute; inset:-2px;
  background:
    radial-gradient(320px 160px at 20% 20%, rgba(110,168,254,.25), transparent 60%),
    radial-gradient(280px 200px at 90% 0%, rgba(167,139,250,.22), transparent 60%);
  pointer-events:none;
}
.hero-card .inner{
  position:relative;
  padding:18px;
}
.statgrid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:12px;
  margin-top:12px;
}
.stat{
  padding:14px;
  border-radius:16px;
  background: color-mix(in oklab, var(--bg) 30%, var(--card));
  border:1px solid var(--line);
}
.stat .t{font-weight:900; font-size:14px}
.stat .d{color:var(--muted); font-size:12.5px; margin-top:4px; line-height:1.35}
.chiprow{display:flex; flex-wrap:wrap; gap:8px; margin-top:14px}
.chip{
  font-family:var(--mono);
  font-size:12px;
  padding:8px 10px;
  border-radius:999px;
  border:1px solid var(--line);
  background: color-mix(in oklab, var(--card) 72%, transparent);
  color: color-mix(in oklab, var(--text) 84%, var(--muted));
}
.pulse{
  width:10px; height:10px; border-radius:999px; background: var(--ok);
  box-shadow: 0 0 0 0 rgba(52,211,153,.6);
  animation: ping 2.2s infinite;
}
@keyframes ping{
  0%{box-shadow: 0 0 0 0 rgba(52,211,153,.55)}
  70%{box-shadow: 0 0 0 14px rgba(52,211,153,0)}
  100%{box-shadow: 0 0 0 0 rgba(52,211,153,0)}
}

/* Sections */
section{padding:46px 0}
.section-head{display:flex; align-items:flex-end; justify-content:space-between; gap:18px; margin-bottom:18px}
.section-head h2{
  margin:0;
  font-size: clamp(22px, 2.8vw, 32px);
  letter-spacing:-.4px;
}
.section-head p{margin:0; color:var(--muted); max-width:70ch; line-height:1.6}

.cards{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:14px;
}
.card{
  border:1px solid var(--line);
  background: color-mix(in oklab, var(--card) 86%, transparent);
  border-radius: var(--radius);
  padding:16px;
  box-shadow: none;
}
.card .h{
  display:flex; align-items:center; gap:10px;
  font-weight:900;
  margin-bottom:8px;
}
.card .p{margin:0; color:var(--muted); line-height:1.6; font-size:14px}
.ico{
  width:34px; height:34px; border-radius:12px;
  display:grid; place-items:center;
  background: color-mix(in oklab, var(--bg) 25%, var(--card));
  border:1px solid var(--line);
}

/* How it works */
.steps{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:14px;
}
.step{
  border:1px solid var(--line);
  background: color-mix(in oklab, var(--card) 86%, transparent);
  border-radius: var(--radius);
  padding:16px;
  position:relative;
  overflow:hidden;
}
.step .n{
  font-family:var(--mono);
  font-weight:900;
  color: color-mix(in oklab, var(--brand) 75%, var(--text));
  margin-bottom:10px;
}
.step .t{font-weight:900; margin:0 0 8px}
.step .d{margin:0; color:var(--muted); line-height:1.6; font-size:14px}
.step::after{
  content:"";
  position:absolute; inset:auto -40px -60px auto;
  width:180px; height:180px; border-radius:999px;
  background: radial-gradient(circle at 30% 30%, rgba(110,168,254,.22), transparent 65%);
  pointer-events:none;
}

/* Pricing */
.pricing{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:14px;
  align-items:stretch;
}
.price{
  border:1px solid var(--line);
  background: color-mix(in oklab, var(--card) 86%, transparent);
  border-radius: var(--radius);
  padding:18px;
  position:relative;
  overflow:hidden;
}
.price.featured{
  border-color: color-mix(in oklab, var(--brand) 55%, var(--line));
  box-shadow: 0 18px 36px rgba(110,168,254,.14);
  transform: translateY(-2px);
}
.badge{
  position:absolute; top:14px; right:14px;
  font-size:12px; font-weight:900;
  padding:7px 10px;
  border-radius:999px;
  background: linear-gradient(135deg, var(--brand), var(--brand2));
  color:white;
}
.price h3{margin:0 0 6px; font-size:18px}
.amount {
  font-weight: 950; 
  font-size: 32px; 
  letter-spacing: -.6px; 
  margin: 8px 0 4px;
  display: flex;        /* Aligns the price and /month nicely */
  align-items: baseline; 
  gap: 6px;
  flex-wrap: wrap;      /* Prevents long LBP numbers from overflowing */
}

/* 1. Force the price to be large and bold */
.amount .price-value {
  font-size: 32px; 
  font-weight: 950;
  color: var(--text);
}

/* 2. Keep the "/ month" text small and gray */
.amount span:not(.price-value) {
  font-size: 13px; 
  font-weight: 800; 
  color: var(--muted);
}
.plist{list-style:none; padding:0; margin:14px 0 16px; display:grid; gap:10px}
.plist li{display:flex; gap:10px; align-items:flex-start; color:var(--muted); font-weight:650; font-size:14px; line-height:1.4}
.check{
  width:18px; height:18px; flex:0 0 18px;
  border-radius:6px;
  background: rgba(52,211,153,.12);
  border:1px solid rgba(52,211,153,.35);
  display:grid; place-items:center;
  margin-top:2px;
}

/* FAQ + Footer */
details{
  border:1px solid var(--line);
  background: color-mix(in oklab, var(--card) 86%, transparent);
  border-radius: var(--radius);
  padding:14px 16px;
}
details + details{margin-top:10px}
summary{
  cursor:pointer;
  font-weight:900;
  list-style:none;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
}
summary::-webkit-details-marker{display:none}
details p{margin:10px 0 0; color:var(--muted); line-height:1.65; font-size:14px}

footer{
  border-top:1px solid var(--line);
  padding:26px 0 34px;
  color:var(--muted);
}
.foot{
  display:flex; justify-content:space-between; gap:18px; flex-wrap:wrap;
  align-items:center;
}
.links{display:flex; gap:14px; flex-wrap:wrap}
.links a{color:var(--muted); font-weight:700}
.links a:hover{color:var(--text)}

/* Responsive */
.resources-cards {
  grid-template-columns: repeat(2, 1fr);
}

@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .cards { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .pricing { grid-template-columns: 1fr; }
  .resources-cards { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  /* Hide the nav links and the desktop CTA buttons */
  nav ul, 
  .actions a.btn { 
    display: none; 
  }
  
  .hamburger { 
    display: inline-flex; 
  }
  
  .mobile { 
    display: none; 
    border-top: 1px solid var(--line);
    margin-top: 14px;
    padding-top: 14px;
  }
  
  .mobile.open { 
    display: block; 
  }
}
/* Cloud Providers Section */
.providers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 16px;
  margin-top: 24px;
}
.provider-tag {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px;
  border-radius: 12px;
  background: color-mix(in oklab, var(--card) 60%, transparent);
  border: 1px solid var(--line);
  font-weight: 700;
  font-size: 13px;
  transition: all 0.2s ease;
}
.provider-tag:hover {
  background: var(--card);
  border-color: var(--brand);
  transform: translateY(-2px);
}
.provider-tag img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}
.coming-soon-tag {
  border-style: dashed;
  color: var(--muted);
  opacity: 0.8;
}

/* Terms of Service Specific */
.tos-section {
  margin-bottom: 32px;
}
.tos-section h3 {
  font-size: 1.1rem;
  margin-bottom: 12px;
  color: var(--text);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.warning-text {
  color: var(--warn);
  font-weight: 700;
  text-transform: uppercase;
}

/* 404 Page Specific */
.error-container {
  min-height: 70vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.error-code {
  font-size: clamp(80px, 15vw, 160px);
  font-weight: 950;
  line-height: 1;
  background: linear-gradient(135deg, var(--brand), var(--brand2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin: 0;
  letter-spacing: -5px;
}
.error-img {
  animation: float 6s ease-in-out infinite;
  margin-bottom: 20px;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-20px); }
}

/* Changelog Specific Styles */
.changelog-card {
  max-width: 850px;
  margin: 0 auto;
  padding: 40px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.release {
  margin-bottom: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--line);
}
.release:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.release-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
}

.release-version {
  font-size: 24px;
  font-weight: 950;
  color: var(--text);
  letter-spacing: -0.5px;
}

.release-date {
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
  font-family: var(--mono);
}

.log-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.log-list li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

.log-badge {
  font-size: 10px;
  padding: 4px 8px;
  border-radius: 6px;
  font-weight: 800;
  text-transform: uppercase;
  margin-right: 12px;
  margin-top: 3px;
  flex-shrink: 0;
  width: 75px;
  text-align: center;
}

.log-added {
  background: rgba(52, 211, 153, 0.12);
  color: var(--ok);
  border: 1px solid rgba(52, 211, 153, 0.25);
}

.log-fixed {
  background: rgba(251, 191, 36, 0.12);
  color: var(--warn);
  border: 1px solid rgba(251, 191, 36, 0.25);
}

.log-improved {
  background: rgba(110, 168, 254, 0.12);
  color: var(--brand);
  border: 1px solid rgba(110, 168, 254, 0.25);
}

@media (max-width: 760px) {
  .changelog-card { padding: 24px; border-radius: 0; border-left: none; border-right: none; }
  .release-header { flex-direction: column; gap: 4px; }
}

/* =========================================
   Auth Bridge Styles
   ========================================= */
.auth-container {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
}

.auth-card {
  max-width: 420px;
  width: 100%;
  text-align: center;
  animation: authFadeIn 0.5s ease-out;
  padding: 30px 24px;
}

@keyframes authFadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

.status-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 20px;
  display: grid;
  place-items: center;
  border-radius: 20px;
  background: color-mix(in oklab, var(--card) 90%, white);
  border: 1px solid var(--line);
}
.status-icon svg {
  width: 32px;
  height: 32px;
}

.code-box {
  background: color-mix(in oklab, var(--bg) 50%, var(--card));
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px;
  font-family: var(--mono);
  font-size: 13px;
  color: var(--brand);
  word-break: break-all;
  user-select: all;
  box-shadow: inset 0 2px 8px rgba(0,0,0,0.05);
}

.provider-badge {
  display: inline-block;
  padding: 5px 14px;
  border-radius: 999px;
  background: color-mix(in oklab, var(--bg) 60%, var(--card));
  border: 1px solid var(--line);
  font-size: 11px;
  font-weight: 800;
  margin-bottom: 20px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Lottie-style SVG Animations */
.anim-success {
  color: var(--ok);
  border-color: rgba(52, 211, 153, 0.3);
  background: rgba(52, 211, 153, 0.1);
}
.anim-success svg path,
.anim-success svg polyline {
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
  animation: drawLine 0.7s cubic-bezier(0.65, 0, 0.45, 1) forwards;
  animation-delay: 0.1s;
}

.anim-error {
  color: var(--warn);
  border-color: rgba(251, 191, 36, 0.3);
  background: rgba(251, 191, 36, 0.1);
}
.anim-error svg circle, 
.anim-error svg line {
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
  animation: drawLine 0.7s cubic-bezier(0.65, 0, 0.45, 1) forwards;
  animation-delay: 0.1s;
}

@keyframes drawLine {
  to { stroke-dashoffset: 0; }
}