:root {
  --primary: #1677e8;
  --deep: #0b3c91;
  --sky: #38bdf8;
  --soft: #eaf5ff;
  --white: #fff;
  --ink: #112f52;
  --text: #4b6380;
  --line: #d7e7f8;
  --red: #a32821;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: #fff;
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  font-size: 16px;
  line-height: 1.65;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea,
summary {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: wait;
  opacity: 0.65;
}
:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 4px;
}
h1,
h2,
h3 {
  line-height: 1.12;
  letter-spacing: -0.045em;
  margin: 0 0 22px;
}
h1 {
  font-size: clamp(40px, 5vw, 68px);
  font-weight: 600;
}
h2 {
  font-size: clamp(30px, 3.5vw, 45px);
  font-weight: 550;
}
h3 {
  font-size: 23px;
  letter-spacing: -0.025em;
}
p {
  color: var(--text);
  margin: 0 0 22px;
}
em {
  font-family: Georgia, serif;
  font-weight: 400;
  color: var(--deep);
}
.container {
  width: min(1180px, calc(100% - 64px));
  margin: auto;
}
.section {
  padding: 80px 0;
}
.eyebrow {
  display: block;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--deep);
  margin-bottom: 20px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 23px;
  border: 1px solid transparent;
  border-radius: 10px;
  background: var(--deep);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  line-height: 1.5;
  text-align: center;
}
.button:hover {
  background: #1557ad;
}
.button.outline {
  background: white;
  color: var(--deep);
  border-color: var(--line);
}
.button.danger {
  background: #a32821;
}
.actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}
.brand {
  font-size: 27px;
  font-weight: 800;
  letter-spacing: -1.2px;
  color: var(--ink);
  white-space: nowrap;
}
.brand b {
  color: var(--primary);
  font-size: 30px;
  margin-right: 7px;
}
.brand i {
  font-style: normal;
  color: var(--primary);
}
.header {
  height: 90px;
  border-bottom: 1px solid var(--line);
  background: #ffffffed;
}
.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  height: 100%;
}
.desktop-nav {
  display: flex;
  gap: 26px;
  font-size: 14px;
}
.desktop-nav a:hover,
.text-link {
  color: var(--deep);
  text-decoration: underline;
  text-underline-offset: 4px;
}
.menu {
  display: none;
  position: relative;
}
.menu summary {
  cursor: pointer;
  padding: 10px;
  list-style: none;
  border: 1px solid var(--line);
  border-radius: 9px;
}
.menu nav {
  position: absolute;
  right: 0;
  top: 52px;
  z-index: 10;
  min-width: 215px;
  background: white;
  border: 1px solid var(--line);
  box-shadow: 0 14px 40px #0b3c9120;
  border-radius: 12px;
  padding: 15px;
  display: grid;
  gap: 8px;
}
.menu nav a {
  padding: 8px;
}
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 75px 0;
}
.hero p {
  font-size: 18px;
  max-width: 510px;
}
.hero .media {
  height: 460px;
  border-radius: 100px 20px 20px 20px;
  aspect-ratio: auto;
}
.caption {
  font-size: 12px;
  color: var(--text);
  margin: 13px 0 0;
}
.media {
  position: relative;
  isolation: isolate;
  aspect-ratio: 16/10;
  width: 100%;
  overflow: hidden;
  background: var(--soft);
  border-radius: 18px;
}
.media img,
.media video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.media .placeholder {
  position: absolute;
  inset: 0;
  filter: blur(12px);
  transform: scale(1.08);
}
.media .photo {
  position: relative;
}
.media.video video {
  position: absolute;
  inset: 0;
}
.media.ready .placeholder {
  display: none;
}
.strip {
  background: var(--soft);
  border-block: 1px solid var(--line);
  padding: 24px 0;
}
.strip .container {
  display: flex;
  gap: 24px;
  justify-content: space-between;
  flex-wrap: wrap;
  font-size: 13px;
}
.intro {
  max-width: 780px;
  font-size: 18px;
}
.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.card {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: white;
  overflow: hidden;
  min-width: 0;
}
.card-content {
  padding: 25px;
}
.card .media {
  border-radius: 0;
  aspect-ratio: 4/3;
}
.card p:last-child {
  margin-bottom: 0;
}
.soft {
  background: var(--soft);
}
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.badge {
  display: inline-block;
  padding: 5px 10px;
  border-radius: 7px;
  background: var(--soft);
  font-size: 11px;
  font-weight: 700;
  color: var(--deep);
  margin-bottom: 20px;
}
.cinematic {
  position: relative;
  overflow: hidden;
  border-radius: 25px;
  margin: 20px auto 80px;
}
.cinematic .media {
  height: 360px;
  aspect-ratio: auto;
  border-radius: 0;
}
.cinematic-copy {
  position: absolute;
  inset: 0;
  padding: 50px;
  background: linear-gradient(90deg, #061e3ee8, #061e3e44);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  color: white;
}
.cinematic-copy .eyebrow {
  color: #bceaff;
}
.cinematic h2 {
  max-width: 500px;
}
.footer {
  background:
    radial-gradient(ellipse at 95% 0, #1b66b0, transparent 65%),
    linear-gradient(120deg, #081e40, #0b3c91);
  padding: 60px 0 25px;
  color: white;
}
.footer .brand {
  color: white;
}
.footer p {
  color: #d0e6ff;
  font-size: 14px;
  margin-top: 20px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 45px;
}
.footer nav {
  display: flex;
  align-content: start;
  gap: 15px 25px;
  flex-wrap: wrap;
  font-size: 14px;
}
.footer-bottom {
  margin-top: 35px;
  padding-top: 20px;
  border-top: 1px solid #ffffff33;
  color: #cfe4ff;
  font-size: 12px;
}
.hua {
  display: inline-block;
  font-size: 26px;
  letter-spacing: 0.2px;
  font-weight: 800;
  background: #fff;
  color: #5751ff;
  padding: 5px 14px;
  border-radius: 8px;
}
.hua span {
  color: #cb14cf;
}
.auth {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 70px;
  align-items: start;
  padding: 60px 0 80px;
}
.auth-visual {
  position: sticky;
  top: 30px;
}
.auth-visual .media {
  height: 520px;
  aspect-ratio: auto;
}
.auth-visual h2 {
  font-size: 34px;
  margin-top: 26px;
}
.auth h1 {
  font-size: 42px;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.full {
  grid-column: 1/-1;
}
.field label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 9px;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  min-width: 0;
  padding: 13px 15px;
  border: 1px solid #c8def5;
  border-radius: 10px;
  background: white;
  color: var(--ink);
  min-height: 51px;
}
.field input[readonly] {
  background: var(--soft);
  color: var(--text);
}
.field textarea {
  min-height: 150px;
  resize: vertical;
}
.field input[aria-invalid="true"],
.field select[aria-invalid="true"],
.field textarea[aria-invalid="true"] {
  border: 2px solid var(--red);
}
.field-error {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  color: var(--red);
}
.hint {
  font-size: 12px;
  color: var(--text);
  display: block;
  margin-top: 7px;
}
.password-row {
  position: relative;
}
.password-row input {
  padding-right: 65px;
}
.password-row button {
  position: absolute;
  right: 9px;
  top: 8px;
  background: white;
  border: 0;
  color: var(--deep);
  font-size: 12px;
  padding: 8px;
}
.check {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 13px;
}
.check input {
  width: 19px;
  height: 19px;
  flex-shrink: 0;
  margin: 3px 0 0;
}
.notice,
.error,
.success {
  padding: 17px 20px;
  border-radius: 11px;
  margin: 20px 0;
  font-size: 14px;
}
.notice {
  background: var(--soft);
  color: var(--deep);
}
.error {
  background: #fff1f0;
  color: #94281f;
  border: 1px solid #ebaaa3;
}
.success {
  background: #edf8f0;
  color: #185b32;
  border: 1px solid #afd4bb;
}
[hidden] {
  display: none !important;
}
.stack {
  display: grid;
  gap: 20px;
}
.form-foot {
  font-size: 14px;
  margin: 25px 0;
}
.otp-input {
  text-align: center;
  font-size: 30px !important;
  letter-spacing: 10px;
  font-variant-numeric: tabular-nums;
}
.account-bg {
  background: var(--soft);
  min-height: 70vh;
}
.account-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 40px;
  padding: 45px 0 70px;
}
.sidebar {
  display: flex;
  flex-direction: column;
  gap: 9px;
  align-self: start;
}
.sidebar a,
.sidebar button {
  padding: 14px 18px;
  border: 0;
  border-radius: 9px;
  text-align: left;
  background: white;
  font-size: 14px;
  color: var(--deep);
}
.sidebar a[aria-current="page"] {
  background: var(--deep);
  color: white;
}
.panel {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: white;
  min-width: 0;
}
.account-main {
  min-width: 0;
}
.account-main h1 {
  font-size: 40px;
}
.profile-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.profile-grid dt {
  font-size: 12px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 5px;
}
.profile-grid dd {
  margin: 0;
  overflow-wrap: anywhere;
}
.profile-grid > div {
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 10px;
}
.admin-list {
  display: grid;
  gap: 16px;
  margin: 25px 0;
}
.admin-row {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 13px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.admin-row p {
  margin: 0;
  font-size: 14px;
  overflow-wrap: anywhere;
}
.admin-row strong {
  display: block;
  overflow-wrap: anywhere;
}
.admin-row .actions {
  flex-shrink: 0;
}
.record {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font-size: 13px;
  background: var(--soft);
  padding: 18px;
  border-radius: 10px;
}
.legal {
  max-width: 800px;
}
.skip {
  position: fixed;
  top: -100px;
  left: 20px;
  background: white;
  padding: 12px;
  z-index: 100;
}
.skip:focus {
  top: 15px;
}
.small {
  font-size: 13px;
}
.account-layout h2 {
  font-size: 27px;
}
button.link {
  background: none;
  border: 0;
  color: var(--deep);
  text-decoration: underline;
  padding: 8px;
}
.phone-lock {
  font-size: 12px;
  color: var(--text);
}
.no-margin {
  margin: 0;
}
@media (max-width: 1000px) {
  .desktop-nav {
    gap: 15px;
  }
  .header-row {
    gap: 15px;
  }
  .hero,
  .split,
  .auth {
    gap: 35px;
  }
  .hero h1 {
    font-size: 50px;
  }
  .account-layout {
    grid-template-columns: 180px 1fr;
    gap: 25px;
  }
  .grid {
    gap: 15px;
  }
  .auth-visual .media {
    height: 450px;
  }
}
@media (max-width: 760px) {
  .container {
    width: calc(100% - 36px);
  }
  .header {
    height: 76px;
  }
  .brand {
    font-size: 24px;
  }
  .desktop-nav,
  .header .login-link {
    display: none;
  }
  .menu {
    display: block;
  }
  .header .button {
    padding: 10px 14px;
    min-height: 43px;
    font-size: 12px;
  }
  .header-row > .actions {
    gap: 8px;
  }
  .hero,
  .split,
  .auth {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .hero {
    padding: 42px 0;
  }
  .hero h1 {
    font-size: 46px;
  }
  .hero p {
    font-size: 16px;
  }
  .hero .media {
    height: 320px;
    border-radius: 40px 16px 16px 16px;
  }
  .section {
    padding: 52px 0;
  }
  .grid {
    grid-template-columns: 1fr;
  }
  .card .media {
    aspect-ratio: 16/9;
  }
  .intro {
    font-size: 16px;
  }
  .strip .container {
    gap: 12px;
    font-size: 12px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .cinematic {
    margin-bottom: 45px;
  }
  .cinematic-copy {
    padding: 25px;
  }
  .cinematic .media {
    height: 330px;
  }
  .auth {
    padding: 35px 0 55px;
  }
  .auth-visual {
    display: none;
  }
  .auth h1 {
    font-size: 37px;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .full {
    grid-column: auto;
  }
  .account-layout {
    display: block;
    padding: 25px 0 50px;
  }
  .sidebar {
    display: flex;
    flex-direction: row;
    overflow: auto;
    margin-bottom: 25px;
    padding-bottom: 8px;
  }
  .sidebar a,
  .sidebar button {
    white-space: nowrap;
    padding: 11px 15px;
    flex-shrink: 0;
  }
  .profile-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .panel {
    padding: 22px;
  }
  .account-main h1 {
    font-size: 34px;
  }
  .admin-row {
    flex-direction: column;
    align-items: stretch;
  }
  .admin-row .actions {
    flex-wrap: wrap;
  }
  .auth .button {
    width: 100%;
  }
  .admin-row .button {
    flex: 1;
  }
  .footer {
    padding-top: 45px;
  }
}
@media (max-width: 370px) {
  .container {
    width: calc(100% - 28px);
  }
  .brand {
    font-size: 21px;
  }
  .brand b {
    font-size: 24px;
    margin-right: 3px;
  }
  .header-row {
    gap: 6px;
  }
  .header .button {
    padding: 9px;
  }
  .hero h1 {
    font-size: 40px;
  }
  .menu summary {
    padding: 8px;
  }
  .account-main h1 {
    font-size: 31px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    animation: none !important;
    transition: none !important;
  }
}

@media (max-width: 400px) {
  .header .actions > .button {
    display: none;
  }
}
