
:root{
  --bg0:#020b16;
  --bg1:#031b34;
  --bg2:#032a4a;
  --text:#e9f0ff;
  --muted:#b7c6dd;
  --card:rgba(255,255,255,0.06);
  --stroke:rgba(255,255,255,0.14);
  --btn:rgba(255,255,255,0.08);
  --btnHover:rgba(255,255,255,0.12);
  --accent:#7fd3ff;
  --accent2:#5aa7ff;
}

*{box-sizing:border-box}
html,body{margin:0;padding:0}
body{
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
  color:var(--text);
  background:
    radial-gradient(1200px 700px at 20% 0%, rgba(127,211,255,0.12), transparent 60%),
    radial-gradient(900px 600px at 75% 15%, rgba(90,167,255,0.14), transparent 55%),
    linear-gradient(180deg, var(--bg2) 0%, var(--bg1) 38%, var(--bg0) 100%);
  min-height:100vh;
}

a{color:inherit;text-decoration:none}
a.under{ text-decoration: underline; text-underline-offset: 3px; }
.container{max-width:1120px;margin:0 auto;padding:0 28px}

header{
  position:sticky; top:0; z-index:1000;
  /* OPAQUE header: prevents underlying page text showing through while scrolling */
  background: linear-gradient(180deg, rgba(1,12,24,1), rgba(1,12,24,1));
  border-bottom:1px solid rgba(255,255,255,0.10);
  box-shadow: 0 10px 30px rgba(0,0,0,0.35);
}

.nav{
  display:flex; align-items:center; justify-content:space-between;
  /* More vertical room so a larger logo never clips */
  padding: 18px 0;
}

.brand{
  display:flex;
  align-items:center;
  /* Bring the icon closer to the wordmark */
  gap: 18px;
  min-height: 110px;
}

/* Control the icon size here (not by manually resizing the PNG).
   This keeps aspect ratio and prevents header cropping. */
.brand img{
  /* Make the icon clearly larger than the Togii wordmark */
  height:110px;
  width:auto;
  display:block;
  object-fit:contain;
  /* Nudge down a touch so an icon with tight bounds doesn't look clipped */
  margin-top: 0px;
}
.brand .title{display:flex; flex-direction:column; line-height:1.05}
.brand .title .name{font-weight:700; font-size:32px; letter-spacing:-0.02em}
.brand .title .tag{font-size:15px; color:var(--muted); margin-top:8px}

.navlinks{display:flex; gap:18px; align-items:center; color:var(--muted); font-size:14px}
.navlinks a{padding:8px 10px; border-radius:10px}
.navlinks a:hover{background:rgba(255,255,255,0.06); color:var(--text)}

.hero{padding:74px 0 30px}
.kicker{color:rgba(233,240,255,0.85); font-size:14px; margin-top:14px}
h1{
  font-size:66px; line-height:1.05; margin:0 0 18px;
  letter-spacing:-0.03em;
}
.lead{
  max-width:720px;
  color:rgba(233,240,255,0.82);
  font-size:19px; line-height:1.65;
  margin:0 0 28px;
}

.ctas{display:flex; gap:14px; flex-wrap:wrap; margin:12px 0 10px}
.btn{
  display:inline-flex; align-items:center; justify-content:center;
  padding:14px 18px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,0.18);
  background: var(--btn);
  color:var(--text);
  font-weight:600;
  box-shadow: 0 14px 28px rgba(0,0,0,0.22);
}
.btn:hover{background:var(--btnHover)}
.btn.primary{
  border-color: rgba(127,211,255,0.32);
  background: linear-gradient(180deg, rgba(127,211,255,0.18), rgba(90,167,255,0.10));
}
.btn.primary:hover{
  background: linear-gradient(180deg, rgba(127,211,255,0.22), rgba(90,167,255,0.12));
}

.section{
  padding:52px 0;
  border-top:1px solid rgba(255,255,255,0.10);
}
/* Ensure in-page anchor jumps don't hide headings behind the sticky header */
.section{ scroll-margin-top: 140px; }

.grid2{
  display:grid; gap:26px;
  grid-template-columns: 1.05fr 0.95fr;
}
.card{
  background:var(--card);
  border:1px solid rgba(255,255,255,0.14);
  border-radius:20px;
  padding:24px;
  box-shadow: 0 18px 48px rgba(0,0,0,0.22);
}
h2{font-size:28px; margin:0 0 10px; letter-spacing:-0.02em}
p{margin:0; color:rgba(233,240,255,0.78); line-height:1.7}
ul{margin:10px 0 0 18px; color:rgba(233,240,255,0.78); line-height:1.7}
li{margin:8px 0}

.steps{display:grid; gap:14px; margin-top:12px}
.step{display:flex; gap:12px; align-items:flex-start}
.badge{
  min-width:28px; height:28px;
  border-radius:10px;
  display:inline-flex; align-items:center; justify-content:center;
  border:1px solid rgba(255,255,255,0.16);
  background: rgba(255,255,255,0.06);
  color:rgba(233,240,255,0.92);
  font-weight:700;
}

.footer{
  padding:40px 0 60px;
  border-top:1px solid rgba(255,255,255,0.10);
}
.footerRow{
  display:flex; gap:18px; align-items:center; justify-content:space-between;
  flex-wrap:wrap;
}
.plaque{
  /* The plaque image includes a white background, so show it as a
     clean "business card" rather than a cutout stuck on the footer. */
  background:#ffffff;
  border-radius:16px;
  padding:12px 14px;
  border:1px solid rgba(0,0,0,0.08);
  box-shadow:0 10px 30px rgba(0,0,0,0.22);
}
.plaque img{height:86px; width:auto; display:block}
.flinks{display:flex; gap:14px; color:var(--muted); font-size:14px}
.flinks a:hover{color:var(--text); text-decoration: underline; text-underline-offset: 3px}

.smallnote{font-size:13px; color:rgba(233,240,255,0.62); margin-top:10px}

.footerMeta{display:flex; flex-direction:column; align-items:flex-end; text-align:right}
.footerMeta .smallnote{margin-top:0}
.plaque{max-width:100%}
@media (max-width: 880px){
  .footerMeta{align-items:flex-start; text-align:left}
  .plaque img{height:72px}
}

@media (max-width: 880px){
  h1{font-size:46px}
  .grid2{grid-template-columns:1fr}
  .navlinks{display:none}
}


/* Form styles (used on request.html) */
.label{display:block; font-size:13px; color:var(--muted); margin-bottom:8px}
.input{width:100%; padding:12px 12px; border-radius:12px; border:1px solid rgba(255,255,255,0.12); background: rgba(255,255,255,0.04); color: var(--text); outline:none}
.input:focus{border-color: rgba(255,255,255,0.28)}
textarea.input{resize:vertical; min-height:120px}


/* --- Legal pages: summary + full text toggle --- */
.policy-banner{
  margin-top: 12px;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
}
.policy-banner-title{
  font-weight: 800;
  letter-spacing: .2px;
}
.policy-banner-note{
  margin-top: 6px;
  opacity: .9;
  font-size: .95rem;
  line-height: 1.45;
}
.legal-details{
  margin-top: 18px;
  padding-top: 6px;
}
.legal-details summary{
  cursor: pointer;
  font-weight: 800;
  user-select: none;
}
.legal-details[open] summary{
  margin-bottom: 12px;
}
.legal-full{
  margin-top: 8px;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(0,0,0,.20);
}
.legal-full h3{
  margin-top: 14px;
}
.legal-full h3:first-child{
  margin-top: 0;
}
