/* GridBorne Early Access pages: additions to the site's style.css (same variables and look). Deployed next to /css/style.css as /css/early-access.css. */

/* ---- Buy-state switch -------------------------------------------------------------------------------------------------
   One class on <body> decides what visitors can do:
     <body class="ea-closed">  the buy form is hidden and "Early Access opens soon" is shown      (default in this repository)
     <body class="ea-open">    the buy form is shown                                              (flip this when checkout is live)
   thanks.html and cancelled.html do not use it. */
.ea-closed .ea-buy-form { display: none; }
.ea-open .ea-soon { display: none; }
.ea-soon { display: inline-flex; align-items: center; gap: 10px; padding: 16px 24px; border-radius: 999px; border: 1px dashed rgba(255,255,255,.28); color: var(--amber); font: 600 14px/1 var(--font-head); letter-spacing: .12em; text-transform: uppercase; }
.ea-soon::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 0 4px rgba(240,164,58,.18); }
.ea-closed .ea-open-only { display: none; }

.ea-sub { padding-top: 0; }
.ea-lede { color: #cfcdc6; font-size: 18px; max-width: 62ch; }
.ea-small { color: var(--muted); font-size: 14px; }
.ea-small a, .ea-lede a, .ea-prose a, .ea-faq a, .ea-card a, .ea-end a { color: var(--accent); border-bottom: 1px solid rgba(163,230,53,.4); }
.ea-small a:hover, .ea-lede a:hover, .ea-prose a:hover, .ea-faq a:hover, .ea-card a:hover, .ea-end a:hover { border-bottom-color: var(--accent); }
.ea-prose p { font-size: 18px; color: #cfcdc6; margin-bottom: 18px; max-width: 70ch; }
.ea-prose p strong { color: var(--text); }

/* ---- Screenshots: whole 16:9 frames, no cropping (the site's .bento grid crops to fixed-height cells) ----------------------- */
.ea-shots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.ea-shots button { all: unset; display: block; cursor: zoom-in; position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 16 / 9; background: var(--bg-2); }
.ea-shots button:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.ea-shots figure, .ea-shots img { width: 100%; height: 100%; display: block; }
.ea-shots img { object-fit: cover; transition: transform 1s var(--ease); }
.ea-shots button:hover img { transform: scale(1.04); }
.ea-shots figcaption { position: absolute; left: 12px; bottom: 10px; font: 500 11px/1 var(--font-head); letter-spacing: .2em; text-transform: uppercase; padding: 8px 10px; border-radius: 999px; background: rgba(8,9,11,.78); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }

/* ---- Price block ------------------------------------------------------------------------------------------------------- */
.ea-price { display: grid; grid-template-columns: 1.1fr 1fr; gap: 0; border: 1px solid var(--line); border-radius: calc(var(--radius) + 6px); overflow: hidden; background: linear-gradient(135deg, rgba(163,230,53,.07), rgba(255,255,255,.02) 55%); }
.ea-price-main { padding: clamp(26px, 4vw, 46px); border-right: 1px solid var(--line); }
.ea-price-tag { font: 400 clamp(64px, 9vw, 120px)/.9 var(--font-display); letter-spacing: .01em; }
.ea-price-tag small { font: 500 16px/1 var(--font-head); letter-spacing: .22em; text-transform: uppercase; color: var(--muted); margin-left: 10px; }
.ea-price-name { font: 500 14px/1 var(--font-head); letter-spacing: .26em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
.ea-price-list { list-style: none; margin-top: 22px; display: grid; gap: 10px; }
.ea-price-list li { position: relative; padding-left: 28px; color: #d8d6cf; }
.ea-price-list li::before { content: ""; position: absolute; left: 4px; top: .55em; width: 10px; height: 6px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }
.ea-price-side { padding: clamp(26px, 4vw, 46px); display: flex; flex-direction: column; justify-content: center; gap: 18px; }
.ea-full { border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; background: var(--surface); }
.ea-full b { font: 500 16px/1.3 var(--font-head); letter-spacing: .04em; }
.ea-full p { color: var(--muted); font-size: 14px; margin-top: 6px; }
.ea-buy { display: grid; gap: 12px; }
.ea-buy .btn { justify-content: center; width: 100%; font-size: 15px; padding: 20px 26px; cursor: pointer; border: 0; }
.ea-buy form { display: block; }

/* ---- Steps / platforms / requirements ---------------------------------------------------------------------------------- */
.ea-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; counter-reset: s; }
.ea-steps .step { counter-increment: s; position: relative; }
.ea-steps .step::before { content: counter(s); position: absolute; top: 18px; right: 20px; font: 400 44px/1 var(--font-display); color: rgba(255,255,255,.1); }
.ea-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.ea-card { padding: 26px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.ea-card h3 { font: 500 22px/1.2 var(--font-head); text-transform: uppercase; letter-spacing: .04em; margin-bottom: 4px; }
.ea-card .tag { font: 500 11px/1 var(--font-head); letter-spacing: .22em; text-transform: uppercase; color: var(--accent); }
.ea-card .tag.warn { color: var(--amber); }
.ea-card .tag.no { color: var(--muted); }
.ea-card p, .ea-card li { color: var(--muted); font-size: 15px; margin-top: 10px; }
.ea-card ul { list-style: none; }
.ea-card li { padding-left: 16px; position: relative; }
.ea-card li::before { content: ""; position: absolute; left: 0; top: .7em; width: 6px; height: 1px; background: var(--muted); }
.ea-req { display: grid; grid-template-columns: 220px 1fr; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.ea-req dt, .ea-req dd { padding: 16px 22px; border-bottom: 1px solid var(--line); }
.ea-req dt { font: 500 12px/1.4 var(--font-head); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); background: var(--surface); }
.ea-req dd { color: #d8d6cf; }
.ea-req dt:last-of-type, .ea-req dd:last-of-type { border-bottom: 0; }
.ea-limits { list-style: none; display: grid; gap: 12px; max-width: 80ch; }
.ea-limits li { padding: 16px 20px 16px 48px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); color: #d0cec7; position: relative; }
.ea-limits li::before { content: "!"; position: absolute; left: 18px; top: 14px; width: 20px; height: 20px; border-radius: 50%; background: var(--amber); color: var(--accent-ink); font: 700 13px/20px var(--font-head); text-align: center; }

/* ---- FAQ --------------------------------------------------------------------------------------------------------------- */
.ea-faq { max-width: 880px; display: grid; gap: 10px; }
.ea-faq details { border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.ea-faq summary { cursor: pointer; padding: 18px 22px; font: 500 17px/1.35 var(--font-head); letter-spacing: .02em; list-style: none; display: flex; justify-content: space-between; gap: 18px; }
.ea-faq summary::-webkit-details-marker { display: none; }
.ea-faq summary::after { content: "+"; color: var(--accent); font-size: 22px; line-height: 1; }
.ea-faq details[open] summary::after { content: "\2212"; }
.ea-faq details > div { padding: 0 22px 20px; color: #c8c6bf; }
.ea-faq details > div p + p { margin-top: 10px; }

/* ---- Closing block + legal row ---------------------------------------------------------------------------------------- */
.ea-end { text-align: center; border: 1px solid var(--line); border-radius: calc(var(--radius) + 8px); padding: clamp(34px, 6vw, 70px) 20px; background: radial-gradient(ellipse at center, rgba(163,230,53,.07), rgba(8,9,11,0) 70%); }
.ea-end p { color: #c5c3bd; max-width: 56ch; margin: 14px auto 26px; font-size: 17px; }
.ea-mail { font: 400 clamp(22px, 4vw, 40px)/1.2 var(--font-display); letter-spacing: .02em; border-bottom: 2px solid var(--accent); }
.ea-legal { display: flex; flex-wrap: wrap; gap: 8px 22px; justify-content: center; margin-top: 28px; font: 500 12px/1 var(--font-head); letter-spacing: .16em; text-transform: uppercase; }
.ea-legal a { color: var(--muted); }
.ea-legal a:hover { color: var(--accent); }

/* ---- Thank-you / cancelled pages --------------------------------------------------------------------------------------- */
.ea-simple { min-height: 100svh; display: grid; align-items: center; padding: 120px 0 70px; }
.ea-simple h1 { font: 400 clamp(46px, 8vw, 100px)/.95 var(--font-display); text-transform: uppercase; margin: 16px 0 18px; }
.ea-simple .ea-lede { margin-bottom: 30px; }
.ea-expect { list-style: none; display: grid; gap: 12px; max-width: 760px; margin: 28px 0 34px; counter-reset: e; }
.ea-expect li { counter-increment: e; position: relative; padding: 18px 20px 18px 64px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); color: #d0cec7; }
.ea-expect li::before { content: counter(e); position: absolute; left: 18px; top: 14px; width: 32px; height: 32px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); font: 500 16px/32px var(--font-head); text-align: center; }
.ea-expect b { color: var(--text); }

@media (max-width: 1000px) {
  .ea-shots { grid-template-columns: repeat(2, 1fr); }
  .ea-price { grid-template-columns: 1fr; }
  .ea-price-main { border-right: 0; border-bottom: 1px solid var(--line); }
  .ea-steps { grid-template-columns: repeat(2, 1fr); }
  .ea-cols { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .ea-shots { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .ea-steps { grid-template-columns: 1fr; }
  .ea-req { grid-template-columns: 1fr; }
  .ea-req dt { border-bottom: 0; padding-bottom: 4px; }
  .ea-req dd { padding-top: 4px; }
  .ea-price-tag small { display: block; margin: 12px 0 0; }
  .ea-faq summary { font-size: 16px; padding: 16px 18px; }
}

/* Footer on these pages carries the legal links too: let it wrap on narrow screens. */
.footer-row { flex-wrap: wrap; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 20px; }

/* "Who makes GridBorne": the T.E.N.S.O.R. line */
.ea-technology { padding: 16px 20px; border: 1px solid var(--line); border-left: 3px solid var(--accent); border-radius: 12px; background: var(--surface); font-size: 16px !important; }
.ea-technology b { letter-spacing: .12em; color: var(--text); }

/* Official TensorGames tagline: "One Developer. AI-Powered Production. Original Worlds." (verbatim, one line per phrase on narrow screens) */
.brand-tagline { margin-top: 14px; font: 500 clamp(15px, 1.9vw, 21px)/1.35 var(--font-head); letter-spacing: .16em; text-transform: uppercase; color: var(--text); }
.brand-tagline span { display: inline-block; margin-right: .55em; }
.brand-tagline span:nth-child(2) { color: var(--accent); }
.brand-tagline-lg { margin: 6px 0 26px; font-size: clamp(17px, 2.3vw, 26px); }
@media (max-width: 760px) { .brand-tagline { letter-spacing: .1em; } .brand-tagline span { display: block; margin-right: 0; } }

.ea-agree{display:block;font-size:14px;line-height:1.5;margin:0 0 14px;text-align:left}.ea-agree input{margin-right:8px;vertical-align:middle}.ea-agree a{text-decoration:underline}
