/* Combined styles from original pages (no design changes) */

/* ===== home.html block 1 ===== */
:root{
  --bg:#050505; --bg2:#0b0b0b;
  --fg:#eaeaea; --muted:#b6b6b6;
  --link:#c9e5ff; --link-hover:#e2f1ff;
  --accent:#ffffff1a; --glass:#ffffff12;
  --maxw:1120px;
  --sitew:1120px;
}

/* Reset + base */
*{box-sizing:border-box;margin:0;padding:0}
body{
  font:16px/1.6 -apple-system,BlinkMacSystemFont,"SF Pro Text","Segoe UI",Roboto,Helvetica,Arial;
  color:var(--fg);
  background:
    radial-gradient(1200px 600px at 20% -10%, #b089ff14 0%, transparent 60%),
    radial-gradient(900px 600px at 100% 10%, #ffd08914 0%, transparent 60%),
    var(--bg);
  min-height:100dvh;
  -webkit-font-smoothing:antialiased;
}

/* Generic links: no underline by default */
a{color:var(--link);text-decoration:none}

/* Header */
.site{max-width:var(--sitew, var(--maxw, 1120px));margin:0 auto;padding:0 24px;}
.header{
  position:sticky;top:0;z-index:50;
  backdrop-filter:saturate(140%) blur(10px);
  background:linear-gradient(180deg,#00000099,#00000033);
  border-bottom:1px solid var(--accent);
}
.nav{display:flex;align-items:center;justify-content:space-between;height:64px;}
/* brand now = logo only */
.brand{display:flex;align-items:center;gap:10px}
  
  .brand img:hover{
    transform:scale(1.03); /* optional soft hover lift */
  }
/* make logo a11y and show tooltip */
.brand a{display:flex;align-items:center}
.brand a[title]{cursor:pointer}

.nav .links{display:flex;gap:6px}
.nav .links a{
  color:var(--fg);padding:8px 10px;border-radius:10px;border:1px solid transparent;
}
.nav .links a:hover{border-color:#ffffff26;background:#ffffff10}

/* Hero */
.hero{padding:72px 0 28px;}
.hero-inner{display:grid;grid-template-columns:1.05fr .95fr;gap:36px;align-items:center;}
.hero h1{font-size:42px;line-height:1.1;margin:0 0 12px;letter-spacing:.2px;}
.lead{color:var(--muted);margin:0 0 22px;}

/* App Store badge — bullet-proof fix */
.badge-row{
  display:flex;
  justify-content:center;        /* centered within text column */
  align-items:center;
  margin:28px 0 36px;            /* enough room so corners never look cropped */
  padding:12px 0;                /* breathing space */
  overflow:visible!important;
}
/* prevent ANY underline/border/overflow from touching the badge link */
.hero .badge-row a.store-badge,
.hero .badge-row a.store-badge:link,
.hero .badge-row a.store-badge:visited,
.hero .badge-row a.store-badge:hover,
.hero .badge-row a.store-badge:active,
.hero .badge-row a.store-badge:focus{
  display:inline-block;
  line-height:0;
  text-decoration:none!important;
  border:none!important;
  border-bottom:0!important;     /* kill dashed underline from any global rules */
  background:transparent!important;
  padding:0!important;
  margin:0;
  overflow:visible!important;
  border-radius:0!important;
  outline:none;
  -webkit-tap-highlight-color:transparent;
}
/* the badge image uses its OWN rounded corners */
  .hero .badge-row a.store-badge img {
    display: block;
    width: clamp(160px, 22vw, 220px);  /* scales smoothly across screen widths */
    height: auto;
    border: 0;
    border-radius: 12px;
    background: transparent;
    box-shadow: none;
    transition: transform .25s ease, filter .25s ease;
  }
  .store-badge img:hover {
    transform: scale(1.04);
    filter: brightness(1.1);
  }
/* just in case: remove any underline from hero links */
.hero a{border-bottom:none!important;text-decoration:none!important}

/* Mockup: show directly, no frame */
.mockup-wrap{background:transparent;border:none;border-radius:0;box-shadow:none;padding:0}
.mockup-bg{display:none}
.mockup{
  display:block;width:100%;height:auto;border:0;border-radius:0;
  filter:drop-shadow(0 18px 60px rgba(0,0,0,.55));
}

/* Features */
.features{margin:32px auto 12px;padding:28px 0 8px;border-top:1px solid var(--accent);}
.features-grid{display:grid;gap:16px;grid-template-columns:repeat(3,1fr);}
.feature{border:1px solid var(--accent);border-radius:16px;padding:16px 14px;background:linear-gradient(180deg,#ffffff0b,transparent);}
.feature h3{margin:0 0 6px;font-size:16px;}
.feature p{margin:0;color:var(--muted);font-size:14px;}

/* Footer */
.footer{
  margin:48px 0 40px;
  border-top:1px solid var(--accent);
  padding:24px 0;
  color:var(--muted);
  background:none;
  text-align:left;
}
/* Use outer `.site` container for width and padding; `.row` only handles layout */
.footer .row {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  flex-wrap:nowrap;
}
.footer .links{
  display:flex;
  gap:20px;
  justify-content:flex-end;
  align-items:center;
  flex-wrap:nowrap;
  white-space:nowrap;
}
/* only footer links keep dashed underline style */
.footer .links a{border-bottom:1px dashed #ffffff33}
.footer .links a:hover{color:var(--link-hover)}

/* Responsive */
@media (max-width:980px){
  .hero-inner{grid-template-columns:1fr;gap:22px}
  .hero{padding-top:56px}
  .hero h1,.lead,.badge-row{text-align:center}
}
@media (max-width:680px){
  .hero h1{font-size:34px}
  .features-grid{grid-template-columns:1fr;gap:12px}
}

/* Light mode */
@media (prefers-color-scheme:light){
  :root{--bg:#ffffff;--fg:#121212;--muted:#444;--link:#0a66ff;--link-hover:#003ecb;--accent:#00000014}
  body{background:#fff}
  .header{background:linear-gradient(180deg,#ffffffea,#ffffffb5)}
}
  /* Download button: centered, responsive, no clipping */
  .badge-row{
    display:flex;
    justify-content:center;
    align-items:center;
    margin:28px 0 36px;
    padding:12px 0;
    overflow:visible !important;
  }
  
  /* Kill underline/borders for this link only */
  a.store-badge,
  a.store-badge:link,
  a.store-badge:visited,
  a.store-badge:hover,
  a.store-badge:active{
    display:inline-block;
    line-height:0;
    text-decoration:none !important;
    border:none !important;
    border-bottom:0 !important;
    background:transparent !important;
    padding:0 !important;
    overflow:visible !important;
  }
  
  /* Use the new PNG (rounded corners baked-in) */
  a.store-badge img{
    display:block;
    width:clamp(180px, 24vw, 260px);  /* responsive scale */
    height:auto;
    border:0;
    border-radius:0;                   /* PNG already has rounded corners */
    box-shadow:none;
  }

/* ===== about.html block 1 ===== */
:root{
  --bg:#0b0b0b;
  --fg:#eaeaea;
  --muted:#b6b6b6;
  --link:#c9e5ff;
  --link-hover:#e2f1ff;
  --accent:#ffffff1a;
  --maxw:720px;
}
*{box-sizing:border-box}
html,body{
  background:var(--bg);
  color:var(--fg);
  margin:0;
  padding:0;
  font:16px/1.6 -apple-system,BlinkMacSystemFont,"SF Pro Text","Segoe UI",Roboto,Helvetica,Arial,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol";
  text-rendering:optimizeLegibility;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
}
main.container{
  max-width:var(--maxw);
  margin:48px auto 96px;
  padding:0 24px;
}
h1{
  font-size:28px;
  line-height:1.25;
  margin:0 0 18px;
  letter-spacing:.2px;
  font-weight:700;
}
h2{
  font-size:20px;
  line-height:1.35;
  margin:28px 0 10px;
  font-weight:600;
}
p{margin:10px 0 16px;color:var(--fg)}
p.lead{color:var(--muted)}
ul,ol{margin:8px 0 18px 24px}
li{margin:6px 0}
a{
  color:var(--link);
  text-decoration:none;
  border-bottom:1px dashed #ffffff33;
}
a:hover{color:var(--link-hover);border-bottom-color:#ffffff66}
hr{
  border:0;
  height:1px;
  background:var(--accent);
  margin:24px 0;
}
small,.muted{color:var(--muted)}
code,pre{
  font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono",monospace;
  background:#ffffff12;
  padding:.15em .35em;
  border-radius:6px;
}
img,iframe{max-width:100%;height:auto;border-radius:10px}
section+section{margin-top:28px}
a:focus,button:focus{outline:2px solid #7ec4ff;outline-offset:2px}
@media (prefers-color-scheme: light){
  :root{--bg:#ffffff;--fg:#121212;--muted:#444;--link:#0a66ff;--link-hover:#003ecb;--accent:#00000014}
  body{background:var(--bg);color:var(--fg)}
}

/* ===== contact.html block 1 ===== */
:root{
  --bg:#0b0b0b;
  --fg:#eaeaea;
  --muted:#b6b6b6;
  --link:#c9e5ff;
  --link-hover:#e2f1ff;
  --accent:#ffffff1a;
  --maxw:720px;
}
*{box-sizing:border-box}
html,body{
  background:var(--bg);
  color:var(--fg);
  margin:0;
  padding:0;
  font:16px/1.6 -apple-system,BlinkMacSystemFont,"SF Pro Text","Segoe UI",Roboto,Helvetica,Arial,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol";
  text-rendering:optimizeLegibility;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
}
main.container{
  max-width:var(--maxw);
  margin:48px auto 96px;
  padding:0 24px;
}
h1{
  font-size:28px;
  line-height:1.25;
  margin:0 0 18px;
  letter-spacing:.2px;
  font-weight:700;
}
h2{
  font-size:20px;
  line-height:1.35;
  margin:28px 0 10px;
  font-weight:600;
}
p{margin:10px 0 16px;color:var(--fg)}
p.lead{color:var(--muted)}
ul,ol{margin:8px 0 18px 24px}
li{margin:6px 0}
a{
  color:var(--link);
  text-decoration:none;
  border-bottom:1px dashed #ffffff33;
}
a:hover{color:var(--link-hover);border-bottom-color:#ffffff66}
hr{
  border:0;
  height:1px;
  background:var(--accent);
  margin:24px 0;
}
small,.muted{color:var(--muted)}
code,pre{
  font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono",monospace;
  background:#ffffff12;
  padding:.15em .35em;
  border-radius:6px;
}
img,iframe{max-width:100%;height:auto;border-radius:10px}
section+section{margin-top:28px}
a:focus,button:focus{outline:2px solid #7ec4ff;outline-offset:2px}
@media (prefers-color-scheme: light){
  :root{--bg:#ffffff;--fg:#121212;--muted:#444;--link:#0a66ff;--link-hover:#003ecb;--accent:#00000014}
  body{background:var(--bg);color:var(--fg)}
}

/* ===== privacy.html block 1 ===== */
:root{
  --bg:#0b0b0b;
  --fg:#eaeaea;
  --muted:#b6b6b6;
  --link:#c9e5ff;
  --link-hover:#e2f1ff;
  --accent:#ffffff1a;
  --maxw:720px;
}
*{box-sizing:border-box}
html,body{
  background:var(--bg);
  color:var(--fg);
  margin:0;
  padding:0;
  font:16px/1.6 -apple-system,BlinkMacSystemFont,"SF Pro Text","Segoe UI",Roboto,Helvetica,Arial,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol";
  text-rendering:optimizeLegibility;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
}
main.container{
  max-width:var(--maxw);
  margin:48px auto 96px;
  padding:0 24px;
}
h1{
  font-size:28px;
  line-height:1.25;
  margin:0 0 18px;
  letter-spacing:.2px;
  font-weight:700;
}
h2{
  font-size:20px;
  line-height:1.35;
  margin:28px 0 10px;
  font-weight:600;
}
p{margin:10px 0 16px;color:var(--fg)}
p.lead{color:var(--muted)}
ul,ol{margin:8px 0 18px 24px}
li{margin:6px 0}
a{
  color:var(--link);
  text-decoration:none;
  border-bottom:1px dashed #ffffff33;
}
a:hover{color:var(--link-hover);border-bottom-color:#ffffff66}
hr{
  border:0;
  height:1px;
  background:var(--accent);
  margin:24px 0;
}
small,.muted{color:var(--muted)}
code,pre{
  font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono",monospace;
  background:#ffffff12;
  padding:.15em .35em;
  border-radius:6px;
}
img,iframe{max-width:100%;height:auto;border-radius:10px}
section+section{margin-top:28px}
a:focus,button:focus{outline:2px solid #7ec4ff;outline-offset:2px}
@media (prefers-color-scheme: light){
  :root{--bg:#ffffff;--fg:#121212;--muted:#444;--link:#0a66ff;--link-hover:#003ecb;--accent:#00000014}
  body{background:var(--bg);color:var(--fg)}
}


/* === Restore Compact Logo Size === */
.brand img {
  height: 56px;
  width: auto;
  display: block;
  object-fit: contain;
}
