/* style.css */
:root{
  --bg:#ffffff;
  --footer_bg:#000000;
  --fg:#000000;
  --footer_text:#ffffff;
  --link:#2563eb;
  --border:#e5e7eb;
}

html, body{
  margin:0;
  padding:0;
  background:var(--bg);
  color:var(--fg);
  font:16px/1.65 system-ui,-apple-system,Segoe UI,Roboto,Arial,"Noto Sans","Apple Color Emoji","Segoe UI Emoji";
}

.wrap{
  max-width:980px;
  margin:auto;
  padding:15px;
}

h1{
  text-align:center;
  font-size:38px;
  font-weight:600;
}

h2{
  margin:25px 0 10px 0;
  font-size:22px;
  font-weight:600;
}

p, ul{
  margin:0;
  padding:0;
}

.list_item{
  margin:0;
  padding:0;
  list-style-type:none;
}

.inner_list_item{
  margin:0;
  margin-left: 1em;
  padding:0;
}

.card{
  margin:16px 0;
}

footer{
  margin-top: 15px;
  background:var(--footer_bg);
  font-size:15px;
}

.footer_container{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
  padding:14px 15px;
}

.footer_text{
  color:var(--footer_text);
}

.footer_btns{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
}

a{
  color:var(--link);
  text-decoration:none;
}
a:hover{
  text-decoration:underline;
}

.footer_btns .btn {
  display:inline-block;
  padding:8px 14px;
  text-align: center;
  border:1px solid rgba(255,255,255,.25);
  border-radius:999px;
  color:var(--footer_text);
  text-decoration:none;
  transition:.15s ease;
  line-height:1;
}
.footer_btns .btn:hover{
  border-color:rgba(255,255,255,.6);
  background:rgba(255,255,255,.08);
  text-decoration:none;
}
.footer_btns .btn[aria-current="page"]{
  background:rgba(255,255,255,.18);
  border-color:rgba(255,255,255,.7);
  cursor:default;
}


.install_page {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background: var(--bg);
  color: var(--fg);
}

.install_wrap {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;      /* horizontal center */
  justify-content: center;  /* vertical center */
  text-align: center;
  gap: 20px;
  padding: 40px 20px;
}

.app_icon {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  width: 120px;
  height: 120px;
  border-radius: 24px;
  overflow: hidden;          /* <-- ВАЖНО: клиппинг углов */
  /* опционально: box-shadow: 0 4px 16px rgba(0,0,0,.12); */
}
.app_icon svg {
  width: 100%;               /* чтобы SVG заполнил контейнер */
  height: 100%;
  display: block;
}

.subtitle {
  margin: 4px 0;
  font-size: 20px;
  color: #000000;
}

.store_btns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 24px;
}

.install_btn img {
  border-radius: 8px;
  transition: transform 0.15s ease;
}

.install_btn:hover img {
  transform: scale(1.05);
}

.install_footer {
  margin-top: auto;
}

@media (prefers-color-scheme: light){
  :root{
    --bg:#ffffff;
    --footer_bg:#000000;
    --fg:#000000;
    --footer_text:#ffffff;
    --link:#2563eb;
  }
}

/* Responsive: smaller screens */
@media (max-width: 600px) {
  h1 {
    font-size: 32px;
  }
  h2 {
    font-size:20px;
  }

  .footer_container{
    display:flex;
    flex-direction: column;
  }
  
  .footer_btns{
    display:flex;
    flex-direction: column;
    gap:12px;
  }
  
  .app_icon {
    width: 100px;
    height: 100px;
    font-size: 32px;
  }
  .subtitle {
    font-size: 16px;
  }
  .store_btns {
    display: flex;
    flex-direction: column;
    margin-top: 15px;
  }
}

