:root {
  --bg: #f7f9f6;
  --surface: #ffffff;
  --ink: #102024;
  --muted: #5f6d70;
  --line: #dce6df;
  --teal: #058c7f;
  --teal-dark: #036b62;
  --lime: #c7f05f;
  --navy: #142c3a;
  --shadow: 0 24px 70px rgba(16, 32, 36, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  width: 100%;
  max-width: 100%;
  background: var(--bg);
  color: var(--ink);
  font-family: "Inter", "Pretendard", "Noto Sans KR", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  letter-spacing: 0;
  overflow-x: hidden;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  padding: 0 5vw;
  background: rgba(247, 249, 246, 0.9);
  border-bottom: 1px solid rgba(220, 230, 223, 0.85);
  backdrop-filter: blur(18px);
}

.brand,
.desktop-nav,
.header-actions,
.hero-actions,
.tld-list,
.persona-tabs {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 850;
  color: var(--navy);
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 8px;
  color: #0e2524;
  background: var(--lime);
}

.brand-text {
  display: grid;
  gap: 1px;
  line-height: 1.05;
}

.brand-text strong {
  font-size: 16px;
}

.brand-text small {
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
}

.desktop-nav {
  gap: 24px;
  font-size: 14px;
  color: #334348;
}

.desktop-nav a:hover,
.text-link:hover,
.site-footer a:hover {
  color: var(--teal);
}

.header-actions {
  gap: 12px;
}

.text-link {
  font-size: 14px;
}

.button,
.domain-search button,
.contact button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 8px;
  font-weight: 750;
  border: 1px solid transparent;
  cursor: pointer;
}

.button-primary,
.domain-search .search-row button,
.contact button {
  color: white;
  background: var(--teal);
}

.button-primary:hover,
.domain-search .search-row button:hover,
.contact button:hover {
  background: var(--teal-dark);
}

.button-outline {
  color: var(--ink);
  border-color: var(--line);
  background: var(--surface);
}

.plan-card.selected .button-outline {
  color: #102024;
  background: var(--lime);
  border-color: var(--lime);
}

.button-ghost {
  color: var(--teal-dark);
  background: rgba(5, 140, 127, 0.08);
}

.menu-toggle,
.mobile-nav {
  display: none;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.86fr);
  gap: 48px;
  align-items: center;
  min-height: 760px;
  padding: 56px 5vw 28px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--teal-dark);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.12em;
}

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

h1 {
  max-width: 780px;
  margin-bottom: 22px;
  color: var(--navy);
  font-size: clamp(42px, 5vw, 68px);
  line-height: 1.08;
  letter-spacing: 0;
  word-break: keep-all;
}

h1 span {
  display: block;
}

.hero-text {
  max-width: 660px;
  margin-bottom: 30px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.75;
}

.domain-search {
  max-width: 720px;
  padding: 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 14px 45px rgba(16, 32, 36, 0.08);
}

.domain-search label {
  display: block;
  margin-bottom: 10px;
  font-size: 13px;
  font-weight: 800;
}

.search-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  min-height: 58px;
  overflow: hidden;
  background: #f4f8f5;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.search-row span {
  padding-left: 18px;
  color: #8a989a;
  font-weight: 800;
}

.search-row input {
  width: 100%;
  min-width: 0;
  padding: 0 12px;
  border: 0;
  outline: 0;
  color: var(--ink);
  background: transparent;
}

.search-row button {
  height: 58px;
  border-radius: 0;
}

.tld-list {
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.tld-list button {
  min-height: 34px;
  padding: 0 12px;
  color: #24464a;
  background: #eef5ef;
  border: 1px solid #d9e7db;
  border-radius: 999px;
  cursor: pointer;
}

.tld-list button:hover {
  border-color: var(--teal);
}

.search-result,
#contactResult {
  min-height: 22px;
  margin: 12px 0 0;
  color: var(--teal-dark);
  font-weight: 700;
}

.domain-management-card {
  max-width: 720px;
  padding: 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 14px 45px rgba(16, 32, 36, 0.08);
}

.domain-management-card .card-kicker {
  margin: 0 0 8px;
  color: var(--teal);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.domain-management-card strong {
  display: block;
  color: var(--ink);
  font-size: 20px;
  line-height: 1.45;
}

.domain-management-card ul {
  display: grid;
  gap: 8px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.domain-management-card li {
  position: relative;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.6;
}

.domain-management-card li::before {
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 6px;
  height: 6px;
  background: var(--mint);
  border-radius: 999px;
  content: "";
}

.hero-actions {
  gap: 12px;
  margin-top: 22px;
  flex-wrap: wrap;
}

.motion-hero {
  position: relative;
  overflow: hidden;
  contain: layout paint;
  padding: 24px;
  background: #10272c;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  box-shadow: var(--shadow);
  color: white;
}

.motion-stage {
  position: relative;
  overflow: hidden;
  contain: paint;
  min-height: 560px;
  border-radius: 8px;
  background:
    linear-gradient(rgba(199, 240, 95, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(199, 240, 95, 0.055) 1px, transparent 1px);
  background-size: 38px 38px;
}

.motion-stage::before {
  position: absolute;
  inset: 42px;
  content: "";
  border: 1px solid rgba(199, 240, 95, 0.14);
  border-radius: 50%;
  animation: pulse-ring 4.5s ease-in-out infinite;
}

.motion-stage::after {
  position: absolute;
  inset: 112px;
  content: "";
  border: 1px dashed rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  animation: rotate-soft 18s linear infinite;
}

.motion-core,
.motion-node,
.packet,
.orbit,
.motion-line {
  position: absolute;
}

.motion-core {
  z-index: 4;
  top: 50%;
  left: 50%;
  display: grid;
  width: 150px;
  height: 150px;
  transform: translate(-50%, -50%);
  place-items: center;
  align-content: center;
  border-radius: 50%;
  color: #0d2828;
  background: radial-gradient(circle at 35% 30%, #ffffff, var(--lime));
  box-shadow: 0 0 60px rgba(199, 240, 95, 0.36);
  animation: float-core 5s ease-in-out infinite;
}

.motion-core span {
  font-size: 17px;
  font-weight: 900;
}

.motion-core strong {
  font-size: 32px;
  line-height: 1;
}

.motion-node {
  z-index: 3;
  width: 150px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  backdrop-filter: blur(10px);
  animation: float-node 4.5s ease-in-out infinite;
}

.motion-node small {
  display: block;
  margin-bottom: 6px;
  color: var(--lime);
  font-size: 11px;
  font-weight: 850;
}

.motion-node strong {
  display: block;
  font-size: 18px;
}

.node-domain {
  top: 42px;
  left: 38px;
}

.node-dns {
  top: 122px;
  right: 30px;
  animation-delay: -1.2s;
}

.node-host {
  right: 58px;
  bottom: 86px;
  animation-delay: -2s;
}

.node-ssl {
  left: 42px;
  bottom: 118px;
  animation-delay: -3s;
}

.motion-line {
  z-index: 1;
  height: 2px;
  transform-origin: left center;
  background: linear-gradient(90deg, transparent, rgba(199, 240, 95, 0.66), transparent);
  opacity: 0.72;
  animation: line-glow 2.6s ease-in-out infinite;
}

.line-one {
  top: 168px;
  left: 172px;
  width: 260px;
  transform: rotate(25deg);
}

.line-two {
  top: 304px;
  left: 250px;
  width: 250px;
  transform: rotate(-20deg);
  animation-delay: -0.9s;
}

.line-three {
  left: 158px;
  bottom: 185px;
  width: 290px;
  transform: rotate(-24deg);
  animation-delay: -1.6s;
}

.packet {
  z-index: 5;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 28px rgba(199, 240, 95, 0.82);
}

.packet-one {
  animation: packet-one 4.2s ease-in-out infinite;
}

.packet-two {
  animation: packet-two 5s ease-in-out infinite;
  animation-delay: -1.4s;
}

.packet-three {
  animation: packet-three 4.8s ease-in-out infinite;
  animation-delay: -2.2s;
}

.orbit {
  border: 1px solid rgba(199, 240, 95, 0.16);
  border-radius: 50%;
}

.orbit-one {
  inset: 84px;
  animation: rotate-soft 24s linear infinite;
}

.orbit-two {
  inset: 162px;
  animation: rotate-soft 16s linear infinite reverse;
}

.motion-caption {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
  z-index: 6;
  padding: 18px;
  background: rgba(16, 39, 44, 0.76);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  backdrop-filter: blur(12px);
}

.motion-caption p {
  margin-bottom: 5px;
  color: #b6c7c9;
}

.motion-caption strong {
  font-size: 19px;
}

@keyframes float-core {
  0%,
  100% {
    transform: translate(-50%, -50%) scale(1);
  }
  50% {
    transform: translate(-50%, -54%) scale(1.03);
  }
}

@keyframes float-node {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes pulse-ring {
  0%,
  100% {
    transform: scale(0.98);
    opacity: 0.72;
  }
  50% {
    transform: scale(1.03);
    opacity: 1;
  }
}

@keyframes rotate-soft {
  to {
    transform: rotate(360deg);
  }
}

@keyframes line-glow {
  0%,
  100% {
    opacity: 0.28;
  }
  50% {
    opacity: 0.86;
  }
}

@keyframes packet-one {
  0% {
    left: 120px;
    top: 116px;
  }
  50% {
    left: 50%;
    top: 50%;
  }
  100% {
    left: calc(100% - 112px);
    top: 178px;
  }
}

@keyframes packet-two {
  0% {
    right: 116px;
    bottom: 158px;
  }
  50% {
    right: 50%;
    bottom: 50%;
  }
  100% {
    right: calc(100% - 118px);
    bottom: 190px;
  }
}

@keyframes packet-three {
  0% {
    left: 96px;
    bottom: 190px;
  }
  50% {
    left: 50%;
    bottom: 50%;
  }
  100% {
    left: calc(100% - 138px);
    bottom: 148px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .motion-stage::before,
  .motion-stage::after,
  .motion-core,
  .motion-node,
  .motion-line,
  .packet,
  .orbit {
    animation: none;
  }
}

.service-preview,
.recommendation,
.plans,
.management,
.contact {
  margin: 0 5vw;
}

.service-preview {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  padding: 22px 0 80px;
}

.service-preview article,
.recommend-card,
.plan-card,
.contact {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.service-preview article {
  padding: 22px;
}

.icon {
  display: grid;
  width: 38px;
  height: 38px;
  margin-bottom: 18px;
  place-items: center;
  color: #0e2f2c;
  background: var(--lime);
  border-radius: 8px;
  font-weight: 900;
}

.service-preview h2,
.plan-card h3,
.recommend-card h3 {
  margin-bottom: 10px;
}

.service-preview p,
.plan-card li,
.management span,
.contact p,
.site-footer p {
  color: var(--muted);
  line-height: 1.65;
}

.recommendation,
.plans {
  padding: 80px 0;
}

.section-heading {
  max-width: 980px;
  margin-bottom: 26px;
}

.section-heading h2,
.management-copy h2,
.contact h2 {
  margin-bottom: 0;
  color: var(--navy);
  font-size: clamp(30px, 3.6vw, 48px);
  line-height: 1.16;
}

.plan-title {
  max-width: none;
  white-space: nowrap;
  font-size: clamp(26px, 3.1vw, 44px);
}

.smart-pick-title {
  max-width: none;
  white-space: nowrap;
  font-size: clamp(26px, 3.05vw, 44px);
}

.persona-tabs {
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.persona-tabs button {
  min-height: 42px;
  padding: 0 16px;
  color: #405155;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
}

.persona-tabs button.active {
  color: white;
  background: var(--navy);
  border-color: var(--navy);
}

.recommend-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.48fr);
  gap: 28px;
  width: 100%;
  max-width: none;
  padding: 28px;
  overflow: hidden;
  box-shadow: 0 18px 56px rgba(16, 32, 36, 0.08);
}

.recommend-main,
.recommend-points {
  min-width: 0;
}

.recommend-card::before {
  position: absolute;
  top: -70px;
  right: -60px;
  width: 190px;
  height: 190px;
  content: "";
  background: radial-gradient(circle, rgba(199, 240, 95, 0.55), rgba(199, 240, 95, 0));
  pointer-events: none;
}

.recommend-card h3 {
  margin-bottom: 12px;
  color: var(--navy);
  font-size: 32px;
  line-height: 1.22;
}

.recommend-card p:not(.eyebrow) {
  color: var(--muted);
  line-height: 1.7;
}

.recommend-card a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  margin-top: 18px;
  color: var(--teal-dark);
  font-weight: 850;
}

.recommend-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.recommend-tags span {
  padding: 8px 11px;
  color: #173532;
  background: #eef8e5;
  border: 1px solid #d8edc9;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
}

.recommend-points {
  position: relative;
  z-index: 1;
  padding: 22px;
  color: white;
  background: var(--navy);
  border-radius: 8px;
}

.recommend-points strong {
  display: block;
  margin-bottom: 14px;
  color: var(--lime);
}

.recommend-points ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding-left: 18px;
  color: #d8e5e7;
  line-height: 1.6;
}

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

.plan-card {
  padding: 24px;
  cursor: pointer;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background-color 180ms ease,
    color 180ms ease,
    box-shadow 180ms ease;
}

.plan-card:hover {
  transform: translateY(-4px);
  border-color: rgba(5, 140, 127, 0.35);
}

.plan-card:focus-visible {
  outline: 3px solid rgba(5, 140, 127, 0.28);
  outline-offset: 3px;
}

.plan-card.selected {
  color: white;
  background: var(--navy);
  border-color: var(--navy);
  box-shadow: var(--shadow);
}

.plan-card > p {
  color: var(--teal-dark);
  font-weight: 850;
}

.plan-name-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 1em;
}

.plan-name-row p {
  margin: 0;
  color: var(--teal-dark);
  font-weight: 850;
}

.plan-name-row span {
  padding: 5px 9px;
  color: #102024;
  background: var(--lime);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 850;
  white-space: nowrap;
}

.plan-card.selected > p,
.plan-card.selected li {
  color: #cbdadb;
}

.plan-card.selected .plan-name-row p {
  color: #cbdadb;
}

.plan-card.selected h3 span {
  color: #cbdadb;
}

.plan-card h3 {
  font-size: clamp(24px, 2.25vw, 34px);
}

.plan-card h3 span {
  font-size: 16px;
  color: #8a989a;
}

.plan-card ul {
  display: grid;
  gap: 10px;
  min-height: 176px;
  margin: 24px 0;
  padding-left: 18px;
}

.management {
  display: grid;
  grid-template-columns: minmax(300px, 0.9fr) minmax(0, 1fr);
  gap: 44px;
  align-items: center;
  padding: 90px 0;
}

.management-image {
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.management-image img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
}

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

.feature-list div {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 18px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}

.feature-list strong {
  color: var(--navy);
}

.contact {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 28px;
  align-items: center;
  padding: 30px;
  margin-bottom: 80px;
}

.contact input,
.contact select,
.contact textarea {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  color: var(--ink);
  background: #f8fbf8;
  border: 1px solid var(--line);
  border-radius: 8px;
  outline-color: var(--teal);
}

.contact {
  align-items: start;
}

.contact form {
  display: grid;
  gap: 10px;
}

.contact textarea {
  min-height: 118px;
  padding-top: 12px;
  resize: vertical;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  padding: 38px 5vw;
  color: white;
  background: #0b2026;
}

.site-footer strong {
  display: block;
  margin-bottom: 8px;
}

.footer-policy-links {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin: 0;
  font-size: 13px;
  color: #9fb4b8;
}

.footer-policy-links button {
  padding: 0;
  color: #d8e5e7;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.footer-admin-link {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  padding: 0 10px;
  color: #102024;
  background: var(--lime);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 850;
}

.footer-policy-links button:hover,
.footer-policy-links button:focus-visible {
  color: var(--lime);
}

.company-info {
  max-width: 980px;
  margin: 8px 0 0;
  font-size: 13px;
  line-height: 1.65;
}

.policy-panel {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(9, 25, 29, 0.58);
  backdrop-filter: blur(8px);
}

.policy-panel[hidden] {
  display: none;
}

.policy-card {
  position: relative;
  width: min(720px, 100%);
  max-height: min(760px, calc(100vh - 48px));
  overflow: auto;
  padding: 34px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.policy-card h2 {
  margin-bottom: 18px;
  color: var(--navy);
  font-size: 30px;
}

.policy-card ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
  line-height: 1.7;
}

.policy-close {
  position: absolute;
  top: 18px;
  right: 18px;
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  color: var(--ink);
  background: #eef5ef;
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
  font-size: 22px;
}

.apply-page,
.admin-page {
  padding: 64px 5vw 90px;
}

.apply-hero,
.admin-heading {
  max-width: 860px;
  margin-bottom: 34px;
}

.admin-page .admin-heading {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.admin-page .admin-heading h1,
.admin-page .admin-heading .eyebrow {
  text-align: center;
}

.apply-hero h1,
.admin-heading h1 {
  margin-bottom: 16px;
  font-size: clamp(42px, 5vw, 68px);
}

.apply-hero p:not(.eyebrow),
.admin-heading p:not(.eyebrow) {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

.apply-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.38fr);
  gap: 22px;
  align-items: start;
}

.apply-form,
.apply-summary,
.admin-login-form,
.admin-toolbar,
.application-card,
.empty-admin {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 56px rgba(16, 32, 36, 0.08);
}

.apply-form {
  display: grid;
  gap: 16px;
  padding: 28px;
}

.admin-login {
  max-width: 480px;
  margin: 0 auto;
}

.admin-login-form {
  display: grid;
  gap: 16px;
  padding: 28px;
}

.admin-login-form h2 {
  margin: 0;
  color: var(--navy);
  font-size: 30px;
}

.admin-login-form p {
  margin: 0;
  color: var(--muted);
}

.admin-login-form label {
  display: grid;
  gap: 8px;
  color: var(--navy);
  font-weight: 800;
}

.admin-login-form input {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  color: var(--ink);
  background: #f8fbf8;
  border: 1px solid var(--line);
  border-radius: 8px;
  outline-color: var(--teal);
}

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

.apply-form label,
.apply-form fieldset {
  display: grid;
  gap: 8px;
  color: var(--navy);
  font-weight: 800;
}

.apply-form input,
.apply-form select,
.apply-form textarea {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  color: var(--ink);
  background: #f8fbf8;
  border: 1px solid var(--line);
  border-radius: 8px;
  outline-color: var(--teal);
}

.apply-form textarea {
  min-height: 142px;
  padding-top: 12px;
  resize: vertical;
}

.apply-form fieldset {
  grid-template-columns: repeat(5, minmax(0, auto));
  gap: 10px 14px;
  margin: 0;
  padding: 16px;
}

.apply-form legend {
  padding: 0 6px;
}

.apply-form fieldset label {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--muted);
  font-weight: 700;
}

.form-result {
  min-height: 22px;
  margin: 0;
  color: var(--teal-dark);
  font-weight: 800;
}

.apply-summary {
  position: sticky;
  top: 96px;
  padding: 24px;
}

.apply-summary h2 {
  color: var(--navy);
  font-size: 32px;
}

.apply-summary p,
.apply-summary li {
  color: var(--muted);
  line-height: 1.65;
}

.apply-summary ul {
  display: grid;
  gap: 10px;
  margin: 22px 0 0;
  padding-left: 18px;
}

.admin-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
  padding: 18px;
}

.admin-toolbar > div {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.admin-toolbar strong {
  color: var(--navy);
  font-size: 24px;
}

.application-list {
  display: grid;
  gap: 14px;
}

.application-card,
.empty-admin {
  padding: 24px;
}

.application-card h2,
.empty-admin h2 {
  margin: 10px 0 6px;
  color: var(--navy);
  font-size: 24px;
}

.application-card p,
.empty-admin p {
  color: var(--muted);
}

.status-pill-small {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  padding: 0 10px;
  color: #102024;
  background: var(--lime);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 850;
}

.application-card dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 18px 0 0;
}

.application-card dl div {
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.application-card dt {
  color: var(--teal-dark);
  font-size: 12px;
  font-weight: 850;
}

.application-card dd {
  margin: 5px 0 0;
  color: var(--ink);
  line-height: 1.55;
}

@media (max-width: 980px) {
  .desktop-nav,
  .header-actions {
    display: none;
  }

  .menu-toggle {
    display: grid;
    gap: 5px;
    width: 42px;
    height: 42px;
    padding: 10px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 8px;
  }

  .menu-toggle span {
    height: 2px;
    background: var(--ink);
  }

  .mobile-nav.open {
    display: grid;
    position: sticky;
    top: 76px;
    z-index: 19;
    gap: 1px;
    padding: 10px 5vw;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
  }

  .mobile-nav a {
    padding: 12px 0;
  }

  .hero,
  .management,
  .recommend-card,
  .apply-layout {
    grid-template-columns: 1fr;
  }

  .apply-summary {
    position: static;
  }

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

  .hero {
    min-height: auto;
    padding-top: 52px;
  }

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

@media (max-width: 640px) {
  .site-header {
    min-height: 68px;
  }

  .mobile-nav.open {
    top: 68px;
  }

  .hero,
  .recommendation,
  .plans,
  .management {
    padding-top: 48px;
    padding-bottom: 48px;
  }

  h1 {
    font-size: 38px;
  }

  .plan-title {
    font-size: clamp(18px, 5vw, 26px);
    white-space: normal;
  }

  .smart-pick-title {
    font-size: clamp(18px, 5vw, 26px);
    white-space: normal;
  }

  .recommend-card::before {
    display: none;
  }

  .search-row,
  .search-row span {
    display: none;
  }

  .search-row input,
  .search-row button {
    min-height: 52px;
  }

  .search-row button {
    border-radius: 0;
  }

  .service-preview,
  .plan-grid {
    grid-template-columns: 1fr;
  }

  .motion-hero,
  .domain-search {
    padding: 18px;
  }

  .feature-list div {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .motion-stage {
    min-height: 460px;
  }

  .motion-node {
    width: 128px;
    padding: 12px;
  }

  .motion-line {
    display: none;
  }

  .packet,
  .orbit {
    display: none;
  }

  .node-domain {
    top: 28px;
    left: 12px;
  }

  .node-dns {
    top: 90px;
    right: 8px;
  }

  .node-host {
    right: 14px;
    bottom: 96px;
  }

  .node-ssl {
    left: 14px;
    bottom: 126px;
  }

  .motion-core {
    width: 124px;
    height: 124px;
  }

  .motion-core strong {
    font-size: 27px;
  }

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

}

@media (max-width: 720px) {
  .form-grid,
  .application-card dl {
    grid-template-columns: 1fr;
  }
}
