﻿/* ------------------------------------------------------------
   luvuficesolution — dark commerce studio
   Tokens measured from the reference storefront build service.
   ------------------------------------------------------------ */

:root {
  --bg: #000000;
  --bg-alt: #080909;
  --surface: #0d0f11;
  --surface-2: #121518;
  --ink: #ffffff;
  --muted: #999999;
  --muted-2: #6b6b6b;
  --line: rgba(255, 255, 255, 0.12);
  --line-strong: rgba(255, 255, 255, 0.24);
  --accent: #0099ff;
  --accent-dim: #0086e0;
  --accent-ink: #001a33;
  --radius-sm: 8px;
  --radius: 16px;
  --radius-lg: 24px;
  --container: 1200px;
  --header-h: 72px;
  --font-display: 'Space Grotesk', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --font-body: 'Inter', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

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

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

h1,
h2,
h3,
p,
figure,
blockquote,
ul,
ol {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

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

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

.skip-link {
  position: absolute;
  top: -100px;
  left: 24px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--ink);
  color: #000000;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
}

.skip-link:focus {
  top: 16px;
}

/* ---------------- typography helpers ---------------- */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}

.eyebrow::before {
  content: '';
  width: 18px;
  height: 1px;
  background: currentColor;
}

.eyebrow-light {
  color: var(--accent-ink);
}

.section-title {
  margin-top: 20px;
  font-family: var(--font-display);
  font-size: clamp(27px, 3.2vw, 42px);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.045em;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 56px;
  margin-bottom: 56px;
}

.section-head-stack {
  display: block;
}

.section-note {
  max-width: 430px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 500;
  color: var(--accent);
  padding-bottom: 3px;
  border-bottom: 1px solid rgba(0, 153, 255, 0.35);
  transition: border-color 0.2s var(--ease), gap 0.2s var(--ease);
}

.text-link:hover {
  border-color: var(--accent);
  gap: 14px;
}

.tag {
  display: inline-flex;
  align-items: center;
  height: 26px;
  padding: 0 12px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}

/* ---------------- buttons ---------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 48px;
  padding: 0 26px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: transform 0.2s var(--ease), background-color 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--ink);
  color: #000000;
}

.btn-primary:hover {
  background: var(--accent);
  color: #ffffff;
}

.btn-outline {
  background: transparent;
  border-color: var(--line-strong);
  color: var(--ink);
}

.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.btn-lg {
  height: 54px;
  padding: 0 30px;
  font-size: 16px;
}

.btn-sm {
  height: 40px;
  padding: 0 20px;
  font-size: 13px;
}

/* ---------------- header ---------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--header-h);
  background: rgba(0, 0, 0, 0.6);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transition: background-color 0.25s var(--ease), border-color 0.25s var(--ease);
}

.site-header.is-scrolled {
  background: rgba(0, 0, 0, 0.92);
  border-bottom-color: var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.brand-mark {
  position: relative;
  width: 18px;
  height: 18px;
  border: 2px solid var(--accent);
  border-radius: 50%;
  flex: none;
}

.brand-mark::after {
  content: '';
  position: absolute;
  inset: 5px;
  background: var(--accent);
  border-radius: 50%;
}

.brand-word {
  color: var(--ink);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 34px;
}

.nav-link {
  position: relative;
  font-size: 14px;
  color: var(--muted);
  transition: color 0.2s var(--ease);
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--ink);
}

.nav-link.is-active::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -7px;
  height: 1px;
  background: var(--accent);
}

.nav-link-mobile {
  display: none;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 15px;
  height: 1.5px;
  margin: 4px auto;
  background: var(--ink);
  transition: transform 0.2s var(--ease), opacity 0.2s var(--ease);
}

/* ---------------- hero ---------------- */

.hero {
  position: relative;
  overflow: hidden;
  padding: 92px 0 30px;
}

.hero-glow {
  position: absolute;
  top: -260px;
  left: 50%;
  width: 1100px;
  height: 760px;
  transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(0, 153, 255, 0.17), rgba(0, 153, 255, 0.04) 55%, transparent 78%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(10, 23, 25, 0.6);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--muted);
}

.hero-kicker-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px rgba(0, 153, 255, 0.8);
}

.hero-title {
  max-width: 980px;
  margin-top: 28px;
  font-family: var(--font-display);
  font-size: clamp(40px, 5.6vw, 64px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.05em;
}

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

.hero-lead {
  max-width: 620px;
  margin-top: 26px;
  font-size: 18px;
  line-height: 1.6;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.hero-stage {
  position: relative;
  margin-top: 64px;
  padding-bottom: 34px;
}

.hero-frame {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 18px;
  background: var(--surface);
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.55);
}

.hero-frame-bar {
  display: flex;
  align-items: center;
  gap: 14px;
  height: 38px;
  padding: 0 16px;
  border-bottom: 1px solid var(--line);
  background: var(--surface-2);
}

.hero-dots {
  display: inline-flex;
  gap: 6px;
}

.hero-dots i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
}

.hero-frame-url {
  font-size: 11px;
  letter-spacing: 0.05em;
  color: var(--muted-2);
}

.hero-frame img {
  width: 100%;
  aspect-ratio: 1440 / 1000;
  object-fit: cover;
  object-position: top center;
}

.hero-phone {
  position: absolute;
  right: 34px;
  bottom: -10px;
  width: 188px;
  padding: 7px;
  border: 1px solid var(--line-strong);
  border-radius: 28px;
  background: #0b0c0e;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6);
}

.hero-phone img {
  width: 100%;
  border-radius: 22px;
  aspect-ratio: 390 / 844;
  object-fit: cover;
  object-position: top center;
}

/* ---------------- stat band ---------------- */

.stat-band {
  margin-top: 46px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.stat-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 34px 36px 34px 0;
}

.stat-item + .stat-item {
  padding-left: 36px;
  border-left: 1px solid var(--line);
}

.stat-index {
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--accent);
}

.stat-value {
  font-family: var(--font-display);
  font-size: clamp(26px, 2.6vw, 34px);
  font-weight: 500;
  letter-spacing: -0.04em;
}

.stat-label {
  font-size: 13px;
  color: var(--muted);
}

/* ---------------- generic section ---------------- */

.section {
  padding: 104px 0;
}

.section + .section {
  border-top: 1px solid var(--line);
}

/* ---------------- system index ---------------- */

.system-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.system-block {
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, rgba(14, 30, 32, 0.9), rgba(5, 17, 19, 0.4));
}

.system-block h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 400;
  letter-spacing: -0.01em;
}

.system-list {
  margin-top: 22px;
  border-top: 1px solid var(--line);
}

.system-list li {
  display: flex;
  align-items: baseline;
  gap: 18px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
}

.system-list li span {
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--muted-2);
}

/* ---------------- value cards ---------------- */

.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.value-card {
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease);
}

.value-card:hover {
  border-color: rgba(0, 153, 255, 0.45);
  transform: translateY(-3px);
}

.value-index {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--accent);
}

.value-card h3 {
  margin-top: 20px;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 400;
  letter-spacing: -0.02em;
}

.value-card p {
  margin-top: 12px;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.7;
}

/* ---------------- features ---------------- */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--line);
}

.feature-card {
  padding: 34px;
  background: var(--bg-alt);
  transition: background-color 0.25s var(--ease);
}

.feature-card:hover {
  background: var(--surface);
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(0, 153, 255, 0.3);
  border-radius: 12px;
  color: var(--accent);
  background: rgba(0, 153, 255, 0.06);
}

.feature-icon svg {
  width: 20px;
  height: 20px;
}

.feature-card h3 {
  margin-top: 22px;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 400;
  letter-spacing: -0.01em;
}

.feature-card p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

/* ---------------- split ---------------- */

.split-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 72px;
  align-items: center;
}

.shot {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface);
}

.shot img {
  width: 100%;
  object-fit: cover;
  object-position: top center;
}

.shot-tall img {
  aspect-ratio: 1440 / 1000;
}

.shot-portrait img {
  aspect-ratio: 1024 / 820;
}

.split-copy .section-title {
  font-size: clamp(28px, 3vw, 42px);
}

.split-text {
  margin-top: 22px;
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.75;
}

.check-list {
  display: grid;
  gap: 12px;
  margin-top: 26px;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14.5px;
  color: rgba(255, 255, 255, 0.8);
}

.check-list svg {
  flex: none;
  width: 17px;
  height: 17px;
  margin-top: 3px;
  color: var(--accent);
}

.check-list-lg {
  margin-top: 32px;
  gap: 16px;
}

.check-list-lg li {
  font-size: 15.5px;
}

.split-copy .text-link {
  margin-top: 30px;
}

/* ---------------- work ---------------- */

.work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.work-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  overflow: hidden;
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease);
}

.work-card:hover {
  border-color: var(--line-strong);
  transform: translateY(-3px);
}

.work-media {
  margin: 0;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.work-media img {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
  object-position: top center;
}

.work-body {
  padding: 24px;
}

.work-category {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.work-body h3 {
  margin-top: 10px;
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 400;
}

.work-body p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
}

.work-more {
  margin-top: 36px;
}

/* ---------------- principle band ---------------- */

.principle-band {
  border-top: 1px solid var(--line);
  background: var(--bg-alt);
}

.principle-inner {
  display: flex;
  align-items: flex-start;
  gap: 44px;
  padding: 64px 0;
}

.principle-label {
  flex: none;
  width: 170px;
  padding-top: 8px;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.principle-text {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.6vw, 34px);
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.035em;
  color: var(--ink);
}

/* ---------------- CTA ---------------- */

.cta-band {
  background: var(--accent);
  color: #ffffff;
}

.cta-band .eyebrow {
  color: #ffffff;
}

.cta-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
  align-items: end;
  padding: 92px 0;
}

.cta-title {
  margin-top: 20px;
  font-family: var(--font-display);
  font-size: clamp(30px, 3.8vw, 50px);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.045em;
}

.cta-title span {
  color: rgba(255, 255, 255, 0.5);
}

.cta-text {
  font-size: 15px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.82);
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.cta-actions .btn-primary {
  background: #000000;
  color: #ffffff;
}

.cta-actions .btn-primary:hover {
  background: #0d0f11;
  color: var(--accent);
}

.cta-actions .btn-outline {
  border-color: rgba(255, 255, 255, 0.45);
  color: #ffffff;
}

.cta-actions .btn-outline:hover {
  border-color: #ffffff;
  color: #ffffff;
}

/* ---------------- footer ---------------- */

.site-footer {
  border-top: 1px solid var(--line);
  background: #000000;
  padding: 78px 0 30px;
}

.footer-top {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 80px;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--line);
}

.footer-statement {
  margin-top: 18px;
  max-width: 380px;
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.035em;
}

.footer-mail {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 28px;
  padding-bottom: 4px;
  font-family: var(--font-display);
  font-size: 18px;
  color: var(--accent);
  border-bottom: 1px solid rgba(0, 153, 255, 0.4);
  transition: border-color 0.2s var(--ease), gap 0.2s var(--ease);
}

.footer-mail:hover {
  border-color: var(--accent);
  gap: 12px;
}

.footer-index {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.footer-col h3 {
  margin-bottom: 18px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.footer-col a,
.footer-col address,
.footer-domain {
  display: block;
  margin-bottom: 10px;
  font-size: 14px;
  font-style: normal;
  color: var(--muted);
  line-height: 1.6;
  transition: color 0.2s var(--ease);
}

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

.footer-col-wide {
  grid-column: auto;
}

.footer-domain {
  margin-top: 14px;
  color: var(--accent);
  font-size: 13px;
  letter-spacing: 0.04em;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 26px;
  font-size: 13px;
  color: var(--muted-2);
}

.footer-legal {
  display: flex;
  gap: 26px;
}

.footer-legal a {
  display: inline-flex;
  gap: 8px;
  color: var(--muted);
  transition: color 0.2s var(--ease);
}

.footer-legal a span {
  color: var(--muted-2);
  font-size: 11px;
}

.footer-legal a:hover {
  color: var(--ink);
}

/* ---------------- page hero ---------------- */

.page-hero {
  position: relative;
  padding: 96px 0 76px;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: -320px;
  left: 8%;
  width: 760px;
  height: 560px;
  background: radial-gradient(closest-side, rgba(0, 153, 255, 0.12), transparent 75%);
  pointer-events: none;
}

.page-hero-inner {
  position: relative;
}

.page-title {
  max-width: 900px;
  margin-top: 22px;
  font-family: var(--font-display);
  font-size: clamp(34px, 4.4vw, 56px);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.05em;
}

.page-lead {
  max-width: 580px;
  margin-top: 24px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.72;
}

.page-hero-compact {
  padding: 76px 0 64px;
}

/* ---------------- services ---------------- */

.service-list {
  border-top: 1px solid var(--line);
}

.service-row {
  display: grid;
  grid-template-columns: 72px 1fr 190px;
  gap: 32px;
  padding: 40px 0;
  border-bottom: 1px solid var(--line);
}

.service-index {
  font-family: var(--font-display);
  font-size: 14px;
  letter-spacing: 0.08em;
  color: var(--accent);
}

.service-head {
  display: flex;
  align-items: center;
  gap: 16px;
}

.service-head h2 {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 400;
  letter-spacing: -0.02em;
}

.service-summary {
  max-width: 620px;
  margin-top: 12px;
  color: var(--muted);
  font-size: 15px;
}

.service-points {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 24px;
  margin-top: 20px;
}

.service-points li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
}

.service-points svg {
  flex: none;
  width: 15px;
  height: 15px;
  margin-top: 4px;
  color: var(--accent);
}

.service-action {
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
  padding-top: 6px;
}

/* ---------------- platforms ---------------- */

.platform-inner {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 72px;
  align-items: start;
}

.platform-copy .section-note {
  margin-top: 22px;
}

.platform-list {
  border-top: 1px solid var(--line);
}

.platform-list li {
  display: flex;
  align-items: baseline;
  gap: 24px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.platform-list li span {
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--accent);
}

.platform-list li strong {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.2vw, 30px);
  font-weight: 500;
  letter-spacing: -0.035em;
}

/* ---------------- process ---------------- */

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.process-card,
.approach-card {
  padding: 32px;
  background: var(--bg-alt);
}

.process-step {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--accent);
}

.process-card h3,
.approach-card h3 {
  margin-top: 18px;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 400;
  letter-spacing: -0.01em;
}

.process-card p,
.approach-card p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

/* ---------------- included ---------------- */

.included-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 72px;
  align-items: center;
}

/* ---------------- FAQ ---------------- */

.faq-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 72px;
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 0;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 400;
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary i {
  position: relative;
  flex: none;
  width: 22px;
  height: 22px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
}

.faq-item summary i::before,
.faq-item summary i::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 9px;
  height: 1px;
  background: var(--ink);
  transform: translate(-50%, -50%);
  transition: transform 0.2s var(--ease);
}

.faq-item summary i::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq-item[open] summary i::after {
  transform: translate(-50%, -50%);
}

.faq-item p {
  max-width: 620px;
  padding: 0 0 24px;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.75;
}

/* ---------------- about ---------------- */

.about-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 72px;
  align-items: start;
}

.about-text p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.8;
}

.about-text p + p {
  margin-top: 18px;
}

.about-figure .shot {
  margin: 0;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  margin-top: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--line);
}

.about-stat {
  padding: 18px 20px;
  background: var(--bg-alt);
}

.about-stat-value {
  display: block;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 400;
  color: var(--accent);
}

.about-stat-label {
  display: block;
  margin-top: 4px;
  font-size: 12.5px;
  color: var(--muted);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.value-row {
  padding: 32px;
  background: var(--bg-alt);
}

.value-row-index {
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--accent);
}

.value-row h3 {
  margin-top: 14px;
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 400;
  letter-spacing: -0.02em;
}

.value-row p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.approach-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

/* ---------------- showcase ---------------- */

.showcase-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.showcase-item {
  margin: 0;
}

.showcase-wide {
  grid-column: span 2;
}

.showcase-frame {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface);
  transition: border-color 0.25s var(--ease);
}

.showcase-item:hover .showcase-frame {
  border-color: var(--line-strong);
}

.showcase-frame img {
  width: 100%;
  aspect-ratio: 16 / 10.6;
  object-fit: cover;
  object-position: top center;
}

.showcase-half .showcase-frame img {
  aspect-ratio: 16 / 11.5;
}

.showcase-item figcaption {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding-top: 14px;
}

.showcase-name {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 400;
}

.showcase-meta {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-2);
}

/* ---------------- device ---------------- */

.device-grid {
  display: grid;
  grid-template-columns: 1fr 0.75fr;
  gap: 80px;
  align-items: center;
}

.device-media {
  display: flex;
  justify-content: center;
}

.phone-frame {
  width: 260px;
  padding: 9px;
  border: 1px solid var(--line-strong);
  border-radius: 36px;
  background: #0b0c0e;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.55);
}

.phone-frame img {
  width: 100%;
  border-radius: 28px;
  aspect-ratio: 390 / 844;
  object-fit: cover;
  object-position: top center;
}

.device-copy .text-link {
  margin-top: 28px;
}

/* ---------------- contact ---------------- */

.contact-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 72px;
  align-items: start;
}

.contact-form-wrap {
  min-width: 0;
}

.field-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

.field label {
  font-size: 13px;
  color: var(--muted);
}

.field label span {
  color: var(--accent);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 13px 15px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  color: var(--ink);
  font-size: 15px;
  outline: none;
  transition: border-color 0.2s var(--ease), background-color 0.2s var(--ease);
}

.field textarea {
  resize: vertical;
  min-height: 140px;
}

.field select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: calc(100% - 20px) 22px, calc(100% - 15px) 22px;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--accent);
  background: var(--surface-2);
}

.field.has-error input,
.field.has-error textarea {
  border-color: #ff6b6b;
}

.field-error {
  font-size: 12.5px;
  color: #ff8f8f;
}

.form-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.form-note {
  max-width: 300px;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--muted-2);
}

.form-success {
  padding: 40px;
  border: 1px solid rgba(0, 153, 255, 0.4);
  border-radius: var(--radius-lg);
  background: rgba(0, 153, 255, 0.05);
}

.form-success-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 20px;
  font-weight: 700;
}

.form-success h2 {
  margin-top: 22px;
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 500;
  letter-spacing: -0.035em;
}

.form-success p {
  margin: 12px 0 28px;
  color: var(--muted);
  font-size: 15px;
}

.form-success p a {
  color: var(--accent);
}

.contact-block {
  padding: 26px 0;
  border-top: 1px solid var(--line);
}

.contact-block h2 {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.contact-email {
  display: inline-block;
  margin-top: 12px;
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--accent);
  border-bottom: 1px solid rgba(0, 153, 255, 0.35);
  padding-bottom: 2px;
}

.contact-block p,
.contact-block address {
  margin-top: 12px;
  font-style: normal;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.contact-steps {
  margin-top: 14px;
  counter-reset: step;
}

.contact-steps li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
  counter-increment: step;
}

.contact-steps li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 1px;
  font-size: 11px;
  color: var(--accent);
  letter-spacing: 0.08em;
}

/* ---------------- legal ---------------- */

.legal-hero-inner {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
}

.legal-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-bottom: 8px;
  text-align: right;
  font-size: 12.5px;
  color: var(--muted-2);
}

.legal-meta strong {
  color: var(--ink);
  font-weight: 500;
}

.legal-grid {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 72px;
  align-items: start;
}

.legal-toc {
  position: sticky;
  top: 96px;
  border-top: 1px solid var(--line);
  padding-top: 18px;
}

.legal-toc-title {
  display: block;
  margin-bottom: 14px;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.legal-toc nav {
  display: grid;
  gap: 9px;
}

.legal-toc nav a {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.4;
  transition: color 0.2s var(--ease);
}

.legal-toc nav a:hover {
  color: var(--accent);
}

.legal-toc-links {
  display: grid;
  gap: 8px;
  margin-top: 26px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.legal-toc-links a {
  font-size: 13px;
  color: var(--accent);
}

.legal-body {
  max-width: 760px;
}

.legal-intro {
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
}

.legal-block {
  padding-top: 30px;
}

.legal-block h2 {
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 400;
  letter-spacing: -0.015em;
}

.legal-block p,
.legal-block li {
  margin-top: 12px;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.78;
}

.legal-block ul {
  margin-top: 14px;
  padding-left: 18px;
  list-style: disc;
}

.legal-block li {
  margin-top: 8px;
}

.legal-footnote {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--muted-2);
}

/* ---------------- 404 ---------------- */

.error-page {
  padding: 140px 0 150px;
}

.error-inner {
  max-width: 720px;
}

.error-code {
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 0.3em;
  color: var(--accent);
}

.error-title {
  margin-top: 18px;
  font-family: var(--font-display);
  font-size: clamp(32px, 4.2vw, 52px);
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: -0.045em;
}

.error-text {
  max-width: 460px;
  margin-top: 20px;
  color: var(--muted);
  font-size: 15.5px;
}

.error-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

/* ---------------- reveal ---------------- */

.js .reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------------- responsive ---------------- */

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

  .split-grid,
  .included-grid,
  .device-grid,
  .about-grid,
  .contact-grid,
  .faq-grid {
    gap: 48px;
  }

  .feature-grid,
  .value-grid,
  .work-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .feature-card:last-child {
    grid-column: span 2;
  }

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

  .service-row {
    grid-template-columns: 56px 1fr 150px;
    gap: 24px;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .cta-inner {
    grid-template-columns: 1fr;
    gap: 32px;
    align-items: start;
  }

  .legal-grid {
    grid-template-columns: 180px 1fr;
    gap: 44px;
  }
}

@media (max-width: 900px) {
  .main-nav {
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 12px 24px 20px;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
  }

  .main-nav.is-open {
    display: flex;
  }

  .nav-link {
    width: 100%;
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
  }

  .nav-link.is-active::after {
    display: none;
  }

  .nav-link-mobile {
    display: block;
    color: var(--accent);
    border-bottom: none;
  }

  .nav-toggle {
    display: block;
  }

  .header-cta {
    display: none;
  }

  .hero {
    padding-top: 64px;
  }

  .hero-stage {
    margin-top: 48px;
  }

  .hero-phone {
    right: 20px;
    width: 150px;
  }

  .system-grid,
  .value-grid,
  .work-grid,
  .showcase-grid,
  .approach-grid,
  .values-grid,
  .field-grid {
    grid-template-columns: 1fr;
  }

  .showcase-wide {
    grid-column: span 1;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .feature-card:last-child {
    grid-column: span 1;
  }

  .split-grid,
  .included-grid,
  .device-grid,
  .about-grid,
  .contact-grid,
  .faq-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .platform-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .split-media {
    order: 2;
  }

  .device-media {
    order: 2;
  }

  .process-grid {
    grid-template-columns: 1fr;
  }

  .service-row {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .service-action {
    justify-content: flex-start;
  }

  .service-points {
    grid-template-columns: 1fr;
  }

  .section-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 22px;
    margin-bottom: 40px;
  }

  .section {
    padding: 72px 0;
  }

  .principle-inner {
    flex-direction: column;
    gap: 18px;
    padding: 48px 0;
  }

  .principle-label {
    width: auto;
  }

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

  .legal-meta {
    text-align: left;
  }

  .legal-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .legal-toc {
    position: static;
    display: none;
  }

  .cta-inner {
    padding: 64px 0;
  }

  .footer-index {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }

  .footer-col-wide {
    grid-column: span 2;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
}

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

  .hero-title {
    font-size: clamp(38px, 11vw, 48px);
  }

  .hero-lead {
    font-size: 15.5px;
  }

  .hero-phone {
    width: 112px;
    right: 10px;
    bottom: -18px;
    padding: 4px;
    border-radius: 18px;
  }

  .hero-phone img {
    border-radius: 14px;
  }

  .stat-grid {
    grid-template-columns: 1fr;
  }

  .stat-item {
    padding: 22px 0;
  }

  .stat-item + .stat-item {
    padding-left: 0;
    border-left: none;
    border-top: 1px solid var(--line);
  }

  .btn {
    width: 100%;
  }

  .hero-actions .btn,
  .cta-actions .btn {
    width: 100%;
  }

  .section-title {
    font-size: clamp(27px, 8vw, 36px);
  }

  .page-hero {
    padding: 64px 0 52px;
  }

  .footer-index {
    grid-template-columns: 1fr;
  }

  .footer-col-wide {
    grid-column: span 1;
  }

  .footer-legal {
    flex-direction: column;
    gap: 10px;
  }

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

  .form-success {
    padding: 28px;
  }

  .phone-frame {
    width: 220px;
  }

  .principle-text {
    font-size: 22px;
  }
}

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

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

  .js .reveal {
    opacity: 1;
    transform: none;
  }
}
