* {
  box-sizing: border-box;
}

:root {
  color: #111111;
  background: #f2f8ff;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
}

body {
  min-height: 100vh;
  margin: 0;
  background: #f2f8ff;
  color: #111111;
}

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

.top-bar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 68px;
  padding: 0 28px;
  background: #ffffff;
  border-bottom: 1px solid #e7e7e7;
}

.nav-left {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
}

.nav-left a,
.brand {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  border-radius: 6px;
  color: #111111;
}

.nav-left a {
  padding: 0 12px;
  font-size: 0.95rem;
  font-weight: 600;
}

.nav-left a:hover,
.nav-left a.is-active,
.brand:hover {
  background: #f4f4f4;
}

.brand {
  gap: 10px;
  padding: 0 10px;
  font-size: 1.1rem;
  font-weight: 700;
}

.brand img {
  display: block;
  width: 32px;
  height: 32px;
  border-radius: 7px;
}

main {
  min-height: calc(100vh - 68px);
}

.page-view {
  display: none;
  min-height: calc(100vh - 68px);
  background: #f2f8ff;
}

.page-view.is-active {
  display: block;
}

.content-view {
  width: min(860px, calc(100% - 40px));
  margin: 0 auto;
  padding: 48px 0 80px;
}

.home-view {
  padding: 52px 0 80px;
}

.home-hero,
.timelapse-section,
.feature-section {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.home-hero,
.timelapse-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(380px, 640px);
  gap: 56px;
  align-items: center;
}

.home-copy h1 {
  margin: 0 0 16px;
  font-size: clamp(2.6rem, 6vw, 5rem);
  line-height: 1;
}

.home-copy h2,
.feature-section h2 {
  margin: 0 0 16px;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  line-height: 1.1;
}

.home-tagline {
  max-width: 520px;
  color: #111111;
  font-size: clamp(1.45rem, 3vw, 2.2rem);
  font-weight: 700;
  line-height: 1.25;
}

.app-store-button {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  min-width: 178px;
  min-height: 56px;
  margin-top: 28px;
  padding: 8px 18px;
  border-radius: 8px;
  background: #111111;
  color: #ffffff;
  line-height: 1.05;
}

.app-store-button span {
  font-size: 0.76rem;
  font-weight: 500;
}

.app-store-button strong {
  font-size: 1.45rem;
}

.home-copy p:not(.home-tagline),
.feature-item p {
  margin: 0;
  color: #666666;
  font-size: 1.05rem;
  line-height: 1.65;
}

.home-image {
  display: block;
  width: 100%;
  max-width: 640px;
  margin: 0 auto;
}

.feature-section {
  margin-top: 190px;
}

.feature-section h2 {
  max-width: 680px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
}

.feature-item {
  min-height: 190px;
  padding: 22px;
  border: 1px solid #d9e1ea;
  border-radius: 8px;
  background: #ffffff;
}

.feature-item h3 {
  margin: 18px 0 8px;
  font-size: 1.2rem;
}

.feature-emoji-row {
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  width: 100%;
  min-height: 58px;
  font-size: 2.75rem;
}

.feature-emoji-row > * {
  display: inline-block;
  transform-origin: center bottom;
}

.feature-emoji-row > *:first-child {
  transform: translateY(6px) rotate(-24deg);
}

.feature-emoji-row > *:last-child {
  transform: translateY(6px) rotate(24deg);
}

.feature-emoji-row > *:only-child {
  transform: translateY(6px);
}

.feature-inline-icon {
  display: block;
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.timelapse-section {
  grid-template-columns: minmax(380px, 640px) minmax(0, 1fr);
  margin-top: 170px;
}

.contact-view {
  width: min(860px, calc(100% - 40px));
  margin: 0 auto;
  padding: 56px 0 72px;
}

.contact-view h1 {
  margin-bottom: 12px;
  margin-left: 64px;
  font-size: clamp(2rem, 3vw, 2.8rem);
}

.contact-view p {
  max-width: 650px;
  margin-left: 64px;
  color: #777777;
  font-size: 1rem;
  text-align: left;
}

.contact-box {
  width: min(680px, 100%);
  margin-top: 34px;
  margin-right: auto;
  margin-left: auto;
  border: 1px solid #dddddd;
  border-radius: 8px;
  padding: 34px 48px;
  background: #ffffff;
}

.contact-list {
  display: grid;
  gap: 24px;
  margin: 0;
  padding-left: 34px;
  text-align: left;
}

.contact-list li {
  font-size: clamp(1.45rem, 2.6vw, 2.15rem);
  font-weight: 700;
  line-height: 1.2;
}

.contact-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.contact-label img {
  width: 30px;
  height: 30px;
  object-fit: contain;
  flex: 0 0 auto;
}

.contact-list li ul {
  margin: 10px 0 0;
  padding-left: 28px;
}

.contact-list li li {
  color: #777777;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
}

.contact-list li .contact-detail {
  margin-top: 6px;
  color: #111111;
  font-size: clamp(1rem, 1.8vw, 1.3rem);
  font-weight: 600;
  line-height: 1.35;
}

.contact-response {
  margin-top: 18px;
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

h1 {
  margin: 0 0 28px;
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.05;
  letter-spacing: 0;
}

.accordion-list {
  display: grid;
  gap: 12px;
}

details {
  border: 1px solid #dddddd;
  border-radius: 8px;
  background: #ffffff;
}

summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 56px;
  padding: 14px 18px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: "+";
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
  border: 1px solid #d0d0d0;
  border-radius: 50%;
  font-size: 1.1rem;
  font-weight: 400;
  line-height: 1;
}

details[open] summary {
  border-bottom: 1px solid #eeeeee;
}

details[open] summary::after {
  content: "-";
}

details > p,
.legal-copy {
  padding: 0 18px 18px;
}

p,
li {
  line-height: 1.65;
}

p {
  margin: 0 0 14px;
}

ul {
  margin: 0 0 18px;
  padding-left: 24px;
}

li + li {
  margin-top: 8px;
}

.legal-copy {
  max-width: 760px;
  color: #222222;
}

.legal-copy h2 {
  margin: 22px 0 14px;
  font-size: 1.45rem;
  line-height: 1.2;
  letter-spacing: 0;
}

.legal-copy h3 {
  margin: 30px 0 10px;
  font-size: 1.05rem;
  line-height: 1.35;
  letter-spacing: 0;
}

.legal-copy h4 {
  margin: 22px 0 10px;
  font-size: 0.98rem;
  line-height: 1.4;
  letter-spacing: 0;
}

@media (max-width: 640px) {
  .top-bar {
    align-items: flex-start;
    padding: 12px 16px;
  }

  .nav-left {
    max-width: calc(100% - 118px);
    justify-content: flex-end;
  }

  .nav-left a {
    min-height: 34px;
    padding: 0 8px;
    font-size: 0.88rem;
  }

  .brand {
    min-height: 34px;
    padding: 0 6px;
    font-size: 1rem;
  }

  .brand img {
    width: 28px;
    height: 28px;
    border-radius: 6px;
  }

  main,
  .page-view {
    min-height: calc(100vh - 58px);
  }

  .content-view {
    width: min(100% - 28px, 860px);
    padding: 34px 0 64px;
  }

  .home-view {
    padding: 36px 0 64px;
  }

  .home-hero,
  .timelapse-section,
  .feature-section {
    width: min(100% - 28px, 1060px);
  }

  .home-hero,
  .timelapse-section {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .timelapse-section .home-image {
    order: 2;
  }

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

  .feature-section {
    margin-top: 96px;
  }

  .timelapse-section {
    margin-top: 104px;
  }

  .home-image {
    max-width: 340px;
  }

  .contact-view {
    width: min(100% - 28px, 860px);
    padding: 48px 0 64px;
  }

  .contact-view h1,
  .contact-view p {
    margin-left: 0;
  }

  .contact-list {
    padding-left: 28px;
  }

  summary {
    align-items: flex-start;
    min-height: 52px;
    padding: 14px;
  }

  details > p,
  .legal-copy {
    padding: 0 14px 16px;
  }
}
