/* flipsy.co landing page. Builds on style.css (type, buttons, stage) with Ak's Pantone pastels. */
.landing {
  --lemon: #F4EDCB;   /* 11-0515 Lemon Icing */
  --nimbus: #D5D5D8;  /* 13-4108 Nimbus Cloud */
  --roses: #EADADF;   /* 11-1400 Raindrops on Roses */
  --cloud: #F0EEE9;   /* 11-4201 Cloud Dancer */
  --ice: #D6E1EC;     /* 13-4306 Ice Melt */
  --peach: #EFDCD1;   /* 12-1107 Peach Dust */
  --aqua: #CBD6C6;    /* 13-6006 Almost Aqua */
  --orchid: #DBD4DF;  /* 13-3802 Orchid Tint */
  --paper: var(--cloud);
  --line: var(--nimbus);
  background: var(--cloud);
}
.landing { padding-block: 0 40px; }
.landing main, .nav, .foot { max-width: 1080px; margin: 0 auto; }
.landing a:not(.go) { color: inherit; }
.landing main > *, .hero > *, .places > *, .paths > *, .steps > * { min-width: 0; }
.landing .go, .landing .ghost { text-decoration: none; display: inline-block; }
.landing .go.small { padding: 9px 16px; font-size: 14px; border-radius: 12px; }

.nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 0; }
.nav .brand { text-decoration: none; }
.nav nav { display: flex; gap: 22px; font-size: 14px; }
.nav nav a { text-decoration: none; color: var(--muted); }
.nav nav a:hover { color: var(--ink); }
@media (max-width: 720px) { .nav nav { display: none; } }

.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; padding: 40px 0 72px; }
.hero h1 { font-size: clamp(42px, 6.4vw, 72px); line-height: .98; text-align: left; }
.hero-copy { display: grid; gap: 18px; justify-items: start; }
.lede { margin: 0; font-size: 18px; line-height: 1.55; color: #4A4641; max-width: 34ch; }
.row.start { display: flex; gap: 10px; flex-wrap: wrap; }
.hero-demo { width: 100%; display: grid; gap: 14px; justify-items: center; }
.stage.demo { height: 460px; }
.stage.demo .critter { width: min(360px, 82%); cursor: pointer; }
@media (max-width: 860px) {
  .hero { grid-template-columns: minmax(0, 1fr); gap: 32px; padding-top: 16px; }
  .stage.demo { height: 380px; }
}

.block { padding: 72px 0; border-top: 1px solid var(--line); }
.block h2 { font: 600 clamp(30px, 4.4vw, 46px)/1.04 var(--display); letter-spacing: -.035em; margin: 0 0 36px; max-width: 18ch; text-wrap: balance; }
.block h3 { font: 600 21px/1.2 var(--display); letter-spacing: -.02em; margin: 0 0 8px; }
.block p { margin: 0; }

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.steps li { background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 24px; }
.steps p { color: #4A4641; }
.num { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--ink); color: var(--paper); font: 600 14px var(--body); margin-bottom: 18px; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }

.places { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; }
.place { background: var(--card); border: 1px solid var(--line); border-radius: 26px; padding: 22px 22px 28px; display: grid; gap: 10px; align-content: start; }
.place > p { color: #4A4641; }
.how-list { margin: 6px 0 0; padding-left: 18px; display: grid; gap: 8px; color: #4A4641; }
.how-list a { font-weight: 600; text-underline-offset: 3px; }
@media (max-width: 760px) { .places { grid-template-columns: 1fr; } }

.mock { height: 320px; border-radius: 18px; background: radial-gradient(60% 70% at 50% 40%, #F4F1EB 0%, var(--stage) 75%); margin-bottom: 10px; overflow: hidden; position: relative; }

/* Phone mock-up */
.phone-mock { display: grid; place-items: end center; }
.phone { width: 200px; height: 296px; background: var(--paper); border: 7px solid #1C1A18; border-bottom: 0; border-radius: 34px 34px 0 0; display: grid; justify-items: center; align-content: start; padding-top: 30px; position: relative; text-align: center; }
.island { position: absolute; top: 9px; left: 50%; transform: translateX(-50%); width: 58px; height: 16px; border-radius: 10px; background: #1C1A18; }
.p-from { margin: 0; font: 600 8.5px var(--body); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.p-title { margin: 2px 0 8px; font: 600 17px/1.1 var(--display); letter-spacing: -.03em; }
.p-stage { position: relative; width: 168px; height: 168px; border-radius: 16px; background: var(--stage); display: grid; place-items: center; }
.p-stage canvas { width: 130px; height: 130px; margin-top: 14px; }
.p-bubble { position: absolute; top: 8px; left: 50%; transform: translateX(-50%); background: #fff; border-radius: 10px; padding: 2px 9px; font: 500 10.5px var(--body); white-space: nowrap; }
.p-ago { margin: 6px 0 0; font-size: 10px; color: var(--muted); }

/* Mac menu bar mock-up */
.menubar { height: 28px; background: rgba(250, 249, 246, .85); border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; padding: 0 12px; font: 500 12px var(--body); }
.mb-left b { display: inline-block; width: 11px; height: 13px; border-radius: 50% 50% 45% 45%; background: var(--ink); vertical-align: -2px; }
.mb-right { display: flex; align-items: center; gap: 12px; }
.mb-critter { display: inline-flex; align-items: center; gap: 4px; background: rgba(28, 26, 24, .08); border-radius: 6px; padding: 1px 7px 1px 3px; }
.mb-critter canvas { width: 20px; height: 20px; }
.wifi { width: 14px; height: 10px; border: 2px solid var(--ink); border-color: var(--ink) transparent transparent; border-radius: 50% 50% 0 0; }
@media (max-width: 420px) { .mb-left { visibility: hidden; } }
.popover { position: absolute; top: 40px; right: 70px; width: 176px; background: var(--paper); border-radius: 14px; box-shadow: 0 12px 34px rgba(28, 26, 24, .16), 0 0 0 1px rgba(28, 26, 24, .06); padding: 12px 10px 14px; display: grid; justify-items: center; text-align: center; }
.popover::before { content: ""; position: absolute; top: -6px; right: 44px; width: 12px; height: 12px; background: var(--paper); transform: rotate(45deg); }
.popover canvas { width: 150px; height: 150px; }
.popover .p-title { margin: 4px 0 0; }
@media (max-width: 420px) { .popover { right: 50%; transform: translateX(50%); } .popover::before { right: 50%; } }

.paths { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; }
.path { border: 1px solid var(--line); border-radius: 26px; padding: 26px; display: grid; gap: 14px; align-content: start; justify-items: start; }
.path:first-child { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.path:first-child .go { background: var(--paper); color: var(--ink); }
.path ol { margin: 0; padding-left: 20px; display: grid; gap: 10px; }
.path ol a { text-underline-offset: 3px; }
@media (max-width: 760px) { .paths { grid-template-columns: 1fr; } }

.faq dl { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 40px; margin: 0; }
.faq dt { font: 600 18px/1.2 var(--display); letter-spacing: -.02em; margin-bottom: 6px; }
.faq dd { margin: 0; color: #4A4641; }
.faq dl > div { display: block; }
@media (max-width: 760px) { .faq dl { grid-template-columns: 1fr; } }

.foot { display: flex; justify-content: space-between; align-items: center; padding: 28px 0 0; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.foot .brand img { height: 22px; }
.landing .stage .caption { left: 0; right: 0; text-align: center; }

/* Pastel surfaces */
.landing .stage.demo { background: radial-gradient(60% 65% at 50% 40%, #F8F3DC 0%, var(--lemon) 75%); }
.steps li { border: 0; }
.steps li:nth-child(1) { background: var(--ice); }
.steps li:nth-child(2) { background: var(--roses); }
.steps li:nth-child(3) { background: var(--aqua); }
.place { background: #FBFAF8; }
.phone-mock { background: var(--peach); }
.mac-mock { background: var(--orchid); }
.path:first-child { background: var(--ice); color: var(--ink); border-color: var(--ice); }
.path:first-child .go { background: var(--ink); color: var(--paper); }
.path:last-child { background: var(--peach); border-color: var(--peach); }
.why-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px 40px; font-size: 18px; line-height: 1.6; color: #4A4641; }
@media (max-width: 760px) { .why-grid { grid-template-columns: minmax(0, 1fr); font-size: 16px; } }
.why { background: var(--roses); border-top: 0; border-radius: 30px; padding: 56px 48px; margin-bottom: 8px; }
.why + .block { border-top: 0; }
@media (max-width: 760px) { .why { padding: 36px 22px; } }
