/* clydoc.com in a browser: the website for the ClyDoc apps (js/site.js). Uses the site's colour tokens, so the light
   and dark themes both work. Only applies with html.site-mode; the apps never see it. */

/* The old home page and the app-only parts stay hidden on the website */
.site-mode [data-page="home"] > :not(.site-home) { display: none !important; }
.site-mode #chatLauncher, .site-mode .chat-launch, .site-mode .chat-panel, .site-mode .cr-fambar { display: none !important; }
/* The website's menu and search are for everyone, signed in or not */
html.site-mode body.guest .navbar { display: block !important; }
html:not(.site-mode) .site-home, html:not(.site-mode) .top-get { display: none !important; }
.top-get { white-space: nowrap; }
@media (max-width: 760px) { .top-get { display: none; } }

/* Feature menu: two columns */
.drop.drop-feats { width: min(680px, 92vw); display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.drop.drop-feats .drop-item { opacity: 1; transform: none; }
@media (max-width: 960px) { .drop.drop-feats { grid-template-columns: 1fr; width: auto; } }

/* ---------- Device frames ---------- */
.st-laptop { margin: 0; position: relative; }
.st-laptop-screen { position: relative; border-radius: 14px 14px 4px 4px; padding: 10px 10px 12px; background: linear-gradient(180deg, #2a2f45, #1a1e2e); box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .7), inset 0 0 0 1px rgba(255, 255, 255, .08); }
.st-laptop-screen::before { content: ''; position: absolute; top: 4px; left: 50%; width: 5px; height: 5px; margin-left: -2.5px; border-radius: 50%; background: #3b4160; }
.st-laptop-screen img, .st-laptop-screen video { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top center; border-radius: 4px; background: #0e0f14; }
.st-laptop-base { height: 14px; margin: 0 -6%; border-radius: 0 0 16px 16px; background: linear-gradient(180deg, #3a3f58, #20243a); box-shadow: 0 14px 30px -12px rgba(0, 0, 0, .6); position: relative; }
.st-laptop-base::after { content: ''; position: absolute; top: 0; left: 50%; width: 16%; height: 5px; transform: translateX(-50%); border-radius: 0 0 8px 8px; background: #15182a; }
.st-phone { margin: 0; width: 100%; max-width: 250px; border-radius: 36px; padding: 9px; background: linear-gradient(160deg, #3a3f58, #171a29); box-shadow: 0 30px 70px -24px rgba(0, 0, 0, .75), inset 0 0 0 1px rgba(255, 255, 255, .1); }
.st-phone-screen { position: relative; border-radius: 28px; overflow: hidden; background: #0e0f14; }
.st-phone-screen::before { content: ''; position: absolute; z-index: 2; top: 8px; left: 50%; width: 30%; height: 18px; transform: translateX(-50%); border-radius: 12px; background: #05060a; }
.st-phone-screen img, .st-phone-screen video { display: block; width: 100%; aspect-ratio: 9 / 19.5; object-fit: cover; object-position: top center; }

/* ---------- Hero ---------- */
.st-hero { display: grid; grid-template-columns: 1fr 1.15fr; gap: 48px; align-items: center; padding-top: 56px; padding-bottom: 32px; position: relative; z-index: 1; }
.st-hero h1 { font-size: clamp(2.4rem, 4.6vw, 4rem); font-weight: 700; line-height: 1.05; letter-spacing: -0.02em; margin-top: 18px; }
.st-hero-art { position: relative; padding-right: 6%; }
.st-hero-laptop { width: 100%; }
.st-hero-phone { position: absolute; right: 0; bottom: -18px; width: 30%; max-width: 190px; }
.st-fine { margin-top: 14px; color: var(--dim); font-size: .86rem; }
.st-fine a { color: var(--glow); }

/* Download buttons (store style) */
.st-dl { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.st-store { display: inline-flex; align-items: center; gap: 12px; min-height: 56px; padding: 0 22px 0 16px; border-radius: 14px; background: #05070d; color: #fff; border: 1px solid var(--line-2); font: 600 1.08rem/1.1 var(--display); text-decoration: none; transition: border-color .15s, transform .15s; }
.st-store:hover { border-color: var(--glow); transform: translateY(-1px); }
.st-store small { display: block; font: 400 .7rem var(--body); color: #9aa6bd; }
.st-store svg { width: 26px; height: 26px; fill: none; stroke: var(--glow); stroke-width: 1.6; stroke-linejoin: round; stroke-linecap: round; }
/* Download buttons while downloads are unavailable: "dl-soon", not the page-level .soon class (which adds top padding) */
.st-store.dl-soon, .store.dl-soon, .btn.dl-soon { opacity: .55; cursor: default; }
.st-dl-hero .st-store:first-child { background: linear-gradient(135deg, var(--brand), #6f4cf5); border-color: transparent; }
.st-dl-hero .st-store:first-child svg { stroke: #fff; }
.st-dl-hero .st-store:first-child small { color: rgba(255, 255, 255, .8); }
html[data-theme="light"] .st-store { background: #0f1424; }

/* Numbers strip */
.st-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin-top: 48px; margin-bottom: 24px; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: var(--line); padding: 0; }
.st-strip > div { background: var(--card); padding: 22px 24px; display: flex; flex-direction: column; gap: 2px; }
.st-strip b { font: 600 2.1rem var(--display); color: var(--text); }
.st-strip span { color: var(--muted); font-size: .9rem; }

/* Section heads */
.st-sec-head { text-align: center; max-width: 720px; margin: 0 auto 30px; }
.st-sec-head h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); margin-bottom: 8px; }
.st-center { text-align: center; margin-top: 22px; }

/* Video */
.st-video { padding-top: 64px; padding-bottom: 24px; }
.st-video-frame { max-width: 980px; margin: 0 auto; }

/* Feature rows */
.st-feat { display: grid; grid-template-columns: 1fr 1.2fr; gap: 56px; align-items: center; padding-top: 72px; padding-bottom: 24px; }
.st-feat.flip .st-feat-copy { order: 2; }
.st-feat h2 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); margin: 14px 0 6px; }
.st-feat-line { color: var(--glow); font-weight: 500; margin: 0 0 10px; }
.st-feat-ic { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: linear-gradient(135deg, rgba(59, 110, 245, .22), rgba(124, 92, 246, .22)); color: var(--sky); border: 1px solid rgba(143, 176, 255, .25); }
.st-feat-ic svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.st-feat-ic.sm { width: 34px; height: 34px; border-radius: 10px; }
.st-feat-ic.sm svg { width: 18px; height: 18px; }
.st-feat-art { position: relative; padding-right: 8%; }
.st-feat-phone { position: absolute; right: 0; bottom: -24px; width: 26%; max-width: 160px; }
.st-feat.flip .st-feat-art { padding-right: 0; padding-left: 8%; }
.st-feat.flip .st-feat-phone { right: auto; left: 0; }
.st-ticks { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 9px; }
.st-ticks li { display: flex; gap: 10px; align-items: flex-start; color: var(--text); }
.st-ticks svg { flex: none; width: 18px; height: 18px; margin-top: 3px; fill: none; stroke: var(--glow); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.st-ticks.big li { font-size: 1.05rem; padding: 12px 16px; border-radius: var(--r-md); background: var(--card); border: 1px solid var(--line); }
.st-more { display: inline-flex; align-items: center; gap: 6px; margin-top: 18px; color: var(--glow); font-weight: 600; text-decoration: none; }
.st-more svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; transition: transform .15s; }
.st-more:hover svg { transform: translateX(3px); }

/* Two apps */
.st-two { padding-top: 88px; }
.st-two-grid, .st-price-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; max-width: 980px; margin: 0 auto; }
.st-plat { display: flex; flex-direction: column; gap: 6px; }
.st-plat > svg { width: 36px; height: 36px; fill: none; stroke: var(--glow); stroke-width: 1.5; stroke-linejoin: round; stroke-linecap: round; }
.st-plat h3 { margin: 8px 0 0; }
.st-plat .btn { margin-top: 18px; align-self: flex-start; display: inline-flex; gap: 8px; align-items: center; }
.st-plat .btn svg, .st-dlcard .btn svg, .head-actions .btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* Trust */
.st-trust { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; padding-top: 80px; }
.st-trust article { padding: 24px; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--card); }
.st-trust svg { width: 30px; height: 30px; fill: none; stroke: var(--glow); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.st-trust h3 { margin: 12px 0 6px; }

/* Pricing teaser */
.st-price { padding-top: 88px; }
.st-amt { font: 600 2.4rem var(--display); margin: 6px 0 4px; }
.st-amt small { font-size: 1rem; color: var(--muted); }
.st-amt em { font: 400 .95rem var(--body); color: var(--muted); font-style: normal; margin-left: 6px; }
.st-pro { border-color: rgba(124, 92, 246, .55); box-shadow: 0 0 0 1px rgba(124, 92, 246, .3) inset; }

/* Final call */
.st-final { text-align: center; padding-top: 96px; padding-bottom: 96px; }
.st-final img { width: 76px; height: 76px; border-radius: 20px; }
.st-final h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); margin: 16px 0 8px; }
.st-final .st-dl { justify-content: center; }

/* ---------- All features ---------- */
.st-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 18px; padding-bottom: 72px; }
.st-card { display: flex; flex-direction: column; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); background: var(--card); color: var(--text); text-decoration: none; transition: transform .15s, border-color .15s; }
.st-card:hover { transform: translateY(-3px); border-color: var(--glow); }
.st-card-img { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: #0e0f14; }
.st-card-img img { width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; }
.st-card-b { display: grid; grid-template-columns: auto 1fr; gap: 2px 12px; align-items: center; padding: 14px 16px 16px; }
.st-card-b .st-feat-ic { grid-row: span 2; }
.st-card-b b { font: 600 1rem var(--display); }
.st-card-b small { color: var(--muted); }

/* ---------- One feature ---------- */
.st-crumbs { padding-top: 28px; color: var(--dim); font-size: .9rem; }
.st-crumbs a { color: var(--glow); text-decoration: none; }
.st-fhero { display: grid; grid-template-columns: 1fr 1.25fr; gap: 48px; align-items: center; padding: 24px 0 40px; }
.st-fhero h1 { font-size: clamp(2rem, 4vw, 3.2rem); margin: 14px 0 6px; }
.st-fpoints, .st-gallery { padding: 32px 0; }
.st-fpoints h2, .st-gallery h2 { margin-bottom: 16px; }
.st-fpoints .st-ticks { grid-template-columns: repeat(2, 1fr); gap: 12px; }
.st-gallery-row { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: end; }
.st-gallery-row .st-phone { width: 230px; }
.st-prevnext { display: flex; justify-content: space-between; gap: 12px; padding: 32px 0 72px; border-top: 1px solid var(--line); margin-top: 24px; }
.st-prevnext a { color: var(--glow); text-decoration: none; font-weight: 500; }

/* ---------- Download ---------- */
.st-dlhead { text-align: center; padding: 56px 0 28px; }
.st-dlhead img { display: block; width: 84px; height: 84px; margin: 0 auto; border-radius: 22px; }
.st-dlhead h1 { font-size: clamp(2rem, 4vw, 3rem); margin: 18px 0 8px; }
.st-dlhead .lede { margin-left: auto; margin-right: auto; }
.st-dlgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; max-width: 960px; margin: 0 auto; }
.st-dlcard { display: flex; flex-direction: column; gap: 10px; }
.st-dl-ic svg { width: 42px; height: 42px; fill: none; stroke: var(--glow); stroke-width: 1.5; stroke-linejoin: round; stroke-linecap: round; }
.st-dlcard h2 { margin: 0; }
.st-dlcard .btn { display: inline-flex; gap: 8px; justify-content: center; align-items: center; margin-top: 6px; }
.st-play { display: inline-flex; align-items: center; gap: 10px; align-self: flex-start; padding: 8px 14px; border-radius: 12px; border: 1px dashed var(--line-2); color: var(--muted); font: 600 .95rem var(--display); }
.st-play small { display: block; font: 400 .68rem var(--body); }
.st-play svg { width: 20px; height: 20px; fill: none; stroke: var(--muted); stroke-width: 1.6; }
.st-steps { margin: 10px 0 0; padding-left: 20px; color: var(--muted); display: grid; gap: 6px; font-size: .92rem; }
.st-steps b { color: var(--text); }
.st-dlnote { max-width: 960px; margin: 18px auto 72px; }

/* ---------- Account ---------- */
.st-acc-head { display: flex; align-items: center; gap: 18px; margin-bottom: 18px; }
.st-acc-head > div { flex: 1; }
.st-acc-head h2 { margin: 0; }
.st-acc-head p { margin: 2px 0 0; }
.st-acc-av { width: 60px; height: 60px; font-size: 1.3rem; }
.st-acc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 18px; }
.st-acc-card { color: var(--text); text-decoration: none; transition: border-color .15s; }
.st-acc-card:hover { border-color: var(--glow); }
.st-acc-card > svg { width: 30px; height: 30px; fill: none; stroke: var(--glow); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.st-acc-card h3 { margin: 10px 0 6px; }
.st-acc-card p { margin: 0 0 4px; }
#accSecurity { margin-bottom: 72px; }

/* ---------- Phones and tablets ---------- */
@media (max-width: 960px) {
  .st-hero, .st-feat, .st-fhero { grid-template-columns: 1fr; gap: 32px; }
  .st-feat.flip .st-feat-copy { order: 0; }
  .st-hero-art, .st-feat-art { padding: 0 12% 0 0; }
  .st-feat.flip .st-feat-art { padding: 0 12% 0 0; }
  .st-feat.flip .st-feat-phone { left: auto; right: 0; }
  .st-strip { grid-template-columns: 1fr 1fr; }
  .st-trust, .st-acc-grid { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .st-two-grid, .st-price-grid, .st-dlgrid { grid-template-columns: 1fr; }
  .st-fpoints .st-ticks { grid-template-columns: 1fr; }
  .st-gallery-row { grid-template-columns: 1fr; justify-items: center; }
  .st-store { flex: 1 1 auto; justify-content: center; }
  .st-prevnext { flex-direction: column; text-align: center; }
  .st-acc-head { flex-wrap: wrap; }
}

/* Cards side by side line up (the site adds a gap between stacked panels) */
.st-dlgrid > .panel, .st-two-grid > .panel, .st-price-grid > .panel, .st-acc-grid > .panel { margin: 0; }

/* Phones: logo on the left, buttons on the right, so they never overlap */
@media (max-width: 1000px) {
  .site-mode .topbar-in { grid-template-columns: auto minmax(0, 1fr); gap: 10px; }
  .site-mode .topbar-in > .brand { grid-column: 1; justify-self: start; }
  .site-mode .topbar-in > .top-actions { grid-column: 2; justify-self: end; }
}
@media (max-width: 560px) {
  .site-mode .brand-word img { max-width: 112px; height: auto; }
  html.site-mode .top-search, html.site-mode body.guest .top-search { display: none !important; }
}

/* Medium screens: the menu bar has Search, so the header search box would only crowd the logo */
@media (max-width: 1000px) { html.site-mode .top-search, html.site-mode body.guest .top-search { display: none !important; } }

/* =========================================================
   Phones (760px and below): three-line menu, centred logo, settings in the footer
   ========================================================= */
.site-burger, .foot-prefs { display: none; }
@media (max-width: 760px) {
  .site-mode .topbar-in { grid-template-columns: 44px minmax(0, 1fr) 44px; gap: 8px; height: 64px; }
  .site-mode .site-burger { grid-column: 1; display: inline-flex; flex-direction: column; justify-content: center; gap: 5px; width: 44px; height: 44px; padding: 0 11px; border: 1px solid var(--line); border-radius: 12px; background: var(--card); cursor: pointer; }
  .site-burger i { display: block; height: 2px; border-radius: 2px; background: var(--text); transition: transform .2s, opacity .2s; }
  .site-menu-open .site-burger i:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .site-menu-open .site-burger i:nth-child(2) { opacity: 0; }
  .site-menu-open .site-burger i:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .site-mode .topbar-in > .brand { grid-column: 2; justify-self: center; gap: 8px; }
  .site-mode .topbar-in > .top-actions { grid-column: 3; justify-self: end; gap: 0; }
  .site-mode .brand-mark img { width: 30px; height: 30px; }
  .site-mode .topbar .brand-word img { height: auto; width: min(160px, calc(100vw - 200px)); max-width: none; }
  .site-mode #siteLang, .site-mode #siteTheme, .site-mode .top-get, .site-mode .top-search, .site-mode .profile-meta, .site-mode .plan-label { display: none !important; }
  .site-mode #navProfile { padding: 0; width: 44px; height: 44px; justify-content: center; border-radius: 50%; }

  /* The menu: a panel under the header, closed until the button is tapped */
  html.site-mode body .navbar, html.site-mode body.guest .navbar { display: none !important; }
  html.site-mode body.site-menu-open .navbar { display: block !important; position: absolute; left: 0; right: 0; top: 100%; z-index: 70; max-height: calc(100dvh - 64px); overflow-y: auto; background: var(--card); border-bottom: 1px solid var(--line-2); box-shadow: 0 24px 50px -18px rgba(0, 0, 0, .6); }
  .site-menu-open .navbar::before, .site-menu-open .navbar::after { display: none; }
  .site-mode .navbar-in { padding: 8px 12px 14px; }
  .site-mode .nav { flex-direction: column; flex-wrap: nowrap; align-items: stretch; gap: 2px; }
  .site-mode .nav > a, .site-mode .nav .nav-drop-btn, .site-mode .nav-search-m { display: flex; align-items: center; width: 100%; padding: 13px 14px; border-radius: 12px; font-size: 1rem; justify-content: flex-start; }
  .site-mode .nav .nav-drop-btn .caret { margin-left: auto; transition: transform .2s; }
  .site-mode .nav-drop.open .nav-drop-btn .caret { transform: rotate(180deg); }
  .site-mode .nav-drop .drop { position: static; display: none; width: auto; transform: none; opacity: 1; visibility: visible; pointer-events: auto; box-shadow: none; border: 0; background: transparent; backdrop-filter: none; padding: 0 0 6px 10px; grid-template-columns: 1fr; }
  .site-mode .nav-drop.open .drop { display: grid; }
  .site-mode .drop::before { display: none; }
  .site-mode .drop-item { opacity: 1 !important; transform: none !important; padding: 10px 12px !important; }
  .site-menu-open { overflow: hidden; }

  /* Footer: language and dark mode */
  .site-mode .foot-prefs { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding-top: 18px; padding-bottom: 18px; border-top: 1px solid var(--line); }
  .foot-pref { display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 10px 14px; border-radius: 14px; border: 1px solid var(--line); background: var(--card); color: var(--text); font: 500 .95rem var(--body); cursor: pointer; text-align: left; }
  .foot-pref > svg { width: 20px; height: 20px; flex: none; fill: none; stroke: var(--glow); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
  .foot-pref span { flex: 1; }
  .foot-pref b { font-weight: 500; color: var(--muted); font-size: .85rem; }
  .foot-switch { position: relative; width: 38px; height: 22px; border-radius: 999px; background: var(--line-2); flex: none; transition: background .15s; }
  .foot-switch i { position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: transform .15s; }
  .foot-pref.on .foot-switch { background: var(--brand); }
  .foot-pref.on .foot-switch i { transform: translateX(16px); }
}
@media (max-width: 380px) { .site-mode .foot-prefs { grid-template-columns: 1fr; } }
@media (max-width: 760px) {
  .st-laptop-base { margin: 0 -2%; height: 10px; }
  .st-hero, .st-feat, .st-fhero, .st-video, .st-gallery { overflow-x: clip; }
}
/* Small phones: tighter headings and panels */
@media (max-width: 480px) {
  .site-mode .st-hero { padding-top: 28px; gap: 28px; }
  .site-mode .st-hero h1 { font-size: 2.15rem; }
  .site-mode .lede { font-size: 1rem; }
  .site-mode .st-feat { padding-top: 48px; gap: 26px; }
  .site-mode .st-feat h2, .site-mode .st-sec-head h2, .site-mode .st-final h2 { font-size: 1.55rem; }
  .site-mode .st-fhero h1, .site-mode .st-dlhead h1 { font-size: 1.85rem; }
  .site-mode .page-head h1 { font-size: 1.8rem; }
  .site-mode .page-head { padding-top: 28px; }
  .site-mode .panel { padding: 18px; }
  .site-mode .st-strip > div { padding: 16px; }
  .site-mode .st-strip b { font-size: 1.6rem; }
  .site-mode .st-store { min-height: 52px; padding: 0 14px 0 12px; font-size: 1rem; }
  .site-mode .st-two, .site-mode .st-price, .site-mode .st-trust { padding-top: 56px; }
  .site-mode .st-final { padding-top: 64px; padding-bottom: 64px; }
}
@media (max-width: 760px) {
  .site-mode .navbar-in { display: block; }
  .site-mode .nav { width: 100%; }
}
/* Website pricing: Free, Pro and Clinician (red tint) */
.st-price-grid.st-price-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 1180px; }
.st-clin { position: relative; border-color: rgba(217, 45, 63, .55); background: linear-gradient(180deg, rgba(217, 45, 63, .15), var(--card) 55%); box-shadow: 0 0 0 1px rgba(217, 45, 63, .3) inset; }
.st-clin .st-amt { color: #ff8b99; }
.st-clin .st-ticks svg { stroke: #ff8b99; }
.st-clin-badge { position: absolute; top: -11px; left: 22px; padding: 4px 11px; border-radius: 999px; background: #d92d3f; color: #fff; font: 600 .72rem var(--display); }
@media (max-width: 1000px) { .st-price-grid.st-price-3 { grid-template-columns: minmax(0, 1fr); max-width: 560px; } }

/* ---------- Website header (2026-10-23): bigger, bold page names ---------- */
@media (min-width: 761px) {
  html.site-mode .nav > a, html.site-mode .nav .nav-drop-btn, html.site-mode .nav-search-m { font-family: var(--body); font-size: 0.97rem; font-weight: 700; padding: 9px 14px; letter-spacing: 0.005em; }
  html.site-mode .nav-search-m svg { width: 16px; height: 16px; }
  html.site-mode .nav .nav-drop-btn .caret { width: 15px; height: 15px; }
}

/* ---------- Website footer on phones ---------- */
@media (max-width: 760px) {
  .news-row input { flex: none; width: 100%; height: 50px; font-size: 1rem; }
  .news-row .btn { height: 50px; }
  .foot-top { padding-bottom: 44px; }
  .foot-connect { text-align: center; }
  .foot-connect .social, .foot-connect .stores { justify-content: center; }
  .foot-connect .stores { margin-bottom: 6px; }
  .foot-brand { display: flex; flex-direction: column; align-items: center; text-align: center; padding-top: 8px; }
  .foot-brand .brand { align-items: center; }
  .foot-brand .brand-mark { width: 84px; height: 84px; }
  html.site-mode .foot-brand .brand-mark img { width: 100%; height: 100%; }
  html.site-mode .foot-brand .brand-word img { height: 17px; width: auto; max-width: none; }
  .foot-brand .brand-tagline { font-size: 0.86rem; }
  .foot-top { padding-top: 40px; }
  .foot-brand .foot-pay { display: flex; flex-direction: column; align-items: center; }
  .foot-connect .social { gap: 10px; flex-wrap: nowrap; }
  .foot-connect .social a { width: 44px; height: 44px; }
  .foot-brand .foot-tag { justify-content: center; }
  .foot-about { margin-left: auto; margin-right: auto; }
  .foot-platforms { justify-content: center; }
}

/* Phone pictures: shaped like an iPhone, thin even bezel and a small island (2026-10-23) */
.st-phone { padding: 3px; border-radius: 15% / 7%; background: linear-gradient(160deg, #565c78, #1d2133); box-shadow: 0 30px 70px -24px rgba(0, 0, 0, .75), inset 0 0 0 1px rgba(255, 255, 255, .14); }
.st-phone-screen { border-radius: 13.5% / 6.3%; }
.st-phone-screen::before { top: 2.2%; width: 27%; height: 3.4%; border-radius: 999px; }

/* Footer: secure payment badges under the ClyDoc logo */
.foot-pay .pay-h { margin-top: 20px; }
