:root {
  --bg: #eef4ff;
  --bg-strong: #dfeafc;
  --surface: rgba(255, 255, 255, 0.92);
  --surface-strong: #f7faff;
  --text: #1e2b45;
  --muted: #66748f;
  --line: rgba(50, 96, 180, 0.14);
  --accent: #3f7ef1;
  --accent-strong: #1f5fd2;
  --accent-soft: rgba(63, 126, 241, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  font-family: "PingFang SC", "Noto Sans SC", "Helvetica Neue", sans-serif;
  background:
    radial-gradient(circle at top right, rgba(99, 145, 237, 0.24), transparent 28%),
    radial-gradient(circle at bottom left, rgba(186, 213, 255, 0.28), transparent 32%),
    linear-gradient(180deg, #f7fbff 0%, var(--bg) 100%);
}

a {
  color: var(--accent-strong);
}

code {
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(31, 95, 210, 0.08);
  font-family: "SFMono-Regular", "Consolas", monospace;
  font-size: 0.95em;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(14px);
  background: rgba(247, 251, 255, 0.84);
  border-bottom: 1px solid rgba(50, 96, 180, 0.08);
}

.site-header__inner,
.hero,
.section,
.legal,
.site-footer__inner {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 18px;
}

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

.brand__mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--accent) 0%, #7db0ff 100%);
  color: #f8fbff;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.site-nav a {
  text-decoration: none;
  color: var(--muted);
  font-weight: 600;
}

.hero {
  display: block;
  padding: 72px 0 40px;
}

.hero__content,
.panel,
.shot-card,
.legal,
.timeline__item,
.callout {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: 0 16px 40px rgba(73, 48, 24, 0.08);
}

.hero__content {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, 340px);
  gap: 24px;
  align-items: stretch;
  padding: 44px;
  width: 100%;
}

.hero__intro {
  min-width: 0;
}

.hero__metrics {
  display: grid;
  gap: 14px;
  margin: 0;
}

.hero__metrics div {
  padding: 18px 18px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(50, 96, 180, 0.1);
}

.hero__metrics dt {
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 14px;
}

.hero__metrics dd {
  margin: 0;
  font-weight: 800;
  font-size: 18px;
}

.hero__side {
  display: flex;
  align-items: stretch;
}

h1,
h2,
h3,
p,
ul,
ol,
dl,
figure {
  margin-top: 0;
}

h1 {
  margin-bottom: 16px;
  font-size: clamp(42px, 7vw, 68px);
  line-height: 1;
}

h2 {
  margin-bottom: 12px;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.15;
}

h3 {
  margin-bottom: 10px;
  font-size: 22px;
}

.hero__summary,
.section__header p,
.panel p,
.timeline__item p,
.legal p,
.list,
.ordered-list,
.shot-card p,
.site-footer p {
  color: var(--muted);
  line-height: 1.7;
}

.hero__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
}

.button--primary {
  background: linear-gradient(135deg, var(--accent) 0%, #75a7ff 100%);
  color: #f8fbff;
}

.button--secondary {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.55);
}

.section {
  padding: 28px 0 8px;
}

.section--tint {
  padding: 40px 0 20px;
}

.section__header {
  margin-bottom: 20px;
}

.grid,
.gallery {
  display: grid;
  gap: 20px;
}

.grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.gallery {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.panel,
.callout {
  padding: 26px;
}

.panel--soft {
  background: rgba(245, 249, 255, 0.88);
}

.timeline {
  display: grid;
  gap: 18px;
}

.timeline__item {
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 18px;
  align-items: start;
  padding: 24px;
}

.timeline__step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 20px;
  background: linear-gradient(135deg, var(--accent) 0%, #86b5ff 100%);
  color: #f8fbff;
  font-weight: 800;
  font-size: 20px;
}

.list,
.ordered-list {
  padding-left: 20px;
}

.list li + li,
.ordered-list li + li {
  margin-top: 8px;
}

.section--gallery {
  padding-top: 40px;
}

.shot-card {
  overflow: hidden;
}

.phone-frame {
  position: relative;
  display: flex;
  justify-content: center;
  padding: 24px 24px 10px;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at top, rgba(125, 176, 255, 0.14), transparent 38%),
    linear-gradient(180deg, #f7fbff 0%, #edf4ff 100%);
}

.phone-frame::before {
  content: "";
  position: absolute;
  inset: 18px auto auto 50%;
  transform: translateX(-50%);
  width: min(100%, 292px);
  height: calc(100% - 34px);
  border-radius: 40px;
  background: linear-gradient(180deg, #1e2430 0%, #11161f 100%);
  box-shadow:
    0 22px 44px rgba(32, 73, 146, 0.24),
    inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.phone-frame__speaker {
  position: absolute;
  top: 32px;
  left: 50%;
  transform: translateX(-50%);
  width: 88px;
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  z-index: 2;
}

.phone-frame img {
  position: relative;
  z-index: 1;
  display: block;
  width: min(100%, 274px);
  border-radius: 28px;
  object-fit: contain;
  margin-top: 12px;
  margin-bottom: 10px;
  box-shadow: 0 12px 26px rgba(10, 37, 87, 0.18);
}

.shot-card figcaption {
  padding: 22px;
}

.section--contact {
  padding-bottom: 72px;
}

.site-footer {
  border-top: 1px solid rgba(50, 96, 180, 0.08);
  background: rgba(245, 249, 255, 0.78);
}

.site-footer__inner {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 0 48px;
}

.site-footer__links {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  flex-wrap: wrap;
}

.site-footer__links a {
  text-decoration: none;
}

.legal {
  margin-top: 56px;
  margin-bottom: 56px;
  padding: 36px;
}

.legal__section {
  margin-top: 26px;
}

.callout {
  margin-top: 16px;
  background: var(--accent-soft);
}

.back-link {
  display: inline-block;
  margin-bottom: 18px;
}

@media (max-width: 960px) {
  .grid--3,
  .grid--2,
  .gallery,
  .hero__content {
    grid-template-columns: 1fr;
  }

  .site-header__inner,
  .site-footer__inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 860px) {
  .hero {
    padding-top: 32px;
  }

  .hero__content,
  .panel,
  .legal,
  .timeline__item,
  .callout {
    padding: 22px;
  }

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

  .phone-frame {
    padding-left: 16px;
    padding-right: 16px;
  }
}
