:root {
  --brand-700: #3a568f;
  --brand-600: #44639f;
  --brand-500: #5474b4;
  --brand-100: #eef3ff;
  --brand-50: #f6f9ff;
  --accent: #ffc107;
  --accent-soft: #fff7df;
  --ink: #1d2533;
  --muted: #5c687a;
  --line: #dde5f2;
  --surface: #ffffff;
  --shadow-sm: 0 1px 2px rgba(24, 39, 75, 0.06), 0 10px 28px rgba(24, 39, 75, 0.06);
  --shadow-lg: 0 18px 50px rgba(40, 64, 115, 0.16), 0 4px 14px rgba(40, 64, 115, 0.08);
  --radius: 12px;
  --radius-lg: 20px;
  --container: 1120px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  line-height: 1.6;
  background:
    radial-gradient(1200px 620px at 82% -12%, rgba(84, 116, 180, 0.18), transparent 60%),
    radial-gradient(900px 520px at -10% 18%, rgba(255, 193, 7, 0.08), transparent 55%),
    linear-gradient(180deg, #f7faff 0%, #ffffff 38%, #f8faff 100%);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a {
  color: inherit;
}

.container {
  width: min(var(--container), calc(100% - 48px));
  margin-inline: auto;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: saturate(180%) blur(14px);
  background: rgba(247, 250, 255, 0.82);
  border-bottom: 1px solid rgba(68, 99, 159, 0.12);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--brand-700);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.brand-name {
  white-space: nowrap;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  filter: drop-shadow(0 6px 16px rgba(68, 99, 159, 0.3));
}

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

.login-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 44px;
  padding: 0 20px;
  border-radius: 10px;
  color: #ffffff;
  background: var(--brand-600);
  font-size: 0.95rem;
  font-weight: 600;
  white-space: nowrap;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(68, 99, 159, 0.28);
  transition: background-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.login-link:hover {
  background: var(--brand-500);
  transform: translateY(-1px);
  box-shadow: 0 12px 26px rgba(68, 99, 159, 0.32);
}

.login-link svg {
  transition: transform 0.18s ease;
}

.login-link:hover svg {
  transform: translateX(3px);
}

.login-link:focus-visible,
.brand:focus-visible {
  outline: 3px solid rgba(255, 193, 7, 0.9);
  outline-offset: 3px;
}

/* Hero */

.hero {
  padding: 64px 0 36px;
}

.hero-copy {
  max-width: 840px;
  margin: 0 auto 40px;
  text-align: center;
}

.hero-copy h1 {
  margin: 0 0 22px;
  color: #162033;
  font-size: clamp(2.6rem, 5vw, 4.1rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.04;
}

.lead {
  max-width: 48ch;
  margin: 0 auto 26px;
  color: var(--muted);
  font-size: clamp(1.1rem, 1.6vw, 1.3rem);
  line-height: 1.55;
}

.hero-text {
  margin: 0 0 14px;
  font-weight: 600;
}

.checklist {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 32px;
  max-width: 700px;
  margin: 0 auto 28px;
  padding: 0;
  list-style: none;
  text-align: left;
}

.checklist li {
  position: relative;
  padding-left: 34px;
  color: #33405a;
}

.checklist li::before {
  content: "✓";
  position: absolute;
  top: 0.12em;
  left: 0;
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  color: var(--brand-600);
  background: var(--brand-100);
  font-size: 0.78rem;
  font-weight: 800;
}

.callout {
  max-width: 780px;
  margin: 0 auto;
  padding: 18px 20px;
  border-left: 4px solid var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0;
  color: #3c4354;
  background: linear-gradient(90deg, var(--accent-soft), rgba(255, 247, 223, 0.35));
  font-weight: 600;
  text-align: left;
}

.hero-shot {
  margin: 0;
  padding: 16px;
  border: 1px solid rgba(68, 99, 159, 0.12);
  border-radius: 26px;
  background: linear-gradient(135deg, rgba(84, 116, 180, 0.16), rgba(255, 193, 7, 0.1));
  box-shadow: var(--shadow-sm);
}

.hero-shot img {
  width: 100%;
  border: 1px solid rgba(68, 99, 159, 0.14);
  border-radius: 16px;
  background: #ffffff;
  box-shadow: var(--shadow-lg);
}

.hero-shot figcaption {
  margin-top: 14px;
  color: var(--muted);
  font-size: 0.85rem;
  text-align: center;
}

/* Gallery */

.gallery {
  padding: 18px 0 54px;
}

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

.shot-card {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.shot-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-bottom: 1px solid var(--line);
  background: #f4f7fd;
  object-fit: cover;
  object-position: top left;
}

.shot-card figcaption {
  display: grid;
  gap: 4px;
  padding: 18px 22px 20px;
}

.shot-card strong {
  font-size: 1rem;
  letter-spacing: -0.01em;
}

.shot-card span {
  color: var(--muted);
  font-size: 0.92rem;
}

/* Features */

.features {
  padding: 56px 0 72px;
}

.features h2 {
  max-width: 22ch;
  margin: 0 0 12px;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 34px;
}

.feature-card {
  padding: 26px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 1px 2px rgba(24, 39, 75, 0.04);
}

.feature-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 16px;
  border-radius: 12px;
  color: var(--brand-600);
  background: var(--brand-100);
}

.feature-card h3 {
  margin: 0 0 8px;
  font-size: 1.08rem;
  letter-spacing: -0.01em;
  line-height: 1.3;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.65;
}

/* CTA */

.cta {
  padding: 0 0 72px;
}

.cta-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  overflow: hidden;
  padding: 36px 40px;
  border-radius: 24px;
  color: #ffffff;
  background: linear-gradient(120deg, var(--brand-700), var(--brand-500));
  box-shadow: 0 24px 60px rgba(40, 64, 115, 0.22);
}

.cta-inner::after {
  content: "";
  position: absolute;
  top: -60px;
  right: 80px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 193, 7, 0.28), transparent 68%);
  pointer-events: none;
}

.cta h2 {
  margin: 0 0 6px;
  font-size: clamp(1.45rem, 2.4vw, 1.9rem);
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.cta p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
}

.cta .login-link {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  color: var(--brand-700);
  background: #ffffff;
  box-shadow: none;
}

.cta .login-link:hover {
  color: #2b2b2b;
  background: var(--accent);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}

/* Footer */

.site-footer {
  padding: 24px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  background: rgba(255, 255, 255, 0.6);
  font-size: 0.85rem;
}

/* Responsive */

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

  .hero-copy {
    margin-bottom: 32px;
  }

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

  .cta-inner {
    flex-direction: column;
    align-items: flex-start;
    padding: 30px;
  }
}

@media (max-width: 560px) {
  .container {
    width: calc(100% - 32px);
  }

  .header-inner {
    gap: 10px;
    min-height: 64px;
  }

  .brand {
    gap: 8px;
  }

  .brand-mark {
    width: 30px;
    height: 30px;
  }

  .brand-name {
    font-size: 0.92rem;
  }

  .login-link {
    gap: 6px;
    min-height: 40px;
    padding: 0 12px;
    font-size: 0.86rem;
  }

  .login-link svg {
    width: 16px;
    height: 16px;
  }

  .hero {
    padding-top: 36px;
  }

  .checklist {
    grid-template-columns: 1fr;
    max-width: none;
  }

  .hero-shot {
    padding: 10px;
    border-radius: 20px;
  }

  .hero-shot img {
    aspect-ratio: 4 / 3;
    border-radius: 12px;
    object-fit: cover;
    object-position: left top;
  }

  .callout {
    padding: 15px 16px;
  }

  .feature-card {
    padding: 22px 20px;
  }

  .cta {
    padding-bottom: 48px;
  }
}

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

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}
