/* utunga.com landing page. Colours come from /theme/utunga-theme.css; the three looks map them below. */
:root, :root[data-look="spectrum"] {
  --bg:#0C0920; --bg2:#130E30; --panel:rgba(185,166,255,.06); --fg:#F4F2FF; --body:#CFC8EE; --muted:#9A92C4;
  --line:rgba(190,180,255,.17); --accent:#FFB547; --accent2:#B9A6FF; --glow:#A44DFF; --on-accent:#120B2E;
  --mono:"DM Mono",ui-monospace,Menlo,monospace;
}
:root[data-look="lime"] {
  --bg:#0b1020; --bg2:#111a2d; --panel:rgba(136,169,255,.06); --fg:#eff4ff; --body:#c3cde2; --muted:#9aa6bf;
  --line:rgba(190,210,244,.17); --accent:#c6ff55; --accent2:#88a9ff; --glow:#c6ff55; --on-accent:#0b1020;
}
:root[data-look="light"] {
  --bg:#FCFBFF; --bg2:#F4F0FF; --panel:#FFFFFF; --fg:#1C1440; --body:#2D2850; --muted:#6A6490;
  --line:#DCD4F7; --accent:#C9245A; --accent2:#6B3DF5; --glow:#A44DFF; --on-accent:#FFFFFF;
}
*,*::before,*::after { box-sizing:border-box; }
html { font-size:17px; scroll-behavior:smooth; -webkit-text-size-adjust:100%; }
body { margin:0; background:var(--bg); color:var(--body); font-family:var(--u-font-body); line-height:1.6;
  overflow-x:hidden; -webkit-font-smoothing:antialiased; transition:background .4s, color .4s; }
.noise { position:fixed; inset:0; opacity:.05; pointer-events:none; z-index:0;
  background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.8'/%3E%3C/svg%3E"); }
:root[data-look="light"] .noise { opacity:.025; }
h1,h2,h3 { font-family:var(--u-font-display); font-weight:600; color:var(--fg); margin:0; text-wrap:balance; }
p { margin:0; text-wrap:pretty; }
a { color:inherit; }
:focus-visible { outline:2px solid var(--accent2); outline-offset:3px; border-radius:4px; }
.shell { width:min(1220px,calc(100% - 64px)); margin:auto; position:relative; z-index:1; }
.mono { font-family:var(--mono); font-size:11.5px; letter-spacing:.06em; color:var(--muted); }
.lit { color:var(--accent); }
.dot { display:inline-block; width:6px; height:6px; border-radius:50%; background:var(--accent);
  box-shadow:0 0 0 5px color-mix(in srgb,var(--accent) 12%,transparent); vertical-align:middle; margin-right:9px; }
.dot.next { background:var(--accent2); box-shadow:0 0 0 5px color-mix(in srgb,var(--accent2) 12%,transparent); }
.link { color:var(--fg); font-weight:600; text-decoration:underline; text-decoration-color:var(--accent);
  text-decoration-thickness:2px; text-underline-offset:6px; transition:text-underline-offset .18s; }
.link:hover { text-underline-offset:10px; }

/* nav */
.nav { height:92px; display:flex; align-items:center; gap:34px; border-bottom:1px solid var(--line); }
.brand { display:flex; align-items:center; gap:10px; text-decoration:none; color:var(--fg);
  font-family:var(--u-font-display); font-weight:600; font-size:1.5rem; letter-spacing:-.035em; }
.brand svg { width:32px; height:32px; }
.nav nav { margin-left:auto; display:flex; gap:30px; }
.nav nav a { text-decoration:none; color:var(--muted); font-family:var(--mono); font-size:12px; letter-spacing:.05em; }
.nav nav a:hover { color:var(--fg); }
.tools { display:flex; gap:8px; }
.icon-btn { position:relative; display:inline-grid; place-items:center; width:42px; height:42px; padding:0;
  border:1px solid var(--line); border-radius:999px; background:transparent; color:var(--fg); cursor:pointer; }
.icon-btn:hover { border-color:var(--accent); background:var(--panel); }
.icon-btn svg { width:19px; height:19px; fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; }
.icon-btn::after { content:attr(data-tip); position:absolute; top:calc(100% + 8px); right:0; white-space:nowrap;
  background:var(--fg); color:var(--bg); font:600 12px/1 var(--u-font-body); padding:7px 10px; border-radius:4px;
  opacity:0; pointer-events:none; transition:opacity .15s; z-index:10; }
.icon-btn:hover::after, .icon-btn:focus-visible::after { opacity:1; }

/* hero */
.hero { display:grid; grid-template-columns:1.05fr .95fr; gap:clamp(30px,6vw,90px); align-items:center;
  min-height:calc(100vh - 92px); padding:clamp(48px,8vh,96px) 0 clamp(56px,9vh,110px); }
.copy { animation:rise .9s cubic-bezier(.2,.8,.2,1) both; }
.hero h1 { font-size:clamp(46px,6.2vw,90px); line-height:.99; letter-spacing:-.055em; margin-top:26px; }
.hero h1 span { display:block; }
.hero h1 .grad { background:var(--u-spectrum-rise); -webkit-background-clip:text; background-clip:text; color:transparent; padding-bottom:.08em; }
:root[data-look="lime"] .hero h1 .grad { background:none; color:var(--accent); }
.lede { max-width:470px; margin:30px 0 36px; font-size:1.08rem; line-height:1.65; color:var(--body); }
.acts { display:flex; flex-wrap:wrap; gap:14px 34px; }

.system { width:min(100%,540px); aspect-ratio:1; justify-self:end; position:relative; animation:float 8s ease-in-out infinite; }
.system svg { width:100%; height:100%; overflow:visible; }
.system .glow { position:absolute; inset:30%; border-radius:50%; background:var(--glow); filter:blur(60px); opacity:.34; }
:root[data-look="light"] .system .glow { opacity:.18; }
.system .ring { fill:none; stroke:var(--line); stroke-width:1; }
.system .faint { fill:none; stroke:var(--line); stroke-width:1; opacity:.55; }
.system .sweep { transform-origin:270px 270px; animation:sweep 7s linear infinite; }
.system .core { fill:var(--bg2); stroke:color-mix(in srgb,var(--accent) 70%,transparent); stroke-width:1; }
.system .live { fill:var(--accent); }
.system .soon { fill:var(--accent2); }
.tag { position:absolute; font-family:var(--mono); font-size:11px; letter-spacing:.05em; color:var(--muted); white-space:nowrap; }
.tag b { display:inline-block; width:8px; height:8px; border-radius:50%; background:var(--accent); margin-right:8px;
  box-shadow:0 0 0 4px color-mix(in srgb,var(--accent) 14%,transparent); }
.tag.next b { background:var(--accent2); box-shadow:0 0 0 4px color-mix(in srgb,var(--accent2) 14%,transparent); }
.t1 { top:12%; left:58%; } .t2 { top:62%; right:-2%; } .t3 { bottom:14%; left:4%; } .t4 { top:30%; left:-2%; } .t5 { bottom:3%; left:50%; transform:translateX(-50%); }
.coord { position:absolute; top:2%; left:50%; transform:translateX(-50%); }

/* sections */
.sec { padding:clamp(70px,10vw,140px) 0; border-top:1px solid var(--line); }
.sec > .mono { display:block; margin-bottom:22px; }
.sec h2 { font-size:clamp(34px,4.4vw,62px); line-height:1.03; letter-spacing:-.045em; max-width:16ch; }
.sec .intro { margin-top:26px; font-size:1.12rem; max-width:54ch; }
.two { display:grid; grid-template-columns:1fr 1fr; gap:clamp(30px,6vw,90px); align-items:end; }

/* the stack */
.stack { margin-top:64px; display:grid; gap:10px; }
.layer { display:grid; grid-template-columns:230px 1fr; gap:24px; align-items:center; padding:26px 30px;
  border:1px solid var(--line); border-radius:14px; background:var(--panel); position:relative; overflow:hidden; }
.layer::before { content:""; position:absolute; left:0; top:0; bottom:0; width:4px; background:var(--u-spectrum-rise); }
:root[data-look="lime"] .layer::before { background:var(--accent); }
.layer:nth-child(1) { margin-inline:8%; } .layer:nth-child(2) { margin-inline:4%; }
.layer h3 { font-size:1.35rem; letter-spacing:-.02em; }
.layer h3 small { display:block; font:400 11.5px var(--mono); letter-spacing:.05em; color:var(--muted); margin-top:6px; }
.chips { display:flex; flex-wrap:wrap; gap:8px; margin:0; padding:0; list-style:none; }
.chips li { border:1px solid var(--line); border-radius:999px; padding:6px 13px; font-size:.82rem; color:var(--body); }
.chips li.on { border-color:color-mix(in srgb,var(--accent) 60%,transparent); color:var(--fg); }
.chips li.yours { border-style:dashed; color:var(--muted); }

/* figures */
.figs { margin-top:70px; display:grid; grid-template-columns:repeat(3,1fr); border-top:1px solid var(--line); }
.figs div { padding:30px 30px 0 0; }
.figs div + div { padding-left:30px; border-left:1px solid var(--line); }
.figs b { display:block; font-family:var(--u-font-display); font-weight:600; font-size:clamp(44px,5.4vw,76px); letter-spacing:-.05em; line-height:1; color:var(--fg); }
.figs span { display:block; margin-top:12px; max-width:26ch; color:var(--muted); font-size:.92rem; }
.note { margin-top:26px; font-size:.78rem; color:var(--muted); max-width:70ch; }

/* plain lists in columns */
.cols { margin:64px 0 0; display:grid; grid-template-columns:repeat(3,1fr); gap:0 clamp(24px,4vw,56px); }
.cols div { padding:26px 0; border-top:1px solid var(--line); }
.cols dt { font-family:var(--u-font-display); font-weight:600; font-size:1.18rem; color:var(--fg); letter-spacing:-.02em; }
.cols dd { margin:8px 0 0; font-size:.94rem; }

/* domains */
.domains { margin:64px 0 0; padding:0; list-style:none; border-bottom:1px solid var(--line); }
.domains li { display:grid; grid-template-columns:150px minmax(0,4fr) minmax(0,7fr); gap:24px; align-items:baseline; padding:28px 0; border-top:1px solid var(--line); }
.domains h3 { font-size:clamp(26px,3vw,40px); letter-spacing:-.04em; }
.domains .next h3 { color:var(--muted); }

/* the five levels: bars that rise, like the mark */
.levels { margin:70px 0 0; padding:0; list-style:none; display:grid; grid-template-columns:repeat(5,1fr); gap:14px; align-items:end; }
.levels li { display:flex; flex-direction:column; }
.levels .bar { border-radius:14px 14px 4px 4px; background:var(--u-spectrum-rise); background-size:500% 100%; opacity:.92; }
:root[data-look="lime"] .levels .bar { background:var(--accent); }
.levels li:nth-child(1) .bar { height:54px; background-position:0% 0; opacity:.5; }
.levels li:nth-child(2) .bar { height:108px; background-position:25% 0; opacity:.62; }
.levels li:nth-child(3) .bar { height:170px; background-position:50% 0; opacity:.75; }
.levels li:nth-child(4) .bar { height:240px; background-position:75% 0; opacity:.88; }
.levels li:nth-child(5) .bar { height:320px; background-position:100% 0; }
.levels h3 { margin-top:18px; font-size:1.3rem; letter-spacing:-.03em; }
.levels p { margin-top:8px; font-size:.86rem; line-height:1.5; }
.levels .mono { margin-bottom:10px; }

/* contact */
.end { text-align:left; padding-bottom:clamp(60px,8vw,110px); }
.end h2 { max-width:14ch; font-size:clamp(40px,6vw,84px); }
.end .acts { margin-top:40px; font-size:1.25rem; }
.name { margin-top:90px; display:grid; grid-template-columns:auto 1fr; gap:34px; align-items:center; padding-top:34px; border-top:1px solid var(--line); }
.name .word { font-size:clamp(44px,6vw,80px); line-height:1.3; color:var(--fg); font-weight:600;
  font-family:"Kohinoor Devanagari","Noto Sans Devanagari","Devanagari Sangam MN",sans-serif; }
.name p + p { max-width:52ch; font-size:.94rem; }
.footer { display:flex; align-items:center; gap:18px; padding:22px 0 30px; }
.footer i { height:1px; flex:1; background:var(--line); }

@keyframes rise { from { opacity:0; transform:translateY(18px); } to { opacity:1; transform:none; } }
@keyframes float { 50% { transform:translateY(-10px); } }
@keyframes sweep { to { transform:rotate(360deg); } }

@media (max-width:900px) {
  .shell { width:min(100% - 36px,620px); }
  .nav { height:76px; } .nav nav { display:none; } .tools { margin-left:auto; }
  .hero { grid-template-columns:1fr; min-height:0; }
  .system { width:88%; justify-self:center; }
  .two, .cols, .figs { grid-template-columns:1fr; }
  .figs div + div { padding-left:0; border-left:0; border-top:1px solid var(--line); margin-top:30px; }
  .layer { grid-template-columns:1fr; gap:14px; margin-inline:0 !important; }
  .domains li { grid-template-columns:1fr; gap:6px; }
  .levels { grid-template-columns:1fr; gap:26px; }
  .levels li { display:grid; grid-template-columns:10px 1fr; column-gap:18px; }
  .levels .bar { grid-row:1 / span 3; height:auto !important; border-radius:999px; }
  .levels h3 { margin-top:0; }
  .name { grid-template-columns:1fr; gap:10px; }
}
@media (prefers-reduced-motion:reduce) {
  html { scroll-behavior:auto; }
  .copy, .system, .system .sweep { animation:none; }
  .system .sweep { display:none; }
}

.icon-btn.up::after { top:auto; bottom:calc(100% + 8px); }
