.home-page {
  color: #332e25;
  background: radial-gradient(ellipse at 22% 28%, #fffefa 18%, transparent 68%), linear-gradient(115deg, #fcfaf4, #f4efe3);
  overflow-x: clip;
  position: relative;
  isolation: isolate;
}

.site-header,
.home-page .site-main {
  width: min(1160px, calc(100% - 192px));
  margin-inline: auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 26px;
}

.site-brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: #171b22;
  text-decoration: none;
  white-space: nowrap;
}

.site-brand img { display: block; width: 48px; height: 48px; object-fit: contain; }
.site-brand span { font-size: 27px; font-weight: 800; letter-spacing: .015em; }
.site-navigation { display: flex; align-items: center; gap: 36px; }
.site-navigation a { color: #726957; font-size: 14px; text-decoration: none; }
.site-navigation a:hover { color: #30291b; text-decoration: underline; text-underline-offset: 5px; }

.home-page .site-main { display: flex; flex-direction: column; justify-content: center; padding: 30px 0 70px; }
.paper-scene { position: absolute; inset: 0; overflow: hidden; z-index: -1; pointer-events: none; }
.paper-backdrop { position: absolute; inset: 50% max(-40px, calc((100% - 1160px) / 2 - 110px)) auto calc(50% - 80px); height: min(580px, calc(100% - 150px)); transform: translateY(-50%); }
.paper-sheet { position: absolute; display: block; border-radius: 8px; }
.paper-sheet-back { inset: 13% -1% 7% 10%; background: #f2cf70; transform: rotate(-11deg); box-shadow: 12px 24px 55px #92702312; }
.paper-sheet-front { inset: 2% 2% 3% 3%; background: linear-gradient(135deg, #fffefa 0 88%, #eee5ce 88.1%, #f9f3e5 88.4%); border: 1px solid #fffef8; transform: rotate(5deg); box-shadow: -10px 16px 55px #79633a0e, 1px 1px 0 #e8dfc7; }
.home-hero { width: 100%; display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); align-items: center; gap: 56px; min-height: 420px; }
.hero-copy { min-width: 0; }
.hero-copy h1 { margin: 0 0 26px; color: #29251e; font-size: clamp(42px, 4.8vw, 68px); font-weight: 650; letter-spacing: .04em; line-height: 1.3; }
.hero-copy h1 span { display: block; }
.hero-description { margin: 0; color: #746b5b; font-size: 18px; line-height: 1.8; }
.description-lead, .description-detail { display: block; }
.description-lead strong { margin-right: .4em; font-weight: 600; color: #5d491a; background: linear-gradient(transparent 58%, #f7df94 58% 90%, transparent 90%); }
.description-detail { margin-top: 6px; color: #746b5b; font-size: 14px; letter-spacing: .035em; }
.hero-download { margin-top: 31px; }
.home-page .download-button { min-width: 258px; min-height: 60px; padding: 15px 25px; border-color: #ffbf19; border-radius: 13px; background: #ffc52e; color: #302508; box-shadow: 0 7px 22px #d99a0717; font-size: 17px; gap: 12px; }
.home-page .download-button:hover { background: #ffd04b; }
.download-button svg { width: 21px; height: 21px; flex: none; }
.download-notes { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 20px 0 0; color: #746b5b; font-size: 13px; line-height: 1.6; }
.download-notes span + span { padding-left: 18px; border-left: 1px solid #dfd7c6; }
.home-page .version { min-height: 21px; margin: 10px 0 0; color: #746b5b; font-size: 12px; line-height: 1.7; }
.product-preview { min-width: 0; margin: 0; }
.product-preview img { display: block; width: 100%; height: auto; border: 1px solid #e3dfd4; border-radius: 8px; background: #fff; box-shadow: 0 16px 38px #66563816, 0 2px 7px #66563809; }
.home-page footer { padding: 23px 24px; color: #746b5b; font-size: 12px; }

@media (max-width: 1000px) {
  .site-header, .home-page .site-main { width: calc(100% - 128px); }
  .home-hero { gap: 34px; min-height: 400px; }
  .hero-description { font-size: 16px; }
}

@media (max-width: 760px) {
  .site-header, .home-page .site-main { width: calc(100% - 48px); }
  .site-header { padding-block: 22px; }
  .site-brand img { width: 39px; height: 39px; }
  .site-brand span { font-size: 23px; }
  .site-navigation { gap: 20px; }
  .site-navigation a { font-size: 13px; }
  .home-page .site-main { padding: 32px 0 40px; }
  .home-hero { grid-template-columns: 1fr; min-height: 0; gap: 44px; }
  .paper-backdrop { inset: auto -38px 62px 8%; height: 350px; transform: none; }
  .hero-copy h1 { font-size: clamp(40px, 8.4vw, 58px); margin-bottom: 20px; }
  .hero-description { max-width: 36em; }
  .hero-download { margin-top: 26px; }
  .product-preview { width: min(100%, 620px); margin-inline: auto; }
}

@media (max-width: 400px) {
  .site-header, .home-page .site-main { width: calc(100% - 36px); }
  .site-brand { gap: 6px; }
  .site-brand span { font-size: 21px; }
  .site-navigation { gap: 14px; }
  .site-navigation a { font-size: 12px; }
  .hero-copy h1 { font-size: clamp(36px, 10vw, 40px); }
  .hero-description { font-size: 15px; }
  .description-detail { font-size: 12px; letter-spacing: .015em; }
  .paper-backdrop { height: 270px; bottom: 72px; }
  .home-page .download-button { min-width: 235px; min-height: 56px; font-size: 16px; }
  .download-notes { display: block; font-size: 12px; }
  .download-notes span { display: block; }
  .download-notes span + span { padding-left: 0; border-left: 0; margin-top: 5px; }
}
