/* Homeline: the app's own night-navy and the neon cyan of its icon. Unbounded for headings,
   Onest for text (both cover Turkish). The memorable thing is the network switcher in the hero. */
:root {
  --night: #050d1f;
  --navy: #0b1b3f;
  --panel: #102552;
  --line: #1f3566;
  --blue: #1a6bff;
  --cyan: #3fe0ff;
  --text: #eaf2ff;
  --muted: #93a6c8;
  --paper: #f3f7ff;
  --ink: #0b1b3f;
  --wrap: 1140px;
  --gutter: clamp(16px, 4vw, 40px);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--night); color: var(--text); overflow-x: hidden;
  font: 400 17px/1.6 "Onest", system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; border-radius: 8px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
h1, h2, h3 { margin: 0; font-family: "Unbounded", "Onest", sans-serif; font-weight: 600; letter-spacing: -0.02em; text-wrap: balance; }
h1 { font-size: clamp(32px, 4.2vw, 52px); line-height: 1.1; }
h2 { font-size: clamp(26px, 3.4vw, 40px); line-height: 1.15; }
h3 { font-size: 19px; line-height: 1.3; }
p { margin: 0; }

/* Header */
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font-family: "Unbounded", sans-serif; font-weight: 600; font-size: 19px; }
.brand img { width: 36px; height: 36px; border-radius: 10px; }
.top nav { display: flex; align-items: center; gap: 24px; font-size: 15px; }
.top nav a { text-decoration: none; color: var(--muted); }
.top nav a:hover { color: var(--text); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px; min-height: 54px; padding: 0 26px; border-radius: 14px;
  background: var(--cyan); color: var(--night); font: 600 17px/1 "Onest", sans-serif; text-decoration: none;
  transition: background-color .15s, transform .15s;
}
.btn:hover { background: #8cecff; }
.btn:active { transform: translateY(1px); }
.btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.fine { margin-top: 14px; font-size: 14px; color: var(--muted); }

/* Hero */
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 440px); gap: clamp(40px, 6vw, 88px); align-items: center; padding-top: clamp(40px, 6vw, 80px); padding-bottom: clamp(64px, 8vw, 112px); }
.hero .lede { margin: 22px 0 34px; font-size: clamp(18px, 1.6vw, 20px); color: #c5d3ec; max-width: 32em; }

/* The switcher: pick a network, watch where each app goes */
.demo { background: var(--navy); border: 1px solid var(--line); border-radius: 28px; padding: 22px; box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.8); }
.demo-q { font-size: 14px; color: var(--muted); margin-bottom: 10px; }
.nets { display: flex; flex-wrap: wrap; gap: 8px; }
.nets button {
  font: 500 14px/1 "Onest", sans-serif; color: var(--text); background: transparent; border: 1px solid var(--line);
  border-radius: 999px; padding: 10px 14px; cursor: pointer; transition: background-color .15s, border-color .15s, color .15s;
}
.nets button:hover { border-color: var(--muted); }
.nets button[aria-pressed="true"] { background: var(--text); color: var(--navy); border-color: var(--text); }
.state { margin-top: 18px; padding: 16px 18px; border-radius: 18px; background: var(--panel); }
.state strong { display: block; font-family: "Unbounded", sans-serif; font-weight: 600; font-size: 16px; }
.state span { display: block; margin-top: 4px; font-size: 14px; color: var(--muted); }
.apps { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 8px; }
.apps li { display: grid; grid-template-columns: 36px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 10px 12px; border-radius: 14px; background: rgba(255, 255, 255, 0.03); }
.apps .ic { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; font-weight: 700; font-size: 15px; color: #fff; }
.apps b { display: block; font-weight: 500; font-size: 15px; }
.apps small { display: block; font-size: 12.5px; color: var(--muted); }
.route { font-size: 13px; font-weight: 600; padding: 6px 10px; border-radius: 999px; white-space: nowrap; transition: background-color .2s, color .2s; }
.route[data-via="wifi"] { background: rgba(26, 107, 255, 0.18); color: #8db5ff; }
.route[data-via="mobile"] { background: rgba(63, 224, 255, 0.16); color: var(--cyan); }
.route[data-via="off"] { background: rgba(255, 255, 255, 0.06); color: var(--muted); }
.notice {
  margin-top: 14px; padding: 12px 14px; border-radius: 16px; background: #fff; color: #27324a; font-size: 13.5px; line-height: 1.45;
  display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 10px; align-items: start;
}
.notice img { width: 28px; height: 28px; border-radius: 8px; }
.notice strong { display: block; color: var(--ink); font-size: 14.5px; }
.notice[hidden] { display: none; }
.notice.show { animation: drop .35s ease-out; }
@keyframes drop { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

/* Sections */
.section { padding: clamp(64px, 9vw, 112px) 0; }
.section.light { background: var(--paper); color: var(--ink); }
.section.light .muted, .section.light li p { color: #4a5878; }
.intro { max-width: 40em; margin-bottom: clamp(36px, 5vw, 56px); }
.intro p { margin-top: 16px; color: var(--muted); font-size: 18px; }
.light .intro p { color: #4a5878; }

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; counter-reset: s; }
.steps li { counter-increment: s; background: #fff; border-radius: 22px; padding: 26px; border: 1px solid #dbe4f5; }
.steps li::before { content: counter(s); display: block; font-family: "Unbounded", sans-serif; font-weight: 600; font-size: 40px; line-height: 1; color: var(--blue); margin-bottom: 22px; }
.steps p { margin-top: 8px; color: #4a5878; }

.why { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.why .facts { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.why .facts li { padding: 20px 0; border-bottom: 1px solid var(--line); }
.why .facts p { margin-top: 6px; color: var(--muted); }

.qa { max-width: 46em; }
.qa details { border-bottom: 1px solid #d3ddef; }
.qa summary { cursor: pointer; padding: 20px 0; font-weight: 600; font-size: 18px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: "+"; font-weight: 400; font-size: 24px; line-height: 1; color: var(--blue); }
.qa details[open] summary::after { content: "−"; }
.qa details p { padding: 0 0 20px; color: #4a5878; }

.install { margin: 0; padding-left: 1.4em; display: grid; gap: 16px; max-width: 46em; }
.install li { padding-left: 6px; }
.install li::marker { color: var(--cyan); font-weight: 700; }
.install li p { color: var(--muted); }
.get { margin-top: 40px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }
.get .fine { margin: 0; }

/* Text pages */
.prose { max-width: 42em; padding-top: clamp(32px, 5vw, 56px); padding-bottom: clamp(64px, 9vw, 112px); }
.prose h1 { font-size: clamp(30px, 4vw, 44px); }
.prose .date { margin-top: 10px; color: var(--muted); }
.prose h2 { font-size: 21px; margin: 40px 0 10px; }
.prose p, .prose li { color: #c5d3ec; }
.prose p + p { margin-top: 12px; }
.prose ul { padding-left: 1.2em; }
.prose a { color: var(--cyan); }

/* Footer */
.foot { border-top: 1px solid var(--line); font-size: 15px; color: var(--muted); }
.foot .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px 32px; padding-top: 32px; padding-bottom: 40px; }
.foot ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 24px; }
.foot a { text-decoration: none; color: var(--text); }
.foot a:hover { text-decoration: underline; }

@media (max-width: 900px) {
  .hero .wrap, .why { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .top nav .hide-s { display: none; }
  .demo { padding: 16px; border-radius: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  .notice.show { animation: none; }
  .btn, .nets button, .route { transition: none; }
}
.nw { white-space: nowrap; }
.top nav .lang { color: var(--text); border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; }
.top nav .lang:hover { border-color: var(--muted); }
