:root {
  --mars-yellow: #ffc400;
  --mars-yellow-soft: #fff2bd;
  --ink: #191919;
  --muted: #686868;
  --line: #dfded9;
  --paper: #f7f6f1;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
}

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

.site-header {
  width: min(1180px, calc(100% - 48px));
  min-height: 104px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.brand,
.footer-brand {
  display: flex;
  align-items: center;
}

.brand img {
  width: 145px;
  height: auto;
  display: block;
}

.brand-divider {
  width: 1px;
  height: 33px;
  margin: 0 19px;
  background: #c8c7c1;
}

.brand-label {
  color: #72716d;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
  line-height: 1.45;
  text-transform: uppercase;
}

.header-action {
  min-height: 48px;
  padding: 0 20px 0 23px;
  display: inline-flex;
  align-items: center;
  gap: 16px;
  background: var(--ink);
  color: var(--white);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: -0.01em;
  transition: transform 180ms ease, background 180ms ease;
}

.header-action:hover,
.primary-action:hover,
.notice-action:hover {
  transform: translateY(-2px);
}

.header-action:focus-visible,
.primary-action:focus-visible,
.notice-action:focus-visible,
.mobile-action:focus-visible {
  outline: 3px solid #2f72ff;
  outline-offset: 3px;
}

.button-arrow {
  display: inline-grid;
  place-items: center;
  width: 26px;
  height: 26px;
  font-size: 16px;
  font-weight: 400;
}

.hero {
  width: min(1180px, calc(100% - 48px));
  min-height: 650px;
  margin: 0 auto;
  padding: 72px 0 82px;
  display: grid;
  grid-template-columns: minmax(0, 1.07fr) minmax(390px, 0.93fr);
  gap: 90px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #777671;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.19em;
}

.eyebrow span {
  width: 31px;
  height: 4px;
  background: var(--mars-yellow);
}

.hero h1 {
  margin: 0;
  max-width: 660px;
  font-size: clamp(52px, 6.2vw, 84px);
  line-height: 0.94;
  letter-spacing: -0.067em;
  font-weight: 800;
}

.hero h1 em {
  color: var(--mars-yellow);
  font-style: normal;
}

.hero-description {
  max-width: 600px;
  margin: 30px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}

.service-list {
  margin-top: 27px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.service-list span {
  padding: 8px 13px;
  border: 1px solid #d3d2cc;
  border-radius: 999px;
  background: rgba(255,255,255,0.4);
  color: #44433f;
  font-size: 12px;
  font-weight: 700;
}

.primary-action-row {
  margin-top: 39px;
  display: flex;
  align-items: center;
  gap: 26px;
}

.primary-action {
  min-height: 62px;
  padding: 0 19px 0 26px;
  display: inline-flex;
  align-items: center;
  gap: 24px;
  background: var(--mars-yellow);
  color: var(--ink);
  font-size: 15px;
  font-weight: 800;
  box-shadow: 8px 8px 0 var(--ink);
  transition: transform 180ms ease;
}

.primary-action .button-arrow {
  background: var(--ink);
  color: var(--white);
}

.primary-action-row p {
  margin: 0;
  color: #8b8984;
  font-size: 11px;
  line-height: 1.5;
}

.primary-action-row strong {
  display: block;
  color: #474641;
  font-size: 11px;
}

.appointment-panel {
  position: relative;
  min-height: 485px;
  overflow: hidden;
  background: var(--mars-yellow);
  box-shadow: 18px 18px 0 rgba(25,25,25,0.09);
}

.panel-content {
  position: relative;
  z-index: 2;
  min-height: 485px;
  padding: 34px 38px 31px;
  display: flex;
  flex-direction: column;
}

.panel-orbit {
  position: absolute;
  border: 1px solid rgba(25, 25, 25, 0.12);
  border-radius: 50%;
}

.orbit-one {
  width: 530px;
  height: 530px;
  top: -219px;
  right: -226px;
}

.orbit-two {
  width: 270px;
  height: 270px;
  top: -91px;
  right: -90px;
}

.panel-topline,
.panel-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.panel-topline {
  justify-content: flex-start;
  gap: 9px;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ink);
  box-shadow: 0 0 0 5px rgba(25, 25, 25, 0.1);
}

.calendar-mark {
  width: 137px;
  height: 137px;
  margin: 55px auto 46px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--ink);
  border-radius: 50%;
  transform: rotate(-7deg);
}

.calendar-mark::before,
.calendar-mark::after {
  content: "";
  position: absolute;
  width: 20px;
  height: 8px;
  top: -6px;
  border: 2px solid var(--ink);
  border-bottom: 0;
  background: var(--mars-yellow);
}

.calendar-mark::before { margin-left: -64px; }
.calendar-mark::after { margin-left: 64px; }

.calendar-mark span {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.calendar-mark strong {
  margin-top: 3px;
  font-size: 29px;
  letter-spacing: -0.06em;
}

.panel-message {
  display: grid;
  grid-template-columns: 45px 1fr;
  gap: 20px;
  align-items: start;
}

.panel-number {
  padding-top: 5px;
  border-top: 2px solid var(--ink);
  font-size: 11px;
  font-weight: 800;
}

.panel-message h2 {
  margin: 0 0 7px;
  font-size: 22px;
  line-height: 1.1;
  letter-spacing: -0.04em;
}

.panel-message p {
  max-width: 300px;
  margin: 0;
  color: rgba(25,25,25,0.72);
  font-size: 13px;
  line-height: 1.55;
}

.panel-foot {
  margin-top: auto;
  padding-top: 22px;
  border-top: 1px solid rgba(25,25,25,0.25);
}

.process-section {
  padding: 88px max(24px, calc((100vw - 1180px) / 2));
  background: var(--white);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
}

.section-heading .eyebrow {
  margin: 0 0 8px;
}

.section-heading h2 {
  max-width: 530px;
  margin: 0;
  font-size: clamp(34px, 4.2vw, 55px);
  line-height: 1;
  letter-spacing: -0.055em;
}

.steps {
  margin-top: 61px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
}

.step {
  min-height: 250px;
  padding: 32px 40px 20px 0;
  border-right: 1px solid var(--line);
}

.step + .step {
  padding-left: 40px;
}

.step:last-child {
  border-right: 0;
}

.step-number {
  color: var(--mars-yellow);
  font-size: 14px;
  font-weight: 900;
}

.step h3 {
  margin: 56px 0 12px;
  font-size: 21px;
  letter-spacing: -0.035em;
}

.step p {
  max-width: 290px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.notice-section {
  width: min(1180px, calc(100% - 48px));
  margin: 84px auto;
  padding: 54px 57px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 37px;
  align-items: center;
  background: var(--ink);
  color: var(--white);
}

.notice-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border: 2px solid var(--mars-yellow);
  border-radius: 50%;
  color: var(--mars-yellow);
  font-family: Georgia, serif;
  font-size: 26px;
  font-style: italic;
}

.notice-label {
  margin: 0 0 12px;
  color: var(--mars-yellow);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.notice-section h2 {
  margin: 0;
  font-size: clamp(23px, 2.8vw, 34px);
  line-height: 1.17;
  letter-spacing: -0.045em;
}

.notice-section div > p:last-child {
  max-width: 760px;
  margin: 16px 0 0;
  color: #aaa9a5;
  font-size: 14px;
  line-height: 1.6;
}

.notice-action {
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  background: var(--mars-yellow);
  color: var(--ink);
  transition: transform 180ms ease;
}

.notice-action .button-arrow {
  font-size: 23px;
}

footer {
  width: min(1180px, calc(100% - 48px));
  min-height: 126px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  border-top: 1px solid var(--line);
  color: #8a8984;
  font-size: 11px;
}

.footer-brand {
  gap: 17px;
  color: #585752;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.footer-brand img {
  width: 78px;
  height: auto;
}

.footer-tag {
  color: #55544f;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.mobile-action {
  display: none;
}

@media (max-width: 960px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 56px;
    padding-top: 58px;
  }

  .hero-copy {
    max-width: 730px;
  }

  .appointment-panel {
    width: min(100%, 590px);
    min-height: 450px;
  }

  .panel-content {
    min-height: 450px;
  }
}

@media (max-width: 720px) {
  body {
    padding-bottom: 76px;
  }

  .site-header,
  .hero,
  .notice-section,
  footer {
    width: min(100% - 32px, 1180px);
  }

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

  .brand img {
    width: 112px;
  }

  .brand-divider,
  .brand-label,
  .header-action {
    display: none;
  }

  .hero {
    min-height: 0;
    padding: 50px 0 64px;
    gap: 50px;
  }

  .hero h1 {
    font-size: clamp(48px, 14.5vw, 70px);
    line-height: 0.98;
  }

  .hero-description {
    margin-top: 24px;
    font-size: 16px;
    line-height: 1.6;
  }

  .primary-action-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .primary-action {
    width: calc(100% - 8px);
    justify-content: space-between;
  }

  .appointment-panel,
  .panel-content {
    min-height: 430px;
  }

  .panel-content {
    padding: 28px 25px;
  }

  .calendar-mark {
    margin: 46px auto 40px;
  }

  .process-section {
    padding-top: 67px;
    padding-bottom: 67px;
  }

  .section-heading {
    display: block;
  }

  .section-heading .eyebrow {
    margin-bottom: 22px;
  }

  .steps {
    grid-template-columns: 1fr;
    margin-top: 44px;
  }

  .step,
  .step + .step {
    min-height: 0;
    padding: 29px 0 30px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .step h3 {
    margin: 26px 0 9px;
  }

  .notice-section {
    margin: 55px auto;
    padding: 37px 28px;
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .notice-action {
    display: none;
  }

  footer {
    min-height: 160px;
    padding: 35px 0;
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 16px;
  }

  footer p {
    margin: 0;
  }

  .footer-tag {
    display: none;
  }

  .mobile-action {
    position: fixed;
    z-index: 20;
    left: 12px;
    right: 12px;
    bottom: 12px;
    min-height: 58px;
    padding: 0 17px 0 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--mars-yellow);
    color: var(--ink);
    font-size: 14px;
    font-weight: 800;
    box-shadow: 0 8px 30px rgba(0,0,0,0.22);
  }

  .mobile-action .button-arrow {
    background: var(--ink);
    color: var(--white);
  }
}

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

  * {
    transition: none !important;
  }
}
