:root {
  color-scheme: dark;
  --line-green: #06c755;
  --line-green-dark: #03983f;
  --gold: #edc45d;
  --gold-light: #fff2a9;
  --red: #d4160b;
  --black: #050505;
  --panel: #100d09;
  --paper: #f4ead1;
  --shell: 760px;
  font-family:
    "Hiragino Kaku Gothic ProN", "Yu Gothic", YuGothic, Meiryo, system-ui,
    sans-serif;
}

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

html {
  min-width: 320px;
  scroll-behavior: smooth;
  scroll-padding-top: 72px;
  background: #030303;
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 50% 0, rgba(112, 0, 0, 0.38), transparent 32rem),
    repeating-linear-gradient(135deg, #050505 0 16px, #080706 16px 32px);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}

a:focus-visible,
summary:focus-visible {
  outline: 4px solid #5eeaff;
  outline-offset: 3px;
}

img {
  display: block;
  width: 100%;
  height: auto;
}

.line-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(237, 196, 93, 0.65);
  background: rgba(2, 2, 2, 0.96);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(12px);
}

.line-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(100%, var(--shell));
  min-height: 64px;
  margin: 0 auto;
  padding: 8px 14px;
  gap: 14px;
}

.line-brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 8px;
}

.line-brand > span {
  display: grid;
  width: 39px;
  height: 39px;
  place-items: center;
  border: 1px solid var(--gold);
  border-radius: 50%;
  color: #1b0c00;
  background: linear-gradient(145deg, #fff5ad, #c68818 62%, #754108);
  box-shadow: 0 0 14px rgba(237, 196, 93, 0.46);
  font:
    900 22px/1 Georgia,
    serif;
}

.line-brand strong {
  display: grid;
  color: #fff6d6;
  font-size: 17px;
  line-height: 1.05;
}

.line-brand small {
  margin-top: 4px;
  color: var(--gold);
  font-size: 8px;
  letter-spacing: 0.2em;
}

.line-header nav {
  display: flex;
  align-items: center;
  gap: 2px;
}

.line-header nav a {
  min-height: 42px;
  padding: 10px 9px;
  border-radius: 5px;
  color: #f6e9c3;
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
}

.line-header nav a:first-child,
.line-header nav a:nth-child(2) {
  color: #fff;
  background: rgba(6, 199, 85, 0.2);
}

.line-page {
  width: min(100%, var(--shell));
  margin: 0 auto;
  overflow: hidden;
  background: var(--black);
  box-shadow:
    0 0 0 1px rgba(237, 196, 93, 0.25),
    0 28px 80px rgba(0, 0, 0, 0.78);
}

.line-status {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-bottom: 2px solid var(--gold);
  background: linear-gradient(180deg, #7c0000, #2a0000);
}

.line-status > div {
  display: grid;
  min-width: 0;
  padding: 9px 6px;
  text-align: center;
}

.line-status > div + div {
  border-left: 1px solid rgba(255, 240, 163, 0.34);
}

.line-status span {
  color: #efca68;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.14em;
}

.line-status b {
  color: #fff;
  font-size: 15px;
  line-height: 1.25;
}

.line-visual {
  position: relative;
  overflow: hidden;
  background: #000;
}

.line-visual__hotspot {
  position: absolute;
  z-index: 5;
  display: block;
  border-radius: 18px;
}

.line-visual__hotspot--registration {
  right: 2.8%;
  bottom: 1.7%;
  left: 2.8%;
  height: 9.9%;
}

.line-visual__hotspot:hover,
.line-visual__hotspot:focus-visible {
  box-shadow:
    inset 0 0 0 5px #fff,
    0 0 26px rgba(6, 199, 85, 0.92);
}

.line-action-band,
.line-sales-flow,
.support-command,
.line-closing {
  position: relative;
  padding: 42px 24px;
  text-align: center;
  background:
    radial-gradient(circle at 50% 0, rgba(181, 0, 0, 0.36), transparent 21rem),
    #080706;
}

.line-action-band {
  border-top: 7px solid #7e0904;
  border-bottom: 7px solid #7e0904;
}

.line-action-band > p,
.support-command > p,
.line-closing > p {
  margin: 0 0 8px;
  color: var(--gold);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.line-action-band h1,
.support-command h2,
.line-closing h2 {
  margin: 0 0 20px;
  color: #fff7dc;
  font-size: clamp(29px, 7vw, 48px);
  line-height: 1.25;
  text-shadow: 0 3px 12px rgba(0, 0, 0, 0.8);
}

.line-button {
  position: relative;
  display: grid;
  width: min(100%, 620px);
  min-height: 94px;
  margin: 0 auto;
  place-items: center;
  align-content: center;
  padding: 12px 52px 12px 20px;
  overflow: hidden;
  border: 3px solid #9cffbd;
  border-radius: 18px;
  color: #fff;
  background: linear-gradient(180deg, #12da65, #03903b);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.48),
    0 10px 28px rgba(6, 199, 85, 0.42);
  text-align: center;
}

.line-button::after {
  position: absolute;
  right: 20px;
  color: #fff;
  content: "›";
  font:
    900 42px/1 Arial,
    sans-serif;
}

.line-button small,
.line-button span {
  display: block;
  font-size: 12px;
  font-weight: 900;
  line-height: 1.25;
}

.line-button strong {
  display: block;
  font-size: clamp(24px, 6vw, 36px);
  line-height: 1.18;
  text-shadow: 0 2px 4px rgba(0, 80, 31, 0.5);
}

.line-button:hover,
.line-button:focus-visible {
  filter: brightness(1.1);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.6),
    0 0 0 5px rgba(255, 255, 255, 0.95),
    0 12px 35px rgba(6, 199, 85, 0.58);
}

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

.line-needs {
  padding: 48px 18px 50px;
  color: #25170c;
  background:
    radial-gradient(
      circle at 50% 0,
      rgba(197, 148, 53, 0.22),
      transparent 22rem
    ),
    var(--paper);
}

.line-kicker {
  margin: 0;
  color: #a70b05;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-align: center;
}

.line-needs h2,
.line-sales-flow h2,
.line-faq h2 {
  margin: 7px 0 24px;
  font-size: clamp(30px, 7vw, 48px);
  line-height: 1.2;
  text-align: center;
}

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

.line-needs__grid > a {
  position: relative;
  display: grid;
  min-height: 116px;
  place-content: center;
  padding: 16px 10px;
  border: 2px solid #875d21;
  border-radius: 8px;
  color: #fff4d5;
  background: linear-gradient(145deg, #2b1505, #090603);
  box-shadow: 0 7px 18px rgba(59, 31, 4, 0.2);
  text-align: center;
}

.line-needs__grid > a:first-child {
  border-color: var(--line-green);
  background: linear-gradient(145deg, #075625, #031d0d);
  box-shadow: 0 7px 18px rgba(6, 199, 85, 0.28);
}

.line-needs__grid span {
  position: absolute;
  top: -2px;
  left: -2px;
  padding: 3px 10px;
  border-radius: 6px 0 8px;
  color: #071d0e;
  background: #8cffb6;
  font-size: 10px;
  font-weight: 900;
}

.line-needs__grid strong {
  font-size: 18px;
}

.line-needs__grid small {
  margin-top: 4px;
  color: #dbc998;
  font-size: 11px;
}

.line-text-link {
  display: grid;
  width: min(100%, 440px);
  min-height: 50px;
  margin: 17px auto 0;
  place-items: center;
  border-bottom: 2px solid #7d4618;
  color: #7a180a;
  font-weight: 900;
}

.line-text-link i {
  margin-left: 8px;
  font-style: normal;
}

.line-sales-flow {
  color: #fff;
  border-top: 1px solid #6f531e;
  border-bottom: 1px solid #6f531e;
}

.line-sales-flow h2 {
  color: #fff3c4;
}

.line-sales-flow ol {
  display: grid;
  width: min(100%, 620px);
  margin: 0 auto 24px;
  padding: 0;
  gap: 9px;
  list-style: none;
  text-align: left;
}

.line-sales-flow li {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  align-items: center;
  min-height: 78px;
  padding: 10px 14px;
  border: 1px solid rgba(237, 196, 93, 0.5);
  background: rgba(255, 255, 255, 0.04);
}

.line-sales-flow li > b {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 50%;
  color: #1d0c00;
  background: linear-gradient(145deg, #fff2a1, #b86d15);
  font:
    900 22px/1 Georgia,
    serif;
}

.line-sales-flow li div {
  display: grid;
}

.line-sales-flow li strong {
  color: #fff2b9;
  font-size: 19px;
}

.line-sales-flow li span {
  color: #d5c9ae;
  font-size: 13px;
}

.line-button--compact {
  min-height: 82px;
}

.line-reassurance {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding: 20px 12px;
  gap: 8px;
  color: #2b1608;
  background: #eadcbf;
}

.line-reassurance article {
  display: grid;
  min-width: 0;
  min-height: 94px;
  place-content: center;
  border: 1px solid #ad7c2c;
  background: #fffaf0;
  text-align: center;
}

.line-reassurance b {
  color: #9a0904;
  font:
    900 clamp(23px, 5vw, 36px) / 1 Georgia,
    serif;
}

.line-reassurance strong {
  margin-top: 7px;
  font-size: 12px;
}

.line-faq {
  padding: 46px 18px 52px;
  color: #29170a;
  border-top: 7px solid #8b0b05;
  border-bottom: 7px solid #8b0b05;
  background: var(--paper);
}

.line-faq details {
  overflow: hidden;
  border: 1px solid #a67731;
  background: #fffdf7;
}

.line-faq details + details {
  margin-top: 9px;
}

.line-faq summary {
  position: relative;
  min-height: 58px;
  padding: 15px 44px 15px 48px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 900;
  list-style: none;
}

.line-faq summary::-webkit-details-marker {
  display: none;
}

.line-faq summary::before {
  position: absolute;
  top: 13px;
  left: 11px;
  display: grid;
  width: 31px;
  height: 31px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: #950e08;
  content: "Q";
  font:
    900 18px/1 Georgia,
    serif;
}

.line-faq summary::after {
  position: absolute;
  top: 16px;
  right: 15px;
  color: #950e08;
  content: "+";
  font:
    900 27px/1 Arial,
    sans-serif;
}

.line-faq details[open] summary::after {
  content: "−";
}

.line-faq details p {
  margin: 0;
  padding: 0 18px 18px 48px;
  color: #583820;
  font-size: 14px;
  font-weight: 700;
}

.line-closing {
  padding-top: 52px;
  padding-bottom: 58px;
  border-bottom: 2px solid var(--gold);
}

.line-closing > strong {
  display: block;
  margin: -7px 0 22px;
  color: var(--gold-light);
  font-size: clamp(29px, 7vw, 46px);
  text-shadow: 0 0 14px rgba(237, 196, 93, 0.42);
}

.line-setup-alert {
  margin: 14px;
  padding: 14px 16px;
  border: 1px dashed #a89772;
  color: #bfb49f;
  background: #171511;
  font-size: 12px;
}

.line-setup-alert strong {
  color: #ead7a8;
}

.line-setup-alert p {
  margin: 4px 0 0;
}

body[data-line-account-state="configured"] .line-setup-alert {
  display: none;
}

a[data-destination-state="unconfigured"] {
  cursor: not-allowed;
  filter: grayscale(0.7);
}

.support-intro {
  padding: 38px 18px 34px;
  border-bottom: 4px solid var(--gold);
  background:
    radial-gradient(circle at 50% 0, rgba(198, 0, 0, 0.55), transparent 24rem),
    #070504;
  text-align: center;
}

.support-intro p {
  margin: 0;
  color: var(--gold);
  font-weight: 900;
  letter-spacing: 0.14em;
}

.support-intro h1 {
  margin: 7px 0 10px;
  color: #fff6d2;
  font-size: clamp(36px, 9vw, 62px);
  line-height: 1.16;
}

.support-intro strong {
  color: #9dffba;
  font-size: 17px;
}

.support-menu {
  position: relative;
  border-bottom: 8px solid #080504;
  background: #000;
}

.support-menu__links {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 1fr);
}

.support-menu__links a {
  display: block;
  margin: 1.4%;
  border-radius: 7px;
}

.support-menu__links a:hover,
.support-menu__links a:focus-visible {
  box-shadow:
    inset 0 0 0 5px #fff5a5,
    0 0 25px rgba(237, 196, 93, 0.9);
}

.support-command ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: min(100%, 600px);
  margin: 0 auto 24px;
  padding: 0;
  gap: 8px;
  list-style: none;
  text-align: left;
}

.support-command li {
  padding: 10px 11px 10px 33px;
  border: 1px solid rgba(237, 196, 93, 0.42);
  background: rgba(255, 255, 255, 0.04);
  font-size: 13px;
  font-weight: 800;
}

.support-command li::before {
  margin-left: -22px;
  color: #66ff9f;
  content: "✓";
  font-weight: 900;
}

.line-sales-flow--support {
  border-top: 7px solid #7e0904;
}

.line-mobile-action {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 120;
  display: none;
  padding: 5px max(6px, env(safe-area-inset-right))
    calc(5px + env(safe-area-inset-bottom)) max(6px, env(safe-area-inset-left));
  border-top: 2px solid #8cffb6;
  background: rgba(0, 0, 0, 0.96);
  box-shadow: 0 -8px 28px rgba(0, 0, 0, 0.68);
  transition:
    opacity 160ms ease,
    transform 160ms ease;
}

.line-mobile-action > a {
  display: grid;
  width: min(100%, 560px);
  min-height: 64px;
  margin: 0 auto;
  place-content: center;
  border: 2px solid #a5ffc5;
  border-radius: 13px;
  background: linear-gradient(180deg, #13db66, #03903b);
  box-shadow: 0 0 18px rgba(6, 199, 85, 0.58);
  text-align: center;
}

.line-mobile-action small {
  font-size: 10px;
  font-weight: 900;
  line-height: 1.1;
}

.line-mobile-action strong {
  font-size: 22px;
  line-height: 1.15;
}

.line-mobile-action--suppressed {
  pointer-events: none;
  opacity: 0;
  transform: translateY(110%);
}

.line-footer {
  width: min(100%, var(--shell));
  margin: 0 auto;
  padding: 28px 14px 102px;
  color: #877c6a;
  background: #050505;
  text-align: center;
}

.line-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 18px;
  gap: 6px 16px;
}

.line-footer nav a {
  color: #c9b47e;
  font-size: 12px;
  text-decoration: underline;
}

.line-footer strong {
  color: #d7b865;
}

.line-footer p {
  margin: 5px 0 0;
  font-size: 10px;
}

@media (max-width: 720px) {
  html {
    scroll-padding-top: 60px;
  }

  body {
    padding-bottom: calc(76px + env(safe-area-inset-bottom));
    background: #050505;
  }

  .line-header__inner {
    min-height: 58px;
    padding: 7px 9px;
  }

  .line-brand {
    gap: 6px;
  }

  .line-brand > span {
    width: 34px;
    height: 34px;
    font-size: 19px;
  }

  .line-brand strong {
    font-size: 13px;
  }

  .line-brand small {
    font-size: 7px;
  }

  .line-header nav a {
    min-height: 38px;
    padding: 9px 6px;
    font-size: 10px;
  }

  .line-action-band,
  .line-sales-flow,
  .support-command,
  .line-closing {
    padding-inline: 13px;
  }

  .line-mobile-action {
    display: block;
  }

  .line-footer {
    padding-bottom: 32px;
  }
}

@media (max-width: 390px) {
  .line-needs {
    padding-inline: 10px;
  }

  .line-needs__grid {
    gap: 7px;
  }

  .line-needs__grid > a {
    min-height: 108px;
    padding-inline: 6px;
  }

  .line-needs__grid strong {
    font-size: 15px;
  }

  .line-sales-flow li {
    grid-template-columns: 47px minmax(0, 1fr);
    padding-inline: 10px;
  }

  .line-sales-flow li strong {
    font-size: 16px;
  }

  .support-command ul {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 340px) {
  .line-header nav a:nth-child(3) {
    display: none;
  }

  .line-brand strong {
    font-size: 12px;
  }

  .line-button strong {
    font-size: 21px;
  }
}

@media (min-width: 721px) {
  .line-footer {
    padding-bottom: 38px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
