@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700&family=Sora:wght@500;600;700&display=swap");

:root {
  --midnight-blue: #0d1b2a;
  --graphite-blue: #1b263b;
  --mist-white: #f4f6f8;
  --soft-gray: #d9e1e8;
  --deep-gray-text: #1f2933;
  --glacier-cyan: #67c9d4;
  --cool-teal: #3da9b5;
  --panel-bg: rgba(255, 255, 255, 0.72);
  --border-soft: rgba(217, 225, 232, 0.62);
  --shadow-soft: 0 16px 40px rgba(13, 27, 42, 0.11);
  --radius-lg: 22px;
  --radius-md: 16px;
  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 32px;
  --space-5: 48px;
  --space-6: 64px;
}

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

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Manrope", "Sora", "PingFang SC", "Noto Sans SC", sans-serif;
  color: var(--deep-gray-text);
  background:
    radial-gradient(1200px 700px at 10% -10%, rgba(103, 201, 212, 0.2), transparent 60%),
    radial-gradient(1000px 600px at 90% 10%, rgba(61, 169, 181, 0.22), transparent 55%),
    linear-gradient(180deg, #f8fbfd 0%, #f1f5f8 45%, #eef2f6 100%);
  line-height: 1.55;
}

.bg-atmosphere {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    linear-gradient(120deg, rgba(13, 27, 42, 0.04), rgba(13, 27, 42, 0) 35%),
    repeating-linear-gradient(
      135deg,
      rgba(103, 201, 212, 0.045) 0,
      rgba(103, 201, 212, 0.045) 2px,
      transparent 2px,
      transparent 14px
    );
}

.bg-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
  opacity: 0.95;
}

.container {
  width: min(1200px, calc(100% - 48px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(10px);
  background: rgba(244, 246, 248, 0.82);
  border-bottom: 1px solid rgba(13, 27, 42, 0.06);
}

.nav-shell {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: var(--space-3);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--midnight-blue);
  font-family: "Sora", "Manrope", sans-serif;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.brand-mark {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: linear-gradient(140deg, var(--glacier-cyan), var(--midnight-blue));
  box-shadow: 0 0 0 6px rgba(103, 201, 212, 0.18);
}

.main-nav {
  display: inline-flex;
  align-items: center;
  gap: 22px;
  margin-left: auto;
}

.main-nav a {
  text-decoration: none;
  color: var(--deep-gray-text);
  font-weight: 600;
  font-size: 0.94rem;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--midnight-blue);
}

.main-nav a.active {
  color: var(--midnight-blue);
  position: relative;
}

.main-nav a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--glacier-cyan), var(--cool-teal));
}

.menu-btn {
  display: none;
  border: 1px solid rgba(13, 27, 42, 0.2);
  background: #fff;
  color: var(--midnight-blue);
  border-radius: 999px;
  padding: 8px 14px;
  font-weight: 600;
  font-family: inherit;
}

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

.chip-btn {
  border: 1px solid rgba(13, 27, 42, 0.2);
  background: rgba(255, 255, 255, 0.88);
  color: var(--midnight-blue);
  border-radius: 999px;
  min-height: 38px;
  padding: 0 14px;
  font-size: 0.84rem;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
}

.chip-btn:hover {
  background: #fff;
}

.user-menu {
  position: relative;
}

.avatar-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(13, 27, 42, 0.2);
  background: linear-gradient(140deg, #e8f3f7, #dbe8f1);
  color: var(--midnight-blue);
  font-weight: 700;
  cursor: pointer;
}

.user-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 190px;
  border-radius: 12px;
  border: 1px solid rgba(13, 27, 42, 0.14);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 12px 30px rgba(13, 27, 42, 0.16);
  padding: 10px;
  display: none;
  z-index: 40;
}

.user-dropdown.open {
  display: block;
}

.user-name {
  margin: 0 0 8px;
  padding: 6px 8px 10px;
  border-bottom: 1px solid rgba(13, 27, 42, 0.1);
  font-size: 0.86rem;
  color: #3e4d5d;
  word-break: break-all;
}

.user-dropdown a,
.user-dropdown button {
  width: 100%;
  display: block;
  border: 0;
  background: transparent;
  text-align: left;
  padding: 9px 8px;
  border-radius: 8px;
  color: var(--deep-gray-text);
  font-size: 0.9rem;
  text-decoration: none;
  cursor: pointer;
  font-family: inherit;
}

.user-dropdown a:hover,
.user-dropdown button:hover {
  background: rgba(103, 201, 212, 0.12);
}

.screen {
  padding: 88px 0;
}

.eyebrow {
  margin: 0 0 var(--space-2);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: clamp(0.9rem, 1.1vw, 1.02rem);
  color: var(--cool-teal);
  font-weight: 700;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--midnight-blue);
}

h1 {
  font-family: "Sora", "Manrope", sans-serif;
  font-size: clamp(2.2rem, 4.2vw, 4rem);
  line-height: 1.1;
  max-width: 18ch;
}

h2 {
  font-family: "Sora", "Manrope", sans-serif;
  font-size: clamp(1.65rem, 2.45vw, 2.25rem);
  line-height: 1.16;
  max-width: 22ch;
  margin-bottom: var(--space-4);
}

h3 {
  font-size: 1.25rem;
  line-height: 1.2;
  margin-bottom: 10px;
}

.lead {
  font-size: 1.08rem;
  max-width: 62ch;
  margin: var(--space-3) 0;
  color: #2c3946;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
  align-items: center;
}

.hero-visual {
  min-height: 420px;
  border-radius: var(--radius-lg);
  background: linear-gradient(155deg, #e9f1f6 10%, #dce8ef 50%, #cfe0ea 100%);
  border: 1px solid rgba(13, 27, 42, 0.08);
  box-shadow: var(--shadow-soft);
  position: relative;
  overflow: hidden;
}

.hero-image-slot {
  position: absolute;
  inset: 24px;
  border-radius: 14px;
  border: 1px dashed rgba(13, 27, 42, 0.24);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.62), rgba(255, 255, 255, 0.22)),
    repeating-linear-gradient(
      135deg,
      rgba(103, 201, 212, 0.08) 0,
      rgba(103, 201, 212, 0.08) 6px,
      transparent 6px,
      transparent 16px
    );
  display: grid;
  place-items: center;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: var(--space-3);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border-radius: 999px;
  padding: 0 22px;
  text-decoration: none;
  border: 1px solid transparent;
  font-weight: 700;
  font-size: 0.94rem;
  transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

.btn:focus-visible,
.menu-btn:focus-visible,
.main-nav a:focus-visible,
.chip-btn:focus-visible,
.avatar-btn:focus-visible,
input:focus-visible {
  outline: 2px solid var(--cool-teal);
  outline-offset: 2px;
}

.btn-primary {
  color: #fff;
  background: linear-gradient(130deg, var(--graphite-blue), var(--midnight-blue));
  box-shadow: 0 10px 20px rgba(13, 27, 42, 0.22);
}

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

.btn-ghost {
  border-color: rgba(13, 27, 42, 0.2);
  color: var(--midnight-blue);
  background: rgba(255, 255, 255, 0.8);
}

.btn-ghost:hover {
  background: #fff;
}

.why-grid,
.value-grid,
.scenario-grid {
  display: grid;
  gap: var(--space-3);
}

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

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

.card,
.scenario-card,
.layer-card,
.boundary-panel,
.closing-shell {
  border-radius: var(--radius-md);
  border: 1px solid var(--border-soft);
  background: var(--panel-bg);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(4px);
}

.card,
.layer-card,
.scenario-card {
  padding: var(--space-3);
}

.layer-flow {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: stretch;
  gap: var(--space-2);
}

.layer-kicker {
  margin: 0 0 10px;
  font-size: 0.86rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cool-teal);
  font-weight: 700;
}

.arrow {
  align-self: center;
  color: rgba(13, 27, 42, 0.45);
  font-size: 1.4rem;
}

.scenario-art {
  height: 146px;
  border-radius: 12px;
  margin-bottom: var(--space-2);
  border: 1px solid rgba(13, 27, 42, 0.09);
  background-size: cover;
}

.art-a {
  background: linear-gradient(140deg, #d9e7ef, #bcd6e4);
}

.art-b {
  background: linear-gradient(140deg, #dcece6, #bddccf);
}

.art-c {
  background: linear-gradient(140deg, #e9e6f0, #d4cee5);
}

.art-d {
  background: linear-gradient(140deg, #f1e9df, #e6d7c3);
}

.privacy-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: var(--space-4);
  align-items: start;
}

.boundary-panel {
  padding: var(--space-3);
  position: relative;
}

.path-line {
  position: absolute;
  top: 36px;
  right: 22px;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  border: 1px solid rgba(13, 27, 42, 0.15);
}

.boundary-step,
.boundary-split,
.boundary-arrow {
  text-align: center;
  margin: 8px 0;
  font-size: 0.9rem;
}

.boundary-step {
  border: 1px solid rgba(13, 27, 42, 0.16);
  border-radius: 12px;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.9);
}

.boundary-step.active {
  border-color: rgba(61, 169, 181, 0.5);
  background: rgba(103, 201, 212, 0.16);
}

.boundary-split {
  color: var(--cool-teal);
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.boundary-arrow {
  color: rgba(13, 27, 42, 0.45);
}

.closing-screen {
  padding-top: 96px;
  padding-bottom: 112px;
}

.closing-shell {
  padding: clamp(30px, 4vw, 54px);
}

.join-form {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: var(--space-3);
}

.join-form input {
  min-height: 46px;
  flex: 1 1 260px;
  border-radius: 999px;
  border: 1px solid rgba(13, 27, 42, 0.2);
  padding: 0 18px;
  font: inherit;
}

.site-footer {
  border-top: 1px solid rgba(13, 27, 42, 0.1);
  padding: var(--space-4) 0;
  background: rgba(244, 246, 248, 0.78);
}

.footer-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
}

.footer-grid p {
  margin: 0;
  color: #3b4a58;
  font-size: 0.92rem;
}

.footer-grid nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-grid a {
  color: #334150;
  text-decoration: none;
  font-size: 0.9rem;
}

.footer-grid a:hover {
  text-decoration: underline;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(13, 27, 42, 0.36);
  z-index: 60;
  padding: 16px;
}

.modal-panel {
  width: min(460px, 100%);
  border-radius: 16px;
  border: 1px solid rgba(13, 27, 42, 0.14);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 20px 44px rgba(13, 27, 42, 0.2);
  padding: 20px 20px 24px;
  position: relative;
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid rgba(13, 27, 42, 0.2);
  background: #fff;
  font-size: 1.15rem;
  line-height: 1;
  cursor: pointer;
}

.modal-note {
  margin: 10px 0 16px;
  color: #415264;
  font-size: 0.95rem;
}

.login-form {
  display: grid;
  gap: 10px;
}

.login-form label {
  font-size: 0.86rem;
  color: #3f5060;
  font-weight: 600;
}

.login-form input {
  min-height: 42px;
  border-radius: 12px;
  border: 1px solid rgba(13, 27, 42, 0.18);
  padding: 0 12px;
  font: inherit;
}

.hidden {
  display: none !important;
}

.device-main {
  padding: 86px 0 100px;
}

.device-head {
  margin-bottom: 24px;
}

.device-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.product-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.product-card {
  border-radius: 14px;
  border: 1px solid var(--border-soft);
  background: rgba(255, 255, 255, 0.8);
  box-shadow: var(--shadow-soft);
  padding: 20px;
}

.product-row {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(280px, 0.9fr);
  gap: 16px;
  align-items: stretch;
}

.product-info {
  min-width: 0;
}

.param-title {
  margin: 14px 0 8px;
  font-size: 0.9rem;
  font-weight: 700;
  color: #2f4255;
}

.param-list {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 5px;
}

.param-list li {
  color: #45586b;
  font-size: 0.9rem;
}

.product-visual {
  border-radius: 12px;
  border: 1px dashed rgba(13, 27, 42, 0.22);
  min-height: 170px;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, rgba(103, 201, 212, 0.14), rgba(217, 225, 232, 0.24));
}

.product-visual span {
  font-size: 0.86rem;
  color: #4e6174;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.device-card {
  border-radius: 14px;
  border: 1px solid var(--border-soft);
  background: rgba(255, 255, 255, 0.8);
  box-shadow: var(--shadow-soft);
  padding: 18px;
}

.device-card h3 {
  margin-bottom: 6px;
}

.device-meta {
  margin: 0;
  color: #4e5e6f;
  font-size: 0.9rem;
}

.device-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 10px;
  font-size: 0.78rem;
  border-radius: 999px;
  min-height: 26px;
  padding: 0 12px;
  line-height: 1;
  text-align: center;
  vertical-align: middle;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(130deg, var(--cool-teal), #2d8794);
}

.product-row .cta-row {
  align-items: center;
}

.support-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.support-card {
  border-radius: 14px;
  border: 1px solid var(--border-soft);
  background: rgba(255, 255, 255, 0.8);
  box-shadow: var(--shadow-soft);
  padding: 20px;
}

.feedback-form {
  display: grid;
  gap: 10px;
}

.feedback-form label {
  font-size: 0.86rem;
  color: #3f5060;
  font-weight: 600;
}

.feedback-form input,
.feedback-form select,
.feedback-form textarea {
  min-height: 42px;
  border-radius: 12px;
  border: 1px solid rgba(13, 27, 42, 0.18);
  padding: 0 12px;
  font: inherit;
  background: #fff;
}

.feedback-form textarea {
  min-height: 120px;
  padding-top: 10px;
  resize: vertical;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 540ms ease, transform 540ms ease;
}

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

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

@media (max-width: 1050px) {
  .hero-grid,
  .privacy-grid {
    grid-template-columns: 1fr;
  }

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

  .layer-flow {
    grid-template-columns: 1fr;
  }

  .arrow {
    transform: rotate(90deg);
    justify-self: center;
  }
}

@media (max-width: 860px) {
  .container {
    width: min(1200px, calc(100% - 32px));
  }

  .menu-btn {
    display: inline-flex;
  }

  .main-nav {
    position: absolute;
    top: 74px;
    left: 0;
    right: 0;
    padding: 14px 16px 20px;
    background: rgba(244, 246, 248, 0.96);
    border-bottom: 1px solid rgba(13, 27, 42, 0.08);
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    margin-left: 0;
  }

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

  .header-actions {
    margin-left: auto;
  }

  .chip-btn {
    min-height: 34px;
    padding: 0 12px;
    font-size: 0.8rem;
  }

  .avatar-btn {
    width: 34px;
    height: 34px;
  }

  .why-grid,
  .value-grid,
  .scenario-grid {
    grid-template-columns: 1fr;
  }

  .screen {
    padding: 72px 0;
  }

  .footer-grid {
    flex-direction: column;
    align-items: flex-start;
  }

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

  .product-grid,
  .support-layout {
    grid-template-columns: 1fr;
  }

  .product-row {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .bg-canvas {
    display: none;
  }

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

  .btn,
  .main-nav a {
    transition: none;
  }
}
