/* 2by9 STUDIO coming-soon page. Fallback scheme is the default (no JS required).
   Known hosts set data-scheme on <html> via assets/theme.js. */

:root,
[data-scheme="fallback"] {
  --bg-top: #fff8f1;
  --bg-bottom: #ffe8d2;
  --surface: #ffffff;
  --text: #1c2740;
  --text-muted: #3d4a63;
  --accent: #ad3f00;
  --accent-hover: #8f3400;
  --button-text: #ffffff;
  --border: #f0c9a8;
  --bar: #ad3f00;
  --shadow: 0 8px 28px rgba(28, 39, 64, 0.12);
}

[data-scheme="2by9studio.com"] {
  --bg-top: #fff6ec;
  --bg-bottom: #ffd9b8;
  --border: #f0c19a;
  --accent: #a83e00;
  --accent-hover: #8a3300;
  --bar: #a83e00;
}

[data-scheme="2by9studio.net"] {
  --bg-top: #fff9f4;
  --bg-bottom: #f3e6d8;
  --border: #e4d2bf;
  --accent: #a83e00;
  --accent-hover: #8a3300;
  --bar: #a83e00;
}

[data-scheme="2by9studio.io"] {
  --bg-top: #f6faff;
  --bg-bottom: #e4f0fb;
  --border: #c5d6ea;
  --accent: #ad3f00;
  --accent-hover: #8f3400;
  --bar: #ad3f00;
}

[data-scheme="2by9studio.app"] {
  --bg-top: #fffbef;
  --bg-bottom: #ffe7b3;
  --border: #f0d48a;
  --accent: #a33c00;
  --accent-hover: #862f00;
  --bar: #a33c00;
}

[data-scheme="2by9.app"] {
  --bg-top: #fff3e8;
  --bg-bottom: #ffd0b0;
  --border: #f0b892;
  --accent: #a33c00;
  --accent-hover: #862f00;
  --bar: #a33c00;
}

[data-scheme="2by9.io"] {
  --bg-top: #f4faff;
  --bg-bottom: #dceaf8;
  --border: #bcd0e6;
  --accent: #ad3f00;
  --accent-hover: #8f3400;
  --bar: #ad3f00;
}

[data-scheme="2by9.net"] {
  --bg-top: #fbf7f0;
  --bg-bottom: #efe4d0;
  --border: #e0d2b8;
  --accent: #a83e00;
  --accent-hover: #8a3300;
  --bar: #a83e00;
}

[data-scheme="2by9wheeler.com"] {
  --bg-top: #fff4e8;
  --bg-bottom: #ffd4a8;
  --border: #f0c08a;
  --accent: #a33c00;
  --accent-hover: #862f00;
  --bar: #a33c00;
}

[data-scheme="weatherrig.app"] {
  --bg-top: #fff7ee;
  --bg-bottom: #e8f1ff;
  --border: #c9d8ee;
  --accent: #ad3f00;
  --accent-hover: #8f3400;
  --bar: #ad3f00;
}

[data-scheme="weatherrig.io"] {
  --bg-top: #f8fbff;
  --bg-bottom: #e3eef9;
  --border: #c5d4e6;
  --accent: #ad3f00;
  --accent-hover: #8f3400;
  --bar: #ad3f00;
}

[data-scheme="rigway.app"] {
  --bg-top: #fff8f0;
  --bg-bottom: #ffe0c4;
  --border: #f0c4a0;
  --accent: #a83e00;
  --accent-hover: #8a3300;
  --bar: #a83e00;
}

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

html {
  color-scheme: light;
}

html,
body {
  margin: 0;
  padding: 0;
  min-height: 100%;
}

body {
  font-family: system-ui, "Segoe UI", Roboto, "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: var(--text);
  background-color: var(--bg-top);
  background-image: linear-gradient(180deg, var(--bg-top) 0%, var(--bg-bottom) 100%);
  background-attachment: fixed;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

.topbar {
  height: 6px;
  background: var(--bar);
}

main {
  max-width: 40rem;
  margin: 0 auto;
  padding: 2.75rem 1.5rem 3.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.logo {
  display: block;
  width: min(280px, 72vw);
  height: auto;
  box-shadow: var(--shadow);
}

.tagline {
  margin: 1.25rem 0 0;
  max-width: 34rem;
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--text);
  line-height: 1.4;
}


.coming {
  margin: 1.75rem 0 0;
  font-size: clamp(1.65rem, 4.5vw, 2.15rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--text);
}

.products {
  margin-top: 2.25rem;
  width: 100%;
}

.products h2 {
  margin: 0 0 1rem;
  font-size: 1.15rem;
  font-weight: 650;
  color: var(--text);
}

.buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.85rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 11.5rem;
  min-height: 3rem;
  padding: 0.75rem 1.35rem;
  border-radius: 8px;
  background: var(--accent);
  color: var(--button-text);
  font-size: 1.05rem;
  font-weight: 650;
  text-decoration: none;
  border: 2px solid var(--accent);
}

.btn:hover,
.btn:focus-visible {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
}

.btn:focus-visible,
.contact a:focus-visible {
  outline: 3px solid var(--text);
  outline-offset: 3px;
}

.contact {
  margin: 2.5rem 0 0;
  font-size: 0.98rem;
  color: var(--text-muted);
}

.contact a {
  color: var(--accent);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

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

@media (max-width: 480px) {
  main {
    padding: 2rem 1.15rem 2.75rem;
  }

  .buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    min-width: 0;
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
  }
}
