/* SHneoDesigns – shared stylesheet. System fonts only, no external requests. */

:root {
  --bg: #f6f8fb;
  --surface: #ffffff;
  --surface-2: #eef2f7;
  --text: #121821;
  --muted: #4c5868;
  --border: #dbe2ea;
  --brand: #0b5fd6;
  --brand-strong: #0849a8;
  --brand-soft: #e3eefc;
  --on-brand: #ffffff;
  --focus: #0b5fd6;
  --ok: #0d6b3a;
  --ok-soft: #ddf3e6;
  --warn: #7a4a00;
  --warn-soft: #fbefd6;
  --shadow: 0 1px 2px rgb(16 24 40 / 0.06), 0 6px 20px rgb(16 24 40 / 0.06);
  --radius: 16px;
  --radius-sm: 10px;
  --wrap: 1120px;
  --font: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) {
    --bg: #0c1118;
    --surface: #131a23;
    --surface-2: #18212c;
    --text: #e8edf3;
    --muted: #a3afbd;
    --border: #273241;
    --brand: #5a9cff;
    --brand-strong: #82b4ff;
    --brand-soft: #16263d;
    --on-brand: #06101f;
    --focus: #82b4ff;
    --ok: #7fd6a3;
    --ok-soft: #12291d;
    --warn: #f3c26b;
    --warn-soft: #2d2412;
    --shadow: 0 1px 2px rgb(0 0 0 / 0.4), 0 8px 24px rgb(0 0 0 / 0.25);
    color-scheme: dark;
  }
}

:root[data-theme='dark'] {
  --bg: #0c1118;
  --surface: #131a23;
  --surface-2: #18212c;
  --text: #e8edf3;
  --muted: #a3afbd;
  --border: #273241;
  --brand: #5a9cff;
  --brand-strong: #82b4ff;
  --brand-soft: #16263d;
  --on-brand: #06101f;
  --focus: #82b4ff;
  --ok: #7fd6a3;
  --ok-soft: #12291d;
  --warn: #f3c26b;
  --warn-soft: #2d2412;
  --shadow: 0 1px 2px rgb(0 0 0 / 0.4), 0 8px 24px rgb(0 0 0 / 0.25);
  color-scheme: dark;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 1.0625rem/1.65 var(--font);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  flex: 1;
}
main:focus {
  outline: none;
}

img,
svg {
  display: block;
  max-width: 100%;
}

h1,
h2,
h3 {
  line-height: 1.2;
  letter-spacing: -0.015em;
  margin: 0 0 0.5em;
}
h1 {
  font-size: clamp(2rem, 1.4rem + 2.6vw, 3.25rem);
  font-weight: 750;
}
h2 {
  font-size: clamp(1.4rem, 1.2rem + 0.8vw, 1.75rem);
  font-weight: 700;
}
h3 {
  font-size: 1.125rem;
  font-weight: 650;
}
p {
  margin: 0 0 1em;
}

a {
  color: var(--brand);
  text-underline-offset: 0.18em;
}
a:hover {
  color: var(--brand-strong);
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 6px;
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 32px);
}

.muted {
  color: var(--muted);
}
.small {
  font-size: 0.9375rem;
}
.lead {
  font-size: clamp(1.125rem, 1.05rem + 0.4vw, 1.3rem);
  color: var(--muted);
  max-width: 44rem;
}

.skip {
  position: absolute;
  left: 12px;
  top: -100px;
  z-index: 10;
  background: var(--surface);
  color: var(--text);
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
}
.skip:focus {
  top: 12px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--border);
}
.header-row {
  display: flex;
  align-items: center;
  gap: clamp(12px, 3vw, 32px);
  min-height: 68px;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
  font-weight: 750;
  font-size: 1.125rem;
  letter-spacing: -0.01em;
}
.logo:hover {
  color: var(--text);
}
/* The official logo file is 2172×724 with transparent margins; the logo
   itself lies at x 56–2119, y 135–619 (frame x 52–2123, y 131–622). The
   frame has that aspect ratio and shows only this area – the file stays
   unchanged. */
.logo-img {
  display: block;
  position: relative;
  overflow: hidden;
  width: 170px;
  aspect-ratio: 2072 / 492;
}
.logo-img img {
  position: absolute;
  max-width: none;
  width: 104.8263%; /* 2172 / 2072 */
  height: auto;
  left: -2.5097%; /* 52 / 2072 */
  top: -26.626%; /* 131 / 492 */
}
.nav {
  display: flex;
  gap: 4px;
  margin-left: auto;
}
.nav a,
.lang a,
.lang-current {
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9875rem;
  padding: 8px 12px;
  border-radius: 999px;
}
.nav a:hover,
.lang a:hover {
  color: var(--text);
  background: var(--surface-2);
}
.nav a[aria-current='page'] {
  color: var(--text);
  background: var(--surface-2);
}
.tools {
  display: flex;
  align-items: center;
  gap: 8px;
}
.lang {
  display: flex;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 2px;
}
.lang a,
.lang-current {
  padding: 4px 10px;
  font-size: 0.875rem;
}
.lang-current {
  background: var(--text);
  color: var(--bg);
}
.theme-toggle {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
}
.theme-toggle[hidden] {
  display: none;
}
.theme-toggle svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
}
.theme-toggle .i-moon {
  display: none;
}
:root[data-theme='dark'] .theme-toggle .i-sun {
  display: none;
}
:root[data-theme='dark'] .theme-toggle .i-moon {
  display: block;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) .theme-toggle .i-sun {
    display: none;
  }
  :root:not([data-theme='light']) .theme-toggle .i-moon {
    display: block;
  }
}

/* Buttons */
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 650;
  text-decoration: none;
  border: 1px solid transparent;
}
.btn-primary {
  background: var(--brand);
  color: var(--on-brand);
}
.btn-primary:hover {
  background: var(--brand-strong);
  color: var(--on-brand);
}
.btn-ghost {
  border-color: var(--border);
  color: var(--text);
  background: var(--surface);
}
.btn-ghost:hover {
  color: var(--text);
  background: var(--surface-2);
}
.btn-disabled {
  background: var(--surface-2);
  color: var(--muted);
  border-color: var(--border);
  cursor: not-allowed;
}
.i-arrow,
.i-check,
.i-mail {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.i-arrow {
  width: 18px;
  height: 18px;
  flex: none;
}

/* Hero */
.hero {
  padding: clamp(56px, 10vw, 120px) 0 clamp(40px, 7vw, 80px);
  background:
    radial-gradient(900px 400px at 85% -10%, var(--brand-soft), transparent 70%),
    linear-gradient(var(--bg), var(--bg));
}
.hero h1 {
  max-width: 18ch;
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--brand);
  margin-bottom: 16px;
}

/* Sections */
.section {
  padding: clamp(40px, 7vw, 80px) 0;
}
.section-alt {
  background: var(--surface);
  border-block: 1px solid var(--border);
}
.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 24px;
  margin-bottom: 24px;
}
.section-head h2,
.section-head p {
  margin: 0;
}

/* App cards */
.app-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr));
  margin-top: 8px;
}
.app-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.app-card-link {
  display: flex;
  gap: 18px;
  padding: 22px;
  color: inherit;
  text-decoration: none;
  height: 100%;
  border-radius: var(--radius);
}
.app-card-link:hover {
  color: inherit;
}
.app-card:hover {
  border-color: color-mix(in srgb, var(--brand) 45%, var(--border));
}
.app-card-body {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.app-card-body p {
  color: var(--muted);
  margin-bottom: 14px;
}
.app-card-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  margin-bottom: 6px;
}
.app-card-head h3,
.app-card-head h1 {
  margin: 0;
}
.app-icon {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  flex: none;
  box-shadow: var(--shadow);
}
.app-icon-lg {
  width: 112px;
  height: 112px;
  border-radius: 26px;
}
.facts {
  display: grid;
  gap: 4px;
  margin: 0 0 14px;
  font-size: 0.9375rem;
}
.facts div {
  display: flex;
  gap: 8px;
}
.facts dt {
  color: var(--muted);
}
.facts dd {
  margin: 0;
  font-weight: 600;
}
.more {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--brand);
  font-weight: 650;
}
.more-soon {
  margin-top: 28px;
}

.badge {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 3px 10px;
  border-radius: 999px;
  white-space: nowrap;
}
.badge-coming-soon {
  background: var(--warn-soft);
  color: var(--warn);
}
.badge-available {
  background: var(--ok-soft);
  color: var(--ok);
}

/* Principles */
.principles {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr));
}
.principles li {
  padding: 22px;
  border-radius: var(--radius);
  background: var(--bg);
  border: 1px solid var(--border);
}
.principles p {
  color: var(--muted);
  margin: 0;
}

/* Inner pages */
.page {
  padding-top: clamp(24px, 4vw, 40px);
  padding-bottom: clamp(48px, 8vw, 96px);
}
.crumbs ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 4px 8px;
  padding: 0;
  margin: 0 0 28px;
  font-size: 0.9rem;
  color: var(--muted);
}
.crumbs li + li::before {
  content: '/';
  margin-right: 8px;
  color: var(--border);
}
.crumbs a {
  color: var(--muted);
}

.app-hero {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  align-items: flex-start;
  margin-bottom: clamp(32px, 6vw, 56px);
}
.app-hero > div {
  flex: 1 1 320px;
}
.app-hero .lead {
  margin: 12px 0 8px;
}
.app-hero .actions {
  margin-top: 20px;
}

.block {
  margin-bottom: clamp(32px, 5vw, 48px);
}
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: clamp(20px, 3vw, 28px);
}
.two-col {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
  margin-bottom: clamp(32px, 5vw, 48px);
}
.two-col .block {
  margin: 0;
}

.features {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
}
.features li {
  display: flex;
  gap: 14px;
  padding: 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.features h3 {
  margin-bottom: 4px;
}
.features p {
  margin: 0;
  color: var(--muted);
}
.i-check {
  width: 26px;
  height: 26px;
  flex: none;
  padding: 4px;
  border-radius: 8px;
  background: var(--brand-soft);
  color: var(--brand);
  stroke-width: 2.4;
}

.ticks {
  list-style: none;
  padding: 0;
  margin: 0 0 12px;
}
.ticks li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 10px;
}
.ticks li::before {
  content: '';
  position: absolute;
  left: 4px;
  top: 0.62em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand);
}

.link-cards {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr));
}
.link-cards.narrow {
  max-width: 640px;
  margin-inline: auto;
}
.link-cards a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  min-height: 56px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-weight: 600;
  text-decoration: none;
}
.link-cards a:hover {
  border-color: var(--brand);
  color: var(--text);
}

.support-box {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 22px 24px;
  margin: 8px 0 clamp(32px, 5vw, 48px);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  max-width: 560px;
}
.support-box p {
  margin: 0;
}
.i-mail {
  width: 44px;
  height: 44px;
  padding: 10px;
  border-radius: 12px;
  background: var(--brand-soft);
  color: var(--brand);
  flex: none;
}
.support-mail {
  font-size: 1.25rem;
  font-weight: 700;
  word-break: break-all;
}

.prose {
  max-width: 820px;
}
.prose h2 {
  font-size: 1.15rem;
  margin-top: 1.8em;
}
.prose address {
  font-style: normal;
  margin-bottom: 1em;
}

.notice {
  margin: 24px 0;
  padding: 24px;
  border-radius: var(--radius);
  background: var(--warn-soft);
  border: 1px solid color-mix(in srgb, var(--warn) 30%, transparent);
}
.notice h2 {
  margin: 12px 0 8px;
  font-size: 1.2rem;
}
.notice p:last-child {
  margin: 0;
}

.center {
  text-align: center;
}
.center .lead {
  margin-inline: auto;
}
.alt-lang {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  background: var(--surface);
  padding: 48px 0 24px;
  font-size: 0.9625rem;
}
.footer-grid {
  display: grid;
  gap: 32px;
  grid-template-columns: 1.6fr repeat(3, 1fr);
}
.footer-grid ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-grid li {
  margin-bottom: 8px;
}
.footer-grid a {
  color: var(--muted);
}
.footer-grid a:hover {
  color: var(--text);
}
.footer-h {
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text);
  margin-bottom: 12px;
}
.logo-footer {
  margin-bottom: 12px;
}
.logo-footer .logo-img {
  width: 140px;
}
.footer-base {
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  font-size: 0.875rem;
}

@media (max-width: 860px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-grid > :first-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 560px) {
  .header-row {
    flex-wrap: wrap;
    gap: 8px 12px;
    padding-block: 10px;
  }
  .logo-img {
    width: 140px;
  }
  .tools {
    margin-left: auto;
  }
  .nav {
    order: 3;
    margin-left: -12px;
    width: 100%;
  }
  .app-card-link {
    flex-direction: column;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .btn,
  .app-card,
  .link-cards a,
  .nav a {
    transition:
      background-color 0.15s ease,
      border-color 0.15s ease,
      color 0.15s ease;
  }
}

@media (forced-colors: active) {
  .btn,
  .badge,
  .lang-current {
    border: 1px solid CanvasText;
  }
}

@media print {
  .site-header,
  .site-footer,
  .theme-toggle,
  .skip {
    display: none;
  }
}
