

/* WCAG-minded defaults: focus visibility, readable line length, semantic spacing. */

:root{
  --bg: #07121E;         /* deep brand blue */
  --bg2: #0B2A45;        /* slightly lighter */
  --surface: #0f1d2b;    /* card bg */
  --text: #ffffff;
  --muted: #cfe0f3;
  --link: #ffffff;
  --accent: #81D42F;     /* your green */
  --border: rgba(255,255,255,.18);

  --maxw: 1100px;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(0,0,0,.25);
}

*{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  line-height: 1.6;
  color: var(--text);
  background: radial-gradient(1200px 700px at 10% 10%, #123a63 0%, var(--bg) 55%, #050b12 100%);
}

a{ color: var(--link); }
a:focus, button:focus, input:focus, textarea:focus{
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}
a:focus:not(:focus-visible),
button:focus:not(:focus-visible),
input:focus:not(:focus-visible),
textarea:focus:not(:focus-visible){
  outline: none;
}
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible{
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

.skip-link{
  position:absolute;
  left:-9999px;
  top:0;
  background:#000;
  color:#fff;
  padding:.75rem 1rem;
  z-index: 9999;
}
.skip-link:focus{
  left: .75rem;
  top: .75rem;
  border-radius: 10px;
}

.container-old{
  width: min(var(--maxw), calc(100% - 2rem));
  margin: 0 auto;
}

.container{
  width: min(1100px, 100%);
  margin: 0 auto;
  padding: 0 1rem;
}


.site-header{
  position: sticky;
  top: 0;
  z-index: 50;

  border-bottom: 1px solid var(--border);
  background: rgba(7, 18, 30, .65);
  backdrop-filter: blur(8px);
}
.header-inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 0;
  flex-wrap: wrap;
  position: relative;
}

.brand-link{
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}
.brand-mark{
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  display: block;
  border-radius: 12px;
}
.brand-text{
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  min-width: 0;
}
.brand-name{
  font-size: 1.05rem;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 70vw;
}
.brand-tagline{
  font-size: 0.9rem;
  opacity: 0.85;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 70vw;
}


/* Wider screens: restore breathing room */
@media (min-width: 900px){
  .brand-mark{ width: 56px; height: 56px; }
  .brand-name{ font-size: 1.15rem; max-width: none; }
  .brand-tagline{ max-width: none; }
  .header-inner{ flex-wrap: nowrap; }
}

.site-nav{ display:flex; align-items:center; gap:.75rem; }

.nav-toggle{
  display:none;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
  padding: .55rem .8rem;
  border-radius: 12px;
}
.nav-links{
  display:flex;
  gap:.25rem;
  align-items:center;
}
.nav-link{
  display:inline-block;
  padding: .55rem .75rem;
  border-radius: 12px;
  text-decoration:none;
  border: 1px solid transparent;
}
.nav-link:hover{ border-color: var(--border); }
.nav-link.is-active{ border-color: var(--accent); }

@media (max-width: 860px){
  .nav-toggle{ display:inline-flex; }
  .nav-links{
    display:none;
    position:absolute;
    right: 1rem;
    top: 74px;
    flex-direction:column;
    background: rgba(7, 18, 30, .95);
    border: 1px solid var(--border);
    padding: .5rem;
    border-radius: 14px;
    box-shadow: var(--shadow);
    min-width: 220px;
  }
  .nav-links.is-open{ display:flex; }
  .nav-link{ width: 100%; }
}

main{
  padding: 2.2rem 0 2.6rem;
}

img{ max-width:100%; height:auto; }
.hero{ border-radius: 1rem; overflow:hidden; }

.hero2{
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 1.2rem;
  align-items:stretch;
}
@media (max-width: 900px){
  .hero{ grid-template-columns: 1fr; }
}

.hero-card{
  background: rgba(15, 29, 43, .72);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.4rem;
}
.hero h1{
  margin: 0 0 .6rem;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  line-height: 1.2;
}
.hero p{ margin: 0 0 1rem; color: var(--muted); max-width: 65ch; }

.badges{
  display:flex;
  gap:.5rem;
  flex-wrap:wrap;
  margin: .9rem 0 1.2rem;
}
.badge{
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: .25rem .6rem;
  font-size: .9rem;
  color: var(--muted);
}

.actions{
  display:flex;
  gap:.7rem;
  flex-wrap:wrap;
}


.button{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:.5rem;
  padding:.7rem 1rem;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text);
  text-decoration:none;
  font-weight: 650;
}
.button.primary{
  border-color: var(--accent);
  box-shadow: 0 0 0 2px rgba(129,212,47,.15) inset;
}

.button.newbroken {
  border-color: var(--accent);
  box-shadow: 0 0 0 2px rgba(129,212,47,.15) inset;

  color: #ffd84a;          /* yellow text */
  font-weight: 700;        /* heavier */
  text-align: center;      /* center label */

  letter-spacing: .05em;
  debug-text-transform: uppercase;

  color: #ff0;                 /* yellow text */
  debug-display: block;              /* let it behave like a banner */
  width: 25%;
  min-width: 220px;
}

.button.new {
  box-shadow: 0 0 0 2px rgba(129,212,47,.15) inset;
  color: #ff0;                 /* yellow text */
  width: 65ch;
  min-width: 220px;
  letter-spacing: .07em;
  margin: auto 0;
}

.button-centered-wrapper {
  display: flex;
  justify-content: center;
}


.button:hover{
  border-color: rgba(255,255,255,.35);
}

.panel{
  margin-top: 1.2rem;
  background: rgba(15, 29, 43, .55);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.2rem;
}

.grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
@media (max-width: 980px){
  .grid{ grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px){
  .grid{ grid-template-columns: 1fr; }
}

.card{
  background: rgba(15, 29, 43, .72);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem;
  box-shadow: var(--shadow);
}
.card h2, .card h3{ margin: 0 0 .35rem; }
.card p{ margin: 0 0 .75rem; color: var(--muted); }
.tag{
  display:inline-block;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: .2rem .55rem;
  font-size: .85rem;
  color: var(--muted);
}
.tag.alpha{ border-color: rgba(129,212,47,.7); }
.tag.soon{ border-color: rgba(255,255,255,.25); }

.site-footer{
  border-top: 1px solid var(--border);
  padding: 1.4rem 0 2.2rem;
  background: rgba(7, 18, 30, .65);
}
.footer-inner{ color: var(--muted); }
.muted{ color: var(--muted); }

.form{
  display:grid;
  gap: .9rem;
  max-width: 720px;
}
label{ font-weight: 650; }

input[type="text"],
input[type="url"],
input[type="email"],
input[type="search"],
textarea {
    width: 100%;
    padding: .7rem .8rem;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: rgba(0,0,0,.25);
    color: white;
}

input[type="checkbox"] {
    width: auto;
    height: auto;
    padding: 0;
    margin: 0;
}

textarea{ min-height: 160px; resize: vertical; }
.help{ font-size: .95rem; color: var(--muted); margin-top: .25rem; }

.grid-2{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

@media (max-width: 800px){
  .grid-2{ grid-template-columns: 1fr; }
}


.brand-ready { font-style: italic; }

.s2t-input {
    background-color: #ffffff !important;
    color: #000000 !important;
    border: 1px solid #888;
}

input#url.s2t-input {
    background-color: #ffffff !important;
    background: #ffffff !important;
    color: #000000 !important;
    -webkit-text-fill-color: #000000 !important;
    opacity: 1 !important;
}

/* Force left-aligned checkbox + text, overriding theme rules */
details.s2t-options label.s2t-opt {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 8px !important;
    width: auto !important;
    text-align: left !important;
}

details.s2t-options label.s2t-opt input[type="checkbox"] {
    float: none !important;
    position: static !important;
    margin: 0 !important;
    flex: 0 0 auto !important;
}

details.s2t-options label.s2t-opt span {
    display: inline-block !important;
    flex: 0 1 auto !important;
}

/* Wider reading area for informational pages */
.container-wide {
    max-width: 1100px;
    width: 92%;
    margin-left: auto;
    margin-right: auto;
}


// Try to bleed the edges of the main hero logo

.imgfader { Box Shadow: 110px 107px 50px green; }


.t2r-section {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 1.2rem;
  margin-bottom: 2.2rem;
}

/* heading column */
.t2r-heading {
  grid-column: 1 / -1; /* header spans full width */
}

/* body column */
.t2r-body {
  grid-column: 2;      /* body starts under text, not under "1." */
  max-width: none;     /* allow full width */
}

/* tighten heading spacing */
.t2r-heading h2 {
  margin-bottom: .25rem;
}

.t2r-subheader {
  margin-top: 0;
  broken-opacity: .95;
  font-weight: 700;
  broken-color: rgba(255,255,255,0);
  opacity: 1;
  color: yellow;
  text-decoration: underline ;
  border: solid yellow 5px;

}

p.t2r-subhead {
  margin-top: 0;
  font-weight: 700;
  opacity: 1;                 /* 100% is not valid; use 1 */
  color: yellow ;
  debug-border: 5px solid yellow;
}


.t2r-subhead {
  margin-top: 0;
  font-weight: 700;
  opacity: 1;                 /* 100% is not valid; use 1 */
  color: green ;
  debug-border: 5px solid yellow;
}

.t2r-body p {
  max-width: 85ch;   /* readable but fuller */
}

