/* ------------------------------------------------------------------ */
/* Tokens                                                              */
/* ------------------------------------------------------------------ */

:root {
  --bg: #fbf9f5;
  --bg-deep: #f4efe6;
  --fg: #2c2320;
  --fg-strong: #2c221e;
  --muted: #786c65;
  --muted-2: #9a8c84;
  --primary: #b85c37;
  --primary-dark: #a44f2d;
  --primary-soft: rgba(184, 92, 55, 0.05);
  --line: #e5ddcf;
  --line-soft: rgba(229, 221, 207, 0.7);
  --green: #166534;
  --green-soft: rgba(22, 101, 52, 0.1);
  --amber: #9a4a28;
  --amber-soft: rgba(184, 92, 55, 0.09);
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Plus Jakarta Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  --radius: 16px;
  --radius-lg: 24px;
}

/* ------------------------------------------------------------------ */
/* Base                                                                */
/* ------------------------------------------------------------------ */

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

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  display: block;
  max-width: 100%;
}

button,
input {
  font: inherit;
  color: inherit;
}

button {
  -webkit-appearance: none;
  appearance: none;
}

:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
  border-radius: 4px;
}

.icon {
  width: 14px;
  height: 14px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.noscript {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  background: var(--bg);
  padding: 32px;
  text-align: center;
  z-index: 100;
}

/* ------------------------------------------------------------------ */
/* Buttons                                                             */
/* ------------------------------------------------------------------ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 999px;
  padding: 14px 34px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease,
    border-color 0.2s ease, transform 0.15s ease, opacity 0.2s ease;
}

.btn:active:not(:disabled) {
  transform: translateY(1px);
}

.btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.btn-block {
  width: 100%;
  padding: 16px 34px;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
}

.btn-primary:hover:not(:disabled) {
  background: var(--primary-dark);
}

.btn-dark {
  background: var(--fg-strong);
  color: var(--bg);
}

.btn-dark:hover:not(:disabled) {
  background: #1e1714;
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--muted);
}

.btn-outline:hover:not(:disabled) {
  border-color: var(--primary);
  color: var(--primary);
}

.btn-outline-primary {
  background: transparent;
  border: 1px solid rgba(184, 92, 55, 0.5);
  color: var(--primary);
}

.btn-outline-primary:hover:not(:disabled) {
  background: rgba(184, 92, 55, 0.06);
  border-color: var(--primary);
}

/* ------------------------------------------------------------------ */
/* Language switch & brand                                             */
/* ------------------------------------------------------------------ */

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(251, 249, 245, 0.6);
}

.lang-switch button {
  border: 0;
  background: transparent;
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--muted);
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.lang-switch button.active {
  background: var(--fg-strong);
  color: var(--bg);
}

.lang-switch.on-image {
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.lang-switch.on-image button {
  color: rgba(255, 255, 255, 0.85);
}

.lang-switch.on-image button.active {
  background: var(--bg);
  color: var(--fg-strong);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  font-family: var(--serif);
  font-size: 17px;
  letter-spacing: 0.01em;
  color: var(--fg-strong);
  white-space: nowrap;
}

.brand .logo-mark {
  width: 22px;
  height: 32px;
  flex: none;
}

.brand .logo-mark img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

.brand.light {
  color: #fff;
}

.brand-name {
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ------------------------------------------------------------------ */
/* Login                                                               */
/* ------------------------------------------------------------------ */

.login-view {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 128px 24px 64px;
  background-image: var(--hero-image, url("/images/hero.jpg"));
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}

.login-view::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(24, 19, 15, 0.52) 0%,
    rgba(24, 19, 15, 0.24) 36%,
    rgba(24, 19, 15, 0.28) 62%,
    rgba(24, 19, 15, 0.55) 100%
  );
}

.hero-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 32px;
}

.login-center {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 440px;
  margin: 0 auto;
  text-align: left;
}

.hero-title {
  text-align: center;
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(34px, 5.4vw, 48px);
  line-height: 1.14;
  letter-spacing: -0.01em;
  color: #fff;
  text-shadow: 0 2px 28px rgba(18, 12, 8, 0.28);
}

.hero-sub {
  text-align: center;
  margin: 10px 0 26px;
  font-size: 15px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.88);
  text-shadow: 0 1px 16px rgba(18, 12, 8, 0.25);
}

.login-card {
  background: #f7f3ec;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: 0 26px 60px rgba(18, 12, 8, 0.3);
}

.login-lockup {
  display: block;
  width: auto;
  height: clamp(84px, 11.5vh, 104px);
  margin: 0 0 18px;
}

.login-card h2 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  font-size: 25px;
  line-height: 1.25;
  color: var(--fg-strong);
}

.login-hint {
  margin: 8px 0 24px;
  font-size: 14px;
  line-height: 1.55;
  color: var(--muted);
}

.field {
  display: block;
  margin-bottom: 18px;
}

.field-label {
  display: block;
  margin-bottom: 8px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.field input {
  width: 100%;
  height: 50px;
  border: 1px solid #e0d5c6;
  border-radius: 12px;
  background: #fffdf9;
  padding: 0 16px;
  font-size: 15px;
  color: var(--fg-strong);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.field input::placeholder {
  color: #a99c92;
}

.field input:focus {
  outline: none;
  border-color: rgba(184, 92, 55, 0.65);
  box-shadow: 0 0 0 3px rgba(184, 92, 55, 0.12);
}

.form-error {
  margin: 0 0 14px;
  font-size: 13px;
  line-height: 1.45;
  color: #a33f1f;
}

.form-error:empty {
  display: none;
}

/* ------------------------------------------------------------------ */
/* App header & footer                                                 */
/* ------------------------------------------------------------------ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(251, 249, 245, 0.92);
  border-bottom: 1px solid var(--line-soft);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.site-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  max-width: 808px;
  margin: 0 auto;
  padding: 14px 24px;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: none;
}

.logout {
  border: 0;
  background: none;
  padding: 0;
  font-size: 12.5px;
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.logout:hover {
  color: var(--primary-dark);
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 34px 24px 38px;
  text-align: center;
}

.site-footer p {
  margin: 0;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--muted-2);
}

/* ------------------------------------------------------------------ */
/* Page shell                                                          */
/* ------------------------------------------------------------------ */

.container {
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
  padding: 40px 24px 72px;
}

.step-label {
  margin: 0 0 8px;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.page-title {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(27px, 4.6vw, 32px);
  line-height: 1.18;
  color: var(--fg-strong);
}

.page-intro {
  margin: 10px 0 0;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--muted);
}

.empty-state {
  margin: 24px 0;
  font-size: 14.5px;
  color: var(--muted);
}

/* ------------------------------------------------------------------ */
/* Itinerary                                                           */
/* ------------------------------------------------------------------ */

.tabs {
  display: inline-flex;
  gap: 4px;
  margin-top: 22px;
}

.tab {
  border: 0;
  border-radius: 999px;
  background: transparent;
  padding: 8px 26px;
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.tab:hover {
  background: rgba(244, 239, 230, 0.8);
}

.tab.active {
  background: var(--fg-strong);
  color: var(--bg);
}

.day-heading {
  margin: 22px 0 4px;
  font-size: 13.5px;
  color: var(--muted);
}

.timeline {
  position: relative;
  margin-top: 16px;
  padding-left: 28px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 12px;
  bottom: 44px;
  width: 1px;
  background: var(--line);
}

.t-item {
  position: relative;
  padding-bottom: 34px;
}

.t-item:last-child {
  padding-bottom: 4px;
}

.t-item::before {
  content: "";
  position: absolute;
  left: -28px;
  top: 5px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 0 5px rgba(184, 92, 55, 0.1);
}

.t-time {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 0;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--primary);
}

.t-title {
  margin: 7px 0 0;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(20px, 3.8vw, 23px);
  line-height: 1.3;
  color: var(--fg-strong);
}

.t-venue {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 7px 0 0;
  font-size: 12.5px;
  color: var(--muted);
}

.t-venue .icon {
  color: var(--primary);
}

.t-desc {
  margin: 9px 0 0;
  max-width: 62ch;
  font-size: 14.5px;
  line-height: 1.72;
  color: var(--muted);
}

.actions {
  display: flex;
  gap: 12px;
  margin-top: 36px;
}

.actions.end {
  justify-content: flex-end;
}

.actions.start {
  justify-content: flex-start;
  margin-top: 30px;
}

/* ------------------------------------------------------------------ */
/* Selection                                                           */
/* ------------------------------------------------------------------ */

.group-title {
  margin: 34px 0 14px;
  font-family: var(--serif);
  font-weight: 400;
  font-size: 21px;
  line-height: 1.3;
  color: var(--fg-strong);
}

.group-title:first-of-type {
  margin-top: 30px;
}

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

.option {
  position: relative;
  display: block;
  width: 100%;
  padding: 24px;
  text-align: left;
  color: var(--fg);
  background: rgba(244, 239, 230, 0.7);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  cursor: pointer;
  transition: border-color 0.2s ease, background-color 0.2s ease,
    box-shadow 0.2s ease, transform 0.2s ease;
}

.option:hover:not(:disabled) {
  border-color: rgba(184, 92, 55, 0.5);
  transform: translateY(-1px);
}

.option.selected {
  background: var(--primary-soft);
  border-color: var(--primary);
  box-shadow: 0 0 0 1px var(--primary), 0 6px 16px rgba(120, 60, 30, 0.08);
}

.option:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.option-title {
  display: block;
  padding-right: 38px;
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.35;
  color: var(--fg-strong);
}

.option-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 18px;
  margin-top: 10px;
  font-size: 12.5px;
  color: var(--muted);
}

.meta-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.meta-item .icon {
  color: var(--primary);
}

.option-desc {
  display: block;
  margin-top: 10px;
  font-size: 14px;
  line-height: 1.65;
  color: var(--muted);
}

.badge {
  display: inline-flex;
  align-items: center;
  margin-top: 14px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.badge.ok {
  background: var(--green-soft);
  color: var(--green);
}

.badge.low {
  background: var(--amber-soft);
  color: var(--amber);
}

.badge.full {
  background: rgba(44, 35, 32, 0.07);
  color: #7e7169;
}

.option-check {
  position: absolute;
  top: 20px;
  right: 20px;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  opacity: 0;
  transform: scale(0.6);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.option-check .icon {
  width: 14px;
  height: 14px;
  stroke-width: 2.2;
}

.option.selected .option-check {
  opacity: 1;
  transform: scale(1);
}

.spa-banner {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: flex-end;
  min-height: 190px;
  margin-top: 46px;
  border-radius: 20px;
  overflow: hidden;
  background: #2a211c;
}

.spa-banner img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.spa-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    180deg,
    rgba(22, 17, 14, 0.08) 0%,
    rgba(22, 17, 14, 0.34) 55%,
    rgba(22, 17, 14, 0.74) 100%
  );
}

.spa-banner-inner {
  padding: 26px 28px;
}

.overline {
  margin: 0;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #e8d5b7;
}

.spa-banner h2 {
  margin: 6px 0 0;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(26px, 4.6vw, 32px);
  line-height: 1.2;
  color: #fff;
}

.spa-banner + .page-intro {
  margin-top: 18px;
}

.select-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 34px;
}

.select-hint {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
}

.btn-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-left: auto;
}

/* ------------------------------------------------------------------ */
/* Confirmation                                                        */
/* ------------------------------------------------------------------ */

.thanks-hero {
  position: relative;
  margin: 0 0 26px;
  height: clamp(180px, 30vw, 240px);
  border-radius: 20px;
  overflow: hidden;
  background: var(--bg-deep);
}

.thanks-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.thanks-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(22, 17, 14, 0) 45%,
    rgba(22, 17, 14, 0.32) 100%
  );
}

.chip {
  display: inline-block;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(44, 34, 30, 0.92);
  color: var(--bg);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.thanks-title {
  margin-top: 14px;
  font-size: clamp(30px, 5.2vw, 38px);
}

.thanks-body {
  margin: 12px 0 0;
  max-width: 56ch;
  font-size: 15px;
  line-height: 1.75;
  color: var(--muted);
}

.thanks-note {
  margin: 12px 0 0;
  max-width: 56ch;
  font-size: 13.5px;
  font-style: italic;
  line-height: 1.65;
  color: var(--muted-2);
}

.summary-head {
  margin: 34px 0 16px;
  font-family: var(--serif);
  font-weight: 400;
  font-size: 20px;
  line-height: 1.4;
  color: var(--fg-strong);
}

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

.summary-card {
  padding: 20px 22px;
  background: rgba(244, 239, 230, 0.55);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.s-label {
  margin: 0;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.s-title {
  margin: 8px 0 0;
  font-family: var(--serif);
  font-size: 17.5px;
  font-weight: 400;
  line-height: 1.35;
  color: var(--fg-strong);
}

.s-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px 12px;
  margin: 8px 0 0;
  font-size: 12px;
  color: var(--muted);
}

.s-empty {
  margin: 8px 0 0;
  font-family: var(--serif);
  font-size: 15px;
  font-style: italic;
  color: var(--muted-2);
}

/* ------------------------------------------------------------------ */
/* Loading & toast                                                     */
/* ------------------------------------------------------------------ */

.loading-screen {
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  place-items: center;
  text-align: center;
  background: var(--bg);
}

.spinner {
  width: 28px;
  height: 28px;
  margin: 0 auto 14px;
  border: 2px solid var(--line);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 0.9s linear infinite;
}

.loading-label {
  margin: 0;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

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

.toast {
  position: fixed;
  left: 50%;
  bottom: 26px;
  z-index: 50;
  max-width: min(92vw, 460px);
  padding: 13px 20px;
  border-radius: 14px;
  background: rgba(44, 34, 30, 0.97);
  color: var(--bg);
  font-size: 13.5px;
  line-height: 1.45;
  text-align: center;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.26);
  opacity: 0;
  transform: translate(-50%, 16px);
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* ------------------------------------------------------------------ */
/* Motion                                                              */
/* ------------------------------------------------------------------ */

.view {
  animation: fade-up 0.35s ease both;
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
}

/* ------------------------------------------------------------------ */
/* Responsive                                                          */
/* ------------------------------------------------------------------ */

@media (max-width: 720px) {
  .site-header-inner {
    padding: 13px 20px;
  }

  .container {
    padding: 34px 20px 64px;
  }
}

@media (max-width: 560px) {
  .hero-header {
    padding: 16px 18px;
  }

  .login-view {
    padding: 108px 18px 44px;
  }

  .login-card {
    padding: 26px 22px;
    border-radius: 22px;
  }

  .login-lockup {
    height: 84px;
    margin-bottom: 16px;
  }

  .site-header-inner {
    padding: 12px 16px;
    gap: 10px;
  }

  .brand {
    font-size: 14px;
    gap: 8px;
  }

  .brand .logo-mark {
    width: 21px;
    height: 23px;
  }

  .header-right {
    gap: 10px;
  }

  .logout {
    font-size: 11.5px;
  }

  .logout-prefix {
    display: none;
  }

  .lang-switch {
    padding: 2px;
  }

  .lang-switch button {
    padding: 5px 9px;
    font-size: 10px;
  }

  .container {
    padding: 28px 18px 56px;
  }

  .tab {
    padding: 8px 22px;
  }

  .option {
    padding: 20px;
  }

  .option-title {
    font-size: 17px;
  }

  .option-check {
    top: 16px;
    right: 16px;
  }

  .spa-banner {
    min-height: 170px;
    margin-top: 38px;
  }

  .spa-banner-inner {
    padding: 22px;
  }

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

  .actions.end {
    justify-content: stretch;
  }

  .actions.end .btn {
    width: 100%;
  }

  .select-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
  }

  .select-hint {
    text-align: left;
  }

  .btn-row {
    width: 100%;
    margin-left: 0;
    flex-direction: column-reverse;
    gap: 10px;
  }

  .btn-row .btn {
    width: 100%;
    padding-inline: 20px;
  }
}

@media (max-width: 380px) {
  .brand-suffix {
    display: none;
  }
}

@media (max-width: 420px) {
  .logout {
    font-size: 11px;
  }

  .hero-title {
    font-size: 34px;
  }
}

@media (min-width: 561px) and (max-height: 820px) {
  .login-view {
    padding-top: 96px;
    padding-bottom: 32px;
  }

  .login-lockup {
    height: 84px;
    margin-bottom: 15px;
  }

  .hero-title {
    font-size: clamp(30px, 4.4vw, 42px);
  }

  .hero-sub {
    margin: 8px 0 18px;
  }

  .login-card {
    padding: 26px 30px;
  }

  .login-hint {
    margin: 6px 0 18px;
  }
}

@media (max-width: 560px) and (max-height: 740px) {
  .login-view {
    padding-top: 84px;
    padding-bottom: 24px;
  }

  .login-lockup {
    height: 68px;
    margin-bottom: 12px;
  }

  .hero-title {
    font-size: 28px;
  }

  .hero-sub {
    margin: 6px 0 14px;
    font-size: 13.5px;
  }

  .login-card {
    padding: 20px;
  }

  .login-hint {
    margin: 6px 0 16px;
  }

  .field {
    margin-bottom: 14px;
  }

  .field input {
    height: 46px;
  }
}
