:root {
  --ink: #14201c;
  --muted: #6d7772;
  --paper: #fbfaf3;
  --soft: #eef4ec;
  --card: rgba(255, 255, 250, 0.86);
  --line: rgba(19, 78, 66, 0.13);
  --green: #0f7669;
  --green-dark: #064d45;
  --gold: #d8b76a;
  --blue: #667eea;
  --purple: #764ba2;
  --shadow: 0 24px 74px rgba(18, 48, 42, 0.13);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 10% 0%, rgba(216, 183, 106, 0.28), transparent 34%),
    radial-gradient(circle at 92% 6%, rgba(15, 118, 105, 0.18), transparent 32%),
    linear-gradient(180deg, #fffdf7 0%, #f2f5ed 100%);
}

body[data-lang="zh"] [data-lang="en"],
body[data-lang="en"] [data-lang="zh"] {
  display: none;
}

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

.shell {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(20px);
  background: rgba(251, 250, 243, 0.84);
  border-bottom: 1px solid var(--line);
}

.nav-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 850;
}

.brand-mark {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: white;
  background: linear-gradient(135deg, var(--blue), var(--purple));
  box-shadow: 0 10px 28px rgba(102, 126, 234, 0.26);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-links a,
.lang-toggle button {
  flex: 0 0 auto;
  min-height: 40px;
  padding: 0 15px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 760;
  background: transparent;
  cursor: pointer;
  white-space: nowrap;
}

.nav-links a:hover,
.lang-toggle button.active {
  color: var(--green-dark);
  background: rgba(15, 118, 105, 0.08);
  border-color: rgba(15, 118, 105, 0.12);
}

.lang-toggle {
  padding: 4px;
  display: flex;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
}

.hero {
  padding: 78px 0 52px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(340px, 0.96fr);
  gap: 46px;
  align-items: center;
}

.eyebrow {
  width: max-content;
  max-width: 100%;
  padding: 8px 12px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  color: var(--green-dark);
  background: rgba(15, 118, 105, 0.09);
  border: 1px solid rgba(15, 118, 105, 0.14);
  font-size: 13px;
  font-weight: 850;
}

h1 {
  margin: 20px 0 18px;
  max-width: 860px;
  font-size: clamp(44px, 7vw, 84px);
  line-height: 0.95;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 700px;
  margin: 0 0 28px;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.65;
  font-weight: 520;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  min-height: 50px;
  padding: 0 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border-radius: 999px;
  font-weight: 850;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

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

.button.primary {
  color: white;
  background: linear-gradient(135deg, var(--green), var(--green-dark));
  box-shadow: 0 16px 34px rgba(15, 118, 105, 0.28);
}

.button.secondary {
  color: var(--green-dark);
  background: rgba(255, 255, 255, 0.84);
  border-color: var(--line);
}

.app-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
}

.app-card {
  min-height: 560px;
  padding: clamp(24px, 3.6vw, 42px);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-radius: 40px;
  background: rgba(255, 255, 250, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: var(--shadow);
}

.app-card::before {
  content: "";
  position: absolute;
  inset: -30% -20% auto auto;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: rgba(216, 183, 106, 0.18);
  pointer-events: none;
}

.app-card.tennis::before {
  background: rgba(102, 126, 234, 0.16);
}

.app-card.reading::before {
  background: rgba(15, 118, 105, 0.15);
}

.app-card.tennis-assistant::before {
  background: rgba(216, 183, 106, 0.2);
}

.app-card.notebook::before {
  background: rgba(118, 75, 162, 0.16);
}

.app-card-top {
  position: relative;
}

.app-icon {
  width: 116px;
  height: 116px;
  border-radius: 28px;
  object-fit: cover;
  box-shadow: 0 18px 30px rgba(0, 0, 0, 0.18);
}

.app-card h2,
.detail-copy h2,
.section-head h2 {
  margin: 22px 0 12px;
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1;
  letter-spacing: 0;
}

.app-card p,
.section-head p,
.detail-copy p,
.legal-card p,
.support-card p,
.policy-card p,
.admin-panel p,
.admin-card span {
  color: var(--muted);
  line-height: 1.7;
  font-size: 17px;
  font-weight: 520;
}

.backend-login {
  margin-top: 24px;
  padding: 20px;
  display: grid;
  gap: 12px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
}

.backend-login label {
  color: var(--green-dark);
  font-weight: 850;
}

.backend-login input {
  width: 100%;
  min-height: 52px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 17px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.9);
  font: inherit;
  font-size: 17px;
  outline: none;
}

.backend-login input:focus {
  border-color: rgba(15, 118, 105, 0.42);
  box-shadow: 0 0 0 4px rgba(15, 118, 105, 0.08);
}

.form-note {
  margin: 2px 0 0;
  font-size: 14px !important;
}

code {
  padding: 2px 6px;
  border-radius: 8px;
  background: rgba(15, 118, 105, 0.08);
  color: var(--green-dark);
}

.app-card-bottom {
  position: relative;
}

.quick-list {
  margin: 22px 0 26px;
  padding: 0;
  display: grid;
  gap: 11px;
  list-style: none;
}

.quick-list li {
  min-height: 50px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--line);
  font-weight: 760;
}

.dot {
  width: 9px;
  height: 9px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 5px rgba(216, 183, 106, 0.16);
}

.detail-hero {
  padding: 58px 0 28px;
}

.detail-panel {
  padding: clamp(24px, 4vw, 46px);
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 34px;
  border-radius: 42px;
  background: var(--card);
  border: 1px solid rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow);
}

.detail-panel.tennis {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(245, 247, 255, 0.78)),
    radial-gradient(circle at 10% 5%, rgba(102, 126, 234, 0.16), transparent 38%);
}

.detail-panel.reading {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(252, 248, 234, 0.78)),
    radial-gradient(circle at 10% 5%, rgba(216, 183, 106, 0.18), transparent 38%);
}

.detail-panel.notebook {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(244, 247, 255, 0.78)),
    radial-gradient(circle at 10% 5%, rgba(118, 75, 162, 0.14), transparent 38%),
    radial-gradient(circle at 92% 18%, rgba(15, 118, 105, 0.12), transparent 34%);
}

.detail-panel .app-icon {
  width: 160px;
  height: 160px;
  border-radius: 36px;
}

.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 18px 0 24px;
}

.tag {
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--green-dark);
  background: rgba(15, 118, 105, 0.09);
  border: 1px solid rgba(15, 118, 105, 0.1);
  font-size: 13px;
  font-weight: 850;
}

section {
  padding: 56px 0;
}

.section-head {
  max-width: 780px;
  margin-bottom: 26px;
}

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

.feature-card,
.support-card,
.legal-card {
  padding: 24px;
  border-radius: 26px;
  background: rgba(255, 255, 250, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.76);
  box-shadow: 0 16px 42px rgba(18, 48, 42, 0.09);
}

.feature-card h3,
.support-card h3,
.legal-card h3 {
  margin: 0 0 10px;
  font-size: 23px;
}

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

.legal-card ul {
  margin: 12px 0 0;
  padding-left: 20px;
  color: var(--muted);
  line-height: 1.7;
  font-weight: 520;
}

.legal-card li + li {
  margin-top: 7px;
}

.admin-panel {
  padding: 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-radius: 26px;
  background: rgba(255, 255, 250, 0.8);
  border: 1px solid var(--line);
  box-shadow: 0 16px 42px rgba(18, 48, 42, 0.09);
}

.admin-panel h3,
.policy-card h2 {
  margin: 0 0 8px;
}

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

.admin-card {
  min-height: 160px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  border-radius: 24px;
  background: rgba(255, 255, 250, 0.84);
  border: 1px solid var(--line);
  box-shadow: 0 16px 42px rgba(18, 48, 42, 0.08);
}

.admin-card strong {
  color: var(--green-dark);
  font-size: 22px;
}

.admin-card.disabled {
  opacity: 0.62;
  cursor: not-allowed;
}

.legal-hero {
  padding-bottom: 18px;
}

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

.policy-card {
  padding: 26px;
  border-radius: 26px;
  background: rgba(255, 255, 250, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.78);
  box-shadow: 0 16px 42px rgba(18, 48, 42, 0.08);
}

.policy-card ul {
  margin: 12px 0 0;
  padding-left: 20px;
  color: var(--muted);
  line-height: 1.72;
  font-weight: 520;
}

.policy-card li + li {
  margin-top: 8px;
}

.privacy-block {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.footer {
  padding: 42px 0 56px;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 22px;
  flex-wrap: wrap;
}

.footer a {
  color: var(--green-dark);
  font-weight: 850;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

@media (max-width: 900px) {
  .nav-inner {
    padding: 14px 0;
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-links {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 2px;
    scrollbar-width: none;
  }

  .nav-links::-webkit-scrollbar {
    display: none;
  }

  .hero-grid,
  .app-grid,
  .detail-panel,
  .feature-grid,
  .support-grid,
  .legal-grid,
  .admin-grid,
  .policy-layout {
    grid-template-columns: 1fr;
  }

  .admin-panel {
    align-items: flex-start;
    flex-direction: column;
  }

  .app-card {
    min-height: auto;
  }
}

@media (max-width: 560px) {
  .shell {
    width: min(100% - 24px, 1160px);
  }

  .hero {
    padding: 48px 0 34px;
  }

  .app-card,
  .detail-panel {
    border-radius: 28px;
  }

  .detail-panel .app-icon,
  .app-icon {
    width: 96px;
    height: 96px;
    border-radius: 24px;
  }

  .button {
    width: 100%;
  }
}

.admin-app {
  padding-bottom: 80px;
}

.admin-hero {
  padding: 58px 0 24px;
}

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

.admin-hero h1 {
  margin: 0 0 12px;
  font-size: clamp(42px, 6vw, 76px);
  line-height: 0.98;
  color: var(--green-dark);
}

.admin-hero p {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}

.admin-status {
  min-height: 42px;
  padding: 0 16px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  color: var(--green-dark);
  background: rgba(15, 118, 105, 0.08);
  border: 1px solid rgba(15, 118, 105, 0.15);
  font-weight: 850;
  white-space: nowrap;
}

.admin-login-panel {
  padding: 24px 0 60px;
}

.admin-login-card,
.admin-console,
.admin-editor-card {
  background: rgba(255, 255, 250, 0.9);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.admin-login-card {
  max-width: 760px;
  padding: 30px;
  display: grid;
  gap: 22px;
  border-radius: 28px;
}

.admin-login-card h2,
.admin-main h2,
.admin-editor-card h2 {
  margin: 0 0 8px;
  color: var(--green-dark);
  font-size: 26px;
}

.admin-login-card p,
.admin-main p,
.admin-editor-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.admin-login-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: end;
}

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

.admin-login-form input,
.admin-toolbar input,
.admin-config-form input,
.admin-config-form textarea,
.admin-editor textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.86);
  color: var(--ink);
  font: inherit;
  font-weight: 650;
  outline: none;
}

.admin-login-form input,
.admin-toolbar input,
.admin-config-form input {
  min-height: 48px;
  padding: 0 14px;
}

.admin-message {
  min-height: 22px;
  color: var(--green);
  font-weight: 780;
}

.admin-message.error {
  color: #d97706;
}

.admin-console {
  min-height: 740px;
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  border-radius: 30px;
  overflow: hidden;
}

.admin-sidebar {
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 7px;
  border-right: 1px solid var(--line);
  background: rgba(238, 244, 236, 0.72);
}

.admin-sidebar button {
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid transparent;
  border-radius: 14px;
  color: var(--muted);
  background: transparent;
  font: inherit;
  font-weight: 850;
  text-align: left;
  cursor: pointer;
}

.admin-sidebar button.active {
  color: white;
  background: linear-gradient(135deg, var(--green), var(--green-dark));
}

.admin-sidebar .admin-logout {
  margin-top: auto;
  color: #b45309;
  background: rgba(217, 119, 6, 0.09);
}

.admin-main {
  min-width: 0;
  padding: 26px;
}

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

.admin-toolbar-actions {
  min-width: min(100%, 460px);
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: flex-end;
}

.admin-toolbar-actions .button {
  min-height: 46px;
}

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

.admin-stat-card,
.admin-config-grid,
.admin-table-wrap {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
}

.admin-stat-card {
  padding: 20px;
  border-radius: 20px;
}

.admin-stat-card span {
  display: block;
  color: var(--muted);
  font-weight: 850;
}

.admin-stat-card strong {
  display: block;
  margin-top: 10px;
  color: var(--green);
  font-size: 32px;
  line-height: 1;
}

.admin-table-wrap {
  overflow: auto;
  border-radius: 20px;
}

.admin-table {
  width: 100%;
  min-width: 820px;
  border-collapse: collapse;
}

.admin-table th,
.admin-table td {
  padding: 14px 16px;
  border-bottom: 1px solid rgba(19, 78, 66, 0.1);
  text-align: left;
  vertical-align: top;
}

.admin-table th {
  color: var(--muted);
  background: rgba(238, 244, 236, 0.9);
  font-size: 13px;
  letter-spacing: 0;
}

.admin-table td {
  color: var(--ink);
  font-size: 14px;
  font-weight: 650;
}

.admin-table button {
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(15, 118, 105, 0.18);
  border-radius: 999px;
  color: var(--green-dark);
  background: rgba(15, 118, 105, 0.08);
  font: inherit;
  font-weight: 850;
  cursor: pointer;
}

.admin-actions-cell {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  min-width: 260px;
}

.admin-json-preview {
  margin: 0;
  max-height: 680px;
  padding: 18px;
  overflow: auto;
  color: #1f2a25;
  font-size: 13px;
  line-height: 1.55;
  white-space: pre-wrap;
}

.admin-config-grid {
  padding: 22px;
  border-radius: 24px;
}

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

.admin-config-form .wide {
  grid-column: 1 / -1;
}

.admin-config-form textarea {
  min-height: 120px;
  padding: 14px;
  resize: vertical;
}

.admin-config-form button {
  width: max-content;
}

.admin-editor {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(8, 32, 27, 0.34);
  backdrop-filter: blur(18px);
}

.admin-editor-card {
  width: min(900px, 100%);
  max-height: min(840px, 92vh);
  padding: 22px;
  display: grid;
  gap: 16px;
  border-radius: 28px;
}

.admin-editor-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.admin-editor-head button {
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: white;
  color: var(--ink);
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}

.admin-editor textarea {
  min-height: 460px;
  padding: 16px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 13px;
  line-height: 1.5;
  resize: vertical;
}

.admin-launch-notice-form {
  max-height: min(610px, 68vh);
  overflow: auto;
  padding: 4px 2px 8px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 15px;
}

.admin-launch-notice-form label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-weight: 800;
}

.admin-launch-notice-form label > span {
  font-size: 13px;
}

.admin-launch-notice-form input,
.admin-launch-notice-form select,
.admin-launch-notice-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--ink);
  font: inherit;
  font-weight: 650;
  outline: none;
}

.admin-launch-notice-form input,
.admin-launch-notice-form select {
  min-height: 46px;
  padding: 0 13px;
}

.admin-launch-notice-form textarea {
  min-height: 108px;
  padding: 13px;
  resize: vertical;
  font-family: inherit;
  font-size: 15px;
}

.admin-launch-notice-form .wide,
.admin-launch-notice-status {
  grid-column: 1 / -1;
}

.admin-launch-notice-status {
  padding: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border: 1px solid rgba(15, 118, 105, 0.16);
  border-radius: 17px;
  background: rgba(15, 118, 105, 0.055);
}

.admin-switch-row {
  display: flex !important;
  grid-template-columns: none !important;
  align-items: center;
  gap: 11px !important;
}

.admin-switch-row input {
  width: 22px;
  min-height: 22px;
  accent-color: var(--green);
}

.admin-switch-row span {
  display: grid;
  gap: 2px;
}

.admin-switch-row small {
  color: var(--muted);
  font-weight: 600;
}

.admin-official-chip {
  padding: 7px 10px;
  border-radius: 999px;
  color: var(--green-dark);
  background: rgba(15, 118, 105, 0.10);
  font-size: 12px;
  font-weight: 850;
  white-space: nowrap;
}

.admin-launch-notice-help {
  margin: 0;
  padding: 12px 14px;
  border-radius: 14px;
  color: var(--green-dark) !important;
  background: rgba(15, 118, 105, 0.07);
  font-size: 13px;
}

.admin-editor-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}

.admin-editor-actions #deleteButton {
  color: #b45309;
}

.admin-empty {
  padding: 32px;
  color: var(--muted);
  font-weight: 800;
}

.admin-identity-page {
  display: grid;
  gap: 22px;
}

.admin-identity-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.admin-identity-summary article {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.75);
}

.admin-identity-summary article.needs-review {
  border-color: rgba(217, 119, 6, 0.32);
  background: rgba(255, 247, 237, 0.9);
}

.admin-identity-summary span,
.admin-identity-summary strong {
  display: block;
}

.admin-identity-summary span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
}

.admin-identity-summary strong {
  margin-top: 8px;
  color: var(--green-dark);
  font-size: 28px;
}

.admin-identity-callout,
.admin-mapping-review {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.78);
}

.admin-identity-callout {
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-radius: 18px;
}

.admin-identity-callout strong {
  color: var(--ink);
}

.admin-identity-callout p {
  margin-top: 5px;
  font-size: 14px;
}

.admin-identity-section {
  display: grid;
  gap: 12px;
}

.admin-identity-section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.admin-identity-section-title h3 {
  margin: 0;
  color: var(--green-dark);
  font-size: 20px;
}

.admin-identity-section-title span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
}

.admin-mapping-review {
  padding: 20px;
  display: grid;
  gap: 16px;
  border-radius: 20px;
}

.admin-mapping-review-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
}

.admin-mapping-review-head h3 {
  margin: 6px 0;
  color: var(--ink);
  font-size: 22px;
}

.admin-review-status {
  display: inline-flex;
  padding: 4px 9px;
  border-radius: 999px;
  color: #b45309;
  background: rgba(245, 158, 11, 0.13);
  font-size: 12px;
  font-weight: 900;
}

.admin-review-meta {
  display: grid;
  justify-items: end;
  gap: 7px;
  color: #b45309;
  font-size: 13px;
  font-weight: 800;
}

.admin-review-meta code,
.admin-person-id,
.admin-identity-table code {
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px;
  overflow-wrap: anywhere;
}

.admin-identity-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.admin-identity-facts span {
  padding: 7px 10px;
  border-radius: 10px;
  color: var(--muted);
  background: rgba(238, 244, 236, 0.75);
  font-size: 13px;
}

.admin-mapping-candidates {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.admin-mapping-candidate {
  padding: 14px;
  display: grid;
  gap: 8px;
  border: 1px solid rgba(15, 118, 105, 0.16);
  border-radius: 15px;
  background: rgba(238, 244, 236, 0.48);
}

.admin-mapping-candidate > div {
  display: grid;
  gap: 3px;
}

.admin-mapping-candidate p {
  font-size: 13px;
}

.admin-mapping-candidate button {
  width: max-content;
  min-height: 36px;
  padding: 0 12px;
  border: 0;
  border-radius: 10px;
  color: white;
  background: var(--green);
  font: inherit;
  font-size: 13px;
  font-weight: 850;
  cursor: pointer;
}

.admin-no-candidate,
.admin-identity-empty {
  border: 1px dashed var(--line);
  border-radius: 14px;
  color: var(--muted);
  background: rgba(250, 250, 247, 0.75);
}

.admin-no-candidate {
  padding: 16px;
}

.admin-mapping-review-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.admin-manual-mapping {
  padding: 14px;
  display: grid;
  gap: 8px;
  border: 1px solid rgba(15, 118, 105, 0.16);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.7);
}

.admin-manual-mapping label {
  color: var(--green-dark);
  font-size: 13px;
  font-weight: 850;
}

.admin-manual-mapping > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
}

.admin-manual-mapping input {
  min-width: 0;
  min-height: 42px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--ink);
  background: white;
  font: inherit;
}

.admin-manual-mapping button {
  min-height: 42px;
  padding: 0 14px;
  border: 0;
  border-radius: 10px;
  color: white;
  background: var(--green);
  font: inherit;
  font-size: 13px;
  font-weight: 850;
  cursor: pointer;
}

.admin-season-record {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.78);
}

.admin-season-record > summary {
  padding: 16px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  color: var(--green-dark);
  cursor: pointer;
  font-weight: 850;
  list-style: none;
}

.admin-season-record > summary::-webkit-details-marker {
  display: none;
}

.admin-season-record > summary span:first-child {
  display: grid;
  gap: 3px;
}

.admin-season-record > summary small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.admin-season-record[open] > summary {
  border-bottom: 1px solid var(--line);
  background: rgba(238, 244, 236, 0.55);
}

.admin-season-record .admin-table-wrap {
  border: 0;
  border-radius: 0;
}

.admin-season-team-table code {
  color: var(--muted);
  font-size: 10px;
  overflow-wrap: anywhere;
}

.admin-transition-audit-list {
  display: grid;
  gap: 12px;
}

.admin-transition-audit {
  padding: 17px 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.78);
}

.admin-transition-audit.needs-review {
  border-color: rgba(217, 119, 6, 0.35);
  background: rgba(255, 247, 237, 0.9);
}

.admin-transition-audit-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.admin-transition-audit-head div {
  display: grid;
  gap: 3px;
}

.admin-transition-audit-head small,
.admin-transition-audit p {
  color: var(--muted);
}

.admin-transition-audit-head > span {
  color: var(--green-dark);
  font-size: 13px;
  font-weight: 900;
}

.admin-transition-audit.needs-review .admin-transition-audit-head > span {
  color: #b45309;
}

.admin-transition-checks {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.admin-transition-checks span {
  padding: 7px 9px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 800;
}

.admin-transition-checks .passed {
  color: #146c43;
  background: #e7f6ed;
}

.admin-transition-checks .failed {
  color: #b45309;
  background: #ffedd5;
}

.admin-transition-audit p {
  margin: 12px 0 0;
  font-size: 13px;
}

.admin-identity-table td:last-child {
  min-width: 260px;
}

.hidden {
  display: none !important;
}

@media (max-width: 900px) {
  .admin-hero-inner,
  .admin-toolbar,
  .admin-login-form {
    display: grid;
  }

  .admin-console {
    grid-template-columns: 1fr;
  }

  .admin-identity-summary,
  .admin-mapping-candidates {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-identity-callout,
  .admin-mapping-review-head {
    align-items: stretch;
    display: grid;
  }

  .admin-review-meta {
    justify-items: start;
  }

  .admin-sidebar {
    flex-direction: row;
    overflow-x: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .admin-sidebar button {
    white-space: nowrap;
  }

  .admin-summary-grid,
  .admin-config-form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .admin-summary-grid,
  .admin-config-form,
  .admin-launch-notice-form {
    grid-template-columns: 1fr;
  }

  .admin-launch-notice-form .wide,
  .admin-launch-notice-status {
    grid-column: auto;
  }

  .admin-launch-notice-status {
    align-items: flex-start;
    flex-direction: column;
  }

  .admin-toolbar-actions {
    display: grid;
    justify-content: stretch;
  }

  .admin-main {
    padding: 18px;
  }
}

/* Hitup Tennis public site */

.site-v2 {
  --studio-ink: #071c18;
  --studio-green: #b8f334;
  --studio-mint: #dcffbd;
  --studio-paper: #f5f6ec;
  --studio-white: #fffef8;
  color: var(--studio-ink);
  background: var(--studio-paper);
  overflow-x: hidden;
}

.site-v2 :focus-visible {
  outline: 3px solid #527800;
  outline-offset: 4px;
  box-shadow: 0 0 0 6px #fffef8;
}

.site-v2 .skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  color: #fff;
  background: #071c18;
  border-radius: 999px;
  transform: translateY(-160%);
  transition: transform 160ms ease;
}

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

.site-v2 .shell {
  width: min(1240px, calc(100% - 56px));
}

.site-v2 .nav {
  color: var(--studio-ink);
  background: rgba(245, 246, 236, 0.88);
  border-color: rgba(7, 28, 24, 0.1);
}

.site-v2 .nav-inner {
  min-height: 80px;
}

.site-v2 .brand-mark {
  border-radius: 50%;
  color: var(--studio-ink);
  background: var(--studio-green);
  box-shadow: none;
}

.brand-copy {
  display: grid;
  line-height: 1.05;
}

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

.brand-copy small {
  margin-top: 5px;
  color: #66736e;
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-v2 .nav-links a,
.site-v2 .lang-toggle button {
  color: #52605b;
  font-size: 13px;
  letter-spacing: 0.01em;
}

.site-v2 .nav-links a:hover,
.site-v2 .lang-toggle button.active {
  color: var(--studio-ink);
  background: rgba(7, 28, 24, 0.07);
  border-color: rgba(7, 28, 24, 0.08);
}

.site-v2 .lang-toggle {
  background: rgba(255, 255, 255, 0.68);
  border-color: rgba(7, 28, 24, 0.1);
}

.site-v2 .button {
  min-height: 54px;
  padding: 0 24px;
  border-radius: 16px;
}

.site-v2 .button.primary {
  color: var(--studio-ink);
  background: var(--studio-green);
  box-shadow: none;
}

.site-v2 .button.primary:hover {
  box-shadow: 0 14px 34px rgba(151, 205, 31, 0.24);
}

.site-v2 .button.ghost {
  color: inherit;
  background: transparent;
  border-color: rgba(7, 28, 24, 0.2);
}

.site-v2 .button.light {
  color: var(--studio-ink);
  background: var(--studio-white);
  border-color: rgba(255, 255, 255, 0.22);
}

.kicker,
.section-number {
  color: #6d7a75;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.kicker {
  display: flex;
  align-items: center;
  gap: 9px;
}

.kicker > span:first-child {
  width: 26px;
  height: 2px;
  background: currentColor;
}

.studio-hero {
  padding: 88px 0 96px;
  color: var(--studio-white);
  background:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    var(--studio-ink);
  background-size: 54px 54px;
  overflow: hidden;
}

.studio-hero-grid {
  min-height: 670px;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(440px, 0.96fr);
  align-items: center;
  gap: 74px;
}

.studio-hero .kicker {
  color: var(--studio-green);
}

.studio-hero h1 {
  max-width: 730px;
  margin: 28px 0 28px;
  font-size: clamp(58px, 7.2vw, 106px);
  line-height: 0.9;
  letter-spacing: -0.065em;
}

.studio-hero-copy > p {
  max-width: 650px;
  margin: 0;
  color: rgba(255, 254, 248, 0.7);
  font-size: clamp(18px, 2vw, 23px);
  line-height: 1.62;
}

.studio-hero .actions {
  margin-top: 34px;
}

.studio-hero .button.ghost {
  color: var(--studio-white);
  border-color: rgba(255, 255, 255, 0.25);
}

.studio-facts {
  margin-top: 64px;
  display: flex;
  gap: 34px;
}

.studio-facts > span {
  min-width: 112px;
  display: grid;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  padding-top: 13px;
}

.studio-facts strong {
  color: var(--studio-green);
  font-size: 28px;
  line-height: 1;
}

.studio-facts em {
  margin-top: 7px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 11px;
  font-style: normal;
  font-weight: 750;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.app-orbit {
  min-height: 600px;
  position: relative;
}

.orbit-line {
  position: absolute;
  border: 1px solid rgba(184, 243, 52, 0.2);
  border-radius: 50%;
}

.orbit-line-one {
  width: 520px;
  height: 520px;
  inset: 40px auto auto 8px;
}

.orbit-line-two {
  width: 360px;
  height: 360px;
  inset: 120px auto auto 88px;
  border-color: rgba(255, 255, 255, 0.12);
}

.orbit-app {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--studio-white);
  font-weight: 850;
  transition: transform 0.2s ease;
}

.orbit-app:hover {
  transform: translateY(-5px);
}

.orbit-app img {
  width: 68px;
  height: 68px;
  border-radius: 19px;
  object-fit: cover;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.25);
}

.orbit-app-main {
  inset: 205px auto auto 155px;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px);
}

.orbit-app-main img {
  width: 116px;
  height: 116px;
  border-radius: 30px;
}

.orbit-app-main span {
  display: grid;
}

.orbit-app-main strong {
  font-size: 25px;
}

.orbit-app-main small {
  margin-top: 6px;
  color: var(--studio-green);
}

.orbit-app-one {
  inset: 46px auto auto 88px;
}

.orbit-app-two {
  inset: 112px 0 auto auto;
}

.orbit-app-three {
  inset: auto 20px 54px auto;
}

.orbit-note {
  position: absolute;
  inset: auto auto 64px 44px;
  padding-left: 16px;
  color: rgba(255, 255, 255, 0.6);
  border-left: 2px solid var(--studio-green);
  font-size: 12px;
  font-weight: 750;
  line-height: 1.6;
  text-transform: uppercase;
}

.portfolio-section {
  padding: 112px 0;
}

.section-intro {
  margin-bottom: 46px;
}

.split-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  align-items: end;
  gap: 80px;
}

.section-intro h2,
.principles-copy h2,
.contact-panel h2,
.download-panel h2 {
  margin: 18px 0 0;
  max-width: 780px;
  font-size: clamp(42px, 5.4vw, 72px);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.section-intro > p,
.split-intro > p {
  margin: 0;
  color: #65716c;
  font-size: 17px;
  line-height: 1.7;
}

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

.portfolio-card {
  min-height: 410px;
  padding: 34px;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(7, 28, 24, 0.11);
  border-radius: 28px;
  background: rgba(255, 254, 248, 0.76);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.portfolio-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 60px rgba(7, 28, 24, 0.1);
}

.portfolio-card.featured-product {
  color: var(--studio-white);
  background: var(--studio-ink);
}

.portfolio-card-head {
  display: flex;
  align-items: center;
  gap: 22px;
}

.portfolio-card-head img {
  width: 88px;
  height: 88px;
  border-radius: 23px;
  object-fit: cover;
  box-shadow: 0 12px 30px rgba(7, 28, 24, 0.17);
}

.portfolio-card h3 {
  margin: 9px 0 0;
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1;
  letter-spacing: -0.045em;
}

.portfolio-card > p {
  max-width: 620px;
  margin: 30px 0 22px;
  color: #65716c;
  font-size: 18px;
  line-height: 1.65;
}

.featured-product > p {
  color: rgba(255, 255, 255, 0.68);
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #6d7a75;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.status > span:first-child {
  width: 7px;
  height: 7px;
  display: block;
  border-radius: 50%;
  background: #e4b147;
}

.status.live {
  color: var(--studio-green);
}

.status.live > span:first-child {
  background: var(--studio-green);
  box-shadow: 0 0 0 5px rgba(184, 243, 52, 0.12);
}

.status.preview > span:first-child {
  background: #8b9a94;
}

.product-points {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.product-points span {
  padding: 8px 11px;
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 11px;
  font-weight: 800;
}

.text-link {
  width: max-content;
  max-width: 100%;
  margin-top: auto;
  padding-top: 24px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: inherit;
  border-bottom: 1px solid currentColor;
  font-size: 14px;
  font-weight: 900;
}

.text-link b {
  color: #8da31d;
}

.featured-product .text-link b {
  color: var(--studio-green);
}

.studio-principles {
  padding: 112px 0;
  color: var(--studio-white);
  background: #102b25;
}

.principles-grid {
  display: grid;
  grid-template-columns: minmax(300px, 0.85fr) minmax(0, 1.15fr);
  gap: 100px;
}

.studio-principles .section-number {
  color: var(--studio-green);
}

.principles-list {
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.principles-list article {
  padding: 30px 0;
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.principles-list article > b {
  color: var(--studio-green);
  font-size: 12px;
}

.principles-list h3 {
  margin: 0 0 9px;
  font-size: 24px;
}

.principles-list p {
  margin: 0;
  color: rgba(255, 255, 255, 0.62);
  line-height: 1.65;
}

.studio-contact {
  padding: 32px 0;
  background: var(--studio-green);
}

.contact-panel {
  min-height: 330px;
  padding: 54px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 38px;
  border: 1px solid rgba(7, 28, 24, 0.14);
  border-radius: 30px;
}

.contact-panel h2 {
  font-size: clamp(42px, 5vw, 68px);
}

.contact-panel p {
  max-width: 620px;
  margin: 18px 0 0;
  line-height: 1.65;
}

.site-v2 .footer {
  color: rgba(255, 255, 255, 0.58);
  background: var(--studio-ink);
  border: 0;
}

.site-v2 .footer-inner > div:first-child {
  display: grid;
  gap: 8px;
}

.site-v2 .footer-inner strong {
  color: var(--studio-white);
}

.site-v2 .footer a {
  color: var(--studio-white);
}

/* ITT Assist product page */

.itt-product {
  background: #f3f8ee;
}

.itt-hero {
  padding: 78px 0 88px;
  overflow: hidden;
}

.itt-hero-grid {
  min-height: 700px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(400px, 0.84fr);
  gap: 90px;
  align-items: center;
}

.product-signature {
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  gap: 13px;
}

.product-signature img {
  width: 54px;
  height: 54px;
  border-radius: 15px;
}

.product-signature > div {
  display: grid;
}

.product-signature span {
  font-size: 15px;
  font-weight: 950;
  letter-spacing: 0.08em;
}

.product-signature small {
  margin-top: 4px;
  color: #6d7a75;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.itt-hero .kicker {
  color: #35715d;
}

.itt-hero h1 {
  margin: 24px 0 28px;
  max-width: 780px;
  font-size: clamp(56px, 7vw, 94px);
  line-height: 0.91;
  letter-spacing: -0.065em;
}

.itt-hero-copy > p {
  max-width: 690px;
  margin: 0;
  color: #5d6d66;
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.65;
}

.itt-hero .actions {
  margin-top: 34px;
}

.app-store-button {
  min-width: 176px;
  display: grid !important;
  align-content: center;
  justify-items: start;
  line-height: 1;
}

.app-store-button small {
  font-size: 9px;
  font-weight: 700;
}

.app-store-button strong {
  margin-top: 3px;
  font-size: 19px;
}

.platform-line {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.platform-line > span {
  padding: 8px 11px;
  border: 1px solid rgba(7, 28, 24, 0.12);
  border-radius: 999px;
  color: #617069;
  font-size: 11px;
  font-weight: 850;
}

.platform-line .platform-ready {
  color: #1d654f;
  background: rgba(133, 209, 88, 0.12);
}

.platform-ready i {
  width: 6px;
  height: 6px;
  display: inline-block;
  margin-right: 6px;
  border-radius: 50%;
  background: #54a83d;
}

.phone-stage {
  min-height: 720px;
  position: relative;
  display: grid;
  place-items: center;
}

.phone-stage::before {
  content: "";
  width: 550px;
  height: 550px;
  position: absolute;
  border-radius: 50%;
  background: var(--studio-green);
  opacity: 0.72;
}

.phone-shell {
  width: 330px;
  height: 680px;
  z-index: 2;
  padding: 12px;
  position: relative;
  overflow: hidden;
  border: 8px solid var(--studio-ink);
  border-radius: 48px;
  background: #f8fbf4;
  box-shadow: 0 34px 80px rgba(7, 28, 24, 0.25);
  transform: rotate(2deg);
}

.real-phone-shell {
  width: 330px;
  height: auto;
  aspect-ratio: 1206 / 2622;
  margin: 0;
  padding: 0;
  background: #fff;
}

.real-phone-shell img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.phone-top {
  height: 28px;
  padding: 0 10px;
  display: flex;
  justify-content: space-between;
  font-size: 9px;
  font-weight: 900;
}

.phone-screen {
  height: calc(100% - 28px);
  position: relative;
}

.mock-profile {
  padding: 12px 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mock-profile > span {
  display: grid;
}

.mock-profile small,
.mock-hero-card > small,
.mock-match-card small {
  color: #728079;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.mock-profile strong {
  margin-top: 3px;
  font-size: 20px;
}

.mock-avatar {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: #176a51;
  font-size: 10px;
  font-weight: 900;
}

.mock-hero-card {
  padding: 18px;
  display: grid;
  border-radius: 20px;
  color: white;
  background: #123f34;
}

.mock-hero-card > small {
  color: var(--studio-green);
}

.mock-hero-card > strong {
  margin-top: 8px;
  font-size: 18px;
}

.mock-hero-card > div {
  margin-top: 18px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.mock-hero-card > div > span {
  padding-top: 10px;
  display: grid;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.mock-hero-card b {
  color: var(--studio-green);
  font-size: 21px;
}

.mock-hero-card small {
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.55);
}

.mock-section-title {
  padding: 17px 4px 8px;
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  font-weight: 950;
}

.mock-section-title small {
  color: #668078;
  font-size: 8px;
}

.mock-match-card {
  padding: 13px;
  display: grid;
  grid-template-columns: 46px 1fr 12px;
  gap: 11px;
  align-items: center;
  border: 1px solid rgba(7, 28, 24, 0.1);
  border-radius: 17px;
  background: white;
}

.mock-date {
  display: grid;
  place-items: center;
  color: #246b53;
}

.mock-date b {
  font-size: 23px;
}

.mock-match-card > div:nth-child(2) {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.mock-match-card strong {
  overflow: hidden;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mock-match-card span {
  color: #748079;
  font-size: 9px;
}

.mock-arrow {
  color: #759087;
  font-size: 22px;
}

.mock-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.mock-metrics > div {
  padding: 14px;
  display: grid;
  border: 1px solid rgba(7, 28, 24, 0.1);
  border-radius: 17px;
  background: white;
}

.mock-metrics small {
  color: #718078;
  font-size: 8px;
  font-weight: 850;
}

.mock-metrics strong {
  margin-top: 6px;
  color: #176a51;
  font-size: 24px;
}

.mock-metrics span {
  margin-top: 3px;
  color: #728079;
  font-size: 8px;
}

.mock-tabbar {
  position: absolute;
  inset: auto 0 4px;
  padding: 9px 8px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border: 1px solid rgba(7, 28, 24, 0.08);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 10px 30px rgba(7, 28, 24, 0.1);
}

.mock-tabbar > span {
  display: grid;
  justify-items: center;
  color: #96a39d;
  font-size: 15px;
}

.mock-tabbar small {
  margin-top: 2px;
  font-size: 7px;
  font-weight: 800;
}

.mock-tabbar .active {
  color: #176a51;
}

.score-orbit {
  z-index: 3;
  position: absolute;
  padding: 12px 16px;
  border: 1px solid rgba(7, 28, 24, 0.12);
  border-radius: 14px;
  color: var(--studio-ink);
  background: var(--studio-white);
  box-shadow: 0 18px 40px rgba(7, 28, 24, 0.12);
  font-size: 20px;
  font-weight: 950;
}

.score-orbit-one {
  inset: 160px auto auto 12px;
  transform: rotate(-6deg);
}

.score-orbit-two {
  inset: auto 10px 145px auto;
  color: #fff;
  background: #176a51;
  transform: rotate(6deg);
}

.itt-value-strip {
  padding: 0;
  color: white;
  background: var(--studio-ink);
}

.value-strip-grid {
  min-height: 126px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.value-strip-grid > span {
  padding: 24px;
  display: flex;
  align-items: center;
  gap: 14px;
  border-right: 1px solid rgba(255, 255, 255, 0.13);
}

.value-strip-grid b {
  color: var(--studio-green);
  font-size: 10px;
}

.value-strip-grid strong {
  font-size: 14px;
}

.itt-feature-section {
  padding: 112px 0;
}

.screenshot-disclosure {
  max-width: 860px;
  margin: 0 0 34px;
  padding: 16px 18px;
  border: 1px solid rgba(7, 28, 24, 0.1);
  border-radius: 16px;
  color: #5d6e66;
  background: rgba(255, 255, 255, 0.64);
  font-size: 13px;
  line-height: 1.65;
}

.itt-screenshot-features {
  display: grid;
  gap: 24px;
}

.screenshot-feature {
  min-height: 720px;
  padding: 34px clamp(28px, 5vw, 72px);
  display: grid;
  grid-template-columns: minmax(270px, 0.72fr) minmax(0, 1.28fr);
  align-items: center;
  gap: clamp(44px, 8vw, 110px);
  overflow: hidden;
  border: 1px solid rgba(7, 28, 24, 0.1);
  border-radius: 34px;
  background:
    radial-gradient(circle at 15% 12%, rgba(172, 224, 111, 0.22), transparent 34%),
    rgba(255, 255, 255, 0.72);
}

.screenshot-feature.reverse {
  grid-template-columns: minmax(0, 1.28fr) minmax(270px, 0.72fr);
  background:
    radial-gradient(circle at 86% 15%, rgba(240, 112, 157, 0.12), transparent 32%),
    rgba(255, 255, 255, 0.72);
}

.screenshot-feature.reverse figure {
  grid-column: 2;
  grid-row: 1;
}

.screenshot-feature.reverse > div {
  grid-column: 1;
  grid-row: 1;
}

.screenshot-feature figure {
  width: min(100%, 350px);
  aspect-ratio: 1206 / 2622;
  margin: 0 auto;
  overflow: hidden;
  border: 7px solid #071c18;
  border-radius: 46px;
  background: #fff;
  box-shadow: 0 26px 68px rgba(7, 28, 24, 0.2);
  transform: rotate(-1.2deg);
}

.screenshot-feature.reverse figure {
  transform: rotate(1.2deg);
}

.screenshot-feature figure img {
  width: 100%;
  height: auto;
  display: block;
}

.screenshot-feature > div {
  max-width: 600px;
}

.screenshot-feature h3 {
  margin: 20px 0 18px;
  font-size: clamp(38px, 5vw, 64px);
  line-height: 0.98;
  letter-spacing: -0.052em;
}

.screenshot-feature p {
  margin: 0;
  color: #5d6e66;
  font-size: 17px;
  line-height: 1.75;
}

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

.itt-feature-grid > article {
  min-height: 410px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(7, 28, 24, 0.11);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.72);
}

.itt-feature-grid > article.wide {
  grid-column: 1 / -1;
  min-height: 330px;
}

.feature-index {
  color: #6a7a73;
  font-size: 11px;
  font-weight: 950;
}

.itt-feature-grid h3 {
  margin: 20px 0 12px;
  font-size: clamp(32px, 4vw, 50px);
  line-height: 1;
  letter-spacing: -0.045em;
}

.itt-feature-grid > article > p {
  max-width: 710px;
  margin: 0;
  color: #64726c;
  font-size: 16px;
  line-height: 1.65;
}

.mini-schedule,
.notice-preview {
  margin-top: auto;
  padding: 18px;
  display: flex;
  align-items: center;
  gap: 18px;
  border: 1px solid rgba(7, 28, 24, 0.1);
  border-radius: 18px;
  background: white;
}

.mini-schedule > span {
  display: grid;
  justify-items: center;
  color: #176a51;
  font-size: 9px;
  font-weight: 900;
}

.mini-schedule > span b {
  font-size: 30px;
}

.mini-schedule > div {
  display: grid;
  gap: 4px;
}

.mini-schedule small,
.notice-preview small {
  color: #79857f;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.mini-schedule strong {
  font-size: 17px;
}

.mini-schedule em {
  color: #69766f;
  font-size: 12px;
  font-style: normal;
}

.mini-schedule > i {
  margin-left: auto;
  padding: 7px 10px;
  border-radius: 999px;
  color: #815a13;
  background: #fff0c9;
  font-size: 10px;
  font-style: normal;
  font-weight: 900;
}

.rank-stack {
  margin-top: auto;
  display: grid;
  gap: 7px;
}

.rank-stack > span {
  padding: 13px 15px;
  display: grid;
  grid-template-columns: 30px 1fr auto;
  align-items: center;
  border-radius: 12px;
  color: #6d7973;
  background: rgba(255, 255, 255, 0.7);
}

.rank-stack .selected {
  color: white;
  background: #176a51;
}

.rank-stack em {
  font-style: normal;
  font-weight: 850;
}

.rank-stack strong {
  color: #95b91c;
}

.result-card {
  margin-top: auto;
  padding: 20px;
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 16px;
  border-radius: 18px;
  color: white;
  background: var(--studio-ink);
}

.result-card > span:first-child {
  display: grid;
}

.result-card small {
  color: var(--studio-green);
  font-size: 9px;
}

.result-card > strong {
  font-size: 28px;
}

.result-card .won {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--studio-ink);
  background: var(--studio-green);
  font-size: 10px;
  font-weight: 950;
}

.notice-feature {
  color: white;
  background: #176a51 !important;
}

.notice-feature .feature-index,
.notice-feature > p {
  color: rgba(255, 255, 255, 0.68) !important;
}

.notice-preview {
  color: var(--studio-ink);
}

.notice-icon {
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: var(--studio-green);
  font-weight: 950;
}

.notice-preview > div {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.notice-preview strong {
  font-size: 15px;
}

.notice-preview p {
  margin: 0;
  color: #68756f;
  font-size: 11px;
}

.notice-preview time {
  margin-left: auto;
  color: #85918b;
  font-size: 10px;
}

.version-badges {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.version-badges > span {
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 10px;
  font-weight: 850;
}

.itt-trust-section {
  padding: 112px 0;
  color: white;
  background: var(--studio-ink);
}

.trust-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 90px;
}

.itt-trust-section .section-number {
  color: var(--studio-green);
}

.itt-trust-section h2 {
  margin: 18px 0 24px;
  font-size: clamp(42px, 5.5vw, 72px);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.trust-grid > div:first-child > p {
  color: rgba(255, 255, 255, 0.66);
  font-size: 17px;
  line-height: 1.7;
}

.itt-trust-section .text-link b {
  color: var(--studio-green);
}

.trust-cards {
  display: grid;
  gap: 10px;
}

.trust-cards article {
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.055);
}

.trust-cards article > span {
  color: var(--studio-green);
  font-size: 9px;
  font-weight: 950;
  letter-spacing: 0.12em;
}

.trust-cards h3 {
  margin: 10px 0 7px;
  font-size: 20px;
}

.trust-cards p {
  margin: 0;
  color: rgba(255, 255, 255, 0.58);
  line-height: 1.55;
}

.download-section {
  padding: 32px 0;
  background: var(--studio-green);
}

.download-panel {
  min-height: 380px;
  padding: 52px;
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr) auto;
  gap: 36px;
  align-items: center;
  border: 1px solid rgba(7, 28, 24, 0.14);
  border-radius: 30px;
}

.download-icon img {
  width: 110px;
  height: 110px;
  border-radius: 28px;
  box-shadow: 0 20px 40px rgba(7, 28, 24, 0.18);
}

.download-panel h2 {
  font-size: clamp(40px, 5vw, 65px);
}

.download-panel p {
  max-width: 680px;
  margin: 18px 0 0;
  line-height: 1.65;
}

.download-actions {
  display: grid;
  gap: 12px;
  justify-items: center;
}

.download-actions > span {
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

@media (max-width: 980px) {
  .studio-hero-grid,
  .itt-hero-grid,
  .principles-grid,
  .trust-grid {
    grid-template-columns: 1fr;
  }

  .studio-hero-grid {
    gap: 30px;
  }

  .app-orbit {
    width: min(100%, 600px);
    margin: 0 auto;
  }

  .phone-stage {
    min-height: 680px;
  }

  .split-intro {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .contact-panel {
    align-items: flex-start;
    flex-direction: column;
  }

  .download-panel {
    grid-template-columns: 100px 1fr;
  }

  .download-actions {
    grid-column: 2;
    justify-items: start;
  }
}

@media (max-width: 720px) {
  .site-v2 .shell {
    width: min(100% - 28px, 1240px);
  }

  .studio-hero {
    padding: 58px 0 72px;
  }

  .studio-hero h1,
  .itt-hero h1 {
    font-size: clamp(50px, 15vw, 76px);
  }

  .studio-facts {
    gap: 16px;
  }

  .app-orbit {
    min-height: 500px;
    transform: scale(0.88);
    transform-origin: center top;
  }

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

  .screenshot-feature,
  .screenshot-feature.reverse {
    min-height: 0;
    padding: 36px;
    grid-template-columns: minmax(240px, 0.8fr) minmax(0, 1.2fr);
    gap: 46px;
  }

  .portfolio-card {
    min-height: 360px;
  }

  .itt-feature-grid > article.wide {
    grid-column: auto;
  }

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

  .value-strip-grid > span {
    border-bottom: 1px solid rgba(255, 255, 255, 0.13);
  }

  .phone-stage::before {
    width: 430px;
    height: 430px;
  }

  .contact-panel,
  .download-panel {
    padding: 34px 26px;
  }

  .download-panel {
    grid-template-columns: 1fr;
  }

  .download-actions {
    grid-column: auto;
  }

  .site-v2 .footer-inner {
    display: grid;
  }
}

@media (max-width: 520px) {
  .site-v2 .nav-inner {
    padding: 11px 0;
  }

  .brand-copy small {
    display: none;
  }

  .studio-hero-grid {
    min-height: auto;
  }

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

  .studio-facts > span {
    min-width: 0;
  }

  .studio-facts em {
    font-size: 8px;
  }

  .app-orbit {
    width: 560px;
    margin-left: calc((100% - 560px) / 2);
    transform: scale(0.66);
    min-height: 400px;
  }

  .portfolio-section,
  .studio-principles,
  .itt-feature-section,
  .itt-trust-section {
    padding: 78px 0;
  }

  .portfolio-card,
  .itt-feature-grid > article {
    padding: 24px;
    border-radius: 22px;
  }

  .portfolio-card-head img {
    width: 70px;
    height: 70px;
    border-radius: 18px;
  }

  .portfolio-card h3 {
    font-size: 34px;
  }

  .phone-stage {
    min-height: 650px;
    transform: scale(0.9);
    transform-origin: center top;
  }

  .screenshot-feature,
  .screenshot-feature.reverse {
    padding: 28px 22px 34px;
    display: flex;
    flex-direction: column;
    gap: 34px;
  }

  .screenshot-feature.reverse figure,
  .screenshot-feature.reverse > div {
    grid-column: auto;
    grid-row: auto;
  }

  .screenshot-feature figure,
  .screenshot-feature.reverse figure {
    width: min(88%, 330px);
    order: 1;
    transform: none;
  }

  .screenshot-feature > div,
  .screenshot-feature.reverse > div {
    order: 2;
  }

  .screenshot-feature h3 {
    font-size: 38px;
  }

  .score-orbit {
    display: none;
  }

  .mini-schedule {
    align-items: flex-start;
  }

  .mini-schedule > i {
    display: none;
  }

  .notice-preview time {
    display: none;
  }

  .download-icon img {
    width: 84px;
    height: 84px;
    border-radius: 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-v2 *,
  .site-v2 *::before,
  .site-v2 *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
