/* ===========================================================
   Amazstock — shared styles for static sub-pages
   =========================================================== */
:root{
  --ink-0: #08070A;
  --ink-1: #0C0B0F;
  --ink-2: #15131A;
  --ink-3: #1D1A23;

  --line-1: rgba(255,255,250,0.05);
  --line-2: rgba(255,255,250,0.09);
  --line-3: rgba(255,255,250,0.16);

  --fg-0: #F4F1EA;
  --fg-1: #C8C2B5;
  --fg-2: #8A8478;
  --fg-3: #564F45;

  --amber: #F5A524;
  --amber-hi:#FFC061;
  --amber-glow: rgba(245,165,36,0.22);

  --signal-profit:  #4EE39B;
  --signal-loss:    #FF6B6B;
  --signal-warn:    #FFAB2E;

  --font-sans: 'Geist', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', 'SF Mono', ui-monospace, monospace;
  --font-serif: 'Instrument Serif', 'Times New Roman', Georgia, serif;
}
*,*::before,*::after{ box-sizing: border-box; }
html,body{ margin:0; padding:0; }
html{ scroll-behavior: smooth; }
body{
  background: var(--ink-0);
  color: var(--fg-0);
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.55;
  letter-spacing: -0.011em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  min-height: 100vh;
  display: flex; flex-direction: column;
}
.field{
  position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background:
    radial-gradient(900px 600px at 78% -10%, rgba(245,165,36,0.10), transparent 60%),
    radial-gradient(700px 500px at 0% 30%, rgba(78,227,155,0.04), transparent 60%);
}
.field::after{
  content:""; position:absolute; inset:0;
  background-image:
    linear-gradient(rgba(255,255,255,0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.018) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
}
main{ position: relative; z-index: 2; flex: 1; }
.wrap{ max-width: 1080px; margin: 0 auto; padding: 0 32px; }
@media (max-width:760px){ .wrap{ padding: 0 20px; } }

/* nav */
.nav{
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  background: rgba(8,7,10,0.62);
  border-bottom: 1px solid var(--line-1);
}
.nav-inner{
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 32px;
  max-width: 1280px; margin: 0 auto;
}
.brand{ display: flex; align-items: center; gap: 10px; text-decoration: none; color: inherit; }
.brand-mark{
  width: 30px; height: 30px; border-radius: 8px; background: #0a0a0a;
  display: grid; place-items: center; overflow: hidden;
  border: 1px solid rgba(255,255,255,0.06);
}
.brand-mark img{ width: 100%; height: 100%; object-fit: cover; }
.brand-name{ font-size: 15px; font-weight: 500; letter-spacing: -0.01em; }
.brand-name span{ color: var(--fg-2); font-weight: 400; }
.nav-links{ display: flex; align-items: center; gap: 28px; }
.nav-links a{
  text-decoration: none; color: var(--fg-1); font-size: 13.5px;
  transition: color .2s ease;
}
.nav-links a:hover{ color: var(--fg-0); }
@media (max-width: 820px){ .nav-links{ display:none; } }
.nav-cta{ display:flex; align-items:center; gap:10px; }
.btn{
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 16px;
  font-size: 13.5px; font-weight: 500;
  border-radius: 8px; cursor: pointer; text-decoration: none;
  border: 1px solid transparent;
  transition: all .2s ease;
  white-space: nowrap;
}
.btn-primary{
  background: linear-gradient(180deg, var(--amber-hi), var(--amber));
  color: #1a1208;
  box-shadow: 0 1px 0 rgba(255,255,255,0.25) inset, 0 8px 24px -8px var(--amber-glow);
}
.btn-ghost{
  background: transparent; color: var(--fg-0);
  border-color: var(--line-2);
}
.btn-ghost:hover{ border-color: var(--line-3); background: rgba(255,255,255,0.02); }

/* page header */
.page-head{ padding: 80px 0 40px; border-bottom: 1px solid var(--line-1); }
.eyebrow{
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fg-2);
  display: inline-flex; align-items: center; gap: 10px;
}
.eyebrow::before{
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--amber); box-shadow: 0 0 12px var(--amber-glow);
}
h1{
  margin: 18px 0 0; font-weight: 450; letter-spacing: -0.025em; line-height: 1.05;
  font-size: clamp(40px, 6vw, 72px);
}
h1 .em{ color: var(--amber); font-family: var(--font-serif); font-style: italic; font-weight: 400; }
.page-head .lede{
  margin-top: 22px; max-width: 60ch;
  font-size: 17px; color: var(--fg-1); line-height: 1.55;
}
.page-meta{
  display: flex; gap: 24px; flex-wrap: wrap;
  font-family: var(--font-mono); font-size: 11.5px; color: var(--fg-2);
  margin-top: 36px;
}
.page-meta b{ color: var(--fg-0); font-weight: 400; }

/* content */
section.content{ padding: 60px 0; }
section.content + section.content{ border-top: 1px solid var(--line-1); }
h2{ font-size: clamp(24px, 3vw, 34px); font-weight: 500; letter-spacing: -0.02em; margin: 0; }
h3{ font-size: 18px; font-weight: 500; margin: 0; }
p{ margin: 0; color: var(--fg-1); }
.lede{ font-size: 17px; color: var(--fg-1); }
.content .grid{
  display: grid; grid-template-columns: 280px 1fr; gap: 56px;
  align-items: start;
}
@media (max-width: 800px){
  .content .grid{ grid-template-columns: 1fr; gap: 24px; }
}
.content .side h2{ position: sticky; top: 80px; }
.content .body p + p{ margin-top: 14px; }
.content .body p{ font-size: 15px; line-height: 1.65; color: var(--fg-1); }
.content .body h3{ margin: 28px 0 10px; color: var(--fg-0); }
.content .body ul{
  padding: 0; margin: 12px 0 0; list-style: none;
}
.content .body ul li{
  display: grid; grid-template-columns: 18px 1fr; gap: 12px;
  padding: 4px 0;
  font-size: 14.5px; color: var(--fg-1); line-height: 1.5;
}
.content .body ul li::before{
  content: ""; width: 14px; height: 14px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%234EE39B' stroke-width='2.4'><path d='M3 8.5L6.5 12L13 5'/></svg>");
  background-repeat: no-repeat; background-position: center;
  margin-top: 4px;
}
.content .body a{ color: var(--amber); text-decoration: none; }
.content .body a:hover{ text-decoration: underline; }

/* status table */
.status-table{
  display: grid; gap: 1px;
  background: var(--line-1);
  border: 1px solid var(--line-1);
  border-radius: 12px;
  overflow: hidden;
}
.status-row{
  display: grid; grid-template-columns: 1fr 120px 160px;
  background: var(--ink-1);
  padding: 16px 20px;
  align-items: center;
  font-size: 14px;
}
.status-row b{ color: var(--fg-0); font-weight: 500; }
.status-row .sub{ color: var(--fg-2); font-size: 12.5px; margin-top: 2px; display: block; font-family: var(--font-mono); }
.status-row .uptime{ font-family: var(--font-mono); font-size: 13px; color: var(--signal-profit); }
.status-row .pill{
  font-family: var(--font-mono); font-size: 11px;
  padding: 5px 10px; border-radius: 999px;
  letter-spacing: 0.1em; text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 6px;
  justify-self: end;
}
.status-row .pill.ok{ background: rgba(78,227,155,0.1); color: var(--signal-profit); border: 1px solid rgba(78,227,155,0.25); }
.status-row .pill.ok::before{
  content:""; width:6px; height:6px; border-radius:50%;
  background: var(--signal-profit);
  box-shadow: 0 0 6px rgba(78,227,155,0.5);
  animation: pulse 1.8s ease-out infinite;
}
.status-row .pill.warn{ background: rgba(255,171,46,0.1); color: var(--signal-warn); border: 1px solid rgba(255,171,46,0.25); }
.status-row .pill.warn::before{
  content:""; width:6px; height:6px; border-radius:50%; background: var(--signal-warn);
}
@keyframes pulse{
  0%{ box-shadow: 0 0 0 0 rgba(78,227,155,0.55); }
  100%{ box-shadow: 0 0 0 8px rgba(78,227,155,0); }
}
@media (max-width: 600px){
  .status-row{ grid-template-columns: 1fr auto; gap: 8px; }
  .status-row .uptime{ grid-column: 1 / -1; }
}

/* roadmap */
.rm-grid{
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}
@media (max-width: 900px){ .rm-grid{ grid-template-columns: 1fr; } }
.rm-col{
  background: var(--ink-1); border: 1px solid var(--line-2);
  border-radius: 14px; padding: 24px;
  display: flex; flex-direction: column; gap: 14px;
}
.rm-col h3{
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--fg-2);
  font-weight: 500;
}
.rm-col h3 .dot{ width: 8px; height: 8px; border-radius: 50%; background: var(--fg-3); }
.rm-col.now h3 .dot{ background: var(--signal-profit); box-shadow: 0 0 8px rgba(78,227,155,0.5); }
.rm-col.next h3 .dot{ background: var(--amber); box-shadow: 0 0 8px var(--amber-glow); }
.rm-col.later h3 .dot{ background: var(--fg-3); }
.rm-item{
  background: var(--ink-0); border: 1px solid var(--line-1);
  border-radius: 10px;
  padding: 14px 16px;
}
.rm-item b{ display: block; font-size: 14px; font-weight: 500; color: var(--fg-0); margin-bottom: 4px; }
.rm-item span{ font-size: 12.5px; color: var(--fg-2); line-height: 1.5; }
.rm-item .tag{
  font-family: var(--font-mono); font-size: 10px;
  letter-spacing: 0.12em; color: var(--amber);
  margin-top: 8px; display: inline-block;
}

/* security cards */
.sec-grid{
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px;
}
@media (max-width: 700px){ .sec-grid{ grid-template-columns: 1fr; } }
.sec-card{
  background: var(--ink-1); border: 1px solid var(--line-2);
  border-radius: 12px; padding: 22px 24px;
  display: flex; flex-direction: column; gap: 8px;
}
.sec-card .ic{
  width: 32px; height: 32px; border-radius: 8px;
  background: rgba(245,165,36,0.12); color: var(--amber);
  display: grid; place-items: center;
  border: 1px solid rgba(245,165,36,0.25);
}
.sec-card h3{ margin-top: 6px; font-weight: 500; font-size: 16px; }
.sec-card p{ font-size: 13.5px; color: var(--fg-2); line-height: 1.55; }

/* footer */
footer{
  margin-top: 80px;
  padding: 40px 0 56px;
  border-top: 1px solid var(--line-1);
  background: var(--ink-0);
  position: relative; z-index: 2;
}
.foot{
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: 24px; flex-wrap: wrap;
  font-family: var(--font-mono); font-size: 12px; color: var(--fg-3);
}
.foot a{ color: var(--fg-2); text-decoration: none; margin-right: 18px; }
.foot a:hover{ color: var(--fg-0); }
.foot .left{ display: flex; align-items: center; gap: 12px; color: var(--fg-2); }
.foot .left img{ width: 22px; height: 22px; border-radius: 6px; }
