:root {
  --brown-900: #3e2723;
  --brown-800: #4e342e;
  --brown-700: #5d4037;
  --brown-500: #795548;
  --brown-300: #a1887f;
  --cream: #fffaf1;
  --paper: #fffdf8;
  --pink: #ff8892;
  --pink-soft: #ffd9dc;
  --green: #76b72a;
  --line: rgba(93, 64, 55, 0.16);
  --shadow: 0 24px 70px rgba(93, 64, 55, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--brown-900);
  background: var(--paper);
  font-family: ui-rounded, "Arial Rounded MT Bold", "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
  font-size: 16px;
  line-height: 1.7;
  word-break: keep-all;
}

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

a {
  color: inherit;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  border-radius: 10px;
  color: white;
  background: var(--brown-900);
  transform: translateY(-160%);
}

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

.site-header {
  position: absolute;
  z-index: 10;
  top: 0;
  left: 50%;
  width: min(1180px, calc(100% - 48px));
  height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transform: translateX(-50%);
}

.brand img {
  width: 106px;
  height: auto;
}

nav {
  display: flex;
  gap: 32px;
  font-size: 0.95rem;
  font-weight: 700;
}

nav a,
.footer__links a {
  text-decoration: none;
}

nav a:hover,
.footer__links a:hover {
  color: var(--pink);
}

.hero {
  position: relative;
  min-height: 760px;
  overflow: hidden;
  background: #f7ead6;
}

.hero__backdrop {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 250, 241, 0.98) 0%, rgba(255, 250, 241, 0.84) 44%, rgba(255, 250, 241, 0.22) 76%),
    url("assets/room.webp") center / cover;
  opacity: 0.96;
}

.hero__content {
  position: relative;
  width: min(1180px, calc(100% - 48px));
  min-height: 760px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 48px;
  padding-top: 84px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--brown-500);
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: ui-rounded, "Arial Rounded MT Bold", "Apple SD Gothic Neo", sans-serif;
  letter-spacing: -0.035em;
}

h1 {
  margin-bottom: 24px;
  font-size: clamp(3.3rem, 6vw, 5.4rem);
  line-height: 1.12;
}

h2 {
  margin-bottom: 20px;
  font-size: clamp(2.3rem, 4.2vw, 3.7rem);
  line-height: 1.24;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.3rem;
  line-height: 1.35;
}

.hero__description {
  max-width: 620px;
  margin-bottom: 32px;
  color: var(--brown-700);
  font-size: 1.1rem;
}

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

.button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  border: 1px solid var(--brown-800);
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(78, 52, 46, 0.14);
}

.button--primary {
  color: white;
  background: var(--brown-800);
}

.button--secondary {
  background: rgba(255, 253, 248, 0.72);
}

.hero__scene {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.plant {
  position: relative;
  z-index: 2;
  width: min(390px, 80%);
  filter: drop-shadow(0 30px 22px rgba(78, 52, 46, 0.22));
}

.question-note {
  position: absolute;
  z-index: 1;
  top: 58px;
  right: 2%;
  width: min(340px, 78%);
  padding: 26px 28px 58px;
  border: 1px solid rgba(93, 64, 55, 0.18);
  border-radius: 24px 24px 54px 24px;
  background: rgba(255, 253, 248, 0.9);
  box-shadow: var(--shadow);
  transform: rotate(3deg);
}

.question-note span,
.feature__label {
  display: block;
  margin-bottom: 8px;
  color: var(--pink);
  font-size: 0.86rem;
  font-weight: 700;
}

.question-note strong {
  font-family: ui-rounded, "Arial Rounded MT Bold", "Apple SD Gothic Neo", sans-serif;
  font-size: 1.35rem;
  line-height: 1.5;
}

.floating-heart {
  position: absolute;
  z-index: 3;
  color: var(--pink);
  text-shadow: 0 6px 20px rgba(255, 103, 112, 0.28);
}

.floating-heart--one {
  top: 34%;
  left: 8%;
  font-size: 2.1rem;
  transform: rotate(-18deg);
}

.floating-heart--two {
  top: 23%;
  left: 20%;
  color: #ffb2b8;
  font-size: 1rem;
  transform: rotate(12deg);
}

.section {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
  padding: 128px 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 64px;
}

.section-heading > p:last-child,
.feature-showcase__intro > p:last-child,
.feature p,
.closing p {
  color: var(--brown-500);
}

.story-steps {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.story-steps li {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 32px;
  padding: 34px 0;
  border-bottom: 1px solid var(--line);
}

.story-steps li > div:last-child {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 40px;
  align-items: start;
}

.story-steps p {
  margin-bottom: 0;
  color: var(--brown-500);
}

.step-marker {
  color: var(--pink);
  font-family: ui-rounded, "Arial Rounded MT Bold", "Apple SD Gothic Neo", sans-serif;
  font-size: 1.6rem;
}

.feature-showcase {
  width: min(1180px, calc(100% - 48px));
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.7fr);
  gap: 70px;
}

.feature-showcase__intro {
  position: sticky;
  top: 48px;
  align-self: start;
}

.feature-grid {
  display: grid;
  gap: 22px;
}

.feature {
  min-height: 330px;
  padding: 38px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 34px;
  background: var(--cream);
}

.feature--diary {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: 32px;
  background: #f7efe5;
}

.diary-preview {
  min-height: 240px;
  padding: 32px;
  border-radius: 22px;
  background: white;
  box-shadow: 0 18px 42px rgba(93, 64, 55, 0.11);
  transform: rotate(2deg);
}

.diary-preview strong {
  display: block;
  margin: 10px 0 28px;
  font-family: ui-rounded, "Arial Rounded MT Bold", "Apple SD Gothic Neo", sans-serif;
  font-size: 1.25rem;
}

.diary-preview small {
  display: block;
  margin-top: 22px;
  color: var(--brown-300);
}

.search-preview {
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--brown-700);
  background: #fffaf6;
}

.search-preview b {
  color: var(--pink);
  font-size: 1.3rem;
}

.diary-preview i {
  display: block;
  width: 100%;
  height: 8px;
  margin: 12px 0;
  border-radius: 999px;
  background: #eee3d8;
}

.diary-preview i:last-child {
  width: 58%;
}

.feature--answer {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 42px;
  background: #fff4df;
}

.answer-preview {
  min-height: 245px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 28px;
  border: 1px solid rgba(93, 64, 55, 0.12);
  border-radius: 26px;
  text-align: center;
  box-shadow: 0 20px 40px rgba(93, 64, 55, 0.14);
  background: rgba(255, 255, 255, 0.84);
  transform: rotate(-2deg);
}

.answer-preview__question {
  font-family: ui-rounded, "Arial Rounded MT Bold", "Apple SD Gothic Neo", sans-serif;
  font-size: 1.4rem;
}

.answer-preview__people {
  width: min(250px, 100%);
  display: flex;
  align-items: center;
  justify-content: space-around;
  margin: 26px 0 16px;
}

.answer-preview__people span {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--brown-700);
  font-weight: 700;
  background: #f8ead7;
}

.answer-preview__people i {
  color: var(--pink);
  font-size: 1.5rem;
  font-style: normal;
}

.answer-preview p {
  margin: 0;
  color: var(--brown-300);
  font-size: 0.88rem;
}

.feature--calendar {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 40px;
  background: #edf3e4;
}

.calendar-preview {
  padding: 26px;
  border: 1px solid rgba(84, 112, 47, 0.15);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.8);
  box-shadow: 0 18px 44px rgba(70, 92, 44, 0.1);
}

.calendar-preview__top,
.calendar-preview__days {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.calendar-preview__top {
  margin-bottom: 26px;
}

.calendar-preview__top span {
  font-size: 1.35rem;
  font-weight: 700;
}

.calendar-preview__top strong {
  color: var(--green);
}

.calendar-preview__days span {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-size: 0.88rem;
}

.calendar-preview__days .is-today {
  color: white;
  background: var(--brown-700);
}

.feature-mini-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.feature-mini {
  min-height: 170px;
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 18px;
  align-items: start;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: #fffdf8;
}

.feature-mini > span {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--pink);
  font-size: 1.2rem;
  background: #fff0f1;
}

.feature-mini h3 {
  font-size: 1.08rem;
}

.feature-mini p {
  margin-bottom: 0;
  font-size: 0.92rem;
}

.closing {
  width: min(1000px, calc(100% - 48px));
  display: grid;
  grid-template-columns: minmax(220px, 0.72fr) minmax(0, 1.28fr);
  align-items: center;
  gap: 84px;
}

.closing img {
  filter: drop-shadow(0 20px 24px rgba(244, 178, 49, 0.18));
}

.text-link {
  display: inline-block;
  margin-top: 8px;
  color: var(--brown-700);
  font-weight: 700;
  text-underline-offset: 5px;
}

footer {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 48px 0 36px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 34px;
  border-top: 1px solid var(--line);
  color: var(--brown-500);
  font-size: 0.9rem;
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer__brand img {
  width: 48px;
  border-radius: 12px;
}

.footer__brand strong,
.footer__brand span {
  display: block;
}

.footer__brand strong {
  color: var(--brown-900);
  font-size: 1.1rem;
}

.footer__links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 22px;
}

footer > p {
  grid-column: 1 / -1;
  margin: 0;
}

@media (max-width: 900px) {
  .site-header {
    height: 76px;
  }

  nav a:not(:last-child) {
    display: none;
  }

  .hero,
  .hero__content {
    min-height: 920px;
  }

  .hero__content {
    grid-template-columns: 1fr;
    gap: 8px;
    padding-top: 130px;
  }

  .hero__copy {
    position: relative;
    z-index: 4;
  }

  .hero__scene {
    min-height: 430px;
  }

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

  .feature-showcase__intro {
    position: static;
  }

  .story-steps li > div:last-child {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}

@media (max-width: 640px) {
  .site-header,
  .hero__content,
  .section,
  .feature-showcase,
  .closing,
  footer {
    width: min(100% - 32px, 1180px);
  }

  .brand img {
    width: 88px;
  }

  nav {
    font-size: 0.9rem;
  }

  .hero,
  .hero__content {
    min-height: 850px;
  }

  .hero__backdrop {
    background:
      linear-gradient(180deg, rgba(255, 250, 241, 0.97) 0%, rgba(255, 250, 241, 0.82) 52%, rgba(255, 250, 241, 0.32) 100%),
      url("assets/room.webp") 52% center / cover;
  }

  h1 {
    font-size: clamp(2.8rem, 14vw, 4rem);
  }

  h2 {
    font-size: clamp(2rem, 10vw, 3rem);
  }

  .hero__description br {
    display: none;
  }

  .button {
    width: 100%;
  }

  .hero__scene {
    min-height: 360px;
  }

  .question-note {
    top: 34px;
    right: 0;
    width: 82%;
    padding: 20px 22px 48px;
  }

  .plant {
    width: 70%;
  }

  .section {
    padding: 92px 0;
  }

  .section-heading {
    margin-bottom: 42px;
  }

  .story-steps li {
    grid-template-columns: 56px 1fr;
    gap: 14px;
  }

  .feature {
    padding: 28px;
    border-radius: 26px;
  }

  .feature--diary,
  .feature--answer,
  .feature--calendar,
  .closing {
    grid-template-columns: 1fr;
  }

  .feature--answer > div:last-child {
    order: -1;
  }

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

  .closing {
    gap: 36px;
    text-align: center;
  }

  .closing img {
    width: 260px;
    margin: 0 auto;
  }

  footer {
    grid-template-columns: 1fr;
  }

  .footer__links {
    justify-content: flex-start;
    gap: 14px 20px;
  }
}

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

  .button {
    transition: none;
  }
}
