/* RectangleMac · style.css
   Astro build 4.12 · purged */

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

:root{
  --ink:       #0f172a;
  --ink-2:     #1e293b;
  --ink-3:     #334155;
  --ink-4:     #475569;
  --muted:     #64748b;
  --subtle:    #94a3b8;
  --border:    #e2e8f0;
  --surface:   #f1f5f9;
  --bg:        #f8fafc;
  --white:     #ffffff;
  --indigo:    #4f46e5;
  --indigo-d:  #4338ca;
  --indigo-l:  #818cf8;
  --indigo-bg: #eef2ff;
  --green:     #059669;
  --amber:     #d97706;
  --red:       #dc2626;
  --ff:        'Figtree', system-ui, -apple-system, sans-serif;
  --mono:      'JetBrains Mono', 'SF Mono', 'Fira Code', monospace;
  --w:         1120px;
  --w-sm:      700px;
  --gap:       1.5rem;
  --r:         10px;
  --r-lg:      16px;
  --sh-xs:     0 1px 3px rgba(15,23,42,.04);
  --sh:        0 4px 14px rgba(15,23,42,.06);
  --sh-lg:     0 8px 28px rgba(15,23,42,.08);
  --ease:      .2s cubic-bezier(.4,0,.2,1);
}

html{scroll-behavior:smooth}

body{
  font-family:var(--ff);
  color:var(--ink-2);
  background:var(--bg);
  line-height:1.7;
  font-size:16px;
  -webkit-font-smoothing:antialiased;
}

img{max-width:100%;height:auto;display:block}
a{color:var(--indigo);text-decoration:none;transition:color var(--ease)}
a:hover{color:var(--indigo-d)}

h1,h2,h3,h4{color:var(--ink);font-weight:700;line-height:1.25}
h1{font-size:clamp(2rem,5vw,3rem);letter-spacing:-.035em}
h2{font-size:clamp(1.4rem,3vw,2rem);letter-spacing:-.025em}
h3{font-size:clamp(1.05rem,2vw,1.3rem)}
p{color:var(--ink-3)}

/* ---- Layout ---- */
.astro-wrap{max-width:var(--w);margin:0 auto;padding:0 var(--gap)}
.astro-narrow{max-width:var(--w-sm);margin:0 auto;padding:0 var(--gap)}

/* ---- Topbar ---- */
.astro-bar{position:sticky;top:0;z-index:40;background:rgba(248,250,252,.85);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);border-bottom:1px solid var(--border)}
.astro-bar-inner{display:flex;align-items:center;justify-content:space-between;height:60px}
.astro-logo{display:flex;align-items:center;gap:.45rem;font-weight:700;font-size:1.1rem;color:var(--ink);text-decoration:none}
.astro-logo:hover{color:var(--ink)}
.astro-logo svg{width:26px;height:26px}
.astro-nav{display:flex;align-items:center;gap:1.6rem}
.astro-nav a{color:var(--muted);font-size:.88rem;font-weight:500;transition:color var(--ease)}
.astro-nav a:hover,.astro-nav a.is-active{color:var(--ink)}
.astro-nav-cta{padding:.4rem 1rem;background:var(--indigo);color:var(--white)!important;border-radius:999px;font-size:.82rem;font-weight:600;transition:background var(--ease)}
.astro-nav-cta:hover{background:var(--indigo-d);color:var(--white)!important}
.astro-burger{display:none;background:none;border:1px solid var(--border);border-radius:6px;padding:.25rem .45rem;cursor:pointer;color:var(--ink-3)}

/* ---- Hero ---- */
.astro-hero{padding:4rem 0 3rem;background:linear-gradient(172deg,var(--indigo-bg) 0%,var(--bg) 50%)}
.astro-hero h1{margin-bottom:.6rem}
.astro-hero .astro-lead{font-size:1.05rem;color:var(--muted);max-width:560px;line-height:1.75}
.astro-badge{display:inline-block;padding:.2rem .65rem;background:var(--indigo-bg);color:var(--indigo);border-radius:999px;font-size:.72rem;font-weight:700;text-transform:uppercase;letter-spacing:.06em;margin-bottom:.7rem}

/* ---- Buttons ---- */
.astro-btn{display:inline-flex;align-items:center;gap:.35rem;padding:.65rem 1.4rem;border-radius:999px;font-size:.88rem;font-weight:600;cursor:pointer;transition:all var(--ease);text-decoration:none;border:none}
.astro-btn-primary{background:var(--indigo);color:var(--white)}
.astro-btn-primary:hover{background:var(--indigo-d);color:var(--white);transform:translateY(-1px);box-shadow:0 4px 12px rgba(79,70,229,.25)}
.astro-btn-ghost{background:transparent;color:var(--ink-3);border:1.5px solid var(--border)}
.astro-btn-ghost:hover{border-color:var(--ink-3);background:var(--white);color:var(--ink)}

/* ---- Sections ---- */
.astro-section{padding:4rem 0}
.astro-section-sm{padding:2.5rem 0}
.astro-section-alt{background:var(--white)}
.astro-section-head{text-align:center;max-width:560px;margin:0 auto 2.5rem}
.astro-section-head p{font-size:.95rem;color:var(--muted);margin-top:.4rem}

/* ---- Grid ---- */
.astro-g2{display:grid;grid-template-columns:1fr 1fr;gap:var(--gap);align-items:center}
.astro-g3{display:grid;grid-template-columns:repeat(3,1fr);gap:var(--gap)}
.astro-g4{display:grid;grid-template-columns:repeat(4,1fr);gap:var(--gap)}

/* ---- Cards ---- */
.astro-card{background:var(--white);border:1px solid var(--border);border-radius:var(--r-lg);overflow:hidden;transition:box-shadow var(--ease),transform var(--ease)}
.astro-card:hover{box-shadow:var(--sh-lg);transform:translateY(-3px)}
.astro-card-img{aspect-ratio:16/10;object-fit:cover;width:100%}
.astro-card-body{padding:1.2rem}
.astro-card-tag{font-size:.68rem;font-weight:700;text-transform:uppercase;letter-spacing:.06em;color:var(--indigo);margin-bottom:.35rem;display:block}
.astro-card-title{font-size:1rem;font-weight:700;margin-bottom:.35rem}
.astro-card-title a{color:var(--ink)}
.astro-card-title a:hover{color:var(--indigo)}
.astro-card-desc{font-size:.82rem;color:var(--muted);line-height:1.6}
.astro-card-meta{font-size:.72rem;color:var(--subtle);margin-top:.5rem}

/* ---- Feature blocks ---- */
.astro-feat{background:var(--white);border:1px solid var(--border);border-radius:var(--r-lg);padding:1.6rem;transition:box-shadow var(--ease)}
.astro-feat:hover{box-shadow:var(--sh)}
.astro-feat-icon{width:40px;height:40px;display:flex;align-items:center;justify-content:center;background:var(--indigo-bg);border-radius:10px;margin-bottom:.8rem;color:var(--indigo)}
.astro-feat-icon svg{width:20px;height:20px}
.astro-feat h3{margin-bottom:.4rem}
.astro-feat p{font-size:.85rem}

/* ---- Article body ---- */
.astro-article{padding:3rem 0 4rem}
.astro-article h2{margin:2.25rem 0 .6rem;padding-top:1.25rem;border-top:1px solid var(--border)}
.astro-article h2:first-of-type{border-top:none;padding-top:0}
.astro-article h3{margin:1.5rem 0 .45rem}
.astro-article p{margin-bottom:.9rem;font-size:.93rem;line-height:1.8}
.astro-article ul,.astro-article ol{margin-bottom:.9rem;padding-left:1.4rem;color:var(--ink-3)}
.astro-article li{margin-bottom:.35rem;line-height:1.75;font-size:.93rem}
.astro-article img{border-radius:var(--r);margin:1.25rem 0;box-shadow:var(--sh-xs)}
.astro-article blockquote{border-left:3px solid var(--indigo-l);padding:.7rem 1.1rem;margin:1.25rem 0;background:var(--indigo-bg);border-radius:0 var(--r) var(--r) 0;color:var(--ink-3);font-style:italic;font-size:.93rem}
.astro-article code{font-family:var(--mono);font-size:.83em;background:var(--surface);padding:.12em .35em;border-radius:4px;color:var(--ink-2)}
.astro-article pre{background:var(--ink);color:#e2e8f0;padding:1.1rem 1.3rem;border-radius:var(--r);overflow-x:auto;margin:1.25rem 0;font-size:.85rem;line-height:1.6}
.astro-article pre code{background:none;padding:0;color:inherit;font-size:inherit}

/* ---- Callout ---- */
.astro-callout{display:flex;gap:.9rem;padding:1.1rem;border-radius:var(--r);margin:1.25rem 0;font-size:.88rem;line-height:1.65}
.astro-callout-tip{background:var(--indigo-bg);border:1px solid #c7d2fe}
.astro-callout-warn{background:#fffbeb;border:1px solid #fde68a}
.astro-callout svg{flex-shrink:0;width:18px;height:18px;margin-top:.15rem}

/* ---- CTA banner ---- */
.astro-cta{background:var(--ink);color:var(--white);text-align:center;padding:3.5rem 1.5rem;border-radius:var(--r-lg);margin:3rem auto;max-width:var(--w)}
.astro-cta h2{color:var(--white)}
.astro-cta p{color:var(--subtle);max-width:460px;margin:.6rem auto 1.3rem}

/* ---- Contact ---- */
.astro-form-row{margin-bottom:.9rem}
.astro-label{display:block;font-size:.83rem;font-weight:600;color:var(--ink-3);margin-bottom:.25rem}
.astro-input{width:100%;padding:.6rem .85rem;border:1.5px solid var(--border);border-radius:var(--r);font-family:var(--ff);font-size:.88rem;color:var(--ink-2);background:var(--white);transition:border-color var(--ease);outline:none}
.astro-input:focus{border-color:var(--indigo-l);box-shadow:0 0 0 3px rgba(79,70,229,.1)}
textarea.astro-input{min-height:110px;resize:vertical}
.astro-contact-item{display:flex;gap:.7rem;margin-bottom:1.1rem;align-items:flex-start}
.astro-contact-icon{width:34px;height:34px;display:flex;align-items:center;justify-content:center;background:var(--indigo-bg);border-radius:8px;flex-shrink:0;color:var(--indigo)}
.astro-contact-icon svg{width:15px;height:15px}

/* ---- Breadcrumb ---- */
.astro-breadcrumb{display:flex;align-items:center;gap:.35rem;font-size:.78rem;color:var(--subtle);margin-bottom:var(--gap)}
.astro-breadcrumb a{color:var(--muted)}
.astro-breadcrumb a:hover{color:var(--indigo)}

/* ---- Team ---- */
.astro-team{text-align:center}
.astro-team-photo{width:96px;height:96px;border-radius:50%;object-fit:cover;margin:0 auto .55rem;border:3px solid var(--white);box-shadow:var(--sh-xs)}
.astro-team-name{font-weight:700;font-size:.88rem}
.astro-team-role{font-size:.78rem;color:var(--subtle)}

/* ---- Footer ---- */
.astro-footer{background:var(--ink);color:var(--subtle);padding:3.5rem 0 1.5rem}
.astro-footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr 1fr;gap:2.5rem;margin-bottom:2.5rem}
.astro-footer-brand{display:flex;align-items:center;gap:.35rem;color:var(--white);font-weight:700;font-size:1rem;margin-bottom:.6rem}
.astro-footer-brand svg{width:22px;height:22px}
.astro-footer-desc{font-size:.82rem;line-height:1.6;max-width:260px}
.astro-footer-heading{font-size:.72rem;font-weight:700;text-transform:uppercase;letter-spacing:.06em;color:var(--white);margin-bottom:.65rem}
.astro-footer-list{list-style:none}
.astro-footer-list li{margin-bottom:.4rem}
.astro-footer-list a{color:var(--subtle);font-size:.82rem;transition:color var(--ease)}
.astro-footer-list a:hover{color:var(--white)}
.astro-footer-bottom{border-top:1px solid #1e293b;padding-top:1.1rem;display:flex;justify-content:space-between;align-items:center;font-size:.75rem;color:var(--muted)}

/* ---- Legal ---- */
.astro-legal-hd{padding:3rem 0;background:var(--white);border-bottom:1px solid var(--border)}
.astro-legal-body{padding:3rem 0}
.astro-legal-body h2{margin:1.75rem 0 .5rem;font-size:1.2rem}
.astro-legal-body h3{margin:1.25rem 0 .35rem;font-size:1rem}
.astro-legal-body p{margin-bottom:.85rem;font-size:.88rem}
.astro-legal-body ul{padding-left:1.4rem;margin-bottom:.85rem}
.astro-legal-body li{margin-bottom:.25rem;font-size:.88rem;color:var(--ink-3)}

/* ---- Responsive ---- */
@media(max-width:1024px){
  .astro-g2{grid-template-columns:1fr}
  .astro-g3{grid-template-columns:1fr 1fr}
  .astro-g4{grid-template-columns:1fr 1fr}
  .astro-footer-grid{grid-template-columns:1fr 1fr}
}
@media(max-width:768px){
  .astro-nav{display:none;position:absolute;top:60px;left:0;right:0;background:var(--bg);flex-direction:column;padding:1rem var(--gap);border-bottom:1px solid var(--border);gap:.5rem;box-shadow:var(--sh)}
  .astro-nav.is-open{display:flex}
  .astro-burger{display:block}
  .astro-g3,.astro-g4{grid-template-columns:1fr}
  .astro-footer-grid{grid-template-columns:1fr;gap:1.75rem}
}
@media(max-width:480px){html{font-size:15px}}

/* TODO: reading progress bar */
/* Refactored: moved from Tailwind to vanilla — Oct 2024 */
