:root {
  color-scheme: dark;
  --bg: #07111f;
  --bg-soft: #0a1728;
  --card: rgba(13, 28, 47, 0.78);
  --card-strong: #0d1c2f;
  --line: rgba(142, 176, 208, 0.16);
  --text: #f4f8fb;
  --muted: #91a5ba;
  --cyan: #35d4c4;
  --cyan-strong: #12b8aa;
  --blue: #49a7ff;
  --purple: #8b7cf6;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.34);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    "Microsoft YaHei", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  background:
    radial-gradient(circle at 80% 4%, rgba(40, 192, 178, 0.14), transparent 30rem),
    radial-gradient(circle at 4% 42%, rgba(48, 119, 205, 0.12), transparent 28rem),
    var(--bg);
}

body.modal-open {
  overflow: hidden;
}

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

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

button {
  font: inherit;
}

.page-shell {
  position: relative;
  overflow: hidden;
}

.page-shell::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.024) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.024) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, #000 0%, transparent 60%);
}

.site-header,
.hero,
.feature-section,
.models-section,
.cta-section,
footer {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
}

.site-header {
  position: relative;
  z-index: 5;
  display: flex;
  min-height: 84px;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  position: relative;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(95, 239, 221, 0.48);
  border-radius: 14px;
  color: #041412;
  background: linear-gradient(140deg, #67edcf 0%, #28c8b9 54%, #3e8df6 100%);
  box-shadow: 0 10px 24px rgba(20, 199, 183, 0.22);
}

.brand-mark::after {
  position: absolute;
  width: 28px;
  height: 28px;
  border: 1px solid rgba(255, 255, 255, 0.46);
  border-radius: 10px;
  content: "";
}

.brand-mark span {
  position: relative;
  z-index: 1;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.brand-mark.small {
  width: 34px;
  height: 34px;
  border-radius: 11px;
}

.brand-mark.small::after {
  width: 22px;
  height: 22px;
  border-radius: 8px;
}

.brand-name {
  font-size: 18px;
  font-weight: 750;
  letter-spacing: -0.02em;
}

.brand-name b {
  color: var(--cyan);
}

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

.nav-link,
.notice-trigger {
  border: 0;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
  font-size: 14px;
  transition: color 160ms ease;
}

.nav-link:hover,
.notice-trigger:hover {
  color: var(--text);
}

.notice-trigger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 0;
}

.notice-dot {
  width: 7px;
  height: 7px;
  border-radius: 99px;
  background: var(--cyan);
  box-shadow: 0 0 0 5px rgba(53, 212, 196, 0.09);
}

.button {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 1px solid transparent;
  border-radius: 12px;
  cursor: pointer;
  font-weight: 700;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    background 160ms ease;
}

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

.button:focus-visible,
.notice-tab:focus-visible,
.notice-close-icon:focus-visible,
.notice-trigger:focus-visible,
a:focus-visible {
  outline: 3px solid rgba(73, 167, 255, 0.52);
  outline-offset: 3px;
}

.button-ghost {
  padding: 0 16px;
  border-color: var(--line);
  color: #d7e2ec;
  background: rgba(255, 255, 255, 0.025);
}

.button-primary {
  padding: 0 18px;
  color: #031815;
  background: linear-gradient(135deg, #5be6d1, #24c8b8);
  box-shadow: 0 12px 30px rgba(28, 205, 188, 0.18);
}

.button-secondary {
  color: #dce8f2;
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.035);
}

.button-large {
  min-height: 52px;
  padding: 0 24px;
  border-radius: 14px;
}

.hero {
  position: relative;
  z-index: 1;
  display: grid;
  min-height: 660px;
  align-items: center;
  gap: 70px;
  grid-template-columns: 0.95fr 1.05fr;
}

.hero-copy {
  padding: 84px 0 74px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
  padding: 8px 13px;
  border: 1px solid rgba(53, 212, 196, 0.18);
  border-radius: 99px;
  color: #b8cadd;
  background: rgba(22, 160, 149, 0.07);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.pulse {
  width: 7px;
  height: 7px;
  border-radius: 99px;
  background: #4ce0b3;
  box-shadow: 0 0 0 0 rgba(76, 224, 179, 0.3);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  70% {
    box-shadow: 0 0 0 8px rgba(76, 224, 179, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(76, 224, 179, 0);
  }
}

.hero h1 {
  max-width: 620px;
  margin: 0;
  font-size: clamp(52px, 6vw, 82px);
  line-height: 1.03;
  letter-spacing: -0.065em;
}

.hero h1 span {
  color: transparent;
  background: linear-gradient(90deg, #66e7d3 0%, #55bdec 58%, #9d91ff 100%);
  background-clip: text;
  -webkit-background-clip: text;
}

.hero-lead {
  max-width: 580px;
  margin: 26px 0 32px;
  color: #9eb1c5;
  font-size: 18px;
  line-height: 1.85;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-top: 28px;
  color: #8196aa;
  font-size: 13px;
}

.trust-row span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.trust-row i {
  color: var(--cyan);
  font-style: normal;
}

.hero-visual {
  position: relative;
  min-height: 460px;
}

.glow {
  position: absolute;
  border-radius: 999px;
  filter: blur(58px);
  opacity: 0.44;
}

.glow-one {
  top: 20px;
  right: 18%;
  width: 230px;
  height: 230px;
  background: rgba(28, 207, 187, 0.2);
}

.glow-two {
  right: 8%;
  bottom: 26px;
  width: 200px;
  height: 200px;
  background: rgba(81, 102, 245, 0.18);
}

.terminal-card {
  position: absolute;
  z-index: 2;
  top: 62px;
  right: 0;
  left: 4%;
  overflow: hidden;
  border: 1px solid rgba(132, 168, 202, 0.18);
  border-radius: 22px;
  background: rgba(8, 20, 35, 0.93);
  box-shadow: var(--shadow);
  transform: perspective(1000px) rotateY(-3deg) rotateX(1deg);
}

.terminal-bar {
  display: grid;
  min-height: 54px;
  align-items: center;
  padding: 0 18px;
  border-bottom: 1px solid var(--line);
  color: #748a9f;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px;
  grid-template-columns: 1fr auto 1fr;
}

.terminal-dots {
  display: flex;
  gap: 7px;
}

.terminal-dots span {
  width: 9px;
  height: 9px;
  border-radius: 99px;
  background: #ff6b68;
}

.terminal-dots span:nth-child(2) {
  background: #f1bf49;
}

.terminal-dots span:nth-child(3) {
  background: #39d184;
}

.terminal-status {
  justify-self: end;
  color: #56d5c5;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.terminal-body {
  min-height: 285px;
  padding: 30px;
  color: #d2dde6;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 13px;
  line-height: 1.8;
}

.code-line {
  overflow-wrap: anywhere;
}

.prompt,
.command,
.key {
  color: var(--cyan);
}

.value {
  color: #f0d37d;
}

.muted {
  color: #61778c;
}

.code-block {
  margin: 26px 0;
  padding: 18px 20px;
  border: 1px solid rgba(93, 126, 156, 0.15);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.025);
}

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

.success-dot {
  width: 8px;
  height: 8px;
  border-radius: 99px;
  background: #48d391;
  box-shadow: 0 0 16px rgba(72, 211, 145, 0.5);
}

.route-card {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid rgba(133, 166, 198, 0.2);
  border-radius: 15px;
  background: rgba(15, 31, 51, 0.9);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.26);
  backdrop-filter: blur(16px);
}

.route-card-left {
  bottom: 18px;
  left: -8px;
}

.route-card-right {
  right: -24px;
  bottom: 68px;
}

.route-card span:last-child {
  display: grid;
  gap: 4px;
}

.route-card b {
  font-size: 12px;
}

.route-card small {
  color: var(--muted);
  font-size: 10px;
}

.route-icon {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 11px;
  color: #05201d;
  background: var(--cyan);
  font-size: 11px;
  font-weight: 900;
}

.route-icon-purple {
  color: white;
  background: var(--purple);
  font-size: 18px;
}

.feature-section {
  padding: 104px 0;
  border-top: 1px solid var(--line);
}

.section-heading {
  max-width: 620px;
  margin: 0 auto 48px;
  text-align: center;
}

.section-heading > span,
.section-kicker {
  color: var(--cyan);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.17em;
}

.section-heading h2,
.models-section h2,
.cta-section h2 {
  margin: 12px 0;
  font-size: clamp(30px, 4vw, 44px);
  letter-spacing: -0.045em;
}

.section-heading p,
.models-section p,
.cta-section p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

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

.feature-card {
  position: relative;
  min-height: 270px;
  padding: 30px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: linear-gradient(145deg, rgba(15, 31, 51, 0.84), rgba(8, 21, 37, 0.84));
}

.feature-card.featured {
  border-color: rgba(53, 212, 196, 0.26);
  background:
    radial-gradient(circle at 100% 0%, rgba(53, 212, 196, 0.13), transparent 48%),
    linear-gradient(145deg, rgba(15, 31, 51, 0.92), rgba(8, 21, 37, 0.92));
}

.feature-number {
  position: absolute;
  top: 20px;
  right: 22px;
  color: rgba(154, 182, 207, 0.19);
  font-size: 40px;
  font-weight: 900;
}

.feature-icon {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  margin-bottom: 36px;
  border: 1px solid rgba(61, 214, 198, 0.22);
  border-radius: 15px;
  color: var(--cyan);
  background: rgba(42, 193, 179, 0.08);
  font-size: 23px;
}

.feature-card h3 {
  margin: 0 0 12px;
  font-size: 20px;
}

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

.feature-label {
  display: inline-block;
  margin-top: 24px;
  color: #82c8c0;
  font-size: 11px;
  font-weight: 800;
}

.models-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  padding: 86px 0;
  border-top: 1px solid var(--line);
}

.model-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
}

.model-list > span {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  gap: 10px;
  padding: 0 15px;
  border: 1px solid var(--line);
  border-radius: 13px;
  color: #bdcada;
  background: rgba(255, 255, 255, 0.025);
  font-size: 13px;
}

.model-list i {
  display: grid;
  width: 27px;
  height: 27px;
  place-items: center;
  border-radius: 8px;
  color: white;
  font-size: 11px;
  font-style: normal;
  font-weight: 900;
}

.model-g {
  background: #18a57d;
}

.model-c {
  background: #e78950;
}

.model-d {
  background: #397cea;
}

.model-q {
  background: #8f64ec;
}

.model-m {
  background: #cf5b7d;
}

.cta-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin-top: 20px;
  margin-bottom: 80px;
  padding: 50px 56px;
  overflow: hidden;
  border: 1px solid rgba(95, 222, 205, 0.2);
  border-radius: 26px;
  background:
    radial-gradient(circle at 100% 50%, rgba(95, 104, 246, 0.22), transparent 35%),
    linear-gradient(110deg, rgba(29, 177, 161, 0.18), rgba(12, 27, 45, 0.96) 55%);
}

.button-light {
  flex: 0 0 auto;
  padding-inline: 28px;
  color: #06121d;
  background: white;
}

footer {
  display: grid;
  align-items: center;
  gap: 16px;
  padding: 34px 0 48px;
  border-top: 1px solid var(--line);
  color: #73899f;
  font-size: 12px;
  grid-template-columns: auto 1fr auto;
}

footer p {
  margin: 0;
}

.footer-brand {
  color: #dbe6ef;
  font-size: 14px;
  font-weight: 800;
}

.attribution {
  text-align: center;
}

.attribution a {
  color: #8bcac3;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.modal-backdrop {
  position: fixed;
  z-index: 100;
  inset: 0;
  display: grid;
  visibility: hidden;
  padding: 24px;
  place-items: center;
  background: rgba(2, 8, 17, 0.74);
  backdrop-filter: blur(10px);
  opacity: 0;
  transition:
    opacity 180ms ease,
    visibility 180ms ease;
}

.modal-backdrop.open {
  visibility: visible;
  opacity: 1;
}

.notice-modal {
  width: min(900px, 100%);
  max-height: min(760px, calc(100vh - 48px));
  overflow: hidden;
  border: 1px solid rgba(135, 158, 255, 0.26);
  border-radius: 22px;
  background:
    radial-gradient(circle at 100% 0%, rgba(75, 83, 185, 0.15), transparent 34%),
    #0b1020;
  box-shadow: 0 34px 100px rgba(0, 0, 0, 0.58);
  transform: translateY(18px) scale(0.985);
  transition: transform 180ms ease;
}

.modal-backdrop.open .notice-modal {
  transform: translateY(0) scale(1);
}

.notice-header {
  position: relative;
  display: grid;
  min-height: 92px;
  align-items: center;
  padding: 20px 62px 20px 28px;
  border-bottom: 1px solid rgba(123, 143, 181, 0.14);
  grid-template-columns: 1fr auto;
}

.notice-kicker {
  display: block;
  margin-bottom: 4px;
  color: #6b7b98;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.18em;
}

.notice-header h2 {
  margin: 0;
  font-size: 21px;
  letter-spacing: -0.025em;
}

.notice-tabs {
  display: flex;
  gap: 6px;
  padding: 4px;
  border: 1px solid rgba(124, 148, 185, 0.13);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.025);
}

.notice-tab {
  min-height: 38px;
  padding: 0 14px;
  border: 0;
  border-radius: 9px;
  color: #7f8eaa;
  background: transparent;
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
}

.notice-tab.active {
  color: #69cfff;
  background: rgba(45, 112, 178, 0.22);
}

.notice-close-icon {
  position: absolute;
  top: 25px;
  right: 22px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 10px;
  color: #8996ad;
  background: transparent;
  cursor: pointer;
  font-size: 26px;
}

.notice-close-icon:hover {
  color: white;
  background: rgba(255, 255, 255, 0.05);
}

.notice-body {
  max-height: calc(100vh - 260px);
  min-height: 360px;
  overflow-y: auto;
  padding: 26px 30px;
}

.notice-panel {
  animation: panel-in 150ms ease;
}

@keyframes panel-in {
  from {
    opacity: 0;
    transform: translateY(5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.notice-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  color: #68c2ff;
  font-size: 12px;
  font-weight: 750;
}

.notice-badge span {
  width: 8px;
  height: 8px;
  border-radius: 99px;
  background: linear-gradient(135deg, #35d4c4, #478dff);
}

.notice-panel h3 {
  margin: 0 0 10px;
  font-size: 23px;
}

.notice-panel > p {
  margin: 0;
  color: #a2b0c3;
  font-size: 14px;
  line-height: 1.8;
}

.notice-list {
  display: grid;
  gap: 10px;
  margin-top: 24px;
}

.notice-list > div {
  display: grid;
  align-items: start;
  gap: 13px;
  padding: 14px 16px;
  border: 1px solid rgba(126, 145, 177, 0.12);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.022);
  grid-template-columns: auto 1fr;
}

.notice-list-icon {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 9px;
  font-size: 12px;
  font-weight: 900;
}

.notice-list-icon.blue {
  color: #69bfff;
  background: rgba(60, 146, 228, 0.13);
}

.notice-list-icon.green {
  color: #5fe0b4;
  background: rgba(63, 211, 158, 0.12);
}

.notice-list-icon.amber {
  color: #f0c465;
  background: rgba(231, 179, 67, 0.12);
}

.notice-list-icon.purple {
  color: #b6a9ff;
  background: rgba(139, 124, 246, 0.12);
}

.notice-list p {
  display: grid;
  gap: 4px;
  margin: 0;
}

.notice-list b {
  font-size: 13px;
}

.notice-list small {
  color: #8797ab;
  font-size: 12px;
  line-height: 1.6;
}

.notice-agreement {
  margin-top: 24px;
  padding: 18px;
  border: 1px solid rgba(126, 145, 177, 0.12);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.018);
}

.notice-agreement h4 {
  margin: 0 0 14px;
  color: #e3ebf3;
  font-size: 14px;
}

.notice-agreement ol {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 22px;
  color: #8f9fb3;
  font-size: 12px;
  line-height: 1.75;
}

.notice-agreement b {
  color: #cdd8e4;
}

.notice-consent {
  margin-top: 18px !important;
}

.policy-list {
  display: grid;
  gap: 12px;
  margin: 24px 0;
  padding: 0;
  list-style: none;
  counter-reset: policy;
}

.policy-list li {
  position: relative;
  padding: 14px 16px 14px 50px;
  border: 1px solid rgba(126, 145, 177, 0.12);
  border-radius: 13px;
  color: #a9b6c7;
  background: rgba(255, 255, 255, 0.022);
  font-size: 13px;
  line-height: 1.7;
  counter-increment: policy;
}

.policy-list li::before {
  position: absolute;
  top: 14px;
  left: 15px;
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border-radius: 8px;
  color: #66d5c8;
  background: rgba(46, 200, 184, 0.1);
  content: counter(policy, decimal-leading-zero);
  font-size: 9px;
  font-weight: 900;
}

.policy-list b {
  color: #dce5ee;
}

.policy-note {
  padding: 13px 15px;
  border-left: 3px solid #8c7cf5;
  border-radius: 0 10px 10px 0;
  background: rgba(139, 124, 246, 0.08);
  font-size: 12px !important;
}

.notice-footer {
  display: flex;
  min-height: 80px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 28px;
  border-top: 1px solid rgba(123, 143, 181, 0.14);
}

.notice-footer p {
  margin: 0;
  color: #64738b;
  font-size: 11px;
}

.notice-footer > div {
  display: flex;
  flex: 0 0 auto;
  gap: 10px;
}

.notice-button-secondary,
.notice-button-primary {
  min-height: 42px;
  padding: 0 17px;
  border-radius: 11px;
  font-size: 13px;
}

.notice-button-secondary {
  color: #c2ccdb;
  border-color: rgba(121, 142, 176, 0.15);
  background: rgba(255, 255, 255, 0.045);
}

.notice-button-primary {
  color: white;
  background: linear-gradient(135deg, #7868ed, #945ef0);
  box-shadow: 0 10px 24px rgba(118, 87, 231, 0.2);
}

@media (max-width: 940px) {
  .nav-link {
    display: none;
  }

  .hero {
    min-height: auto;
    gap: 12px;
    grid-template-columns: 1fr;
  }

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

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

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

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

  .models-section {
    align-items: flex-start;
    flex-direction: column;
  }

  .model-list {
    justify-content: flex-start;
  }

  footer {
    justify-items: center;
    text-align: center;
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .site-header,
  .hero,
  .feature-section,
  .models-section,
  .cta-section,
  footer {
    width: min(100% - 30px, 1180px);
  }

  .site-header {
    min-height: 72px;
  }

  .header-actions {
    gap: 8px;
  }

  .header-actions .button-ghost,
  .notice-trigger {
    display: none;
  }

  .header-actions .button-primary {
    min-height: 38px;
    padding: 0 13px;
    font-size: 12px;
  }

  .brand-name {
    display: none;
  }

  .hero-copy {
    padding-top: 64px;
  }

  .hero h1 {
    font-size: clamp(47px, 15vw, 68px);
  }

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

  .hero-buttons {
    display: grid;
    grid-template-columns: 1fr;
  }

  .terminal-card {
    top: 46px;
    left: 0;
    transform: none;
  }

  .terminal-body {
    min-height: 272px;
    padding: 22px 18px;
    font-size: 11px;
  }

  .route-card-right {
    right: -5px;
    bottom: 32px;
  }

  .route-card-left {
    bottom: -20px;
  }

  .feature-section {
    padding: 80px 0;
  }

  .models-section {
    padding: 70px 0;
  }

  .cta-section {
    align-items: stretch;
    padding: 34px 26px;
    flex-direction: column;
  }

  .modal-backdrop {
    align-items: end;
    padding: 0;
  }

  .notice-modal {
    max-height: 92vh;
    border-radius: 22px 22px 0 0;
  }

  .notice-header {
    min-height: auto;
    gap: 14px;
    padding: 20px 54px 16px 20px;
    grid-template-columns: 1fr;
  }

  .notice-tabs {
    width: 100%;
  }

  .notice-tab {
    flex: 1;
  }

  .notice-close-icon {
    top: 17px;
    right: 13px;
  }

  .notice-body {
    max-height: calc(92vh - 228px);
    min-height: 320px;
    padding: 22px 20px;
  }

  .notice-agreement {
    padding: 15px;
  }

  .notice-footer {
    align-items: stretch;
    padding: 14px 20px calc(14px + env(safe-area-inset-bottom));
    flex-direction: column;
  }

  .notice-footer p {
    display: none;
  }

  .notice-footer > div {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
