/* morphobrowser.com — product marketing style (see docs/DESIGN.md).
   Light canvas, navy type, brand blue actions, cyan as the line/highlight
   colour, large soft-shadowed surfaces, real product screenshots. */
:root {
  --navy: #0B1230;
  --navy-2: #131C45;
  --ink: #0B1230;
  --text: #344061;
  --muted: #66718F;
  --line: #E5E9F2;
  --line-2: #D5DCEA;
  --bg: #FFFFFF;
  --bg-2: #F5F8FD;
  --blue: #2E7BFF;
  --blue-d: #1C66EC;
  --blue-soft: #EAF2FF;
  --cyan: #00D2FF;
  --cyan-d: #00A9D6;
  --violet: #7B5CFF;
  --ok: #0B8A5F;
  --warn: #8A5300;
  --danger: #C2283A;
  --r-sm: 10px;
  --r: 16px;
  --r-lg: 24px;
  --sh-1: 0 1px 2px rgba(11, 18, 48, .06), 0 6px 18px -8px rgba(11, 18, 48, .12);
  --sh-2: 0 2px 6px rgba(11, 18, 48, .05), 0 24px 60px -24px rgba(11, 18, 48, .28);
  --font-head: "Sora", "Segoe UI", system-ui, sans-serif;
  --font-body: "DM Sans", "Segoe UI", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; font: 400 16.5px/1.65 var(--font-body); color: var(--text); background: var(--bg); }
main { flex: 1; }
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 600; color: var(--ink); line-height: 1.15; letter-spacing: -0.022em; margin: 0 0 .5em; }
p { margin: 0 0 1em; }
a { color: var(--blue-d); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
img { max-width: 100%; height: auto; display: block; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid rgba(46, 123, 255, .45); outline-offset: 2px; }
.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 20px; }
@media (min-width: 760px) { .wrap { padding: 0 32px; } }
.inline { display: inline; margin: 0; }
.muted { color: var(--muted); }
.fine { font-size: 14px; color: var(--muted); margin: 14px 0 0; }
.accent { color: var(--blue); }

/* ---------- header ---------- */
.topbar { position: sticky; top: 0; z-index: 30; background: rgba(255, 255, 255, .86); backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid rgba(229, 233, 242, .8); }
.topbar-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 68px; }
.brand img { height: 30px; width: auto; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav-link { color: var(--text); text-decoration: none; font-weight: 500; font-size: 15px; padding: 8px 12px; border-radius: var(--r-sm); }
.nav-link:hover { color: var(--ink); background: var(--bg-2); }
.nav-sections { display: none; }
@media (min-width: 900px) { .nav-sections { display: contents; } }
.nav-sep { width: 1px; height: 22px; background: var(--line); margin: 0 8px; display: none; }
@media (min-width: 900px) { .nav-sep { display: block; } }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: 600 15px/1 var(--font-body); padding: 13px 22px; border-radius: var(--r-sm); border: 1px solid transparent; text-decoration: none; cursor: pointer; white-space: nowrap; transition: background-color .15s, border-color .15s, color .15s, box-shadow .15s, transform .15s; }
.btn:disabled { opacity: .6; cursor: progress; }
.btn-sm { padding: 9px 15px; font-size: 14px; }
.btn-lg { padding: 16px 26px; font-size: 16px; border-radius: 12px; }
.btn-block { width: 100%; }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 8px 20px -10px rgba(46, 123, 255, .8); }
.btn-primary:hover { background: var(--blue-d); color: #fff; transform: translateY(-1px); }
.btn-ghost { background: var(--bg); color: var(--ink); border-color: var(--line-2); }
.btn-ghost:hover { background: var(--bg-2); color: var(--ink); border-color: #C4CDE0; }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { background: #EAF6FF; color: var(--navy); }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .3); }
.btn-outline-light:hover { color: #fff; border-color: rgba(255, 255, 255, .6); background: rgba(255, 255, 255, .06); }
.btn-danger { background: var(--bg); color: var(--danger); border-color: #EFC6CC; }
.btn-danger:hover { background: #FDF3F4; color: var(--danger); }
.btn .ar { transition: transform .15s; }
.btn:hover .ar { transform: translateX(3px); }

/* ---------- shared section bits ---------- */
.section { padding: 104px 0; }
.section-alt { background: var(--bg-2); }
.eyebrow { font: 700 13px/1 var(--font-body); letter-spacing: .12em; text-transform: uppercase; color: var(--blue); margin: 0 0 16px; }
.section-head { max-width: 700px; margin: 0 auto 56px; text-align: center; }
.section-head h2 { font-size: clamp(28px, 3.6vw, 42px); }
.section-head p { color: var(--muted); font-size: 18px; margin: 0; }

/* ---------- hero (dark, with the metal butterfly) ---------- */
.hero { position: relative; overflow: hidden; background: #060B20; color: #B8C4E6; padding: 80px 0 64px; isolation: isolate; }
@media (min-width: 900px) { .hero { padding-top: 104px; } }
.hero-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; background:
  radial-gradient(900px 620px at 50% 66%, rgba(46, 123, 255, .30), transparent 64%),
  radial-gradient(520px 380px at 50% 70%, rgba(0, 210, 255, .16), transparent 70%),
  radial-gradient(640px 420px at 12% 12%, rgba(0, 210, 255, .10), transparent 70%),
  radial-gradient(700px 480px at 90% 8%, rgba(123, 92, 255, .14), transparent 70%); }
.hero-bg::after { content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 56px 56px; -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 45%, #000 20%, transparent 75%); mask-image: radial-gradient(ellipse 70% 60% at 50% 45%, #000 20%, transparent 75%); }
.hero-copy { max-width: 980px; margin: 0 auto; text-align: center; }
.hero-tag { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; color: #DCE4FA; padding: 8px 16px; border-radius: 999px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); margin-bottom: 28px; }
.hero-tag .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 4px rgba(0, 210, 255, .18); }
.hero h1 { color: #fff; font-size: clamp(38px, 6vw, 72px); line-height: 1.03; letter-spacing: -0.035em; margin-bottom: 24px; }
.shine { background: linear-gradient(92deg, #9CC2FF 0%, #5EE3FF 45%, #C2B3FF 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: clamp(17px, 1.7vw, 20px); line-height: 1.6; color: #B8C4E6; max-width: 40em; margin: 0 auto 34px; }
.hero-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.hero-note { font-size: 14px; color: #8794BC; margin: 20px 0 0; }

/* butterfly diagram: the metal mark in the middle, lines from its wings */
.morph { position: relative; margin: 72px auto 0; max-width: 1140px; }
.morph-lines { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; display: none; filter: drop-shadow(0 0 5px rgba(0, 210, 255, .55)); }
.morph-grid { position: relative; display: grid; gap: 14px; grid-template-columns: 1fr 1fr; }
.morph-core { grid-column: 1 / -1; justify-self: center; position: relative; width: 300px; display: grid; place-items: center; margin-bottom: 8px; z-index: 1; }
.morph-core::before { content: ""; position: absolute; width: 120%; height: 70%; top: 22%; left: -10%; border-radius: 50%; background: radial-gradient(closest-side, rgba(0, 210, 255, .30), rgba(46, 123, 255, .12) 55%, transparent); filter: blur(10px); z-index: -1; }
.morph-core img { width: 100%; height: auto; animation: hover 7s ease-in-out infinite; transform-origin: 50% 60%; }
@keyframes hover { 0%, 100% { transform: translateY(0) scaleX(1); } 50% { transform: translateY(-10px) scaleX(.97); } }
.feat-card { position: relative; border-radius: var(--r); padding: 18px 18px 16px; background: linear-gradient(180deg, rgba(255, 255, 255, .075), rgba(255, 255, 255, .03)); border: 1px solid rgba(255, 255, 255, .11); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); transition: border-color .2s, transform .2s, background .2s; }
.feat-card:hover { border-color: rgba(94, 227, 255, .5); background: linear-gradient(180deg, rgba(255, 255, 255, .1), rgba(255, 255, 255, .04)); transform: translateY(-2px); }
.feat-card h3 { font-size: 16.5px; color: #fff; margin: 12px 0 4px; letter-spacing: -0.01em; }
.feat-card p { font-size: 14.5px; color: #A9B5D8; margin: 0; line-height: 1.5; }
.ico { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; color: var(--blue); background: var(--blue-soft); flex: none; }
.ico svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.feat-card .ico { background: rgba(0, 210, 255, .12); color: #5EE3FF; box-shadow: inset 0 0 0 1px rgba(94, 227, 255, .18); }
@media (min-width: 980px) {
  .morph-lines { display: block; }
  .morph-grid { grid-template-columns: 1fr 440px 1fr; grid-template-rows: repeat(3, auto); gap: 26px 0; align-items: center; }
  .morph-core { grid-column: 2; grid-row: 1 / span 3; width: 440px; margin: 0; }
  .feat-card { max-width: 320px; }
  .l1, .l2, .l3 { grid-column: 1; justify-self: start; }
  .r1, .r2, .r3 { grid-column: 3; justify-self: end; }
  .l1, .r1 { grid-row: 1; } .l2, .r2 { grid-row: 2; } .l3, .r3 { grid-row: 3; }
  /* outer rows step in, so the six cards sit on an arc around the wings */
  .l1, .l3 { margin-left: 52px; } .r1, .r3 { margin-right: 52px; }
}
.morph-path { fill: none; stroke: rgba(94, 227, 255, .6); stroke-width: 1.5; stroke-linecap: round; stroke-dasharray: 5 7; }
.morph-path.draw { stroke-dasharray: var(--len); stroke-dashoffset: var(--len); animation: draw 1.6s ease forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.morph-dot { fill: #FFFFFF; }
.morph-end { fill: #0B1230; stroke: #5EE3FF; stroke-width: 2; }
@media (prefers-reduced-motion: reduce) {
  .morph-core img { animation: none; }
  .morph-path.draw { animation: none; stroke-dashoffset: 0; }
  .morph-dot { display: none; }
}
.works { margin-top: 72px; padding-top: 28px; border-top: 1px solid rgba(255, 255, 255, .08); display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 28px; }
.works-label { font-size: 12.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #7884AE; }
.works ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 26px; }
.works li { font: 600 15px/1 var(--font-head); color: #C8D2EE; letter-spacing: -0.01em; opacity: .85; }

/* ---------- product tour (tabs + screenshot) ---------- */
.tour-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 0 auto 28px; padding: 6px; background: #fff; border: 1px solid var(--line); border-radius: 14px; width: fit-content; max-width: 100%; box-shadow: var(--sh-1); }
.tour-tabs button { font: 600 14.5px/1 var(--font-body); color: var(--text); background: none; border: 0; padding: 11px 16px; border-radius: 10px; cursor: pointer; }
.tour-tabs button:hover { color: var(--ink); background: var(--bg-2); }
.tour-tabs button[aria-selected="true"] { color: #fff; background: var(--navy); }
.tour-text { text-align: center; max-width: 640px; margin: 0 auto 28px; color: var(--muted); min-height: 3.3em; }
.window { border-radius: var(--r); background: #fff; border: 1px solid var(--line-2); box-shadow: var(--sh-2); overflow: hidden; }
.window-bar { display: flex; align-items: center; gap: 7px; height: 38px; padding: 0 14px; background: #F3F5FA; border-bottom: 1px solid var(--line); }
.window-bar i { width: 11px; height: 11px; border-radius: 50%; background: #D7DDEA; }
.window-bar span { margin-left: 10px; font-size: 13px; color: var(--muted); font-weight: 500; }
.tour-pane[hidden] { display: none; }
.tour-pane.dialog { background: #EEF2F9; padding: clamp(16px, 4vw, 48px); display: grid; place-items: center; }
.tour-pane.dialog img { max-width: 620px; width: 100%; border-radius: 14px; box-shadow: var(--sh-2); }
.shot-cap { text-align: center; font-size: 13.5px; color: var(--muted); margin-top: 16px; }

/* ---------- use cases ---------- */
.cases { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 820px) { .cases { grid-template-columns: 1fr 1fr; } }
.case { border-radius: var(--r-lg); padding: 34px 32px 30px; background: #fff; border: 1px solid var(--line); box-shadow: var(--sh-1); position: relative; overflow: hidden; }
.case h3 { font-size: 22px; margin: 18px 0 8px; }
.case p { margin: 0 0 18px; color: var(--text); }
.case .ico { width: 48px; height: 48px; border-radius: 14px; }
.case .ico svg { width: 24px; height: 24px; }
.case-dark { background: var(--navy); border-color: var(--navy); }
.case-dark h3 { color: #fff; }
.case-dark p { color: #C3CDEA; }
.case-dark .ico { background: rgba(0, 210, 255, .12); color: var(--cyan); }
.case-tint { background: linear-gradient(160deg, #EEF5FF 0%, #F7FBFF 60%); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.tags li { font-size: 13px; font-weight: 600; color: var(--text); background: var(--bg-2); border: 1px solid var(--line); padding: 5px 11px; border-radius: 8px; }
.case-dark .tags li { color: #DCE4FA; background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .12); }

/* ---------- isolation (dark) ---------- */
.iso { background: var(--navy); color: #C3CDEA; padding: 104px 0; position: relative; overflow: hidden; }
.iso::before { content: ""; position: absolute; width: 760px; height: 760px; right: -260px; top: -280px; background: radial-gradient(closest-side, rgba(46, 123, 255, .22), transparent); pointer-events: none; }
.iso-in { position: relative; display: grid; gap: 48px; align-items: center; }
@media (min-width: 980px) { .iso-in { grid-template-columns: .9fr 1.1fr; } }
.iso h2 { color: #fff; font-size: clamp(28px, 3.4vw, 40px); }
.iso .eyebrow { color: var(--cyan); }
.iso-list { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 18px; }
.iso-list li { display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: start; }
.iso-list b { display: block; color: #fff; font-size: 16.5px; margin-bottom: 2px; }
.iso-list .ico { background: rgba(0, 210, 255, .12); color: var(--cyan); }
.iso .window { border-color: rgba(255, 255, 255, .12); box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .7); }
.iso .window-bar { background: #151D3F; border-bottom-color: rgba(255, 255, 255, .08); }
.iso .window-bar i { background: rgba(255, 255, 255, .18); }
.iso .window-bar span { color: #8F9CC4; }

/* ---------- specs ---------- */
.specs-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--sh-1); padding: 8px 32px; }
.specs { margin: 0; display: grid; grid-template-columns: 1fr; }
@media (min-width: 860px) { .specs { grid-template-columns: 1fr 1fr; column-gap: 48px; } }
.specs > div { padding: 20px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 1fr; gap: 4px; }
.specs dt { font-weight: 700; color: var(--ink); font-size: 15px; }
.specs dd { margin: 0; font-size: 15.5px; }
@media (min-width: 860px) { .specs > div:nth-last-child(-n+2) { border-bottom: 0; } }
@media (max-width: 859px) { .specs > div:last-child { border-bottom: 0; } }

/* ---------- faq ---------- */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--sh-1); }
.faq details[open] { border-color: rgba(46, 123, 255, .35); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 56px 20px 24px; position: relative; font: 600 17px/1.4 var(--font-head); color: var(--ink); letter-spacing: -0.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 22px; top: 50%; width: 22px; height: 22px; margin-top: -11px; border-radius: 50%; background: var(--blue-soft) no-repeat center/12px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M6 2v8M2 6h8' stroke='%232E7BFF' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E"); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0; padding: 0 24px 22px; max-width: 66ch; }

/* ---------- closing CTA ---------- */
.closing { padding: 0 0 104px; }
.closing-card { position: relative; overflow: hidden; border-radius: 28px; padding: clamp(36px, 6vw, 72px); background: linear-gradient(135deg, #0B1230 0%, #142A78 55%, #1E5BE0 100%); color: #C8D3F2; display: grid; gap: 28px; align-items: center; }
@media (min-width: 900px) { .closing-card { grid-template-columns: 1.3fr auto; } }
.closing-card h2 { color: #fff; font-size: clamp(26px, 3.4vw, 40px); margin-bottom: 10px; }
.closing-card p { margin: 0; font-size: 17px; max-width: 34em; }
.closing-card .mark { position: absolute; right: -30px; bottom: -90px; width: 380px; opacity: .22; pointer-events: none; }
.closing-actions { position: relative; display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- prose (gizlilik) ---------- */
.prose { max-width: 740px; padding: 64px 0 104px; }
.prose h1 { font-size: clamp(32px, 4vw, 44px); }
.prose h2 { font-size: 21px; margin-top: 40px; }
.prose ul { padding-left: 20px; margin: 0 0 1em; }
.prose li { margin-bottom: 6px; }
.updated { color: var(--muted); font-size: 14px; margin-bottom: 32px; }

/* ---------- auth ---------- */
.auth { padding: 64px 20px 104px; display: flex; justify-content: center; background: radial-gradient(800px 360px at 50% -80px, rgba(46, 123, 255, .10), transparent 70%); }
.auth-card { width: 100%; max-width: 440px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--sh-2); padding: 36px 32px; }
@media (max-width: 480px) { .auth-card { padding: 28px 20px; border-radius: var(--r); } }
.auth-card h1 { font-size: 28px; margin-bottom: 8px; }
.auth-card > .muted { margin: 0 0 26px; }
.auth-alt { margin: 22px 0 0; color: var(--muted); font-size: 15px; text-align: center; }
.field { display: block; margin-bottom: 18px; }
.field > span { display: block; font-weight: 600; font-size: 14.5px; color: var(--ink); margin-bottom: 7px; }
.field-row { display: flex !important; justify-content: space-between; align-items: baseline; }
.field-row a { font-weight: 500; font-size: 14px; }
input[type=email], input[type=password], input[type=text] { width: 100%; font: 16px var(--font-body); color: var(--ink); background: #fff; padding: 12px 14px; border: 1px solid var(--line-2); border-radius: var(--r-sm); transition: border-color .15s, box-shadow .15s; }
input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(46, 123, 255, .16); }
.hint { display: block; margin-top: 6px; font-size: 13.5px; color: var(--muted); }
.hint-ok { color: var(--ok); }
.hint-bad { color: var(--danger); }
.alert { padding: 12px 14px; border-radius: var(--r-sm); margin: 0 0 18px; font-size: 15px; border: 1px solid; }
.alert-error { background: #FDF4F5; border-color: #F0C9CF; color: #8F1D2C; }
.alert-warn { background: #FFF8EC; border-color: #F0DCB2; color: #5E3D00; }
.alert-success { background: #EFFAF5; border-color: #BFE6D4; color: #0A5E42; }
.alert-row { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; justify-content: space-between; }
.alert-row > div { flex: 1 1 280px; }
.resend { margin-top: 24px; border-top: 1px solid var(--line); padding-top: 16px; font-size: 14.5px; color: var(--muted); }
.resend summary { cursor: pointer; }
.resend-form { display: flex; gap: 8px; margin-top: 12px; }
.resend-form input { padding: 9px 11px; font-size: 15px; }
.msg { text-align: center; }
.msg-status { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 700; color: var(--muted); margin: 0 0 16px; padding: 6px 12px; border-radius: 999px; background: var(--bg-2); }
.msg-status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--blue); }
.msg-success .msg-status { color: var(--ok); background: #EFFAF5; }
.msg-success .msg-status::before { background: var(--ok); }
.msg-error .msg-status { color: var(--danger); background: #FDF4F5; }
.msg-error .msg-status::before { background: var(--danger); }
.msg-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 24px; }

/* ---------- account ---------- */
.account { padding: 48px 0 104px; background: var(--bg-2); }
.page-title { font-size: clamp(28px, 3.4vw, 38px); margin-bottom: 26px; }
.acc-grid { display: grid; gap: 18px; }
@media (min-width: 900px) { .acc-grid { grid-template-columns: .85fr 1.15fr; align-items: start; } }
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--sh-1); padding: 28px; }
.panel h2 { font-size: 19px; margin-bottom: 6px; }
.panel > .muted { font-size: 15px; margin: 0 0 16px; }
.kv { display: grid; grid-template-columns: max-content 1fr; gap: 12px 24px; margin: 14px 0 0; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; color: var(--ink); font-weight: 500; min-width: 0; overflow-wrap: anywhere; }
@media (max-width: 460px) { .kv { grid-template-columns: 1fr; gap: 0; } .kv dd { margin-bottom: 12px; } }
.state { display: inline-block; font-size: 12.5px; font-weight: 700; margin-left: 10px; padding: 3px 9px; border-radius: 999px; white-space: nowrap; }
.state-ok { color: var(--ok); background: #EFFAF5; }
.state-warn { color: var(--warn); background: #FFF4DF; }
.devices { list-style: none; margin: 0; padding: 0; }
.devices li { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; padding: 14px 0; border-top: 1px solid var(--line); }
.dev-info { flex: 1 1 240px; min-width: 0; }
.dev-info strong { display: block; color: var(--ink); overflow-wrap: anywhere; }
.dev-info small { color: var(--muted); font-size: 14px; }
.empty { color: var(--muted); margin: 0; padding: 18px; border: 1px dashed var(--line-2); border-radius: var(--r-sm); }

/* ---------- footer ---------- */
.footer { background: #fff; border-top: 1px solid var(--line); padding: 56px 0 32px; font-size: 14.5px; color: var(--muted); }
.footer-top { display: grid; gap: 32px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .footer-top { grid-template-columns: 1.4fr repeat(3, 1fr); } }
.footer-brand img { height: 28px; width: auto; margin-bottom: 14px; }
.footer-brand p { max-width: 26em; margin: 0; }
.footer h4 { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink); margin-bottom: 14px; font-family: var(--font-body); font-weight: 700; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.footer a { color: var(--text); text-decoration: none; }
.footer a:hover { color: var(--blue-d); }
.footer-bottom { margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; }

/* phones: one card per row, a shorter hero tag */
@media (max-width: 620px) {
  .morph-grid { grid-template-columns: 1fr; }
  .morph-core { width: 240px; }
  .hero-cta .btn { width: 100%; }
}

/* language switcher (base.html header + footer) */
.lang-switch { display: inline-flex; align-items: center; gap: 2px; font-size: 13px; font-weight: 600; color: var(--muted); margin-right: 6px; }
.lang-switch a { color: var(--muted); text-decoration: none; padding: 6px 4px; border-radius: 6px; }
.lang-switch a:hover { color: var(--ink); }
.lang-switch a[aria-current] { color: var(--ink); }
.footer-bottom .lang-switch a { padding: 0 4px; }
@media (max-width: 520px) { .topbar .lang-switch { display: none; } }
