/* ==========================================================================
   Tokenising Assets stylesheet
   Plain CSS, no build step, no external font or framework dependencies.
   Colour tokens are set once below; change them here to re-theme the site.
   ========================================================================== */

:root{
  --ink:        #0B1421;   /* primary text, near-black navy */
  --ink-soft:   #4B5568;   /* secondary text */
  --neutral:    #8A93A3;   /* tertiary text, captions */
  --border:     #E5E7EB;   /* hairlines */
  --paper:      #F6F7F8;   /* subtle section backgrounds */
  --white:      #FFFFFF;
  --accent:     #0E6C64;   /* Tokenising Assets teal */
  --accent-dark:#0A4F49;   /* hover / active state */
  --accent-tint:#E7F1F0;   /* pale accent background, e.g. theme cards */
  --accent-tint-strong:#D3E9E6; /* slightly stronger tint for borders on tint backgrounds */

  --max-width: 1120px;
  --radius: 12px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --shadow-sm: 0 1px 2px rgba(11,20,33,0.04), 0 1px 1px rgba(11,20,33,0.03);
  --shadow-md: 0 12px 28px rgba(11,20,33,0.08), 0 2px 6px rgba(11,20,33,0.05);
}

*, *::before, *::after{ box-sizing: border-box; }

html{ scroll-behavior: smooth; }

body{
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img{ max-width: 100%; display: block; }

a{ color: var(--accent); text-decoration: none; }
a:hover{ color: var(--accent-dark); text-decoration: underline; }

.container{
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3{
  font-weight: 800;
  line-height: 1.2;
  margin: 0 0 16px;
  letter-spacing: -0.01em;
}

h1{ font-size: clamp(2.1rem, 4.5vw, 3.2rem); }
h2{ font-size: clamp(1.5rem, 3vw, 2.1rem); }
h3{ font-size: 1.15rem; }

p{ margin: 0 0 16px; color: var(--ink-soft); }

/* Eyebrow: small pill badge used above headings throughout the site */
.eyebrow{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-dark);
  background: var(--accent-tint);
  border: 1px solid var(--accent-tint-strong);
  padding: 7px 14px 7px 12px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.eyebrow::before{
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}
.eyebrow.on-dark{
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.16);
  color: #8FD9CE;
}
.eyebrow.on-dark::before{ background: #8FD9CE; }

/* Small accent rule used before section headings for a stronger anchor point */
.rule{
  width: 42px;
  height: 4px;
  background: var(--accent);
  border-radius: 2px;
  margin: 0 0 18px;
}

/* ---------------- Header ---------------- */

.site-header{
  border-bottom: 1px solid var(--border);
  background: var(--white);
}

.site-header .container{
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  gap: 24px;
}

.brand{
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--ink);
}
.brand:hover{ text-decoration: none; color: var(--ink); }
.brand img{ width: 30px; height: 30px; }

.main-nav{
  display: flex;
  align-items: center;
  gap: 32px;
}

.main-nav a{
  color: var(--ink);
  font-weight: 600;
  font-size: 0.95rem;
}
.main-nav a:hover{ color: var(--accent); text-decoration: none; }

.main-nav a.current{ color: var(--accent); }

.main-nav .network-link{
  color: var(--neutral);
  font-weight: 500;
  border-left: 1px solid var(--border);
  padding-left: 32px;
  font-size: 0.85rem;
}
.main-nav .network-link:hover{ color: var(--accent); }

/* ---------------- Buttons ---------------- */

.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 26px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.95rem;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease, border-color 0.12s ease;
}
.btn:hover{ text-decoration: none; }

.btn-primary{
  background: var(--accent);
  color: var(--white);
  box-shadow: 0 6px 16px rgba(14,108,100,0.24);
}
.btn-primary:hover{ background: var(--accent-dark); color: var(--white); transform: translateY(-1px); }

.btn-secondary{
  background: var(--white);
  color: var(--ink);
  border-color: var(--border);
}
.btn-secondary:hover{ border-color: var(--ink); color: var(--ink); transform: translateY(-1px); }

.btn-row{
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 8px;
}

/* ---------------- Hero ---------------- */

.hero{
  padding: 80px 0 88px;
  background:
    radial-gradient(760px 420px at 82% -10%, var(--accent-tint) 0%, rgba(231,241,240,0) 60%),
    var(--white);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.hero .container{
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.hero-copy{ max-width: 600px; }

.hero h1{
  color: var(--ink);
}

.hero .lede{
  font-size: 1.2rem;
  color: var(--ink-soft);
  max-width: 560px;
}

.hero .support{
  font-size: 1.02rem;
  max-width: 560px;
}

.hero-visual{
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-visual .panel{
  width: 100%;
  max-width: 400px;
  aspect-ratio: 1 / 0.86;
  background: linear-gradient(160deg, var(--white) 0%, var(--accent-tint) 100%);
  border: 1px solid var(--accent-tint-strong);
  border-radius: 22px;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px;
}

/* Simple pages (About / Contact) use a shorter, single column hero */
.hero.hero-simple .container{
  grid-template-columns: 1fr;
  justify-items: start;
  max-width: 720px;
}

@media (max-width: 860px){
  .hero .container{ grid-template-columns: 1fr; }
  .hero-visual{ order: -1; }
  .hero-visual .panel{ max-width: 320px; }
}

/* ---------------- Sections ---------------- */

section{ padding: 76px 0; }

.section-alt{
  background: var(--paper);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-head{
  max-width: 680px;
  margin-bottom: 44px;
}

/* ---------------- Themes grid ---------------- */

.themes-grid{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.theme-card{
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 3px solid var(--accent);
  border-radius: var(--radius);
  padding: 26px 24px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.theme-card:hover{
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.theme-card .theme-index{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: var(--accent-tint);
  color: var(--accent-dark);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0;
  margin-bottom: 16px;
}

.theme-card h3{
  margin-bottom: 8px;
  color: var(--ink);
}

.theme-card p{
  font-size: 0.94rem;
  margin: 0;
}

/* ---------------- Why section / two-col ---------------- */

.two-col{
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 40px;
  align-items: start;
}

@media (max-width: 780px){
  .two-col{ grid-template-columns: 1fr; }
}

.stat-panel{
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 8px 24px;
}

.stat-line{
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 20px 0;
  border-top: 1px solid var(--border);
}
.stat-line:first-child{ border-top: none; }

.stat-line p{ margin: 0; }
.stat-line strong{ color: var(--ink); }

.stat-mark{
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: var(--white);
  border: 1px solid var(--accent-tint-strong);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}
.stat-mark svg{ width: 16px; height: 16px; }

/* ---------------- Editorial callout ---------------- */

.callout{
  background: var(--ink);
  background-image:
    radial-gradient(560px 260px at 100% 0%, rgba(14,108,100,0.35) 0%, rgba(14,108,100,0) 60%),
    radial-gradient(circle, rgba(255,255,255,0.06) 1px, transparent 1.6px);
  background-size: auto, 18px 18px;
  border-radius: 16px;
  padding: 56px;
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.callout h2{ color: var(--white); }
.callout p{ color: #C7CCD6; max-width: 560px; position: relative; }

.callout .btn-primary{
  background: var(--accent);
  position: relative;
}

@media (max-width: 640px){
  .callout{ padding: 36px 24px; }
}

/* ---------------- About: framed intro ---------------- */

.intro-card{
  background: var(--paper);
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius);
  padding: 36px 40px;
  max-width: 720px;
}

@media (max-width: 560px){
  .intro-card{ padding: 26px 24px; }
}

/* ---------------- Brand relationship (About) ---------------- */

.brand-links{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-top: 28px;
}

.brand-link-card{
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.brand-link-card:hover{
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.brand-link-card .label{
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--neutral);
  margin-bottom: 8px;
  display: block;
}

.brand-link-card a{
  font-weight: 700;
  font-size: 1.05rem;
}

/* ---------------- Contact ---------------- */

.contact-card{
  border: 1px solid var(--border);
  border-top: 3px solid var(--accent);
  border-radius: var(--radius);
  padding: 48px;
  background: var(--paper);
  max-width: 620px;
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.contact-card .icon{
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--white);
  border: 1px solid var(--accent-tint-strong);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-card .icon svg{ width: 22px; height: 22px; }

.contact-email{
  display: inline-block;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--accent);
  margin-top: 8px;
  overflow-wrap: normal;
}

@media (max-width: 480px){
  .contact-card{ padding: 28px 24px; }
  .contact-email{ font-size: 1.15rem; }
}

/* ---------------- Footer ---------------- */

.site-footer{
  border-top: 3px solid var(--accent);
  padding: 56px 0 40px;
  background: var(--paper);
}

.footer-top{
  display: flex;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.footer-brand{
  display: flex;
  align-items: flex-start;
  gap: 12px;
  max-width: 380px;
}

.footer-brand img{ width: 26px; height: 26px; margin-top: 3px; }

.footer-brand strong{
  display: block;
  color: var(--ink);
  font-size: 1rem;
  margin-bottom: 6px;
}

.footer-brand p{
  font-size: 0.92rem;
  margin: 0;
}

.footer-links{
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
}

.footer-col h4{
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--neutral);
  margin: 0 0 12px;
}

.footer-col a{
  display: block;
  color: var(--ink-soft);
  font-size: 0.92rem;
  margin-bottom: 8px;
}
.footer-col a:hover{ color: var(--accent); }

.footer-bottom{
  border-top: 1px solid var(--border);
  padding-top: 24px;
  font-size: 0.82rem;
  color: var(--neutral);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

/* ---------------- Responsive nav ---------------- */

@media (max-width: 720px){
  .main-nav{
    gap: 14px;
  }
  .main-nav a{ font-size: 0.88rem; }
  .main-nav .network-link{
    padding-left: 14px;
  }
  .hero{ padding: 56px 0 48px; }
  section{ padding: 52px 0; }
}

@media (max-width: 420px){
  .site-header .container{ flex-wrap: wrap; min-height: auto; padding-top: 16px; padding-bottom: 16px; }
  .main-nav{ width: 100%; justify-content: flex-start; gap: 16px; }
  .main-nav .network-link{
    border-left: none;
    padding-left: 0;
    margin-left: auto;
  }
}
