/* ===========================================================
   Tela — marketing site styles (Noir / espresso brand)
   Plain CSS, no build step. Shared across all pages.
   =========================================================== */

:root{
  --bg:#1A130D;        /* canvas */
  --surface:#211910;
  --surface-2:#2E2417;
  --ink:#F4F0E8;       /* primary text */
  --body:#D6CFC2;
  --muted:#9C958A;
  --faint:#7A7468;
  --line:rgba(255,255,255,.09);
  --line-2:rgba(255,255,255,.16);
  --gold:#D9A441;
  --gold-2:#E6B24E;
  --gold-3:#C5872B;
  --success:#6BAE7F;
  --info:#A7C3DC;
  --serif:'Newsreader',Georgia,serif;
  --sans:'Hanken Grotesk',system-ui,-apple-system,sans-serif;
  --wrap:1120px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;background:var(--bg);color:var(--ink);
  font-family:var(--sans);-webkit-font-smoothing:antialiased;
  line-height:1.55;
}
::selection{background:var(--gold);color:#1a140a}
a{color:inherit;text-decoration:none}
img{max-width:100%;display:block}

.wrap{max-width:var(--wrap);margin:0 auto;padding:0 24px}
.muted{color:var(--muted)}
.serif{font-family:var(--serif)}

/* ---------- buttons ---------- */
.btn{
  display:inline-flex;align-items:center;gap:8px;justify-content:center;
  font-weight:700;font-size:15px;border-radius:14px;padding:14px 22px;
  border:1px solid transparent;cursor:pointer;transition:transform .15s ease,opacity .15s ease;
}
.btn:hover{transform:translateY(-1px)}
.btn-primary{background:var(--gold);color:#1a140a}
.btn-ghost{border-color:var(--line-2);color:var(--ink)}

/* ---------- store badges (official) ---------- */
.store-badge{display:inline-block;transition:transform .15s ease}
.store-badge:hover{transform:translateY(-2px)}
.store-badge svg{display:block;height:50px;width:auto}

/* ---------- legacy custom badge ---------- */
.badges{display:flex;gap:12px;flex-wrap:wrap}
.badge{
  display:inline-flex;align-items:center;gap:11px;
  background:var(--ink);color:#15100A;border-radius:14px;
  padding:11px 18px;min-width:170px;transition:transform .15s ease;
}
.badge:hover{transform:translateY(-2px)}
.badge .glyph{font-size:26px;line-height:1}
.badge .lines{display:flex;flex-direction:column;line-height:1.15}
.badge .lines small{font-size:11px;font-weight:600;opacity:.7;letter-spacing:.02em}
.badge .lines strong{font-size:17px;font-weight:800;letter-spacing:-.01em}

/* ---------- brand mark ---------- */
.mark{display:inline-flex;align-items:center;gap:11px}
.mark .tile{
  width:34px;height:34px;border-radius:10px;flex:none;
  background:linear-gradient(155deg,var(--gold-2),var(--gold-3));
  display:flex;align-items:center;justify-content:center;
  color:#1A130D;font-family:var(--serif);font-weight:500;font-size:22px;
  box-shadow:0 4px 14px rgba(217,164,65,.25);
}
.mark .word{font-family:var(--serif);font-weight:500;font-size:22px;letter-spacing:-.01em}

/* ---------- header ---------- */
header.site{
  position:sticky;top:0;z-index:20;
  background:rgba(26,19,13,.72);backdrop-filter:blur(18px);
  border-bottom:1px solid var(--line);
}
header.site .wrap{display:flex;align-items:center;justify-content:space-between;height:68px}
header.site nav{display:flex;align-items:center;gap:28px}
header.site nav a{font-size:14px;color:var(--muted);font-weight:500}
header.site nav a:hover{color:var(--ink)}
header.site .cta{display:inline-flex;align-items:center;gap:8px;background:var(--gold);color:#1a140a;font-weight:700;font-size:14px;border-radius:11px;padding:9px 16px}

/* ---------- hero ---------- */
.hero{position:relative;overflow:hidden;border-bottom:1px solid var(--line)}
.hero::before{content:"";position:absolute;inset:0;background:radial-gradient(110% 80% at 82% 6%,rgba(217,164,65,.16),transparent 55%)}
.hero::after{content:"";position:absolute;inset:0;background:repeating-linear-gradient(135deg,rgba(255,255,255,.014) 0,rgba(255,255,255,.014) 1px,transparent 1px,transparent 11px)}
.hero .wrap{position:relative;display:grid;grid-template-columns:1.05fr .95fr;gap:48px;align-items:center;padding-top:84px;padding-bottom:84px}
.eyebrow{font-size:12px;letter-spacing:.2em;text-transform:uppercase;color:var(--gold);font-weight:700}
.hero h1{font-family:var(--serif);font-weight:500;font-size:60px;line-height:1.02;letter-spacing:-.01em;margin:16px 0 0}
.hero p.lede{font-size:18px;line-height:1.6;color:var(--muted);max-width:480px;margin:20px 0 0}
.hero .badges{margin-top:30px}
.hero .rating{display:flex;align-items:center;gap:10px;margin-top:22px;font-size:13px;color:var(--muted)}
.hero .rating .stars{color:var(--gold);letter-spacing:1px}

/* phone mock */
.phone{
  position:relative;width:300px;height:610px;margin:0 auto;flex:none;
  border-radius:42px;background:#15100A;border:1px solid #2E2417;overflow:hidden;
  box-shadow:0 40px 90px rgba(0,0,0,.5);
}
.phone .ph-bg{position:absolute;inset:0;background:linear-gradient(160deg,#3A2D20,#15100A)}
.phone .ph-grain{position:absolute;inset:0;background:repeating-linear-gradient(135deg,rgba(255,255,255,.02) 0,rgba(255,255,255,.02) 1px,transparent 1px,transparent 9px)}
.phone .scrim-t{position:absolute;top:0;left:0;right:0;height:150px;background:linear-gradient(180deg,rgba(0,0,0,.5),transparent)}
.phone .scrim-b{position:absolute;bottom:0;left:0;right:0;height:300px;background:linear-gradient(0deg,rgba(0,0,0,.82),transparent)}
.phone .status{position:absolute;top:15px;left:22px;right:22px;display:flex;justify-content:space-between;font-size:12px;font-weight:600;color:#F4F0E8}
.phone .seller{position:absolute;top:56px;left:22px;right:22px;display:flex;align-items:center;gap:9px;color:#F4F0E8}
.phone .seller .av{width:32px;height:32px;border-radius:50%;background:linear-gradient(135deg,#5A463A,#2A201A);border:1px solid rgba(255,255,255,.2)}
.phone .seller .nm{font-size:13px;font-weight:600;display:flex;align-items:center;gap:4px}
.phone .info{position:absolute;left:22px;right:22px;bottom:30px;color:#F4F0E8}
.phone .info .title{font-family:var(--serif);font-size:24px;font-weight:500}
.phone .info .price{font-size:22px;font-weight:700;margin-top:8px}
.phone .info .row{display:flex;gap:8px;margin-top:14px}
.phone .info .buy{flex:1;background:var(--gold);color:#1a140a;text-align:center;padding:12px;border-radius:13px;font-size:14px;font-weight:700}
.phone .info .offer{padding:12px 18px;border:1px solid rgba(255,255,255,.4);border-radius:13px;font-size:14px;font-weight:600}
.dot-success{color:var(--success);font-family:var(--sans)}

/* ---------- sections ---------- */
section.block{padding:84px 0;border-bottom:1px solid var(--line)}
.section-head{max-width:620px}
.section-head .eyebrow{display:block}
.section-head h2{font-family:var(--serif);font-weight:500;font-size:38px;letter-spacing:-.01em;margin:10px 0 0}
.section-head p{font-size:16px;color:var(--muted);margin:14px 0 0}

.features{display:grid;grid-template-columns:repeat(3,1fr);gap:22px;margin-top:48px}
.feature{background:var(--surface);border:1px solid var(--line);border-radius:18px;padding:26px}
.feature .ic{width:46px;height:46px;border-radius:13px;background:var(--surface-2);display:flex;align-items:center;justify-content:center;color:var(--gold);font-size:24px}
.feature h3{font-size:18px;font-weight:700;margin:18px 0 0}
.feature p{font-size:14px;color:var(--muted);margin:8px 0 0;line-height:1.6}

/* trust strip */
.trust{display:grid;grid-template-columns:repeat(4,1fr);gap:20px;margin-top:8px}
.trust .item{display:flex;flex-direction:column;gap:8px}
.trust .item .ic{color:var(--gold);font-size:26px}
.trust .item h4{font-size:15px;font-weight:700;margin:0}
.trust .item p{font-size:13px;color:var(--muted);margin:0;line-height:1.55}

/* download CTA band */
.cta-band{position:relative;overflow:hidden}
.cta-band::before{content:"";position:absolute;inset:0;background:radial-gradient(90% 120% at 50% 0%,rgba(217,164,65,.16),transparent 60%)}
.cta-band .inner{position:relative;text-align:center;padding:84px 0}
.cta-band h2{font-family:var(--serif);font-weight:500;font-size:42px;letter-spacing:-.01em;margin:0}
.cta-band p{font-size:16px;color:var(--muted);margin:14px auto 0;max-width:460px}
.cta-band .badges{justify-content:center;margin-top:28px}

/* ---------- footer ---------- */
footer.site{padding:56px 0 40px}
footer.site .cols{display:grid;grid-template-columns:1.4fr 1fr 1fr 1fr;gap:32px}
footer.site h5{font-size:12px;letter-spacing:.14em;text-transform:uppercase;color:var(--faint);margin:0 0 16px;font-weight:700}
footer.site ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:11px}
footer.site ul a{font-size:14px;color:var(--muted)}
footer.site ul a:hover{color:var(--ink)}
footer.site .about{font-size:14px;color:var(--muted);max-width:280px;margin:16px 0 0;line-height:1.6}
footer.site .legal{display:flex;align-items:center;justify-content:space-between;margin-top:48px;padding-top:24px;border-top:1px solid var(--line);font-size:13px;color:var(--faint);flex-wrap:wrap;gap:12px}

/* ---------- legal / content pages ---------- */
.page{padding:64px 0 88px}
.page .doc{max-width:760px;margin:0 auto}
.page .eyebrow{color:var(--gold)}
.page h1{font-family:var(--serif);font-weight:500;font-size:44px;letter-spacing:-.01em;margin:12px 0 0}
.page .updated{font-size:13px;color:var(--faint);margin:12px 0 0}
.page .notice{display:flex;gap:11px;align-items:flex-start;background:rgba(217,164,65,.08);border:1px solid rgba(217,164,65,.22);border-radius:14px;padding:16px;margin:32px 0 0;font-size:13px;color:#E8BC5E;line-height:1.55}
.page h2{font-family:var(--serif);font-weight:500;font-size:24px;margin:40px 0 0}
.page h3{font-size:16px;font-weight:700;margin:24px 0 0}
.page p,.page li{font-size:15px;color:var(--body);line-height:1.7}
.page p{margin:12px 0 0}
.page ul{margin:12px 0 0;padding-left:20px;display:flex;flex-direction:column;gap:8px}
.page a.inline{color:var(--gold);text-decoration:underline;text-underline-offset:2px}

/* contact */
.contact-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:18px;margin-top:36px}
.contact-card{background:var(--surface);border:1px solid var(--line);border-radius:18px;padding:24px;display:flex;gap:14px;align-items:flex-start}
.contact-card .ic{width:44px;height:44px;border-radius:12px;background:var(--surface-2);display:flex;align-items:center;justify-content:center;color:var(--gold);font-size:22px;flex:none}
.contact-card h3{font-size:16px;font-weight:700;margin:0}
.contact-card p{font-size:14px;color:var(--muted);margin:6px 0 0}
.contact-card a{color:var(--gold)}

.material-symbols-outlined{font-variation-settings:'FILL' 0,'wght' 300,'opsz' 24}

/* ---------- responsive ---------- */
@media (max-width:880px){
  .hero .wrap{grid-template-columns:1fr;gap:40px;padding-top:56px;padding-bottom:64px}
  .hero h1{font-size:44px}
  .hero .phone{order:-1}
  .features{grid-template-columns:1fr}
  .trust{grid-template-columns:1fr 1fr}
  footer.site .cols{grid-template-columns:1fr 1fr}
  header.site nav .navlink{display:none}
  .contact-grid{grid-template-columns:1fr}
}
@media (max-width:520px){
  .hero h1{font-size:36px}
  .trust{grid-template-columns:1fr}
  footer.site .cols{grid-template-columns:1fr}
  .phone{width:264px;height:540px}
}
