/* Presentation refinements for the public RestIQ site. */
:root {
  --ease-out:cubic-bezier(.2,.7,.2,1);
  --header-glass:rgba(255,255,255,.88);
  --surface-highlight:#fff;
  --edge-highlight:#cddff5;
  --soft-shadow:0 4px 12px #24446b04,0 18px 46px #24446b08;
  --raised-shadow:0 8px 18px #24446b07,0 24px 56px #24446b13;
  --hero-glow:#cde3ff91;
}
html[data-theme=dark] {
  --header-glass:rgba(16,18,22,.88);
  --surface-highlight:#222936;
  --edge-highlight:#395574;
  --soft-shadow:0 4px 12px #0001,0 18px 46px #0002;
  --raised-shadow:0 8px 18px #0002,0 24px 56px #0003;
  --hero-glow:#1b4a8570;
}
body { text-rendering:optimizeLegibility; }
h1,h2,h3 { text-wrap:balance; }
p { text-wrap:pretty; }
.section { padding:100px 0; }
.eyebrow { font-size:11px;font-weight:650;letter-spacing:.12em; }
.small,.compatibility,.telegram-label { font-size:13px;line-height:1.65; }
.masthead { position:sticky;top:0;z-index:20;background:var(--header-glass);border-bottom:1px solid var(--line);backdrop-filter:blur(18px) saturate(145%);-webkit-backdrop-filter:blur(18px) saturate(145%); }
.nav { height:76px;gap:22px; }
.nav-links { font-size:14px;gap:23px; }
.nav-links a { position:relative;padding:12px 0;white-space:nowrap; }
.nav-links a::after { content:"";position:absolute;left:0;right:0;bottom:4px;height:2px;background:var(--blue);border-radius:2px;transform:scaleX(0);transform-origin:left;transition:transform 180ms var(--ease-out); }
.nav-links a:focus-visible::after { transform:scaleX(1); }
.appearance-toggle { width:44px;height:44px; }
.btn { min-height:48px;border-radius:13px;transition:background-color 160ms,border-color 160ms,box-shadow 180ms,transform 180ms var(--ease-out); }
.btn-primary { background:linear-gradient(180deg,#0670ed,#0061df);border-color:#0966df;box-shadow:inset 0 1px 0 #ffffff24,0 4px 8px #0066e810; }
.btn-primary:hover { background:linear-gradient(180deg,#0670ed,#0061df); }
.btn:active { transform:translateY(1px); }
.btn .icon,.link .icon { transition:transform 180ms var(--ease-out); }
.nav-login { min-height:44px;padding:10px 17px;font-size:13px; }
.hero { padding:55px 0 48px; }
.hero-grid { gap:52px; }
.hero-copy { padding:20px 0; }
.hero-copy h1 { font-size:clamp(50px,5.1vw,76px);line-height:1.06; }
.hero-copy .lead { font-size:18px;line-height:1.7;max-width:460px;margin-top:26px; }
.hero-copy .actions { margin-top:30px;gap:20px; }
.hero-note { font-size:13px; }
.hero-copy .blue { background:linear-gradient(105deg,#005fdc,#1683ed);background-clip:text;-webkit-background-clip:text;color:transparent; }
html[data-theme=dark] .hero-copy .blue { background-image:linear-gradient(105deg,#87bdff,#60a0ff); }
.hero-visual { height:520px;overflow:visible; }
.hero-visual::before { inset:0 -3%;background:radial-gradient(ellipse at 50% 50%,var(--hero-glow),transparent 67%); }
html[data-theme=dark] .hero-visual::before { background:radial-gradient(ellipse at 50% 50%,var(--hero-glow),transparent 67%); }
.hero-connections { stroke:#b7d2f2;stroke-width:1.5; }
.hero-flow { stroke:#368cf0;stroke-width:2;stroke-linecap:round;stroke-dasharray:8 92;stroke-dashoffset:100;opacity:0; }
.hero-node { min-height:146px;padding:22px 23px;border-radius:23px;background:linear-gradient(150deg,var(--surface-highlight),var(--surface) 75%);box-shadow:var(--soft-shadow);transition:transform 240ms var(--ease-out),box-shadow 240ms,border-color 240ms; }
html[data-theme=dark] .hero-node { box-shadow:var(--soft-shadow); }
.hero-node strong { font-size:17px;letter-spacing:-.025em; }
.hero-node>span:last-child { font-size:13px; }
.hero-node-icon { width:38px;height:38px;border-radius:12px;margin-bottom:10px;box-shadow:inset 0 1px 0 #ffffff30;transition:transform 240ms var(--ease-out); }
.hero-node-icon .icon { width:22px;height:22px; }
.hero-detail { position:absolute;right:22px;top:28px;width:68px;height:29px;color:#679fdf;opacity:.65; }
.hero-detail svg { width:100%;height:100%;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round; }
.hero-detail.grid-detail { display:grid;grid-template-columns:repeat(3,8px);gap:5px;width:auto; }
.grid-detail i { width:8px;height:8px;border:1px solid currentColor;border-radius:2px; }
.grid-detail i:nth-child(2),.grid-detail i:nth-child(4) { background:currentColor; }
.hero-revenue { top:28px; }.hero-orders { top:47px; }
.hero-control { bottom:61px; }.hero-delivery { bottom:42px; }
.hero-hub { width:180px;height:92px;top:48.5%;background:linear-gradient(150deg,var(--surface-highlight),var(--surface));border-color:var(--edge-highlight);box-shadow:0 8px 28px #1773df15,inset 0 1px 0 #ffffff15; }
.hero-hub::before { content:"";position:absolute;inset:-8px;border:1px solid var(--edge-highlight);border-radius:33px;opacity:.4;pointer-events:none; }
html[data-theme=dark] .hero-hub { border-color:var(--edge-highlight);box-shadow:0 8px 40px #0066e819; }
.hero-hub .restiq-logo img { width:114px; }
.hero-map-caption { font-size:12px; }
.integration-strip { padding-top:28px;margin-top:35px; }
.system-marks { gap:32px; }.strip-device { font-size:13px; }
.section-head { gap:55px;margin-bottom:38px; }
.section-head .eyebrow { color:var(--blue);font-size:11px; }
.section-head>p { font-size:16px;line-height:1.7; }
.capabilities { gap:22px; }
.capability { background:var(--surface);border:1px solid var(--line);border-radius:25px;padding:12px 12px 26px;box-shadow:0 3px 16px #18365003;overflow:hidden; }
.feature-art { height:200px;border-radius:17px;background:linear-gradient(145deg,#e4efff,#d2e3fc); }
.art-tables { background:linear-gradient(145deg,#f0f3f8,#e2e9f2); }
.art-control { background:linear-gradient(145deg,#e8f1ff,#dce9fa); }
.capability small,.capability h3,.capability p { margin-left:13px;margin-right:13px; }
.capability small { font-size:10px;letter-spacing:.11em;margin-top:24px; }
.capability h3 { margin-top:10px;margin-bottom:12px;font-size:21px; }
.capability p { font-size:15px;line-height:1.75; }
.art-bars,.art-tables-grid,.art-control .icon { transition:transform 400ms var(--ease-out); }
.report-types { margin-top:28px;padding-top:24px;gap:9px;border-top:0; }
.report-types strong { width:100%;font-size:14px;margin-bottom:6px; }
.report-types span { border:1px solid var(--line);background:var(--paper);border-radius:20px;padding:7px 13px;font-size:12px;color:var(--muted); }
.report-types span+span::before { content:none; }
.live-grid { gap:85px; }.live-copy .lead { font-size:17px;line-height:1.7; }
.check-list { gap:18px; }.check-list li { font-size:15px;line-height:1.6; }
.operation-visual { height:395px;border:1px solid var(--edge-highlight);background:radial-gradient(circle at 50% 50%,#f8fbff,#eaf1fb);border-radius:28px; }
.operation-emblem { background:linear-gradient(145deg,#fff,#edf5ff);border:1px solid #ffffffb3;box-shadow:0 20px 45px #215cac15,inset 0 1px 0 white; }
.operation-node { font-size:14px;border:1px solid #e1eafa;box-shadow:0 12px 24px #29436708; }
html[data-theme=dark] .operation-emblem { background:linear-gradient(145deg,#2b486e,#21344e);border-color:#456082;box-shadow:0 20px 45px #0002; }
html[data-theme=dark] .operation-node { border-color:#38516d; }
.telegram { position:relative;background:radial-gradient(ellipse at 20% 50%,#15253c,#101319 65%);padding:90px 0; }
.telegram-grid { gap:90px; }
.telegram-plane { border:1px solid #71aaff66;box-shadow:inset 0 1px 0 #ffffff60,0 24px 65px #005ad733;transition:transform 300ms var(--ease-out),box-shadow 300ms; }
.telegram-topic { background:#1b2636d9;backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);border-color:#3d506a;box-shadow:0 8px 30px #0001;font-size:14px; }
.telegram-topic.groups { font-size:12px; }
.telegram .lead { line-height:1.7; }.telegram-label { color:#b1bfd2; }
.system-card { padding:34px 36px;border-radius:25px;background:linear-gradient(135deg,var(--surface),var(--surface-soft));box-shadow:var(--soft-shadow); }
.system-card p { font-size:16px;line-height:1.7;max-width:470px; }
.system-card ul { padding-top:23px;margin-top:25px;border-top:1px solid var(--line);gap:13px;font-size:15px; }
.system-card li .icon { margin-right:3px;width:17px;height:17px; }
.compatibility { max-width:850px;margin:24px auto 0; }
.audience-grid { gap:85px; }.audience-row { padding:27px 0;grid-template-columns:155px 1fr;gap:24px; }.audience-row p { font-size:15px;line-height:1.7; }
.steps { position:relative;gap:50px; }
.steps::before { content:"";position:absolute;top:20px;left:20px;right:calc(33.333% - 1px);height:1px;background:var(--line); }
.step-number { position:relative;z-index:1;width:42px;height:42px;border-radius:50%;outline:8px solid var(--paper);margin-bottom:23px; }
.steps h3 { font-size:20px; }.steps p { font-size:15px;line-height:1.7; }
.access-note { font-size:14px;line-height:1.7; }.access-note .icon { margin-top:2px;flex:none; }
.faq-list details { padding:21px 0; }.faq-list summary { min-height:44px;font-size:17px;line-height:1.5; }
.faq-list summary span { display:grid;place-items:center;width:28px;height:28px;border-radius:50%;font-size:23px;color:var(--blue);background:var(--blue-light);transition:transform 180ms var(--ease-out); }
.faq-list details p { font-size:15px;line-height:1.75;padding-top:14px;padding-right:30px; }
.contact { position:relative;isolation:isolate;overflow:hidden;padding:58px 60px;border:1px solid var(--edge-highlight);border-radius:29px;background:linear-gradient(120deg,var(--contact),var(--blue-light)); }
.contact::before { content:"";position:absolute;z-index:-1;right:-140px;top:50%;transform:translateY(-50%);width:550px;height:550px;border:1px solid var(--edge-highlight);border-radius:50%;box-shadow:0 0 0 50px #ffffff12,0 0 0 100px #ffffff08;opacity:.65; }
.contact .eyebrow { color:var(--blue);font-size:11px; }
.contact h2 { font-size:40px;line-height:1.16; }.contact p { line-height:1.7; }
.contact-actions { min-width:240px;gap:13px; }.contact-actions .btn { min-height:50px; }
.footer { padding:28px 0; }.footer-inner p { font-size:12px; }.footer-links { font-size:13px; }
.review-dialog { box-shadow:0 25px 90px #0003; }
.skip-link { position:fixed;z-index:50;top:10px;left:20px;padding:12px 18px;border-radius:12px;background:var(--surface);color:var(--ink);transform:translateY(-180%); }
.skip-link:focus { transform:none; }

@media(hover:hover) and (pointer:fine) {
  .nav-links a:hover::after { transform:scaleX(1); }
  .btn:hover { transform:translateY(-2px);box-shadow:0 5px 16px #1b416513; }
  .btn-primary:hover { box-shadow:inset 0 1px 0 #ffffff30,0 8px 24px #0066e82a; }
  .btn:active { transform:translateY(0); }
  .btn:hover .icon,.link:hover .icon { transform:translateX(3px); }
  .hero-node:hover { transform:translateY(-4px);box-shadow:var(--raised-shadow);border-color:var(--edge-highlight); }
  .hero-node:hover .hero-node-icon { transform:scale(1.07); }
  .capability:hover .art-bars { transform:rotate(-3deg) translateY(-3px); }
  .capability:hover .art-tables-grid { transform:rotate(-6deg); }
  .capability:hover .art-control .icon { transform:scale(1.06); }
  .telegram-art:hover .telegram-plane { transform:rotate(-7deg) translateY(-4px);box-shadow:inset 0 1px 0 #ffffff60,0 30px 70px #005ad744; }
}
@media(prefers-reduced-motion:no-preference) {
  .hero-flow { animation:data-arrival 1400ms var(--ease-out) 350ms 1 both; }
  .hero-flow:nth-of-type(3) { animation-delay:550ms; }
  .hero-flow:nth-of-type(4) { animation-delay:1050ms; }
  .hero-flow:nth-of-type(5) { animation-delay:1250ms; }
  .hero-node { animation:node-arrival 650ms var(--ease-out) 80ms 1 both; }
  .hero-orders { animation-delay:170ms; }.hero-control { animation-delay:260ms; }.hero-delivery { animation-delay:350ms; }
  .hero-hub { animation:hub-arrival 700ms var(--ease-out) 150ms 1 both; }
  .faq-list details[open] p { animation:answer-arrival 220ms var(--ease-out); }
}
@keyframes data-arrival { 0% { stroke-dashoffset:100;opacity:0; } 20% { opacity:.85; } 85% { opacity:.85; } 100% { stroke-dashoffset:0;opacity:0; } }
@keyframes node-arrival { from { opacity:.2;translate:0 13px; } to { opacity:1;translate:0 0; } }
@keyframes hub-arrival { from { opacity:.35;scale:.96; } to { opacity:1;scale:1; } }
@keyframes answer-arrival { from { opacity:.4;translate:0 4px; } to { opacity:1;translate:0 0; } }
@media(max-width:1100px) {
  .nav-links { gap:0;font-size:14px;top:calc(100% - 2px); }
  .nav-links a { padding:13px 12px;border-radius:9px; }.nav-links a::after { display:none; }
  .nav-links a:hover { background:var(--blue-light); }
}
@media(max-width:1000px) {
  .section { padding:78px 0; }.hero-grid { gap:32px; }.hero-visual { height:510px; }
  .hero-copy h1 { font-size:clamp(45px,5.2vw,68px); }.hero-copy .lead { font-size:17px; }
  .hero-node { padding:19px 16px;min-height:139px; }.hero-node strong { font-size:15px; }.hero-node>span:last-child { font-size:11px; }
  .hero-detail { right:16px;top:29px;width:48px;height:23px; }
  .hero-hub { width:152px;height:80px; }.hero-hub .restiq-logo img { width:100px; }.hero-hub::before { inset:-6px;border-radius:31px; }
  .hero-control { bottom:55px; }.hero-delivery { bottom:38px; }
  .hero-map-caption { font-size:11px; }.hero-note { font-size:12px; }
  .capabilities { gap:18px; }.capability { padding:10px 10px 24px; }.capability h3 { font-size:20px; }.capability small,.capability h3,.capability p { margin-left:9px;margin-right:9px; }
  .capability p { font-size:14px; }.feature-art { height:180px; }
  .live-grid { gap:40px; }.operation-visual { height:360px; }.operation-node { font-size:12px;padding:11px 15px; }
  .telegram-grid { gap:45px; }.telegram-topic { font-size:12px; }.telegram-topic.groups { font-size:10px; }
  .system-card { padding:29px; }.audience-grid { gap:45px; }.audience-row { grid-template-columns:135px 1fr;gap:20px; }
  .steps { gap:30px; }.contact { padding:43px 38px; }.contact h2 { font-size:34px; }
}
@media(max-width:760px) {
  .section { padding:60px 0; }.nav { height:68px;gap:10px; }.nav-links { top:calc(100% - 2px); }
  .appearance-toggle { width:44px;height:44px; }.menu-button { min-width:36px;min-height:44px;padding:8px; }.nav-login { min-height:44px;padding:10px 13px;font-size:12px; }
  .hero { padding:33px 0 35px; }.hero-copy { padding:0; }.hero-grid { gap:23px; }
  .hero-copy h1 { font-size:clamp(45px,9.4vw,64px); }.hero-copy .lead { font-size:17px;line-height:1.65;margin-top:22px; }
  .hero-copy .eyebrow { font-size:10px;letter-spacing:.09em; }.hero-copy .actions { gap:17px;margin-top:25px; }
  .hero-copy .actions .btn { font-size:14px;padding:13px 18px; }.hero-copy .actions .link { font-size:13px; }
  .hero-note { font-size:12px;margin-top:22px; }.hero-visual { height:460px;width:100%;max-width:500px;overflow:hidden; }
  .hero-visual::before { inset:0; }.hero-node { min-height:134px;padding:18px 15px;border-radius:20px; }.hero-node strong { font-size:15px; }.hero-node>span:last-child { font-size:11px; }
  .hero-detail { right:15px;top:25px;width:36px;height:20px; }.hero-node-icon { width:33px;height:33px; }.hero-node-icon .icon { width:19px;height:19px; }.hero-detail.grid-detail { grid-template-columns:repeat(3,6px);gap:3px; }.grid-detail i { width:6px;height:6px; }
  .hero-revenue { top:20px; }.hero-orders { top:32px; }.hero-control { bottom:52px; }.hero-delivery { bottom:39px; }
  .hero-hub { width:145px;height:75px;top:47%; }.hero-hub .restiq-logo img { width:97px; }.hero-hub::before { inset:-5px;border-radius:27px; }.hero-map-caption { font-size:11px; }
  .integration-strip { margin-top:23px;padding-top:25px;gap:17px; }.system-marks { gap:27px; }.strip-device { font-size:12px; }
  .section-head { margin-bottom:27px; }.section-head>p { font-size:15px; }.section-head .eyebrow { font-size:10px; }
  h2 { font-size:34px;line-height:1.15; }.capabilities { gap:22px; }.capability { padding:11px 11px 25px;border-radius:23px; }.feature-art { height:198px; }
  .capability small,.capability h3,.capability p { margin-left:12px;margin-right:12px; }.capability small { margin-top:21px; }.capability h3 { font-size:22px; }.capability p { font-size:15px; }
  .report-types { margin-top:25px;padding-top:0;gap:8px; }.report-types strong { font-size:13px; }.report-types span { font-size:12px;padding:6px 11px; }
  .live-grid { gap:30px; }.live-copy .lead { font-size:16px; }.check-list { gap:15px; }.check-list li { font-size:14px; }
  .operation-visual { height:330px;border-radius:24px; }.operation-node { font-size:12px;padding:11px 13px; }
  .telegram { padding:60px 0; }.telegram-grid { gap:25px; }.telegram-topic { font-size:12px; }.telegram-topic.groups { font-size:10px; }.telegram-label { font-size:12px; }
  .system-card { padding:27px 25px;border-radius:23px; }.system-card p { font-size:15px; }.system-card ul { font-size:14px;gap:13px;padding-top:20px;margin-top:22px; }.compatibility { font-size:12px;margin-top:20px; }
  .audience-grid { gap:32px; }.audience-row { grid-template-columns:1fr;gap:11px;padding:23px 0; }.audience-row p { font-size:15px; }
  .steps { gap:28px; }.steps::before { left:21px;right:auto;top:20px;bottom:30px;width:1px;height:auto; }.step-number { outline:6px solid var(--paper);margin:0; }.steps>div { position:relative; }.steps h3 { font-size:19px; }.steps p { font-size:14px; }
  .faq-list summary { font-size:16px; }.faq-list details p { font-size:14px;padding-right:0; }.faq-list details { padding:18px 0; }
  .contact { padding:34px 26px;gap:28px;border-radius:25px; }.contact h2 { font-size:32px; }.contact p { font-size:15px; }.contact-actions { min-width:0; }.contact::before { width:400px;height:400px;right:-220px; }
  .footer-inner p { font-size:11px; }.footer-links { font-size:12px; }
}
@media(max-width:365px) {
  .nav { gap:7px; }.nav .restiq-logo img { width:82px; }.nav-login { padding:10px 11px; }.menu-button { min-width:32px;padding:5px; }
  .hero-copy h1 { font-size:43px; }.hero-copy .lead { font-size:16px; }.hero-copy .actions .link { font-size:12px; }
  .hero-visual { height:470px; }.hero-node { padding:15px 11px;min-height:136px; }.hero-node strong { font-size:14px; }.hero-node>span:last-child { font-size:11px; }.hero-detail { right:11px;width:29px; }
  .hero-hub { width:130px;height:68px; }.hero-hub .restiq-logo img { width:88px; }.hero-map-caption { font-size:9px; }.contact { padding:30px 22px; }.contact h2 { font-size:29px; }
}
@media(prefers-reduced-motion:reduce) {
  html { scroll-behavior:auto; }
  *,*::before,*::after { animation:none!important;transition:none!important; }
  .hero-flow { display:none; }
}
@media(forced-colors:active) {
  .masthead,.hero-node,.hero-hub,.capability,.system-card,.contact { background:Canvas;border-color:CanvasText;box-shadow:none; }
  .hero-copy .blue { color:LinkText;background:none; }.btn-primary { color:ButtonText;background:ButtonFace;border-color:ButtonText; }
  .hero-flow,.hero-visual::before,.contact::before { display:none; }.hero-connections { stroke:CanvasText; }
}
@media print { .masthead { position:static; }.hero-flow { display:none; } }
