/* Sachdeva Apps studio styles: homepage, app overview pages and the data-deletion hub.
   Loaded after /assets/site.css and reuses its colour tokens. No external fonts or scripts. */
:root{--sx-shadow:0 1px 2px #153c330d,0 12px 32px #153c3314;--sx-radius:18px;--sx-early:#fbefd6;--sx-early-ink:#6f4307;--sx-live:#dcf1e5;--sx-live-ink:#0f5139}

/* Hero */
.sx-hero{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);gap:56px;align-items:center;padding:28px 0 60px}
.sx-hero h1{font-size:clamp(2.5rem,5.4vw,4.5rem);line-height:1.03;margin:10px 0 22px;max-width:15ch}
.sx-hero h1 span{display:block;margin-top:.45em;color:var(--muted);font-size:.46em;font-weight:650;line-height:1.25;letter-spacing:-.02em;max-width:24ch}
.sx-hero .lede{max-width:34rem}
.sx-hero .actions{margin:30px 0 26px}
.sx-trust{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:10px 22px;font-size:.9rem;font-weight:650;color:var(--ink)}
.sx-trust li{margin:0;display:inline-flex;align-items:center;gap:8px}
.sx-trust svg{width:18px;height:18px;flex:none;color:var(--accent)}

.sx-shelf{background:linear-gradient(160deg,#ffffff 0%,var(--soft) 100%);border:1px solid var(--line);border-radius:28px;padding:30px;box-shadow:var(--sx-shadow)}
.sx-shelf-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px 14px}
.sx-shelf-item{display:flex;flex-direction:column;align-items:center;gap:8px;text-align:center;font-size:.78rem;font-weight:700;color:var(--ink);line-height:1.25}
.sx-shelf-item .sx-icon{width:64px;height:64px;border-radius:18px}
.sx-shelf-item .sx-icon svg{width:34px;height:34px}
.sx-shelf p{margin:22px 0 0;padding-top:18px;border-top:1px solid var(--line);text-align:center;font-size:.85rem;font-weight:650;color:var(--muted)}

/* App icon tiles (inline SVG, no image files) */
.sx-icon{flex:none;width:56px;height:56px;border-radius:15px;display:grid;place-items:center;color:#fff;box-shadow:inset 0 0 0 1px #ffffff1f,0 6px 14px #0f172a1f}
.sx-icon svg{width:30px;height:30px}
.sx-i-pix{background:linear-gradient(145deg,#1f8a6c,#10503f)}
.sx-i-auto{background:linear-gradient(145deg,#111a33,#1e40af)}
.sx-i-wv{background:#0f172a}
.sx-i-naap{background:linear-gradient(145deg,#7b55d6,#4c2f9e)}
.sx-i-roz{background:linear-gradient(145deg,#d9692a,#9a3d0b)}
.sx-i-renew{background:linear-gradient(145deg,#1690b0,#0b5a70)}

/* Sections */
.sx-section{padding:56px 0 8px;border-top:1px solid var(--line);scroll-margin-top:16px}
.sx-section-head{display:flex;justify-content:space-between;align-items:flex-end;gap:12px 32px;flex-wrap:wrap;margin-bottom:28px}
.sx-section-head h2{margin:0}
.sx-section-head p{margin:0;color:var(--muted);max-width:46ch}
.sx-kicker{display:block;font-size:.72rem;letter-spacing:.12em;font-weight:800;color:var(--accent);margin-bottom:10px}

/* App cards */
.sx-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}
.sx-card{display:flex;flex-direction:column;gap:14px;min-width:0;background:var(--surface);border:1px solid var(--line);border-radius:var(--sx-radius);padding:24px;box-shadow:var(--sx-shadow)}
.sx-card-top{display:flex;align-items:center;gap:14px;min-width:0}
.sx-card h3{margin:0;font-size:1.16rem;letter-spacing:-.02em;line-height:1.25}
.sx-card h3 a{color:inherit;text-decoration:none}
.sx-card h3 a:hover{text-decoration:underline}
.sx-cat{margin:3px 0 0;font-size:.8rem;color:var(--muted);line-height:1.3}
.sx-card>p{margin:0;color:var(--muted);font-size:.95rem;line-height:1.6}
.sx-badges{display:flex;flex-wrap:wrap;gap:8px;margin:0}
.sx-badge{display:inline-flex;align-items:center;gap:7px;border-radius:999px;padding:3px 11px;font-size:.75rem;font-weight:750;line-height:1.6;background:#eef1f6;color:#2c3f63}
.sx-badge--live{background:var(--sx-live);color:var(--sx-live-ink)}
.sx-badge--live::before{content:"";width:7px;height:7px;border-radius:50%;background:#1f9d6a}
.sx-badge--early{background:var(--sx-early);color:var(--sx-early-ink)}
.sx-badge--new{background:var(--ink);color:#fff}
.sx-points{list-style:none;margin:0;padding:0;display:grid;gap:7px;font-size:.92rem;line-height:1.45}
.sx-points li{margin:0;padding-left:24px;position:relative}
.sx-points li::before{content:"";position:absolute;left:3px;top:.38em;width:11px;height:6px;border-left:2px solid var(--accent);border-bottom:2px solid var(--accent);transform:rotate(-45deg)}
.sx-links{margin-top:auto;padding-top:6px;display:flex;flex-direction:column;align-items:flex-start;gap:8px;font-size:.9rem}
.sx-textlinks{display:flex;flex-wrap:wrap;gap:0 18px}
.sx-links .button{min-height:44px;padding:9px 18px;font-size:.9rem;border-radius:10px}
.sx-links a:not(.button){font-weight:700;min-height:44px;display:inline-flex;align-items:center}
.sx-note{margin:22px 0 0;font-size:.86rem;color:var(--muted);max-width:70ch}

/* Principles */
.sx-principles{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}
.sx-principle{padding:26px;border-radius:var(--sx-radius);background:var(--soft)}
.sx-principle h3{margin:14px 0 8px;font-size:1.15rem}
.sx-principle p{margin:0;color:var(--muted);font-size:.95rem}
.sx-principle svg{width:26px;height:26px;color:var(--accent)}

/* Closing panel tweaks */
.sx-closing{display:flex;justify-content:space-between;align-items:center;gap:24px 40px;flex-wrap:wrap;margin-top:64px}
.sx-closing>div{max-width:36rem}
.sx-closing p{margin-bottom:0}
.sx-closing a:not(.button){color:#fff}
.sx-closing .sx-closing-actions{display:flex;flex-wrap:wrap;gap:14px}
.sx-closing .button{margin-top:0}
.sx-closing .button.secondary{background:transparent;color:#fff;border-color:#9fbfb1}
.sx-closing .button.secondary:hover{background:#ffffff14}
.sx-closing .button:not(.secondary){background:#fff;color:var(--ink);border-color:#fff}
.sx-closing .button:not(.secondary):hover{background:#e6ede3}

/* App overview pages */
.sx-crumbs{display:flex;flex-wrap:wrap;gap:6px;font-size:.85rem;color:var(--muted);margin:0 0 26px}
.sx-crumbs a{font-weight:650}
.sx-app-hero{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(0,1fr);gap:48px;align-items:start;padding:0 0 52px}
.sx-app-id{display:flex;align-items:center;gap:16px;flex-wrap:wrap}
.sx-app-id .sx-icon{width:76px;height:76px;border-radius:21px}
.sx-app-id .sx-icon svg{width:42px;height:42px}
.sx-app-hero h1{font-size:clamp(2.3rem,4.6vw,3.8rem);line-height:1.05;margin:22px 0 18px}
.sx-app-hero .actions{margin:26px 0 18px}
.sx-app-hero .quiet{max-width:36rem}
.sx-facts{background:var(--surface);border:1px solid var(--line);border-radius:var(--sx-radius);padding:8px 24px;box-shadow:var(--sx-shadow)}
.sx-facts h2{font-size:.78rem;letter-spacing:.12em;text-transform:uppercase;color:var(--accent);margin:18px 0 4px}
.sx-facts dl{margin:0}
.sx-facts div{display:flex;justify-content:space-between;gap:18px;padding:13px 0;border-top:1px solid var(--line);font-size:.92rem}
.sx-facts div:first-child{border-top:0}
.sx-facts dt{color:var(--muted)}
.sx-facts dd{margin:0;font-weight:700;text-align:right}
.sx-features{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}
.sx-feature{background:var(--surface);border:1px solid var(--line);border-radius:var(--sx-radius);padding:24px}
.sx-feature h3{margin:14px 0 8px;font-size:1.1rem}
.sx-feature p{margin:0;color:var(--muted);font-size:.94rem}
.sx-feature .sx-glyph{width:44px;height:44px;border-radius:12px;display:grid;place-items:center;background:var(--soft);color:var(--accent)}
.sx-feature .sx-glyph svg{width:24px;height:24px}
.sx-pro{display:inline-block;margin-left:6px;padding:1px 8px;border-radius:999px;background:var(--warm);color:#5a3a06;font-size:.7rem;font-weight:800;letter-spacing:.04em;vertical-align:middle}
.sx-privacy{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.2fr);gap:40px;align-items:start;margin-top:56px;padding:40px;border-radius:22px;background:var(--soft)}
.sx-privacy h2{margin-top:0}
.sx-privacy .sx-points{gap:12px;font-size:.97rem}
.sx-plans{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}
.sx-plan{background:var(--surface);border:1px solid var(--line);border-radius:var(--sx-radius);padding:26px}
.sx-plan h3{margin:0 0 4px;font-size:1.2rem}
.sx-plan>p{margin:0 0 16px;color:var(--muted);font-size:.9rem}
.sx-plan--pro{border-color:var(--accent);box-shadow:0 0 0 1px var(--accent) inset}

/* Simple content pages that use studio styles */
.sx-doc{max-width:50rem}
.sx-doc h2{margin-top:1.6em}
.sx-linklist{list-style:none;padding:0;margin:18px 0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.sx-linklist li{margin:0}
.sx-linklist a{display:flex;flex-direction:column;gap:2px;padding:14px 18px;border:1px solid var(--line);border-radius:12px;background:var(--surface);text-decoration:none;font-weight:700;line-height:1.35}
.sx-linklist a span{font-weight:450;font-size:.85rem;color:var(--muted)}
.sx-linklist a:hover{border-color:var(--accent)}

/* Shared footer link (site.css styles the rest) */
.footer-note a{color:inherit;font-weight:650}

@media(max-width:960px){
  .sx-grid,.sx-features,.sx-principles{grid-template-columns:repeat(2,minmax(0,1fr))}
  .sx-hero{grid-template-columns:minmax(0,1fr);gap:36px}
  .sx-shelf{max-width:520px}
  .sx-app-hero{grid-template-columns:minmax(0,1fr);gap:30px}
  .sx-privacy{grid-template-columns:minmax(0,1fr);gap:16px;padding:30px}
}
@media(max-width:600px){
  .sx-hero{padding:8px 0 44px}
  .sx-hero h1{font-size:2.55rem}
  .sx-shelf{padding:22px}
  .sx-shelf-item .sx-icon{width:56px;height:56px;border-radius:16px}
  .sx-grid,.sx-features,.sx-principles,.sx-plans,.sx-linklist{grid-template-columns:minmax(0,1fr)}
  .sx-card,.sx-feature,.sx-plan,.sx-principle{padding:20px}
  .sx-section{padding-top:40px}
  .sx-closing{margin-top:44px}
  .sx-app-hero h1{font-size:2.3rem}
  .sx-privacy{padding:22px}
}
.sx-privacy+.sx-section{margin-top:56px}
