/* CreasePad website. System fonts only, so the site loads nothing from anyone else. */
:root {
  --ochre: #d9ac4e;
  --ochre-deep: #b8892e;
  --ink: #1c2233;
  --ink-soft: #4a5063;
  --paper: #f6f3ec;
  --desk: #e4e3df;
  --white: #ffffff;
  --teal: #2e8b8b;
  --denim: #5a6e9a;
  --brick: #c24e3d;
  --moss: #4e7a63;
  --plum: #7b5ea7;
  --line: rgba(28, 34, 51, 0.12);
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --radius: 22px;
  --shadow: 0 24px 60px -24px rgba(20, 22, 30, 0.45);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 700; line-height: 1.15; margin: 0 0 0.5em; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.3rem, 4.6vw, 3.8rem); }
h2 { font-size: clamp(1.9rem, 3.8vw, 2.9rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
.wrap { width: min(1160px, 100% - 40px); margin: 0 auto; }
.lede { font-size: 1.2rem; color: var(--ink-soft); max-width: 38em; }
.kicker { font-size: 0.82rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ochre-deep); margin-bottom: 0.8em; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 10; background: rgba(246, 243, 236, 0.86); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--serif); font-weight: 700; font-size: 1.25rem; }
.brand img { width: 34px; height: 34px; border-radius: 9px; box-shadow: 0 1px 3px rgba(0,0,0,0.18); }
.site-nav { display: flex; gap: 26px; font-size: 0.95rem; font-weight: 500; }
.site-nav a { text-decoration: none; color: var(--ink-soft); }
.site-nav a:hover { color: var(--ink); }

/* Buttons */
.button { display: inline-flex; align-items: center; gap: 10px; padding: 14px 24px; border-radius: 999px; background: var(--ink); color: #fbf6e8; text-decoration: none; font-weight: 600; border: 0; }
.button.secondary { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.button small { display: block; font-size: 0.72rem; font-weight: 500; opacity: 0.75; line-height: 1.1; }
.button .stack { display: flex; flex-direction: column; line-height: 1.15; }

/* Hero */
.hero { background: var(--ochre); padding: 72px 0 96px; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 0.9fr 1.5fr; gap: 56px; align-items: center; }
.hero .kicker { color: rgba(28, 34, 51, 0.62); }
.hero .lede { color: rgba(28, 34, 51, 0.78); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.hero .note { margin-top: 18px; font-size: 0.92rem; color: rgba(28, 34, 51, 0.72); }

/* Phone frames */
.phone { background: #15171c; border-radius: 46px; padding: 11px; box-shadow: var(--shadow); }
.phone img { border-radius: 36px; }
.phone.closed { border-radius: 16px 80px 80px 16px; padding: 10px 12px 10px 16px; background: linear-gradient(135deg, #e9e5da, #c7c2b4); }
.phone.closed img { border-radius: 8px 66px 66px 8px; border: 7px solid #0b0b0c; }
.tilt { transform: rotate(-2.5deg); }

/* Steps */
.steps { padding: 100px 0 40px; }
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 44px; }
.step .phone { border-radius: 28px; padding: 7px; }
.step .phone img { border-radius: 22px; }
.step h3 { margin-top: 22px; }
.step p { color: var(--ink-soft); }
.step-number { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--ink); color: var(--paper); font-size: 0.85rem; font-weight: 700; margin-right: 8px; vertical-align: 2px; }

/* Showcase rows */
.showcase { padding: 40px 0 90px; }
.row { display: grid; grid-template-columns: 1fr 1.3fr; gap: 60px; align-items: center; margin: 70px 0; }
.row.flip { grid-template-columns: 1.3fr 1fr; }
.row.flip .row-text { order: 2; }
.row .phone { border-radius: 34px; padding: 9px; }
.row .phone img { border-radius: 26px; }
.tick-list { list-style: none; padding: 0; margin: 18px 0 0; }
.tick-list li { padding-left: 30px; position: relative; margin: 8px 0; color: var(--ink-soft); }
.tick-list li::before { content: ""; position: absolute; left: 0; top: 0.45em; width: 16px; height: 16px; border-radius: 50%; background: var(--ochre); box-shadow: inset 0 0 0 4px #fff3d6; }

/* Duo */
.duo { background: var(--ink); color: #f2eee6; padding: 100px 0; }
.duo .kicker { color: var(--ochre); }
.duo .lede { color: rgba(242, 238, 230, 0.74); }
.duo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px; margin-top: 50px; align-items: start; }
.duo-grid figure { margin: 0; }
.duo-grid figcaption { margin-top: 18px; font-size: 0.97rem; color: rgba(242, 238, 230, 0.78); }
.duo-grid figcaption strong { display: block; color: #fff; font-family: var(--serif); font-size: 1.2rem; margin-bottom: 4px; }
.duo-open { margin-top: 70px; display: grid; grid-template-columns: 1.4fr 1fr; gap: 50px; align-items: center; }
.duo-open .phone { background: #0d0e11; border-radius: 30px; padding: 9px; }
.duo-open .phone img { border-radius: 22px; }

/* Pricing */
.pricing { padding: 100px 0; }
.price-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 44px; max-width: 900px; }
.price { background: var(--white); border: 1px solid var(--line); border-radius: 26px; padding: 34px; }
.price.pro { background: var(--ink); color: #f2eee6; border: 0; }
.price .amount { font-family: var(--serif); font-size: 2.8rem; font-weight: 700; line-height: 1; margin: 10px 0 4px; }
.price .per { font-size: 0.95rem; opacity: 0.75; }
.price ul { list-style: none; padding: 0; margin: 24px 0 0; }
.price li { padding: 10px 0; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 12px; }
.price.pro li { border-top-color: rgba(255, 255, 255, 0.12); }
.soon { font-size: 0.75rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: rgba(217, 172, 78, 0.22); color: var(--ochre); white-space: nowrap; align-self: center; }

/* Promise + FAQ */
.promise { padding: 90px 0; background: var(--desk); }
.promise-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-top: 36px; }
.promise-grid div { border-top: 3px solid var(--ink); padding-top: 18px; }
.faq { padding: 90px 0; }
.faq details { border-bottom: 1px solid var(--line); padding: 18px 0; max-width: 820px; }
.faq summary { cursor: pointer; font-weight: 600; font-size: 1.08rem; list-style: none; display: flex; justify-content: space-between; gap: 20px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--ochre-deep); }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: 12px 0 0; color: var(--ink-soft); }

/* Closing call */
.cta { background: var(--ochre); padding: 90px 0; text-align: center; }
.cta .lede { margin: 0 auto 28px; color: rgba(28, 34, 51, 0.78); }
.cta img.mark { width: 84px; height: 84px; border-radius: 20px; margin: 0 auto 24px; box-shadow: 0 10px 30px -10px rgba(0,0,0,0.4); }

/* Footer */
.site-footer { padding: 40px 0 60px; font-size: 0.92rem; color: var(--ink-soft); }
.site-footer .wrap { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.site-footer nav { display: flex; gap: 22px; }

/* Long-form pages: privacy, support */
.page { padding: 70px 0 90px; }
.page .wrap { max-width: 760px; }
.page h2 { font-size: 1.6rem; margin-top: 1.8em; }
.page p, .page li { color: var(--ink-soft); }
.page .updated { font-size: 0.92rem; color: var(--ink-soft); }
.callout { background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: 22px 24px; margin: 26px 0; }

/* Phones */
@media (max-width: 960px) {
  .hero .wrap, .row, .row.flip, .duo-open { grid-template-columns: 1fr; gap: 40px; }
  .row.flip .row-text { order: 0; }
  .steps-grid, .promise-grid { grid-template-columns: 1fr; }
  .duo-grid { grid-template-columns: 1fr; max-width: 360px; margin-left: auto; margin-right: auto; }
  .price-grid { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  body { font-size: 16px; }
  .wrap { width: calc(100% - 32px); }
  .site-nav { display: none; }
  .hero { padding: 48px 0 64px; }
  .phone { border-radius: 30px; padding: 7px; }
  .phone img { border-radius: 24px; }
  .price { padding: 26px; }
}

/* Hero: the app open on a large screen */
.tablet { background: #17181c; border-radius: 30px; padding: 2.3%; box-shadow: var(--shadow); }
.tablet img { border-radius: 16px; }

/* Coming to Android: a squared-off 3:4 unfolded foldable */
.android { margin-top: 80px; display: grid; grid-template-columns: minmax(0, 320px) 1fr; gap: 56px; align-items: center; }
.android .kicker { color: var(--ochre); }
.fold { position: relative; aspect-ratio: 3 / 4; background: #0d0e11; border-radius: 12px; padding: 9px; box-shadow: 0 24px 60px -24px rgba(0, 0, 0, 0.7); }
.fold img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; border-radius: 5px; }
.fold::after { content: ""; position: absolute; top: 9px; bottom: 9px; left: 50%; width: 1px; background: rgba(255, 255, 255, 0.08); }

/* Maker */
.maker { padding: 90px 0; background: var(--desk); }
.maker .lede { max-width: 40em; }
.maker .button { margin-top: 10px; }

@media (max-width: 960px) {
  .android { grid-template-columns: 1fr; gap: 34px; }
  .android .fold { max-width: 280px; }
}
@media (max-width: 620px) {
  .tablet { border-radius: 18px; }
  .tablet img { border-radius: 10px; }
}

/* Store buttons */
.store-icon { width: 24px; height: 24px; flex: none; }
.button[aria-disabled="true"] { cursor: default; }
.store-buttons { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
