:root {
  color-scheme: dark;
  --bg: #0a0c0f;
  --bg-deep: #07090c;
  --header-bg: rgba(10, 12, 15, 0.72);
  --surface: rgba(255, 255, 255, 0.035);
  --surface-strong: rgba(255, 255, 255, 0.06);
  --text: #f2f3ef;
  --muted: #aab1ad;
  --subtle: #7b837f;
  --line: rgba(255, 255, 255, 0.12);
  --line-strong: rgba(255, 255, 255, 0.22);
  --accent: #e8b676;
  --accent-soft: rgba(232, 182, 118, 0.14);
  --accent-ink: #19130d;
  --blue: #89a9ff;
  --halo-a: rgba(232, 182, 118, 0.15);
  --halo-b: rgba(137, 169, 255, 0.1);
  --dot: rgba(255, 255, 255, 0.16);
  --layer-line: rgba(137, 169, 255, 0.09);
  --layer-line-strong: rgba(186, 203, 255, 0.16);
  --layer-glow: rgba(137, 169, 255, 0.14);
  --layer-glow-secondary: rgba(232, 182, 118, 0.09);
  --layer-flow: rgba(146, 203, 255, 0.14);
  --layer-node: rgba(214, 228, 255, 0.26);
  --shadow: 0 28px 90px rgba(0, 0, 0, 0.24);
  --max-content: 1280px;
  --radius: 20px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

html[data-theme="light"] {
  color-scheme: light;
  --bg: #f5f6f3;
  --bg-deep: #eceeea;
  --header-bg: rgba(245, 246, 243, 0.78);
  --surface: rgba(18, 23, 28, 0.035);
  --surface-strong: rgba(18, 23, 28, 0.06);
  --text: #15181b;
  --muted: #5f6865;
  --subtle: #68716d;
  --line: rgba(18, 23, 28, 0.14);
  --line-strong: rgba(18, 23, 28, 0.24);
  --accent: #a8672e;
  --accent-soft: rgba(168, 103, 46, 0.12);
  --accent-ink: #fffaf3;
  --blue: #4e69aa;
  --halo-a: rgba(201, 143, 77, 0.13);
  --halo-b: rgba(92, 123, 197, 0.09);
  --dot: rgba(18, 23, 28, 0.14);
  --shadow: 0 28px 90px rgba(28, 35, 31, 0.1);
}

* {
  box-sizing: border-box;
}

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

body {
  position: relative;
  min-width: 320px;
  min-height: 100%;
  margin: 0;
  overflow-x: hidden;
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-deep) 100%);
  color: var(--text);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: clamp(1rem, 0.94rem + 0.2vw, 1.125rem);
  line-height: 1.55;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body::before,
body::after {
  position: fixed;
  inset: 0;
  pointer-events: none;
  content: "";
}

body::before {
  z-index: 0;
  background:
    radial-gradient(ellipse 52rem 32rem at 12% 2%, var(--halo-a), transparent 70%),
    radial-gradient(ellipse 44rem 32rem at 94% 48%, var(--halo-b), transparent 72%);
  filter: blur(26px);
  opacity: 0.9;
  will-change: transform;
  animation: background-drift 34s ease-in-out infinite alternate;
}

body::after {
  z-index: 0;
  background-image: radial-gradient(circle, var(--dot) 0.75px, transparent 0.9px);
  background-position: center top;
  background-size: 24px 24px;
  opacity: 0.34;
  will-change: background-position;
  animation: dot-drift 28s linear infinite;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 88%);
  mask-image: linear-gradient(180deg, #000 0%, transparent 88%);
}

body[data-site="aihardware"] {
  --halo-a: rgba(211, 157, 83, 0.16);
  --halo-b: rgba(89, 139, 199, 0.11);
  --layer-line: rgba(197, 166, 116, 0.1);
  --layer-line-strong: rgba(225, 204, 164, 0.18);
  --layer-glow: rgba(211, 157, 83, 0.17);
  --layer-glow-secondary: rgba(89, 139, 199, 0.12);
  --layer-flow: rgba(180, 213, 238, 0.15);
  --layer-node: rgba(231, 220, 198, 0.28);
  --dot: rgba(210, 190, 154, 0.14);
}

html[data-theme="light"] body[data-site="aihardware"] {
  --halo-a: rgba(181, 120, 45, 0.12);
  --halo-b: rgba(67, 108, 166, 0.09);
  --layer-line: rgba(142, 101, 44, 0.1);
  --layer-line-strong: rgba(167, 122, 61, 0.16);
  --layer-glow: rgba(176, 112, 41, 0.13);
  --layer-glow-secondary: rgba(73, 117, 175, 0.09);
  --layer-flow: rgba(79, 129, 170, 0.12);
  --layer-node: rgba(98, 82, 59, 0.22);
  --dot: rgba(96, 78, 51, 0.12);
}

::selection {
  background: var(--accent);
  color: var(--accent-ink);
}

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

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

button,
input,
textarea {
  font: inherit;
}

button {
  border: 0;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 4px;
}

p,
h1,
h2,
h3 {
  margin-block: 0;
}

.site-shell {
  position: relative;
  z-index: 1;
  min-height: 100svh;
  isolation: isolate;
}

.site-shell::before,
.site-shell::after {
  position: fixed;
  inset: -8%;
  z-index: 0;
  pointer-events: none;
  content: "";
  will-change: transform, background-position, opacity;
}

.site-shell::before {
  background:
    radial-gradient(ellipse 42rem 24rem at 18% 24%, var(--layer-glow), transparent 72%),
    radial-gradient(ellipse 36rem 22rem at 82% 68%, var(--layer-glow-secondary), transparent 74%),
    linear-gradient(112deg, transparent 0 48%, var(--layer-line) 48.2% 48.45%, transparent 48.7%);
  background-size: 100% 100%, 100% 100%, 640px 520px;
  opacity: 0.22;
  animation: ambient-layer 46s ease-in-out infinite alternate;
}

.site-shell::after {
  background-image: radial-gradient(circle, var(--layer-node) 0 0.7px, transparent 1.2px);
  background-position: center top;
  background-size: 38px 38px;
  opacity: 0.14;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 18%, #000 72%, transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0%, #000 18%, #000 72%, transparent 100%);
  animation: ambient-points 24s linear infinite;
}

body[data-site="aihardware"] .site-shell::before {
  background:
    radial-gradient(ellipse 38rem 24rem at 16% 24%, var(--layer-glow), transparent 73%),
    radial-gradient(ellipse 34rem 22rem at 84% 72%, var(--layer-glow-secondary), transparent 75%),
    repeating-linear-gradient(90deg, transparent 0 58px, var(--layer-line) 59px 60px, transparent 61px 118px),
    repeating-linear-gradient(0deg, transparent 0 58px, var(--layer-line) 59px 60px, transparent 61px 118px);
  background-size: 100% 100%, 100% 100%, 118px 118px, 118px 118px;
  background-position: 0 0, 0 0, 0 0, 0 0;
  opacity: 0.27;
  animation: hardware-grid 52s ease-in-out infinite alternate;
}

body[data-site="aihardware"] .site-shell::after {
  background:
    linear-gradient(112deg, transparent 0 48%, var(--layer-line-strong) 48.2% 48.5%, transparent 48.8%),
    linear-gradient(28deg, transparent 0 52%, var(--layer-flow) 52.2% 52.5%, transparent 52.8%),
    radial-gradient(circle, var(--layer-node) 0 1px, transparent 1.8px);
  background-size: 520px 440px, 640px 520px, 94px 94px;
  background-position: 0 0, 120px 0, 0 0;
  opacity: 0.18;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 16%, #000 84%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 16%, #000 84%, transparent 100%);
  animation: hardware-traces 30s linear infinite;
}

.container {
  width: calc(100% - 2rem);
  max-width: var(--max-content);
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 100;
  padding: 0.7rem 1rem;
  transform: translateY(-150%);
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 0.85rem;
  font-weight: 700;
  transition: transform 180ms var(--ease);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  z-index: 20;
  background: linear-gradient(180deg, var(--header-bg), transparent);
}

.header-inner {
  display: flex;
  min-height: 88px;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: baseline;
  color: var(--text);
  font-size: 0.86rem;
  font-weight: 750;
  letter-spacing: -0.045em;
}

.brand-suffix,
.footer-domain,
.section-label,
.contact-email {
  color: var(--accent);
}

.header-meta {
  color: var(--subtle);
  font-size: 0.65rem;
  font-weight: 750;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.theme-toggle {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.55rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 0.72rem;
  font-weight: 650;
  transition: border-color 180ms ease, background 180ms ease, color 180ms ease;
}

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

.theme-icon {
  color: var(--accent);
  font-size: 1rem;
  line-height: 1;
}

.hero {
  display: flex;
  min-height: min(92svh, 960px);
  align-items: center;
  padding: 8.5rem 0 4.5rem;
}

.hero-inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-kicker,
.price-label,
.section-label,
.contact-label {
  color: var(--subtle);
  font-size: 0.68rem;
  font-weight: 750;
  letter-spacing: 0.14em;
  line-height: 1.3;
  text-transform: uppercase;
}

.hero-kicker {
  margin-bottom: 1.4rem;
  color: var(--accent);
}

.hero-domain {
  color: var(--text);
  font-size: clamp(3.5rem, 8.2vw, 8rem);
  font-weight: 650;
  letter-spacing: -0.085em;
  line-height: 0.88;
  white-space: nowrap;
}

.hero-domain-suffix {
  color: var(--accent);
}

.hero-positioning {
  max-width: 46rem;
  margin-top: clamp(1.8rem, 3.5vw, 3rem);
  color: var(--text);
  font-size: clamp(1.25rem, 1.8vw, 1.65rem);
  letter-spacing: -0.035em;
  line-height: 1.18;
}

.hero-acquisition {
  display: flex;
  width: min(100%, 64rem);
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  margin-top: clamp(3.75rem, 8vw, 7rem);
  padding-top: 1.35rem;
  border-top: 1px solid var(--line-strong);
}

.price-label {
  display: block;
  margin-bottom: 0.55rem;
}

.price {
  color: var(--text);
  font-size: clamp(2.8rem, 5vw, 4.5rem);
  font-weight: 600;
  letter-spacing: -0.075em;
  line-height: 0.95;
  white-space: nowrap;
}

.button {
  display: inline-flex;
  min-height: 3.5rem;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  padding: 0.8rem 1.25rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 750;
  letter-spacing: -0.01em;
  transition: transform 180ms var(--ease), background 180ms ease, border-color 180ms ease, color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--accent);
  color: var(--accent-ink);
  box-shadow: 0 14px 34px var(--accent-soft);
}

.button-primary:hover {
  background: var(--text);
  color: var(--bg);
}

.asset-note {
  max-width: 42rem;
  margin-top: 1.15rem;
  color: var(--subtle);
  font-size: 0.76rem;
}

.section {
  padding: clamp(5.5rem, 11vw, 10rem) 0;
  border-top: 1px solid var(--line);
}

.section-soft {
  background: linear-gradient(180deg, var(--surface), transparent 48%, var(--surface));
}

.section-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(3rem, 10vw, 10rem);
  align-items: start;
}

.section-label {
  margin-bottom: 1.35rem;
  color: var(--accent);
}

.section h2 {
  max-width: 11ch;
  color: var(--text);
  font-size: clamp(2.35rem, 5.1vw, 5.2rem);
  font-weight: 560;
  letter-spacing: -0.07em;
  line-height: 0.96;
}

.section-copy {
  max-width: 46rem;
  color: var(--muted);
  font-size: clamp(1rem, 1.25vw, 1.16rem);
}

.section-copy p + p {
  margin-top: 1rem;
}

.transfer-points {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 2rem;
  margin-top: 2.5rem;
  border-top: 1px solid var(--line);
}

.transfer-point {
  padding: 1.25rem 0 1.4rem;
  border-bottom: 1px solid var(--line);
}

.transfer-point strong {
  display: block;
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.transfer-point span {
  display: block;
  margin-top: 0.4rem;
  color: var(--subtle);
  font-size: 0.82rem;
}

.inquiry-section {
  padding-bottom: clamp(5.5rem, 11vw, 9rem);
}

.inquiry-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem 1.1rem;
  max-width: 48rem;
}

.field {
  display: grid;
  gap: 0.55rem;
}

.field-wide,
.form-actions {
  grid-column: 1 / -1;
}

.field label {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 650;
}

.field input,
.field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  outline: 0;
  background: var(--surface);
  color: var(--text);
  transition: border-color 180ms ease, background 180ms ease;
}

.field input {
  min-height: 3.35rem;
  padding: 0.75rem 0.9rem;
}

.field textarea {
  min-height: 9.5rem;
  padding: 0.85rem 0.9rem;
  resize: vertical;
}

.field input:hover,
.field textarea:hover,
.field input:focus,
.field textarea:focus {
  border-color: var(--line-strong);
  background: var(--surface-strong);
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.5rem;
  margin-top: 0.35rem;
}

.form-status {
  color: var(--subtle);
  font-size: 0.78rem;
}

.contact-address {
  margin-top: 2.2rem;
  color: var(--subtle);
  font-size: 0.82rem;
}

.contact-email {
  display: inline-block;
  margin-top: 0.45rem;
  font-size: 1rem;
  font-weight: 700;
  transition: color 180ms ease;
}

.contact-email:hover {
  color: var(--text);
}

.site-footer {
  border-top: 1px solid var(--line);
}

.footer-inner {
  display: flex;
  min-height: 7rem;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
  color: var(--subtle);
  font-size: 0.72rem;
}

.footer-domain {
  color: var(--text);
  font-weight: 700;
}

.footer-legal {
  max-width: 42rem;
  text-align: right;
}

.not-found {
  display: grid;
  min-height: 100svh;
  place-items: center;
  padding: 8rem 0;
  text-align: center;
}

.not-found-inner {
  max-width: 44rem;
  margin-inline: auto;
}

.not-found h1 {
  color: var(--text);
  font-size: clamp(2.8rem, 7vw, 6.5rem);
  font-weight: 560;
  letter-spacing: -0.08em;
  line-height: 0.95;
}

.not-found-copy {
  max-width: 28rem;
  margin: 1.4rem auto 2rem;
  color: var(--muted);
}

@keyframes background-drift {
  from {
    transform: translate3d(-1%, -1%, 0) scale(1);
  }
  to {
    transform: translate3d(2%, 1%, 0) scale(1.035);
  }
}

@keyframes dot-drift {
  from {
    background-position: center top;
  }
  to {
    background-position: 24px 24px;
  }
}

@keyframes ambient-layer {
  from {
    transform: translate3d(-1%, -0.6%, 0) scale(1.02);
  }
  to {
    transform: translate3d(1.2%, 0.8%, 0) scale(1.045);
  }
}

@keyframes ambient-points {
  from {
    background-position: center top;
  }
  to {
    background-position: 26px 18px;
  }
}

@keyframes hardware-grid {
  from {
    transform: translate3d(-0.7%, 0.4%, 0) scale(1.02);
    background-position: 0 0, 0 0, 0 0, 0 0;
  }
  to {
    transform: translate3d(0.8%, -0.5%, 0) scale(1.045);
    background-position: 28px 22px, -24px 30px, 30px -18px, -18px 26px;
  }
}

@keyframes hardware-traces {
  from {
    background-position: 0 0, 120px 0, 0 0;
    opacity: 0.13;
  }
  to {
    background-position: 120px -24px, -160px 22px, 34px 44px;
    opacity: 0.22;
  }
}

@media (min-width: 480px) {
  .container {
    width: calc(100% - 3rem);
  }
}

@media (min-width: 768px) and (max-width: 1199px) {
  .container {
    width: calc(100% - 4rem);
  }

  .hero {
    min-height: min(88svh, 820px);
    padding-top: 7rem;
  }

  .hero-domain {
    font-size: clamp(4.2rem, 8.4vw, 6.2rem);
  }

  .hero-positioning {
    font-size: clamp(1.25rem, 2.2vw, 1.45rem);
  }

  .section-grid {
    gap: clamp(3rem, 7vw, 5rem);
  }
}

@media (min-width: 1200px) {
  .container {
    width: calc(100% - 6rem);
  }
}

@media (min-width: 1600px) {
  .hero {
    min-height: min(90svh, 960px);
  }
}

@media (max-width: 767px) {
  .header-inner {
    min-height: 76px;
  }

  .header-meta {
    display: none;
  }

  .hero {
    min-height: auto;
    padding-top: 8rem;
    padding-bottom: 5.5rem;
  }

  .hero-domain {
    font-size: clamp(2.3rem, 11.5vw, 4.2rem);
    line-height: 0.92;
  }

  .hero-positioning {
    max-width: 32rem;
    margin-top: 1.7rem;
    font-size: clamp(1.14rem, 4.8vw, 1.35rem);
    line-height: 1.2;
  }

  .hero-acquisition {
    align-items: stretch;
    flex-direction: column;
    gap: 1.8rem;
    margin-top: 3.5rem;
  }

  .price {
    font-size: clamp(2.2rem, 10vw, 3.2rem);
  }

  .hero-acquisition .button {
    width: 100%;
  }

  .section {
    padding: 5.5rem 0;
  }

  .section-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 3rem;
  }

  .section h2 {
    max-width: 12ch;
    font-size: clamp(2.45rem, 12vw, 4rem);
  }

  .section-copy {
    font-size: 1rem;
  }

  .transfer-points,
  .inquiry-form {
    grid-template-columns: minmax(0, 1fr);
  }

  .field-wide,
  .form-actions {
    grid-column: auto;
  }

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

  .form-actions .button {
    width: 100%;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    padding: 1.5rem 0;
  }

  .footer-legal {
    max-width: 30rem;
    text-align: left;
  }
}

@media (max-width: 479px) {
  .container {
    width: calc(100% - 2.5rem);
  }

  .theme-label {
    display: none;
  }

  .hero-domain {
    font-size: clamp(2.2rem, 11.5vw, 3.5rem);
  }

  .not-found h1 {
    font-size: clamp(2.8rem, 14vw, 4.5rem);
  }
}

@media (max-width: 767px) {
  body::before {
    filter: blur(20px);
    opacity: 0.74;
  }

  body::after {
    background-size: 32px 32px;
    opacity: 0.22;
  }

  .site-shell::before {
    inset: -12%;
    opacity: 0.2 !important;
  }

  .site-shell::after {
    inset: -4%;
    opacity: 0.13 !important;
  }

  body[data-site="aihardware"] .site-shell::before {
    background-size: 100% 100%, 100% 100%, 144px 144px, 144px 144px;
  }

  body[data-site="aihardware"] .site-shell::after {
    background-size: 680px 560px, 800px 640px, 120px 120px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  body::before,
  body::after,
  .site-shell::before,
  .site-shell::after {
    animation: none;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}
