@import url("/assets/style.css");

/* Homepage only: match the approved second concept; shared document styles stay untouched. */
.home { background: #faf8f2; color: #203735; }
.home header { background: #fffefa; border-color: #e8e5dc; }
.home header nav { max-width: 1320px; padding: 17px 28px; min-height: 78px; }
.home nav .brand { font-size: 23px; letter-spacing: -.035em; }
.home nav .links { gap: 28px; }
.home nav .links a { font-size: 17px; }
.home main.wide { max-width: 1384px; padding: 0 24px 52px; overflow-x: clip; }
.home .hero { grid-template-columns: 52% 48%; gap: 0; min-height: 496px; }
.home .hero-copy { padding: 34px 0 20px 42px; position: relative; z-index: 1; }
.home .eyebrow { font-size: 13px; letter-spacing: .15em; color: #476e5e; }
.home h1 { font-size: clamp(40px, 4.15vw, 64px); line-height: 1.12; letter-spacing: -.045em; margin: 15px 0 20px; }
.home .lead { font-size: clamp(18px, 1.55vw, 24px); line-height: 1.6; color: #526e64; margin: 0; }
/* The original artwork is not edited: this viewport shows only its two-phone illustration.
   Reference bounds: x=820, y=90, width=675, height=475 on a 1536×1024 image. */
.home .moment-art { position: relative; overflow: hidden; aspect-ratio: 675 / 475; width: calc(100% + 40px); margin-left: -8px; isolation: isolate; mask-image: linear-gradient(to right, transparent, #000 3%, #000 97%, transparent); }
.home .moment-art img { position: absolute; width: 227.555556%; max-width: none; height: auto; left: -121.481481%; top: -18.947368%; filter: none; }
.home .cards { margin-top: 0; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 17px; }
.home .card { display: flex; gap: 24px; align-items: flex-start; padding: 23px 22px; border: 1px solid #e8e5de; border-radius: 18px; background: #fffefa; min-width: 0; }
.home .feature-icon { flex: 0 0 66px; width: 66px; height: 66px; border-radius: 50%; display: grid; place-items: center; }
.home .feature-icon.sage { background: #edf1e8; }
.home .feature-icon.coral { background: #ffe8e3; }
.home .feature-icon img { width: 32px; height: 34px; }
.home .feature-icon img[src$="apple-logo.svg"] { filter: invert(40%) sepia(49%) saturate(1181%) hue-rotate(318deg) brightness(87%) contrast(88%); }
.home .feature-copy { min-width: 0; }
.home .card h2 { font-size: 20px; line-height: 1.35; margin: 0 0 6px; letter-spacing: -.035em; }
.home .card p { font-size: 16px; line-height: 1.52; color: #49685e; }
.home footer { background: #faf8f2; }
@media (min-width: 761px) and (max-width: 1150px) {
 .home .hero { min-height: 420px; }
 .home .hero-copy { padding-left: 16px; }
 .home h1 { font-size: 4.1vw; }
 .home .card { gap: 14px; padding: 20px 16px; }
 .home .feature-icon { flex-basis: 48px; width: 48px; height: 48px; }
 .home .card h2 { font-size: 17px; }
 .home .card p { font-size: 14px; }
}
@media (max-width: 760px) {
 .home header nav { padding: 14px 22px; gap: 9px; }
 .home nav .brand { font-size: 21px; }
 .home nav .links { gap: 6px 16px; width: 100%; }
 .home nav .links a { font-size: 14px; }
 .home main.wide { padding: 0 20px 40px; }
 .home .hero { grid-template-columns: 1fr; min-height: 0; }
 .home .hero-copy { padding: 37px 2px 8px; }
 .home .eyebrow { font-size: 10px; }
 .home h1 { font-size: clamp(34px, 7.9vw, 52px); margin: 14px 0 18px; }
 .home .lead { font-size: 17px; line-height: 1.6; }
 .home .lead br { display: none; }
 .home .moment-art { width: 100%; max-width: 570px; margin: 13px auto 24px; grid-row: auto; }
 .home .cards { grid-template-columns: 1fr; gap: 12px; }
 .home .card { gap: 18px; padding: 20px 18px; border-radius: 16px; }
 .home .feature-icon { flex-basis: 52px; width: 52px; height: 52px; }
 .home .card h2 { font-size: 18px; }
 .home .card p { font-size: 15px; }
}
@media (min-width: 560px) and (max-width: 760px) {
 .home .cards { grid-template-columns: repeat(2,minmax(0,1fr)); }
 .home .card { gap: 12px; padding: 18px 14px; }
}
@media (min-width: 1151px) {
 .home header nav { padding-right: 118px; }
 .home .hero-copy { transform: translateY(24px); }
 .home h1 { font-size: clamp(48px, 4.3vw, 66px); }
}


.home .store-downloads {
 display: grid;
 grid-template-columns: repeat(2, minmax(0, 1fr));
 gap: 10px;
 max-width: 354px;
 margin-top: 26px;
}
.home .store-link {
 display: flex;
 align-items: center;
 justify-content: center;
 gap: 8px;
 min-height: 58px;
 padding: 6px;
 border: 1px solid #282d2b;
 border-radius: 10px;
 background: #17211f;
 color: white;
 text-decoration: none;
}
.home .store-link:hover { background: #304641; }
.home .store-link:focus-visible { outline: 3px solid #477865; outline-offset: 3px; }
.home .store-link :is(img, svg) { flex: 0 0 24px; width: 24px; height: 24px; }
.home .store-link img { filter: brightness(0) invert(1); }
.home .store-link span { display: flex; flex-direction: column; }
.home .store-link small { font-size: 10px; line-height: 1.3; }
.home .store-link strong { font-size: clamp(16px, 4vw, 20px); line-height: 1.1; white-space: nowrap; }
@media (max-width: 360px) {
 .home .store-downloads { gap: 8px; }
 .home .store-link { gap: 5px; }
 .home .store-link :is(img, svg) { flex-basis: 20px; width: 20px; height: 20px; }
}
