/* 
  One-page informational template (no CTA buttons).
  Neutral branding. Responsive layout.
*/

@font-face {
  font-family: "Manrope";
  src: url("../fonts/Manrope-Regular.woff2") format("woff2"),
       url("../fonts/Manrope-Regular.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Manrope";
  src: url("../fonts/Manrope-Medium.woff2") format("woff2"),
       url("../fonts/Manrope-Medium.woff") format("woff");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Manrope";
  src: url("../fonts/Manrope-SemiBold.woff2") format("woff2"),
       url("../fonts/Manrope-SemiBold.woff") format("woff");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Manrope";
  src: url("../fonts/Manrope-Bold.woff2") format("woff2"),
       url("../fonts/Manrope-Bold.woff") format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Manrope";
  src: url("../fonts/Manrope-ExtraBold.woff2") format("woff2"),
       url("../fonts/Manrope-ExtraBold.woff") format("woff");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

:root{
  --bg: #f3f8ff;
  --bg2: #e9f1ff;
  --surface: rgba(255,255,255,.92);
  --surface2: #ffffff;
  --text: #0b1220;
  --muted: #334155;
  --border: rgba(15,23,42,.14);
  --accent: #2aa6b7;      /* teal */
  --accent2: #2563eb;     /* blue */
  --gold: #f2b705;        /* gold */
  --ok: #16a34a;
  --warn: #f59e0b;
  --bad: #e11d48;
  --shadow: 0 14px 34px rgba(2,6,23,.12);
  --radius: 18px;
  --radius-sm: 14px;
  --maxw: 1060px;
}

*{ box-sizing: border-box; }

html{ scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
}

body{
  margin: 0;
  font-family: "Manrope", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(1200px 680px at 18% 10%, rgba(37,99,235,.10), transparent 58%),
    radial-gradient(900px 540px at 82% 0%, rgba(42,166,183,.12), transparent 60%),
    linear-gradient(180deg, var(--bg), var(--bg2));
}

a{
  color: inherit;
  text-decoration-color: rgba(125,211,252,.40);
  text-underline-offset: 3px;
}
a:hover{ text-decoration-color: rgba(125,211,252,.9); }

.skip-link{
  position: absolute;
  left: -999px;
  top: auto;
  width: 1px; height: 1px;
  overflow: hidden;
}
.skip-link:focus{
  left: 16px; top: 16px;
  width: auto; height: auto;
  padding: 10px 12px;
  background: rgba(17,26,46,.9);
  border: 1px solid var(--border);
  border-radius: 12px;
  z-index: 9999;
}

.container{
  width: min(var(--maxw), calc(100% - 32px));
  margin: 0 auto;
}

/* Header */
.site-header{
  position:sticky;
  top:0;
  z-index:50;
  backdrop-filter: blur(14px);
  background: rgba(243,248,255,.78);
  border-bottom: 1px solid rgba(15,23,42,.10);
}
.header-inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
}

.brand{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: .2px;
  text-decoration: none;
}
.brand-mark{
  width: 36px;
  height: 36px;
  border-radius: 12px;
  box-shadow: 0 12px 26px rgba(11,27,46,.18);
  display: block;
  object-fit: cover;
}
.brand-text{
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}
.brand-text small{
  font-weight: 600;
  color: var(--muted);
  letter-spacing: .25px;
}

/* Mobile nav toggle (no CTA, pure UI control) */
.nav-toggle{
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.nav-toggle-label{
  display: none;
  align-items: center;
  gap: 10px;
  user-select: none;
  cursor: pointer;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: rgba(255,255,255,.70);
}
.burger{
  width: 18px;
  height: 12px;
  display: grid;
  gap: 3px;
}
.burger span{
  display: block;
  height: 2px;
  border-radius: 2px;
  background: rgba(229,231,235,.85);
}

.site-nav ul{
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.site-nav a{
  display: inline-block;
  padding: 8px 10px;
  border-radius: 12px;
  text-decoration: none;
  color: var(--muted);
}
.site-nav a:hover{
  background: rgba(255,255,255,.05);
}

/* Hero */
.hero{
  padding: 26px 0 10px;
}
.hero-grid{
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  gap: 18px;
  align-items: stretch;
}
.panel{
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.panel-inner{
  padding: 22px;
}
.panel--hero{
  position: relative;
}
.panel--hero:before{
  content:"";
  position:absolute;
  inset:-2px;
  background: linear-gradient(135deg, rgba(125,211,252,.22), rgba(42,166,183,.10), rgba(255,255,255,0));
  border-radius: calc(var(--radius) + 2px);
  pointer-events:none;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  padding: 2px;
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}

.hero h1{
  margin: 0 0 10px;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.1;
}
.hero p{
  margin: 0 0 12px;
  color: var(--muted);
  max-width: 75ch;
}
.hero-meta{
  margin-top: 12px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 14px;
}
.pill{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(7,22,43,.10);
  background: rgba(255,255,255,.70);
}
.pill svg{width:18px;height:18px;stroke:currentColor;fill:none;opacity:.9;}

.hero-aside{
  height: 100%;
}
.hero-aside img{
  width: 100%;
  height: 100%;
  display: block;
  /*
    На десктопе блок справа растягивается по высоте вместе с текстовым блоком.
    При object-fit: cover SVG сильно кадрируется по бокам (теряются элементы слева/справа).
    contain сохраняет пропорции и показывает иллюстрацию целиком на всех экранах.
  */
  object-fit: contain;
  object-position: center;
}

/* Main */
.main{
  padding: 12px 0 52px;
}
.layout{
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 20px;
  align-items: start;
}
.stack{
  display: grid;
  gap: 16px;
}

/* Cards / sections */
.card{
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
}
.card h2, .card h3{ scroll-margin-top: 92px; }

.section-head{
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.section-head .ico{
  width:40px;
  height:40px;
  border-radius:14px;
  display:grid;
  place-items:center;
  background: rgba(42,166,183,.12);
  border: 1px solid rgba(42,166,183,.22);
  color: var(--accent2);
}
.section-head .ico svg{width:20px;height:20px;stroke:currentColor;fill:none;}
.section-head h2{
  margin: 0;
  font-size: 24px;
}

.card p{
  margin: 0 0 12px;
  color: var(--muted);
}
.card ul{
  margin: 0 0 12px 18px;
  color: var(--muted);
}
.card li{ margin: 6px 0; }

.lead{
  font-size: 17px;
  color: var(--muted);
}
.muted{ color: rgba(15,23,42,.72); }

/* Feature grid */
.feature-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 12px;
}
.feature{
  border: 1px solid rgba(7,22,43,.10);
  background: rgba(255,255,255,.70);
  border-radius: 16px;
  padding: 14px;
  display: grid;
  gap: 10px;
  min-height: 120px;
}
.feature .top{
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.feature .icon{
  width: 36px;
  height: 36px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(42,166,183,.10);
  border: 1px solid rgba(42,166,183,.18);
}
.feature svg{
  width: 18px;
  height: 18px;
}
.feature h3{
  margin: 0;
  font-size: 16px;
}
.feature p{
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

/* Fact list */
.fact-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 10px 0 2px;
}
.fact{
  border: 1px dashed rgba(7,22,43,.14);
  border-radius: 16px;
  padding: 12px 14px;
  background: rgba(255,255,255,.88);
}
.fact b{ display:block; margin-bottom: 4px; }
.fact span{ color: var(--text); opacity: .88; }

/* Callouts */
.callout{
  border-radius: 16px;
  padding: 12px 14px;
  border: 1px solid rgba(148,163,184,.18);
  background: rgba(255,255,255,.70);
  display: grid;
  gap: 6px;
}
.callout strong{ display:flex; align-items:center; gap:8px; }
.callout svg{ width: 16px; height: 16px; }
.callout--note{ border-left: 3px solid rgba(125,211,252,.85); }
.callout--warn{ border-left: 3px solid rgba(245,158,11,.85); }
.callout--safe{ border-left: 3px solid rgba(34,197,94,.85); }

/* Timeline */
.timeline{
  display: grid;
  gap: 10px;
  margin-top: 10px;
}
.step{
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 12px;
  align-items: start;
  padding: 12px 12px;
  border-radius: 16px;
  border: 1px solid rgba(7,22,43,.10);
  background: rgba(255,255,255,.70);
}

.step b, .step span{ grid-column: 2; }
.step .muted{ color: rgba(15,23,42,.72); }
.step .num{
  width: 38px;
  height: 38px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(125,211,252,.10);
  border: 1px solid rgba(125,211,252,.18);
  color: var(--muted);
  font-weight: 800;
}
.step h3{ margin: 0 0 4px; font-size: 16px; }
.step p{ margin: 0; font-size: 14px; color: rgba(229,231,235,.86); }

/* Pros / Cons */
.proscons{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 10px;
}
.proscons .box{
  border: 1px solid rgba(7,22,43,.10);
  background: rgba(255,255,255,.70);
  border-radius: 16px;
  padding: 14px;
}
.proscons h3{
  margin: 0 0 10px;
  font-size: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.proscons ul{
  margin: 0 0 0 18px;
}
.proscons li{ margin: 7px 0; }

/* FAQ */
.faq{
  display: grid;
  gap: 10px;
  margin-top: 10px;
}
.faq details{
  border: 1px solid rgba(148,163,184,.18);
  border-radius: 16px;
  background: rgba(255,255,255,.70);
  padding: 12px 14px;
}
.faq summary{
  cursor: pointer;
  font-weight: 800;
  color: var(--text);
}
.faq p{ margin: 10px 0 0; color: var(--muted); }

/* Sidebar */
.sidebar{
  position: sticky;
  top: 86px;
  display: grid;
  gap: 14px;
}
.toc{
  border: 1px solid rgba(148,163,184,.18);
  border-radius: var(--radius-sm);
  padding: 14px;
  background: rgba(255,255,255,.70);
}
.toc h3{
  margin: 0 0 10px;
  font-size: 16px;
}
.toc ol{
  margin: 0 0 0 18px;
  padding: 0;
}
.toc li{ margin: 6px 0; }
.toc a{
  text-decoration: none;
  color: var(--muted);
}
.toc a:hover{ text-decoration: underline; }

.aside{
  border: 1px solid rgba(148,163,184,.18);
  border-radius: var(--radius-sm);
  padding: 14px;
  background: rgba(255,255,255,.70);
}
.aside h3{ margin: 0 0 8px; font-size: 16px; }
.aside p{ margin: 0; color: var(--muted); font-size: 14px; }

/* Footer */
.site-footer{
  margin-top: 48px;
  padding: 26px 0;
  background: rgba(255,255,255,.70);
  border-top: 1px solid rgba(15,23,42,.10);
}
.footer-inner{
  padding: 22px 0;
  display: grid;
  gap: 10px;
}
.disclaimer{
  color: rgba(148,163,184,.95);
  font-size: 14px;
}
.copyright{
  color: rgba(148,163,184,.9);
  font-size: 14px;
}

/* Responsive */
@media (max-width: 980px){
  .layout{ grid-template-columns: 1fr; }
  .sidebar{ position: static; }
}
@media (max-width: 860px){
  .hero-grid{ grid-template-columns: 1fr; }
  /* Right block is text-based; let it size naturally on mobile */
  .hero-aside{ aspect-ratio: auto; }
  .feature-grid{ grid-template-columns: 1fr; }
  .fact-grid{ grid-template-columns: 1fr; }
  .proscons{ grid-template-columns: 1fr; }
}
@media (max-width: 760px){
  .nav-toggle-label{ display: inline-flex; }
  .site-nav{
    display: none;
    width: 100%;
    padding-bottom: 10px;
  }
  .site-nav ul{
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    padding-top: 6px;
  }
  .nav-toggle:checked ~ .site-nav{ display: block; }
  .header-inner{ flex-wrap: wrap; }
  .site-nav a{ width: 100%; }
}
@media (max-width: 420px){
  .container{ width: min(var(--maxw), calc(100% - 24px)); }
  .panel-inner, .card{ padding: 18px; }
}


/* Summary card in hero aside (visual style inspired by the provided reference) */
.hero-aside{
  display:flex;
  align-items:stretch;
}
.summary-card{
  width:100%;
  height:100%;
  display:flex;
  flex-direction:column;
  gap:14px;
  padding:22px 20px;
  border-radius:26px;
  color: var(--text);
  background:
    radial-gradient(120% 120% at 70% 10%, rgba(110,199,255,.55), rgba(255,255,255,.92) 55%),
    linear-gradient(180deg, rgba(255,255,255,.96), rgba(255,255,255,.88));
  border: 1px solid rgba(7,22,43,.10);
  box-shadow: 0 18px 46px rgba(7,22,43,.14);
}
.summary-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:14px;
}
.summary-kicker{
  font-size:12.5px;
  letter-spacing:.2px;
  opacity:.75;
  margin-bottom:4px;
}
.summary-title{
  font-size:22px;
  font-weight:850;
  letter-spacing:.2px;
  margin:0;
}
.summary-rating{
  text-align:right;
  min-width:92px;
}
.summary-stars{font-size:18px;letter-spacing:2px;color: var(--gold);}
.summary-rating-value{font-weight:900;color: var(--text);}

.summary-highlight{
  padding:16px 16px;
  border-radius:20px;
  background: linear-gradient(180deg, rgba(37,99,235,.10), rgba(42,166,183,.08));
  border:1px solid rgba(37,99,235,.22);
}
.summary-highlight-k{
  font-size:13px;
  opacity:.85;
  margin-bottom:8px;
}
.summary-highlight-v{
  font-size:26px;
  line-height:1.15;
  font-weight:900;
  letter-spacing:.2px;
}

.summary-pills{
  list-style:none;
  margin:0;
  padding:0;
  display:flex;
  flex-direction:column;
  gap:12px;
}
.summary-pills li{
  display:flex;
  align-items:flex-start;
  gap:12px;
  padding:14px 16px;
  border-radius:20px;
  background: rgba(2, 6, 23, .03);
  border:1px solid rgba(15,23,42,.10);
}
.summary-pills .pill-text{
  font-size:16px;
  line-height:1.25;
}
.summary-pills strong{ font-weight:850; }
.dot{
  width:12px;
  height:12px;
  border-radius:999px;
  margin-top:4px;
  background: rgba(86, 128, 255, .95);
  box-shadow: 0 0 0 6px rgba(86, 128, 255, .10);
  flex: 0 0 auto;
}
.dot--ok{
  background: rgba(102, 214, 140, .95);
  box-shadow: 0 0 0 6px rgba(102, 214, 140, .10);
}

.summary-footnote{
  display:flex;
  gap:12px;
  padding:14px 14px;
  border-radius:18px;
  background: rgba(37,99,235,.06);
  border:1px dashed rgba(37,99,235,.28);
  color: var(--text);
}
.note-badge{
  width:28px;
  height:28px;
  border-radius:999px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background: rgba(56, 189, 248, .18);
  border:1px solid rgba(56, 189, 248, .35);
  font-weight:900;
  opacity:.98;
  flex:0 0 auto;
  color: var(--accent2);
}

.summary-pills .icon{margin-right:8px;color: var(--accent2);}
.summary-highlight-k .icon{margin-right:8px;color: var(--gold);}

/* SVG icons: keep them small and without background boxes */
svg.icon{width:18px;height:18px;display:inline-block;vertical-align:-3px;stroke:currentColor;fill:none;background:none;border:none;border-radius:0;}

.card, .callout, .toc, .fact-card, .grid-card{color: var(--text);}
.card p, .callout p, .toc p, .fact-card p, .grid-card p{color: var(--muted);}
.card li, .callout li{color: var(--muted);}
.section-head h2{color: var(--text);}
.site-nav a{color: var(--text);} .site-nav a:hover{color: var(--accent2);} 

@media (min-width: 860px){
  .timeline{ grid-template-columns: 1fr 1fr; }
}

.summary-pills.summary-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.summary-pills.summary-grid li{
  margin: 0;
}


/* --- JetTon RU: 4x3 feature table + bottom row --- */
.feature-grid--4{ grid-template-columns: repeat(4, 1fr); }
.feature--span2{ grid-column: span 2; }

@media (max-width: 1100px){
  .feature-grid--4{ grid-template-columns: repeat(2, 1fr); }
  .feature--span2{ grid-column: span 2; }
}
@media (max-width: 860px){
  .feature-grid--4{ grid-template-columns: 1fr; }
  .feature--span2{ grid-column: span 1; }
}
