:root {
  color-scheme: light;
  --paper: #f4f7f5;
  --surface: #ffffff;
  --ink: #18211f;
  --muted: #66716e;
  --pine: #244c43;
  --coral: #e36f4f;
  --line: #d9e0dd;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--paper);
}

body {
  min-width: 320px;
  min-height: 100vh;
  min-height: 100svh;
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--paper);
  font-family:
    Inter, "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 20;
  padding: 10px 14px;
  border: 1px solid var(--ink);
  background: var(--surface);
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 10;
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  padding: 24px 32px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
}

.brand img {
  display: block;
}

.header-detail {
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
}

main {
  min-height: 100vh;
  min-height: 100svh;
}

.hero {
  position: relative;
  display: flex;
  min-height: 100vh;
  min-height: 100svh;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 112px 24px 128px;
  text-align: center;
}

.hero::before,
.hero::after {
  position: absolute;
  content: "";
  pointer-events: none;
}

.hero::before {
  top: 50%;
  left: 0;
  width: 100%;
  border-top: 1px solid rgba(36, 76, 67, 0.08);
}

.hero::after {
  top: 0;
  left: 50%;
  height: 100%;
  border-left: 1px solid rgba(36, 76, 67, 0.08);
}

.hero-mark,
.eyebrow,
.hero h1,
.intro {
  position: relative;
  z-index: 1;
}

.hero-mark {
  width: 112px;
  height: 112px;
  margin-bottom: 32px;
  filter: drop-shadow(0 18px 28px rgba(24, 33, 31, 0.1));
}

.hero-mark img {
  display: block;
  width: 100%;
  height: 100%;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--pine);
  font-family: "Songti SC", STSong, "Noto Serif CJK SC", serif;
  font-size: 15px;
  font-weight: 600;
}

.hero h1 {
  margin: 0;
  font-family: "Songti SC", STSong, "Noto Serif CJK SC", serif;
  font-size: 88px;
  font-weight: 600;
  line-height: 1.05;
}

.intro {
  max-width: 30rem;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.8;
}

.record-bar {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 10;
  display: flex;
  justify-content: center;
  padding: 0 24px calc(18px + env(safe-area-inset-bottom));
  pointer-events: none;
}

.record-bar a {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 8px 26px rgba(24, 33, 31, 0.08);
  font-size: 12px;
  line-height: 1.4;
  text-decoration: none;
  pointer-events: auto;
  transition:
    border-color 180ms ease,
    color 180ms ease,
    transform 180ms ease;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.record-bar a:hover {
  border-color: var(--pine);
  color: var(--pine);
  transform: translateY(-2px);
}

.record-bar a:focus-visible,
.brand:focus-visible {
  outline: 2px solid var(--coral);
  outline-offset: 4px;
}

.external-mark {
  color: var(--coral);
  font-size: 14px;
}

@media (max-width: 640px) {
  .site-header {
    padding: 18px 20px;
  }

  .header-detail {
    display: none;
  }

  .hero {
    padding: 96px 20px 112px;
  }

  .hero-mark {
    width: 88px;
    height: 88px;
    margin-bottom: 26px;
  }

  .hero h1 {
    font-size: 56px;
  }

  .intro {
    margin-top: 18px;
    font-size: 15px;
  }

  .record-bar {
    padding-right: 16px;
    padding-left: 16px;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .hero-mark {
    animation: settle 700ms cubic-bezier(0.22, 1, 0.36, 1) both;
  }

  .eyebrow,
  .hero h1,
  .intro {
    animation: reveal 650ms 100ms ease-out both;
  }
}

@keyframes settle {
  from {
    opacity: 0;
    transform: translateY(-18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes reveal {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}
