:root {
  color-scheme: dark;
  --bg: #090a0d;
  --surface: #101216;
  --surface-2: #15181e;
  --surface-3: #1b1f27;
  --line: #262b34;
  --text: #f2f4f7;
  --muted: #8d95a3;
  --muted-2: #aeb5c0;
  --accent: #6da8ff;
  --accent-strong: #438bfa;
  --success: #69d5a2;
  --danger: #ff8585;
  --header-bg: rgba(9, 10, 13, .86);
  --header-border: rgba(255, 255, 255, .065);
  --orbit-border: #262c36;
  --orbit-ring: rgba(119, 153, 199, .13);
  --orbit-ring-inner: rgba(119, 153, 199, .18);
  --orbit-core-bg: linear-gradient(145deg, #1b2636, #10141c 75%);
  --subtle-text: #646d7b;
  --rule-fade: rgba(38, 43, 52, 0);
  --feature-bg: linear-gradient(125deg, #13171e, #0d0f13);
  --hover-border: #485260;
  --active-border: #426b9e;
  --active-text: #cde1ff;
  --active-bg: #17263a;
  --card-hover-border: #3b526f;
  --image-bg: radial-gradient(circle at 50% 70%, #1b2737, #11151c 70%);
  --placeholder-text: #647b99;
  --empty-border: #333b48;
  --empty-bg: rgba(16, 18, 22, .66);
  --detail-bg: radial-gradient(circle at 50% 48%, #1c2a3d, #101216 68%);
  --input-border: #303744;
  --input-bg: #0b0d11;
  --input-placeholder: #606978;
  --help-text: #737d8d;
  --payment-bg: #0d1015;
  --payment-border: #303b4c;
  --notice-border: #273649;
  --notice-text: #9aabc0;
  --notice-bg: #111b29;
  --quiet-bg: linear-gradient(145deg, #111419, #0d0f13);
  --quiet-mark-border: #35455b;
  --quiet-mark-bg: #121d2b;
  --footer-bg: #0b0d11;
  --footer-border: rgba(255, 255, 255, .07);
  --footer-muted: #717b89;
  --mobile-active-border: #385a82;
  --mobile-active-bg: #142033;
  --radius: 18px;
  --max: 1160px;
  --shadow: 0 24px 70px rgba(0, 0, 0, .38);
}

:root[data-theme="light"] {
  color-scheme: light;
  --bg: #f5f7fb;
  --surface: #ffffff;
  --surface-2: #f0f3f8;
  --surface-3: #e7edf5;
  --line: #dce3ec;
  --text: #172033;
  --muted: #697586;
  --muted-2: #4d5a6d;
  --accent: #367bd6;
  --accent-strong: #2868bd;
  --header-bg: rgba(255, 255, 255, .88);
  --header-border: rgba(23, 32, 51, .09);
  --orbit-border: #d8e2ef;
  --orbit-ring: rgba(66, 112, 170, .14);
  --orbit-ring-inner: rgba(66, 112, 170, .2);
  --orbit-core-bg: linear-gradient(145deg, #e8f1fc, #f8fbff 75%);
  --subtle-text: #8290a2;
  --rule-fade: rgba(220, 227, 236, 0);
  --feature-bg: linear-gradient(125deg, #ffffff, #f1f5fa);
  --hover-border: #9eb6d4;
  --active-border: #a9c8ee;
  --active-text: #245d9f;
  --active-bg: #eaf3ff;
  --card-hover-border: #a9c4e5;
  --image-bg: radial-gradient(circle at 50% 70%, #e5eef9, #f7f9fc 70%);
  --placeholder-text: #7892b2;
  --empty-border: #cbd5e2;
  --empty-bg: rgba(255, 255, 255, .72);
  --detail-bg: radial-gradient(circle at 50% 48%, #e5effb, #f7f9fc 68%);
  --input-border: #cbd5e1;
  --input-bg: #ffffff;
  --input-placeholder: #8a96a6;
  --help-text: #788597;
  --payment-bg: #f8fafc;
  --payment-border: #d2dce8;
  --notice-border: #c9dcf4;
  --notice-text: #45627f;
  --notice-bg: #edf5ff;
  --quiet-bg: linear-gradient(145deg, #ffffff, #f1f5fa);
  --quiet-mark-border: #c8d9ed;
  --quiet-mark-bg: #edf5ff;
  --footer-bg: #edf1f6;
  --footer-border: rgba(23, 32, 51, .1);
  --footer-muted: #748094;
  --mobile-active-border: #a9c8ee;
  --mobile-active-bg: #eaf3ff;
  --shadow: 0 20px 55px rgba(31, 55, 86, .12);
}

@media (prefers-color-scheme: light) {
  :root:not([data-theme]) {
    color-scheme: light;
    --bg: #f5f7fb;
    --surface: #ffffff;
    --surface-2: #f0f3f8;
    --surface-3: #e7edf5;
    --line: #dce3ec;
    --text: #172033;
    --muted: #697586;
    --muted-2: #4d5a6d;
    --accent: #367bd6;
    --accent-strong: #2868bd;
    --header-bg: rgba(255, 255, 255, .88);
    --header-border: rgba(23, 32, 51, .09);
    --orbit-border: #d8e2ef;
    --orbit-ring: rgba(66, 112, 170, .14);
    --orbit-ring-inner: rgba(66, 112, 170, .2);
    --orbit-core-bg: linear-gradient(145deg, #e8f1fc, #f8fbff 75%);
    --subtle-text: #8290a2;
    --rule-fade: rgba(220, 227, 236, 0);
    --feature-bg: linear-gradient(125deg, #ffffff, #f1f5fa);
    --hover-border: #9eb6d4;
    --active-border: #a9c8ee;
    --active-text: #245d9f;
    --active-bg: #eaf3ff;
    --card-hover-border: #a9c4e5;
    --image-bg: radial-gradient(circle at 50% 70%, #e5eef9, #f7f9fc 70%);
    --placeholder-text: #7892b2;
    --empty-border: #cbd5e2;
    --empty-bg: rgba(255, 255, 255, .72);
    --detail-bg: radial-gradient(circle at 50% 48%, #e5effb, #f7f9fc 68%);
    --input-border: #cbd5e1;
    --input-bg: #ffffff;
    --input-placeholder: #8a96a6;
    --help-text: #788597;
    --payment-bg: #f8fafc;
    --payment-border: #d2dce8;
    --notice-border: #c9dcf4;
    --notice-text: #45627f;
    --notice-bg: #edf5ff;
    --quiet-bg: linear-gradient(145deg, #ffffff, #f1f5fa);
    --quiet-mark-border: #c8d9ed;
    --quiet-mark-bg: #edf5ff;
    --footer-bg: #edf1f6;
    --footer-border: rgba(23, 32, 51, .1);
    --footer-muted: #748094;
    --mobile-active-border: #a9c8ee;
    --mobile-active-bg: #eaf3ff;
    --shadow: 0 20px 55px rgba(31, 55, 86, .12);
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--bg);
  color: var(--text);
  font: 15px/1.65 Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button:focus-visible,
a:focus-visible,
input:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

::selection {
  color: #fff;
  background: #315f9f;
}

.container {
  width: min(var(--max), calc(100% - 48px));
  margin-inline: auto;
}

/* Header and navigation */
.header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: var(--header-bg);
  border-bottom: 1px solid var(--header-border);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.nav {
  min-height: 76px;
  display: flex;
  align-items: center;
  gap: 38px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex: 0 0 auto;
}

.brand img {
  width: 31px;
  height: 31px;
}

.brand b {
  color: var(--text);
  font-size: 15px;
  font-weight: 850;
  letter-spacing: .105em;
}

.brand span,
.footer-brand span {
  color: var(--accent);
}

.links {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-left: auto;
}

.links a {
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  transition: color .18s ease;
}

.links a:hover,
.links a.active {
  color: var(--text);
}

.nav-action {
  margin-left: 2px;
}

.menu-toggle {
  display: none;
  min-width: 42px;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--text);
  background: var(--surface);
  cursor: pointer;
}

.theme-toggle {
  display: inline-flex;
  min-width: 42px;
  width: auto;
  height: 42px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 11px;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--text);
  background: var(--surface);
  font-size: 12px;
  font-weight: 650;
  cursor: pointer;
  transition: background-color .18s ease, border-color .18s ease, color .18s ease;
}

.theme-toggle:hover {
  border-color: var(--hover-border);
  background: var(--surface-2);
}

.theme-toggle svg {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
}

.theme-toggle-label {
  white-space: nowrap;
}

.menu-toggle svg {
  width: 18px;
  height: 18px;
  margin: auto;
}

.mobile-links {
  display: none;
}

/* Buttons */
.btn {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 19px;
  border: 1px solid var(--accent-strong);
  border-radius: 11px;
  color: #07101d;
  background: var(--accent);
  font-size: 13px;
  font-weight: 750;
  letter-spacing: .01em;
  cursor: pointer;
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
}

.btn:hover {
  transform: translateY(-1px);
  background: #8ab9ff;
  border-color: #8ab9ff;
}

.btn:active {
  transform: translateY(0);
}

.btn.small {
  min-height: 40px;
  padding-inline: 15px;
  font-size: 12px;
}

.btn.secondary {
  color: var(--text);
  background: transparent;
  border-color: var(--line);
}

.btn.secondary:hover {
  background: var(--surface-2);
  border-color: #414957;
}

.btn.full {
  width: 100%;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted-2);
  font-size: 13px;
  font-weight: 650;
  transition: color .18s ease;
}

.text-link:hover {
  color: var(--accent);
}

main {
  min-height: 66vh;
}

/* Home */
.hero {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: 58px;
  padding: 106px 0 91px;
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 620px;
}

.eyebrow,
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .19em;
  line-height: 1.4;
  text-transform: uppercase;
}

.eyebrow::before,

.hero h1 {
  max-width: 660px;
  margin: 23px 0 18px;
  font-size: clamp(48px, 6.6vw, 82px);
  font-weight: 790;
  letter-spacing: -.075em;
  line-height: .99;
}

.hero h1 span {
  color: var(--accent);
}

.hero-copy>p {
  max-width: 460px;
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
  margin-top: 32px;
}

.hero-visual {
  min-height: 365px;
  display: grid;
  place-items: center;
  position: relative;
}

.orbit {
  position: relative;
  width: min(100%, 390px);
  aspect-ratio: 1;
  border: 1px solid var(--orbit-border);
  border-radius: 50%;
  background: radial-gradient(circle at 50% 48%, rgba(75, 128, 202, .13), transparent 48%);
}

.orbit::before,
.orbit::after {
  position: absolute;
  inset: 12%;
  border: 1px solid var(--orbit-ring);
  border-radius: 50%;
  content: "";
}

.orbit::after {
  inset: 25%;
  border-color: var(--orbit-ring-inner);
}

.orbit-core {
  position: absolute;
  inset: 35%;
  display: grid;
  place-items: center;
  border: 1px solid rgba(118, 170, 240, .38);
  border-radius: 26px;
  background: var(--orbit-core-bg);
  box-shadow: 0 0 80px rgba(65, 130, 220, .18), inset 0 1px rgba(255, 255, 255, .08);
  transform: rotate(-8deg);
}

.orbit-core span {
  color: var(--text);
  font-size: clamp(36px, 5vw, 55px);
  font-weight: 850;
  letter-spacing: -.1em;
  transform: rotate(15deg);
  margin-right: 7px;
  margin-bottom: 5px;
  margin-left: 1px;
}

.orbit-point {
  position: absolute;
  z-index: 2;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 22px rgba(109, 168, 255, .9);
}

.orbit-point.one {
  top: 13%;
  left: 54%;
}

.orbit-point.two {
  right: 9%;
  top: 58%;
  width: 5px;
  height: 5px;
}

.orbit-point.three {
  left: 17%;
  bottom: 22%;
  width: 6px;
  height: 6px;
}

.visual-caption {
  position: absolute;
  right: 0;
  bottom: 4%;
  color: var(--subtle-text);
  font-size: 9px;
  font-weight: 750;
  letter-spacing: .22em;
  text-transform: uppercase;
}

.hero-rule {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, var(--line), var(--rule-fade));
}

.home-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 0 30px;
}

.home-strip p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.home-strip strong {
  color: var(--text);
  font-weight: 650;
}

.home-feature {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 30px;
  margin: 35px 0 100px;
  padding: 31px 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--feature-bg);
}

.home-feature .feature-label {
  display: block;
  margin-bottom: 8px;
  color: var(--accent);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .17em;
  text-transform: uppercase;
}

.home-feature h2 {
  margin: 0 0 7px;
  font-size: clamp(21px, 3vw, 28px);
  letter-spacing: -.045em;
}

.home-feature p {
  max-width: 540px;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

/* Page headings and content */
.page-heading {
  padding: 73px 0 35px;
}

.page-heading h1 {
  margin: 15px 0 9px;
  font-size: clamp(37px, 5vw, 54px);
  font-weight: 780;
  letter-spacing: -.065em;
  line-height: 1.06;
}

.page-heading p {
  max-width: 650px;
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
  margin: 26px 0 22px;
}

.section-heading h2 {
  margin: 0;
  font-size: 22px;
  letter-spacing: -.04em;
}

.section-heading p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.prose {
  max-width: 740px;
  padding-bottom: 70px;
}

.prose h2 {
  margin: 33px 0 8px;
  font-size: 20px;
  letter-spacing: -.035em;
}

.prose p,
.prose li {
  color: var(--muted-2);
}

.prose p:first-child {
  margin-top: 0;
}

/* Shop */
.catalog-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 10px 0 24px;
}

.filter {
  min-height: 37px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted-2);
  background: transparent;
  font-size: 12px;
  font-weight: 650;
  cursor: pointer;
  transition: all .16s ease;
}

.filter:hover {
  border-color: var(--hover-border);
  color: var(--text);
}

.filter.active {
  border-color: var(--active-border);
  color: var(--active-text);
  background: var(--active-bg);
}

.products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 15px;
  padding-bottom: 82px;
}

.product {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: var(--surface);
  transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}

.product:hover {
  transform: translateY(-3px);
  border-color: var(--card-hover-border);
  box-shadow: var(--shadow);
}

.product-image {
  display: grid;
  height: 190px;
  place-items: center;
  border-bottom: 1px solid var(--line);
  background: var(--image-bg);
}

.product-image img {
  width: 78%;
  height: 145px;
  object-fit: contain;
}

.product-placeholder {
  color: var(--placeholder-text);
  font-size: 42px;
  font-weight: 300;
}

.product-content {
  padding: 17px;
}

.product-content h3 {
  margin: 0 0 5px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -.015em;
}

.product-content p {
  min-height: 39px;
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}

.product-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.price {
  color: var(--text);
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
}

.empty-state {
  grid-column: 1 / -1;
  padding: 39px 22px;
  border: 1px dashed var(--empty-border);
  border-radius: 15px;
  background: var(--empty-bg);
  text-align: center;
}

.empty-state h3 {
  margin: 0 0 7px;
  color: var(--text);
  font-size: 17px;
}

.empty-state p {
  max-width: 520px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 13px;
}

.empty-state .btn {
  margin-top: 17px;
}

/* Product detail */
.breadcrumbs {
  margin: 26px 0 20px;
  color: var(--muted);
  font-size: 12px;
}

.breadcrumbs a {
  color: var(--muted-2);
}

.breadcrumbs a:hover {
  color: var(--accent);
}

.product-detail {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  align-items: start;
  gap: 42px;
  padding: 7px 0 82px;
}

.detail-art {
  display: grid;
  min-height: 350px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--detail-bg);
}

.detail-art img {
  max-width: 78%;
  max-height: 270px;
  object-fit: contain;
}

.detail-copy {
  padding: 10px 0;
}

.detail-copy h1 {
  margin: 14px 0 11px;
  font-size: clamp(34px, 4vw, 46px);
  letter-spacing: -.06em;
  line-height: 1.08;
}

.detail-copy p {
  color: var(--muted-2);
  font-size: 14px;
}

.detail-price {
  margin: 24px 0;
  font-size: 25px;
  font-weight: 850;
  letter-spacing: -.03em;
}

/* Checkout */
.form-layout {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: start;
  gap: 15px;
  padding-bottom: 85px;
}

.form-panel {
  padding: 25px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.form-panel h2 {
  margin: 0 0 19px;
  font-size: 18px;
  letter-spacing: -.03em;
}

.form-panel>p {
  color: var(--muted);
  font-size: 13px;
}

.field {
  margin-bottom: 17px;
}

.field label {
  display: block;
  margin-bottom: 7px;
  color: var(--muted-2);
  font-size: 12px;
  font-weight: 700;
}

.input {
  width: 100%;
  min-height: 47px;
  padding: 0 13px;
  border: 1px solid var(--input-border);
  border-radius: 10px;
  outline: none;
  color: var(--text);
  background: var(--input-bg);
  transition: border-color .16s ease, box-shadow .16s ease;
}

.input::placeholder {
  color: var(--input-placeholder);
}

.input:focus {
  border-color: #5b91d0;
  box-shadow: 0 0 0 3px rgba(109, 168, 255, .11);
}

.help {
  margin-top: 6px;
  color: var(--help-text);
  font-size: 11px;
}

.payment-methods {
  display: grid;
  gap: 9px;
  margin: 17px 0;
}

.payment-method {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: var(--payment-bg);
}

.payment-mark {
  display: grid;
  width: 37px;
  height: 37px;
  place-items: center;
  border: 1px solid var(--payment-border);
  border-radius: 9px;
  color: var(--accent);
  font-size: 16px;
}

.payment-method strong {
  display: block;
  color: var(--text);
  font-size: 12px;
}

.payment-method span {
  color: var(--muted);
  font-size: 11px;
}

.notice {
  padding: 13px 14px;
  border: 1px solid var(--notice-border);
  border-radius: 10px;
  color: var(--notice-text);
  background: var(--notice-bg);
  font-size: 11px;
  line-height: 1.65;
}

.status-message {
  min-height: 20px;
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.quiet-panel {
  display: flex;
  min-height: 245px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--quiet-bg);
  text-align: center;
}

.quiet-mark {
  display: grid;
  width: 47px;
  height: 47px;
  place-items: center;
  margin-bottom: 18px;
  border: 1px solid var(--quiet-mark-border);
  border-radius: 14px;
  color: var(--accent);
  background: var(--quiet-mark-bg);
  font-size: 17px;
}

.quiet-panel h2 {
  margin: 0 0 7px;
  font-size: 19px;
  letter-spacing: -.035em;
}



.quiet-panel p {
  max-width: 430px;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.page-bottom-space {
  padding-bottom: 12px;
}

.quiet-panel.page-bottom-space {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-flow: row;
  align-items: start;
  justify-content: stretch;
  gap: 45px 55px;

  width: 100%;
  min-height: auto;
  padding: 40px 35px;

  background: var(--quiet-bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);

  text-align: left;
}

.rulespage,
.rulespage_2,
.rulespage_3,
.rulespage_4 {
  width: 100%;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transform: none;
  text-align: left;
}

.rulespage h2,
.rulespage_2 h2,
.rulespage_3 h2,
.rulespage_4 h2 {
  font-size: 60px;
  color: var(--text);
  margin: 0 0 15px;
}

.rulespage p,
.rulespage_2 p,
.rulespage_3 p,
.rulespage_4 p {
  width: 100%;
  font-size: 15px;
  color: var(--text);
  margin: 5px 0;
}

@media (max-width: 680px) {
  .quiet-panel.page-bottom-space {
    grid-template-columns: minmax(0, 1fr);
    gap: 35px;
    padding: 25px 18px;
  }

  .rulespage h2,
  .rulespage_2 h2,
  .rulespage_3 h2,
  .rulespage_4 h2 {
    font-size: 38px;
  }
}

.rulespage,
.rulespage_2,
.rulespage_3,
.rulespage_4 {
  display: flex;
  flex-direction: column;
  width: 100%;
  min-width: 0;
  text-align: left;
  transform: none;
}

.rulespage h2,
.rulespage_2 h2,
.rulespage_3 h2,
.rulespage_4 h2 {
  font-size: 60px;
  color: var(--text);
  margin: 0 0 10px;
}

.rulespage p,
.rulespage_2 p,
.rulespage_3 p,
.rulespage_4 p {
  font-size: 15px;
  color: var(--text);
  margin: 5px 0;
}

@media (max-width: 680px) {
  .quiet-panel.page-bottom-space {
    grid-template-columns: 1fr;
    gap: 35px;
    padding: 25px 18px;
  }

  .rulespage h2,
  .rulespage_2 h2,
  .rulespage_3 h2,
  .rulespage_4 h2 {
    font-size: 38px;
  }
}

.not-found {
  padding: 92px 0 105px;
  text-align: center;
}

.not-found .code {
  color: var(--muted-2);
  font-size: clamp(72px, 13vw, 132px);
  font-weight: 850;
  letter-spacing: -.1em;
  line-height: 1;
}

.not-found h1 {
  margin: 18px 0 7px;
  font-size: 30px;
  letter-spacing: -.05em;
}

.not-found p {
  margin: 0 0 22px;
  color: var(--muted);
}

.hidden {
  display: none !important;
}

/* Footer */
.footer {
  border-top: 1px solid var(--footer-border);
  background: var(--footer-bg);
}

.footer-inner {
  display: flex;
  min-height: 104px;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.footer-brand {
  color: var(--text);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: .12em;
}

.footer small {
  display: block;
  margin-top: 4px;
  color: var(--footer-muted);
  font-size: 11px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
}

.footer-links a {
  color: var(--muted);
  font-size: 11px;
  transition: color .16s ease;
}

.footer-links a:hover {
  color: var(--text);
}

@media (max-width: 900px) {
  .nav {
    gap: 18px;
  }

  .links {
    gap: 15px;
  }

  .theme-toggle {
    width: 42px;
    min-width: 42px;
    padding: 0;
  }

  .theme-toggle-label {
    display: none;
  }

  .hero {
    gap: 20px;
    padding-top: 84px;
  }

  .hero-visual {
    min-height: 310px;
  }

  .products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .container {
    width: calc(100% - 32px);
  }

  .nav {
    min-height: 68px;
    gap: 12px;
  }

  .links,
  .nav-action {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
  }

  .theme-toggle {
    width: 42px;
    min-width: 42px;
    padding: 0;
  }

  .theme-toggle-label {
    display: none;
  }

  .mobile-links.open {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
    padding: 0 0 14px;
  }

  .mobile-links a {
    padding: 11px 12px;
    border: 1px solid var(--line);
    border-radius: 9px;
    color: var(--muted-2);
    background: var(--surface);
    font-size: 12px;
    font-weight: 650;
  }

  .mobile-links a.active {
    border-color: var(--mobile-active-border);
    color: var(--active-text);
    background: var(--mobile-active-bg);
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 15px;
    padding: 67px 0 44px;
  }

  .hero h1 {
    max-width: 520px;
    font-size: clamp(48px, 13vw, 70px);
  }

  .hero-copy>p {
    font-size: 14px;
  }

  .hero-visual {
    min-height: auto;
    padding: 13px 0 24px;
  }

  .orbit {
    width: min(78vw, 315px);
  }

  .visual-caption {
    right: 2%;
    bottom: 1%;
  }

  .home-strip {
    align-items: flex-start;
    flex-direction: column;
    gap: 9px;
    padding: 20px 0 24px;
  }

  .home-feature {
    grid-template-columns: 1fr;
    gap: 21px;
    margin: 26px 0 65px;
    padding: 24px 21px;
  }

  .home-feature .btn {
    width: 100%;
  }

  .page-heading {
    padding: 52px 0 27px;
  }

  .page-heading h1 {
    font-size: 39px;
  }

  .section-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .products {
    grid-template-columns: 1fr;
    gap: 12px;
    padding-bottom: 62px;
  }

  .product-image {
    height: 175px;
  }

  .product-detail,
  .form-layout {
    grid-template-columns: 1fr;
    gap: 13px;
    padding-bottom: 62px;
  }

  .detail-art {
    min-height: 245px;
  }

  .detail-art img {
    max-height: 190px;
  }

  .detail-copy {
    padding: 6px 0;
  }

  .form-panel {
    padding: 19px;
  }

  .quiet-panel {
    min-height: 210px;
  }

  .page-bottom-space {
    padding-bottom: 62px;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
    padding: 23px 0;
  }

  .footer-links {
    gap: 14px 20px;
  }

  .not-found {
    padding: 72px 0 85px;
  }
}

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}

.quiet-panel.page-bottom-space>h2 {
  position: relative;
  top: 65px;
  right: 572px;
}