/* Palette and shapes requested in the October 9 screen recording. */
:root {
  --ink: #39362e;
  --body: #5b564b;
  --rose: #95753d;
  --rose-deep: #785c2d;
  --blush: #f7f2e8;
  --lavender: #fbf8f1;
  --line: #e6decd;
  --blue: #aab6a2;
  --gold: #c7af7b;
  --shadow: 0 14px 40px rgba(96, 79, 40, .10);
  background: #fff;
}

/* Retain the reference layout, with the sheets' ivory and gold palette. */
.nav { background: rgba(255, 254, 251, .96); }
.brand-mark { background: linear-gradient(145deg, #ccbb8f, #9b7d46); }
.button { box-shadow: 0 10px 26px rgba(149, 117, 61, .20); }
.button-small { box-shadow: none; }
.badge { background: #eee4ce; color: #74592e; border: 1px solid #e1d2af; }
.hero { background: linear-gradient(155deg, #f4eddc 0%, #fffefa 46%, #f7f2e8 100%); }
.hero-grid { min-height: 600px; }
.hero h1 { letter-spacing: -.03em; }
.hero-sub strong { color: #706249; }
.hero-note, .note-separator { color: #746c5b; }
.orb-rose { background: #b8a16d; opacity: .15; }
.orb-blue { background: #c0c9b5; opacity: .24; }
.orb-yellow { background: #d6bc77; opacity: .16; }
.laptop { filter: drop-shadow(0 20px 24px rgba(87, 73, 47, .15)); }
.laptop-screen { border-color: #37362f; background: #37362f; }
.laptop-base { background: linear-gradient(#d9d6cd, #bbb8ad); }
.laptop-base::after { background: #afaea4; }
.phone { background: #37362f; border-color: #37362f; box-shadow: 0 24px 50px rgba(91, 74, 41, .18); }
.phone img { background: white; }

/* A shallow, full-width curve replaces straight section boundaries. */
.section {
  position: relative;
  padding-top: 102px;
  isolation: isolate;
}
.section::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 100%;
  height: 48px;
  background: var(--wave-fill, #fff);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 60' preserveAspectRatio='none'%3E%3Cpath d='M0 0H1440V27C1250 2 1110 59 868 36C646 14 432 67 210 39C113 27 53 12 0 24Z'/%3E%3C/svg%3E") 0 0 / 100% 100% no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 60' preserveAspectRatio='none'%3E%3Cpath d='M0 0H1440V27C1250 2 1110 59 868 36C646 14 432 67 210 39C113 27 53 12 0 24Z'/%3E%3C/svg%3E") 0 0 / 100% 100% no-repeat;
  pointer-events: none;
}
.section:nth-of-type(odd)::before { transform: scaleX(-1); }
.concerns { background: #fff; --wave-fill: #f7f2e8; }
.change { background: #f7f2e8; --wave-fill: #fff; }
#how { background: #fff; --wave-fill: #f7f2e8; }
.tools { background: #fbf8f1; --wave-fill: #fff; }
.features { background: #fff; --wave-fill: #fbf8f1; }
.pricing { background: #f7f2e8; --wave-fill: #fff; }
.payment-guide { background: #fffdfa; --wave-fill: #f7f2e8; }
.faq { background: #fbf8f1; --wave-fill: #fffdfa; }
.profile { background: #f7f2e8; --wave-fill: #faf8f2; }
.last { background: #fff; --wave-fill: #f7f2e8; }
.footer { background: #faf8f2; }

.concern-list li { background: #f8f5ed; }
.benefit-icon { color: #857143; }
.showcase figcaption, .demo-tip, .terms-note,
.footer > .wrap > p, .footer small { color: #736c5f; }
.step.is-active { background: #f7f2e8; border-color: #daccad; }
.step:hover { background: #faf6ed; }
.tool-group.blue { color: #697b63; }
.tool-group.gold { color: #8f7437; }
.tag { background: #f0e8d7; }
.use-case { background: #f4eedf; border-color: #c5af7a; }
.sheet-preview { border-color: #eae4d7; }
.sheet-preview:hover { box-shadow: 0 20px 45px rgba(96, 79, 40, .15); }
.sheet-preview.portrait { background: #eee9dc; }
.sheet-preview.timeline { background: #f0eadb; }
.sheet-preview.portrait img { box-shadow: 0 4px 14px rgba(82, 67, 36, .12); }
.zoom-label { background: rgba(255, 254, 249, .96); box-shadow: 0 3px 14px rgba(72, 61, 36, .06); }
.feature-card { background: #fcfaf5; border: 1px solid #eee8db; box-shadow: 0 8px 24px rgba(96, 79, 40, .05); }
.price-card { border-color: #c8b384; }
.price-ribbon { background: #a28550; }
.faq details[open] summary { background: #faf7ef; }
.sample-dialog { background: #f5f1e8; }
.sample-dialog::backdrop { background: rgba(36, 32, 24, .65); }
.paypal-box { min-height: 46px; max-width: 400px; margin: 24px auto 0; }
.payment-before-button { margin-top: 22px; color: var(--body); font-size: 13px; }
.payment-before-button a { color: var(--rose-deep); font-weight: 800; text-underline-offset: 4px; }
.payment-before-button a { margin-left: 4px; }
.payment-before-button + .paypal-box { margin-top: 12px; }
.payment-story { text-align: center; }
.payment-story-dots { display: flex; justify-content: center; gap: 12px; margin: 0 auto 28px; }
.payment-story-dots span { width: 12px; height: 12px; border-radius: 50%; background: #d99a98; }
.payment-story-dots span:nth-child(2) { background: #8bbccf; }
.payment-story-dots span:nth-child(3) { background: #fff; border: 1px solid #d5cbb6; }
.payment-story-dots span:nth-child(4) { background: #e4c463; }
.payment-story-copy { max-width: 640px; margin: 30px auto 0; text-align: left; color: var(--body); font-size: 15px; line-height: 2.05; }
.payment-story-copy p + p { margin-top: 18px; }
.payment-official { display: inline-flex; align-items: center; justify-content: center; gap: 7px; margin-top: 32px; padding: 11px 21px; border: 1px solid #d9c9a9; border-radius: 99px; color: var(--rose-deep); background: #fff; font-size: 13px; font-weight: 800; text-decoration: none; transition: background .2s, transform .2s; }
.payment-official:hover { background: #f7f1e5; transform: translateY(-2px); }
.contact { background: #faf8f2; --wave-fill: #fff; }
.contact-form { display: grid; max-width: 620px; margin: 36px auto 0; background: #fffefa; padding: 34px; border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow); }
.contact-form label { font-size: 14px; font-weight: 700; margin: 18px 0 8px; }
.contact-form input:not([type="hidden"]):not([type="checkbox"]), .contact-form textarea { width: 100%; border: 1px solid #d8cdb7; background: #fff; color: var(--ink); border-radius: 10px; padding: 13px 16px; font: inherit; line-height: 1.7; }
.contact-form input:focus-visible, .contact-form textarea:focus-visible { outline: 3px solid #bc9d61; outline-offset: 2px; }
.contact-form button { margin-top: 24px; justify-self: start; }
.contact-form button:disabled { opacity: .55; cursor: wait; }
.contact-status, .contact-email { font-size: 13px; line-height: 1.8; margin-top: 18px; }
.contact-email a { color: var(--rose-deep); text-underline-offset: 4px; }

/* The full portrait sits inside a soft, two-lobed shape. */
.profile .narrow { max-width: 1080px; }
.profile-story {
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  align-items: center;
  gap: 52px;
  position: relative;
  margin: 44px auto 0;
  padding: 44px 48px 46px 32px;
  border-radius: 78px 126px 80px 100px / 86px 94px 110px 70px;
  background: #fffefa;
  box-shadow: 0 12px 36px rgba(92, 77, 44, .07);
  border: 1px solid rgba(205, 191, 158, .32);
}
.profile-photo { position: relative; margin: 4px 0 0; }
.profile-photo::before {
  content: "";
  position: absolute;
  inset: -10px 10px 35px -12px;
  background: #eee7d6;
  border-radius: 49% 51% 48% 52% / 37% 43% 57% 63%;
  transform: rotate(-9deg);
}
.profile-photo-shape {
  position: relative;
  aspect-ratio: 3 / 4;
  width: 100%;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 520' preserveAspectRatio='none'%3E%3Cpath d='M172 16C278-10 379 55 380 168C382 236 344 253 372 316C427 449 303 542 207 509C151 490 124 465 68 452C-19 432-8 282 28 193C61 111 63 43 172 16Z'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 520' preserveAspectRatio='none'%3E%3Cpath d='M172 16C278-10 379 55 380 168C382 236 344 253 372 316C427 449 303 542 207 509C151 490 124 465 68 452C-19 432-8 282 28 193C61 111 63 43 172 16Z'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
}
.profile-photo-shape img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.profile-spark { position: absolute; color: #b59b61; font-weight: 400; line-height: 1; }
.profile-spark-one { font-size: 49px; top: 4%; right: -4px; }
.profile-spark-two { font-size: 18px; top: 14%; right: -10px; }
.profile-photo figcaption { position: relative; text-align: center; margin: 20px 0 0; color: #8d7444; font-size: 12px; letter-spacing: .12em; font-weight: 700; }
.profile-photo figcaption span { display: block; font-size: 11px; letter-spacing: .035em; font-weight: 500; margin-top: 4px; color: var(--body); }
.profile-small-label { font-size: 11px; letter-spacing: .1em; color: #8c754a; font-weight: 700; margin-bottom: 14px; }
.profile-story-copy h3 { font-size: 29px; font-weight: 700; letter-spacing: .12em; line-height: 1.6; }
.profile-story-copy h3 span { font-size: 12px; color: #8c754a; letter-spacing: .07em; display: inline-block; font-weight: 500; margin-left: 12px; }
.profile-role { font-size: 12px; color: #796e59; line-height: 1.9; margin-top: 12px; padding-bottom: 21px; border-bottom: 1px solid var(--line); }
.profile-story-text { margin-top: 20px; }
.profile-story-text p { font-size: 14px; line-height: 2.05; margin-top: 16px; color: var(--body); }
.profile-story-copy > .text-link { display: inline-block; margin-top: 24px; font-size: 13px; }

/* Actual video can replace the stills when its source is configured. */
[hidden] { display: none !important; }
.demo-video { width: 100%; height: 100%; object-fit: contain; background: white; border-radius: 21px; }
.demo-replay { border: 1px solid var(--line); border-radius: 99px; background: #fffefa; padding: 8px 18px; font-size: 12px; color: var(--rose-deep); margin-top: 14px; }

@media (max-width: 1000px) {
  .profile-story { gap: 32px; padding: 38px 36px 42px 28px; }
  .profile-story-copy h3 { font-size: 27px; }
  .profile-story-text p { font-size: 13px; }
}
@media (max-width: 760px) {
  .nav .login { display: inline-flex; align-items: center; justify-content: center; min-height: 38px; padding: 6px 8px; border: 1px solid #d9ccb2; border-radius: 999px; color: #6e5d3d; font-size: 11px; font-weight: 800; white-space: nowrap; }
  .nav .login:hover { background: #f7f2e8; }
  .nav .button-small { white-space: nowrap; font-size: 10px; padding-inline: 10px; gap: 4px; }
  .payment-guide h2 { font-size: clamp(20px, 6vw, 26px); }
  .payment-story-dots { margin-bottom: 22px; }
  .payment-story-copy { margin-top: 22px; font-size: 13px; line-height: 2; }
  .payment-story-copy p + p { margin-top: 16px; }
  .payment-official { margin-top: 25px; font-size: 12px; }
  .hero-grid { min-height: auto; }
  .section { padding-top: 82px; }
  .section::before { height: 33px; }
  .profile .narrow { padding-inline: 20px; }
  .profile-story { display: block; padding: 30px 24px 34px; margin-top: 32px; border-radius: 65px 70px 46px 65px / 60px 82px 48px 54px; }
  .profile-photo { width: min(290px, 94%); margin: 0 auto 30px; }
  .profile-photo::before { inset: -8px 6px 34px -10px; }
  .profile-spark-one { font-size: 39px; right: -7px; }
  .profile-spark-two { font-size: 14px; right: -10px; }
  .profile-photo figcaption { font-size: 11px; margin-top: 16px; }
  .profile-photo figcaption span { font-size: 10px; }
  .profile-story-copy h3 { font-size: 26px; }
  .profile-story-copy h3 span { margin-left: 8px; font-size: 11px; }
  .profile-small-label { font-size: 10px; margin-bottom: 8px; }
  .profile-role { font-size: 11px; margin-top: 10px; padding-bottom: 18px; }
  .profile-story-text { margin-top: 18px; }
  .profile-story-text p { line-height: 2; font-size: 13px; margin-top: 16px; }
  .profile-story-copy > .text-link { font-size: 12px; margin-top: 24px; }
  .contact-form { padding: 22px 20px; }
  .contact-form button { width: 100%; justify-self: stretch; }
}
@media (max-width: 360px) {
  .nav nav { gap: 5px; }
  .nav .login { padding-inline: 4px; border: 0; text-decoration: underline; text-underline-offset: 3px; }
  .profile .narrow { padding-inline: 16px; }
  .profile-story { padding-inline: 20px; }
  .profile-photo { width: 94%; }
  .profile-story-copy h3 { font-size: 24px; }
}

/* Current app samples and a recorded walkthrough. */
.showcase-current { max-width: 760px; }
.showcase-sheets { display: grid; grid-template-columns: repeat(4, 1fr); align-items: end; gap: 16px; padding: 30px; border: 1px solid #e9ddc3; border-radius: 28px; background: linear-gradient(140deg, #fffefa, #f0e9d9); box-shadow: var(--shadow); }
.showcase-sheets img { width: 100%; height: 250px; max-height: none; object-fit: contain; object-position: center bottom; border-radius: 4px; background: #fff; box-shadow: 0 9px 20px rgba(75, 65, 42, .14); }
.showcase-sheets img:nth-child(2), .showcase-sheets img:nth-child(3) { height: 190px; }
.demo-movie { max-width: 800px; margin: 36px auto 34px; }
.demo-movie video { width: 100%; aspect-ratio: 16 / 9; display: block; border-radius: 22px; background: #f7f2e8; box-shadow: 0 18px 42px rgba(82, 69, 43, .14); }
.demo-movie figcaption { margin-top: 11px; text-align: center; color: #736c5f; font-size: 12px; }
@media (max-width: 760px) {
  .showcase-sheets { gap: 8px; padding: 13px; border-radius: 18px; }
  .showcase-sheets img { height: 130px; }
  .showcase-sheets img:nth-child(2), .showcase-sheets img:nth-child(3) { height: 100px; }
  .demo-movie { margin: 27px auto 24px; }
  .demo-movie video { border-radius: 14px; }
  .demo-movie figcaption { font-size: 10px; line-height: 1.6; }
}

/* Keep each sample at its real page ratio, so no page is clipped or surrounded by a tall empty card. */
.showcase-current { max-width: 850px; }
.showcase-sheets { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: repeat(2, auto); align-items: center; gap: 12px; padding: 20px; }
.showcase-sheet { position: relative; min-width: 0; overflow: hidden; border-radius: 8px; background: white; box-shadow: 0 9px 20px rgba(75,65,42,.14); }
.showcase-sheets .showcase-sheet img { display: block; width: 100%; height: auto; max-height: none; object-fit: contain; border-radius: 0; box-shadow: none; }
.showcase-sheet span { position: absolute; left: 8px; top: 8px; border-radius: 99px; padding: 3px 10px; background: rgba(255,253,247,.94); color: #765d32; font-size: 11px; font-weight: 800; box-shadow: 0 2px 8px #46392320; }
.showcase-personal { grid-column: 1; grid-row: 1 / span 2; }
.showcase-relationship { grid-column: 2; grid-row: 1; }
.showcase-organization { grid-column: 2; grid-row: 2; }
.showcase-timeline { grid-column: 3; grid-row: 1 / span 2; }

.demo-grid { grid-template-columns: 330px 1fr; gap: 42px; }
.demo-figure { width: 100%; }
.demo-figure .demo-phone { display: flex; align-items: center; justify-content: center; width: 330px; height: 650px; max-width: 100%; padding: 5px; border: 5px solid #38342d; border-radius: 27px; background: #fff; }
.demo-figure .demo-phone img { display: block; width: auto; height: auto; max-width: 100%; max-height: 100%; object-fit: contain; object-position: center; border-radius: 17px; }
.hero .hero-phone img { object-fit: contain; background: #fff; }

@media (max-width: 760px) {
  .showcase-sheets { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; padding: 12px; }
  .showcase-personal { grid-column: 1; grid-row: 1; }
  .showcase-timeline { grid-column: 2; grid-row: 1; }
  .showcase-relationship { grid-column: 1 / span 2; grid-row: 2; }
  .showcase-organization { grid-column: 1 / span 2; grid-row: 3; }
  .showcase-sheet span { font-size: 10px; padding: 2px 7px; }
  .demo-grid { grid-template-columns: 1fr; gap: 22px; }
  .demo-figure .demo-phone { width: min(330px, 88vw); height: min(650px, 173vw); }
}
