/* CrafPrint public marketing homepage. Application styles are separate. */
:root {
  --ink: #17191d;
  --muted: #606570;
  --pink: #ed0094;
  --button: #c60083;
  --pink-light: #feebfd;
  --border: #e4e5e9;
  --footer: #121319;
  --radius: 12px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; }
body { margin: 0; background: #fff; color: var(--ink); font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: 16px; line-height: 1.6; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, h4, p { margin: 0; }
h1, h2, h3 { line-height: 1.2; }
h1 { font-size: clamp(38px, 4.45vw, 64px); font-weight: 600; letter-spacing: -.035em; }
h2 { font-size: clamp(30px, 3.2vw, 46px); font-weight: 600; letter-spacing: -.025em; }
h3 { font-size: 24px; font-weight: 600; }
p { color: var(--muted); }
p + p { margin-top: 16px; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #7434b5; outline-offset: 5px; }
.container { width: min(1240px, calc(100% - 64px)); margin-inline: auto; }
.section { padding-block: 96px; }
.accent { color: var(--pink); }
.eyebrow { margin-bottom: 12px; font-size: 13px; font-weight: 650; text-transform: uppercase; letter-spacing: .16em; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 11px 24px; border: 1px solid transparent; border-radius: 9px; background: var(--button); color: #fff; font-size: 14px; line-height: 1.4; font-weight: 600; text-align: center; transition: background .15s; }
.button:hover { background: #a8006f; }
.button-row { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; margin-top: 30px; }
.text-link { display: inline-flex; align-items: center; gap: 14px; min-height: 44px; font-size: 14px; font-weight: 600; color: var(--button); }
.text-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.play-icon { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: #f1eaff; font-size: 20px; }
.micro-copy { margin-top: 14px; font-size: 13px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: -100px; left: 16px; z-index: 100; background: #fff; padding: 12px 20px; border: 2px solid var(--button); }
.skip-link:focus { top: 12px; }

/* Navigation uses disclosure buttons, with the same groups on desktop and mobile. */
.site-header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid #f0f0f3; box-shadow: 0 2px 12px #14131c04; }
.navbar { min-height: 94px; display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; flex: 0 0 auto; align-items: center; padding-block: 10px; }
.brand img { width: 210px; height: auto; object-fit: contain; }
.site-menu { display: flex; flex: 1; align-items: center; justify-content: flex-end; gap: 28px; }
.nav-links, .nav-actions { display: flex; align-items: center; gap: 8px; }
.nav-actions { gap: 18px; }
.nav-group { position: relative; }
.nav-trigger, .nav-pricing, .sign-in { display: inline-flex; align-items: center; gap: 7px; min-height: 44px; padding: 10px; border: 0; border-radius: 6px; background: transparent; color: #353941; font-size: 13px; font-weight: 550; white-space: nowrap; }
.nav-trigger:hover, .nav-pricing:hover, .sign-in:hover, .nav-trigger[aria-expanded="true"] { color: #a40070; background: #f8f6f9; }
.chevron { width: 6px; height: 6px; border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: rotate(45deg) translateY(-2px); }
.nav-trigger[aria-expanded="true"] .chevron { transform: rotate(225deg) translate(-1px, -1px); }
.nav-cta { white-space: nowrap; font-size: 13px; padding-inline: 18px; border-radius: 7px; }
.nav-dropdown { position: absolute; top: calc(100% + 14px); left: 0; min-width: 258px; padding: 14px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); box-shadow: 0 14px 35px #17191d1a; }
.nav-group:nth-last-child(-n+2) .nav-dropdown { left: auto; right: 0; }
.menu-label { padding: 4px 10px 8px; color: #757a84; font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.nav-dropdown a { display: block; padding: 9px 10px; border-radius: 5px; font-size: 13px; line-height: 1.5; white-space: nowrap; }
.nav-dropdown a:hover { background: #f7f6f8; color: #a40070; }
a[aria-disabled="true"] { cursor: default; }
.mobile-menu-toggle, .mobile-sign-in { display: none; }

/* Approved homepage section order and illustration treatment. */
.hero { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 60px; padding-block: 52px 48px; }
.hero-content > p:not(.micro-copy) { max-width: 540px; margin-top: 28px; font-size: 18px; line-height: 1.5; color: #363940; }
.hero-art { width: 540px; justify-self: end; }
.section-heading { max-width: 850px; margin: 0 auto 72px; text-align: center; }
.section-heading p { max-width: 680px; margin: 16px auto 0; }
.solutions { padding-top: 64px; padding-bottom: 100px; }
.solutions-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 70px; }
.solution-card { text-align: center; }
.solution-card > img { width: 100%; aspect-ratio: 1; object-fit: contain; margin-bottom: 14px; }
.solution-card h3 { font-size: 22px; }
.solution-card .card-subtitle { margin-top: 8px; padding-bottom: 18px; border-bottom: 1px solid var(--border); font-size: 13px; }
.solution-card > p:last-child { margin-top: 18px; font-size: 14px; line-height: 1.75; text-align: justify; }
.about { background: var(--pink-light); padding-block: 60px; }
.about-grid { max-width: 1080px; display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.about .eyebrow { color: #a50071; }
.about h2 { margin-bottom: 26px; }
.about-grid > div > p:not(.eyebrow) { font-size: 14px; line-height: 1.7; }
.about-art { width: 100%; border-radius: 24px; }
.ai { width: min(1400px, calc(100% - 64px)); display: grid; grid-template-columns: 1fr 1fr; gap: 76px; align-items: center; }
.ai h2 { font-size: clamp(32px, 3.95vw, 57px); line-height: 1.03; margin-bottom: 24px; }
.ai > img { width: 100%; }
.ai p:not(.eyebrow) { font-size: 16px; line-height: 1.6; }
.ai-tools-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 0; list-style: none; margin: 28px 0 0; }
.ai-tools-list li { display: grid; place-items: center; padding: 14px 8px; border: 1px solid var(--border); border-radius: 6px; color: #475164; font-size: 12px; font-weight: 550; text-align: center; }
.founder { text-align: center; padding-block: 38px 80px; }
.founder img { width: 180px; margin: 0 auto 30px; padding: 10px; }
.founder p { font-size: clamp(24px, 2.5vw, 36px); line-height: 1.3; color: var(--ink); font-weight: 500; }
.features { padding-top: 32px; padding-bottom: 130px; background: #fffefc url("../images/home/paint-splashes.png") repeat left 640px; }
.workflow-art { width: 100%; margin-bottom: 40px; }
.features .section-heading { max-width: 750px; margin-bottom: 100px; }
.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 92px 30px; }
.feature-card { position: relative; display: flex; flex-direction: column; align-items: flex-start; padding: 66px 32px 30px; background: #fff; border: 1px solid var(--border); border-radius: 14px; box-shadow: 0 3px 4px #00000008; }
.feature-icon { position: absolute; width: 94px; height: 94px; object-fit: contain; top: -47px; left: calc(50% - 47px); }
.feature-card h3 { width: 100%; margin-bottom: 20px; color: #bb007d; text-align: center; font-size: 19px; }
.feature-card p { font-size: 14px; line-height: 1.6; }
.feature-intro { width: 100%; min-height: 70px; padding-bottom: 18px; border-bottom: 1px solid var(--border); }
.feature-card h4 { font-size: 13px; margin-top: 18px; font-weight: 600; }
.feature-card ul { list-style: none; padding: 0; margin: 14px 0 20px; font-size: 13px; color: #505663; }
.feature-card li { position: relative; padding-left: 24px; margin-bottom: 10px; }
.feature-card li::before { content: "\2713"; position: absolute; left: 0; color: #ae0075; }
.feature-card .button { align-self: center; margin-top: auto; min-width: 170px; }
.feature-card > p:last-of-type { margin-bottom: 28px; }
.mobile-app { background: #020202 url("../images/home/dark-shapes.svg") center / cover; }
.mobile-app-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.mobile-app h2 { color: #ff38b2; font-size: clamp(34px, 4.15vw, 60px); margin-bottom: 24px; }
.mobile-app p { color: #c5c6ce; }
.mobile-app .eyebrow { text-transform: none; letter-spacing: 0; font-size: 13px; }
.mobile-app .button { margin-top: 28px; }
.mobile-app img { width: 100%; }
.pricing-heading { display: flex; justify-content: space-between; align-items: center; gap: 36px; margin-bottom: 54px; }
.pricing-heading h2 { font-size: 34px; }
.pricing-controls { flex-shrink: 0; text-align: center; }
.pricing-toggle { display: inline-flex; padding: 4px; border: 1px solid var(--border); border-radius: 999px; background: #f6f6f8; }
.toggle-btn { border: 0; padding: 10px 22px; min-height: 44px; color: #444a55; background: transparent; border-radius: 999px; font-size: 14px; }
.toggle-btn.active { background: #17191d; color: #fff; }
.pricing-controls p { margin-top: 10px; font-size: 13px; }
.pricing-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.price-card { display: flex; flex-direction: column; border: 1px solid #dedee3; border-radius: 16px; padding: 28px 22px; }
.price-card h3 { font-size: 27px; margin-bottom: 18px; }
.price-card p { color: #45484f; font-size: 16px; line-height: 1.5; }
.price-card.featured { background: #f4c21e; }
.price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 7px; color: #c60083; padding-block: 30px 36px; border-bottom: 1px solid #00000026; }
.price > span { font-size: clamp(28px, 2.6vw, 38px); font-weight: 750; line-height: 1.2; letter-spacing: -.035em; }
.price small { font-size: 14px; }
.featured .price { color: #81005b; }
.price-card ul { list-style: none; padding: 0; margin: 28px 0 32px; color: #414650; font-size: 15px; }
.price-card li { padding-left: 20px; position: relative; margin-bottom: 16px; }
.price-card li::before { content: "\2713"; position: absolute; left: 0; color: #a50070; }
.price-card .button { margin-top: auto; padding-inline: 12px; }
.faq { display: grid; grid-template-columns: .75fr 1.25fr; gap: 100px; padding-top: 30px; padding-bottom: 110px; }
.faq-heading h2 { margin-bottom: 22px; }
.faq-heading p + p { margin-top: 32px; }
.faq-heading a { display: inline-block; padding-top: 8px; font-weight: 600; color: var(--button); }
.faq-list details { border-bottom: 1px solid var(--border); }
.faq-list summary { display: flex; gap: 28px; align-items: center; justify-content: space-between; padding: 24px 0; font-size: 17px; font-weight: 550; cursor: pointer; list-style: none; line-height: 1.5; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary span { position: relative; width: 20px; height: 20px; flex-shrink: 0; }
.faq-list summary span::before, .faq-list summary span::after { content: ""; position: absolute; background: var(--button); top: 9px; left: 3px; width: 14px; height: 2px; }
.faq-list summary span::after { transform: rotate(90deg); }
.faq-list details[open] summary span::after { transform: none; }
.faq-list details > p { padding: 0 32px 24px 0; font-size: 15px; }

/* Marketing footer. Future routes are marked in the HTML and do not navigate. */
.site-footer { background: var(--footer); color: #c8cad3; padding: 70px 0 24px; font-size: 13px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1.15fr .85fr .8fr; gap: 35px; padding-bottom: 60px; }
.footer-brand .brand img { width: 220px; }
.footer-brand p { margin-top: 22px; max-width: 290px; font-size: 13px; color: #acb0bd; line-height: 1.8; }
.footer-column h2 { font-size: 13px; font-weight: 650; letter-spacing: 0; color: #fff; margin: 15px 0 24px; }
.footer-column a { display: block; padding-block: 5px; margin-bottom: 6px; line-height: 1.5; }
.site-footer a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.site-footer .brand:hover { text-decoration: none; }
.site-footer :focus-visible { outline-color: #ff72c8; }
.footer-bottom { display: flex; justify-content: space-between; gap: 22px; border-top: 1px solid #ffffff1c; padding-top: 26px; font-size: 12px; }
.footer-bottom p { color: #acb0bd; }
.footer-bottom nav { display: flex; gap: 22px; flex-wrap: wrap; }

@media (max-width: 1180px) {
  .navbar { gap: 18px; }
  .brand img { width: 180px; }
  .site-menu { gap: 14px; }
  .nav-links { gap: 0; }
  .nav-actions { gap: 8px; }
  .nav-trigger, .nav-pricing, .sign-in { padding-inline: 8px; }
  .solutions-grid { gap: 36px; }
  .hero { gap: 32px; }
  .feature-card { padding-inline: 24px; }
  .footer-grid { gap: 25px; grid-template-columns: 1.3fr 1fr 1fr; }
  .footer-brand { grid-row: span 2; }
}
@media (max-width: 1020px) {
  html { scroll-padding-top: 94px; }
  .navbar { min-height: 82px; justify-content: space-between; flex-wrap: wrap; position: relative; gap: 0; }
  .brand img { width: 190px; }
  .mobile-sign-in { display: block; margin-left: auto; padding: 10px 18px; font-size: 13px; font-weight: 600; }
  .mobile-menu-toggle { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; width: 44px; height: 44px; padding: 10px; border: 1px solid var(--border); border-radius: 7px; background: #fff; }
  .mobile-menu-toggle span { width: 18px; height: 2px; background: #30353d; }
  .mobile-menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .mobile-menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .mobile-menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .site-menu { display: none; flex: 0 0 100%; padding: 14px 0 22px; max-height: calc(100dvh - 82px); overflow-y: auto; overscroll-behavior: contain; }
  .site-menu.is-open { display: block; }
  .nav-links { display: block; }
  .nav-group { border-bottom: 1px solid #ededf0; }
  .nav-trigger, .nav-pricing { width: 100%; justify-content: space-between; padding: 13px 10px; font-size: 14px; }
  .nav-pricing { border-bottom: 1px solid #ededf0; border-radius: 0; }
  .nav-dropdown { position: static; min-width: 0; border: 0; border-radius: 0; box-shadow: none; padding: 0 8px 14px; }
  .nav-dropdown a { padding: 10px 14px; white-space: normal; }
  .menu-label { display: none; }
  .nav-actions { margin-top: 18px; }
  .nav-actions .sign-in { display: none; }
  .nav-cta { width: 100%; }
  .hero { padding-block: 54px; }
  .about-grid, .ai { gap: 36px; }
  .pricing-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feature-grid { gap: 80px 22px; }
  .feature-card { padding-inline: 20px; }
  .feature-card h3 { font-size: 17px; }
  .feature-intro { min-height: 95px; }
  .mobile-app-grid { gap: 30px; }
  .faq { gap: 50px; }
}
@media (max-width: 760px) {
  .container, .ai { width: calc(100% - 40px); }
  .section { padding-block: 66px; }
  h1 { font-size: clamp(36px, 8.7vw, 58px); }
  .hero { grid-template-columns: 1fr; gap: 40px; padding-top: 52px; padding-bottom: 16px; }
  .hero-content > p:not(.micro-copy) { font-size: 17px; }
  .hero-art { width: min(100%, 500px); justify-self: center; }
  .hero .button-row { gap: 20px; }
  .section-heading { margin-bottom: 40px; }
  .solutions-grid { grid-template-columns: 1fr; gap: 50px; max-width: 440px; margin-inline: auto; }
  .solution-card > img { max-width: 340px; margin-inline: auto; }
  .solution-card > p:last-child { text-align: left; }
  .about-grid, .ai, .mobile-app-grid { grid-template-columns: 1fr; gap: 38px; }
  .about-art, .ai > img, .mobile-app img { max-width: 500px; margin-inline: auto; }
  .ai h2 { font-size: 38px; }
  .ai-tools-list { gap: 8px; }
  .ai-tools-list li { font-size: 11px; }
  .founder { padding-block: 10px 54px; }
  .founder p { font-size: 24px; }
  .founder br { display: none; }
  .features { padding-top: 25px; }
  .features .section-heading { margin-bottom: 86px; }
  .feature-grid { grid-template-columns: 1fr; gap: 84px; max-width: 470px; margin-inline: auto; }
  .feature-card { padding: 60px 28px 28px; }
  .feature-card h3 { font-size: 21px; }
  .feature-intro { min-height: 0; }
  .feature-card .button { width: 100%; }
  .mobile-app h2 { font-size: 39px; }
  .pricing-heading { flex-direction: column; align-items: flex-start; gap: 26px; }
  .pricing-heading h2 { font-size: 32px; }
  .pricing-controls { align-self: center; }
  .faq { grid-template-columns: 1fr; gap: 26px; }
  .faq-heading h2 { max-width: 350px; }
  .faq-heading p + p { margin-top: 18px; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 24px; }
  .footer-brand { grid-column: 1 / -1; grid-row: auto; }
  .footer-brand p { max-width: 460px; }
  .footer-column h2 { margin-top: 0; margin-bottom: 14px; }
  .footer-bottom { flex-direction: column; gap: 16px; }
  .footer-bottom nav { gap: 18px; }
}
@media (max-width: 460px) {
  .brand img { width: 165px; }
  .mobile-sign-in { padding-inline: 12px; font-size: 12px; }
  .pricing-grid { grid-template-columns: 1fr; }
  .price-card { padding: 28px; }
  .price { font-size: 38px; }
  .price > span { font-size: 38px; }
}
@media (max-width: 350px) {
  .container, .ai { width: calc(100% - 32px); }
  .brand img { width: 144px; }
  .mobile-sign-in { padding-inline: 8px; }
  h1 { font-size: 34px; }
  .hero .button-row { gap: 14px; }
  .hero .button { padding-inline: 16px; }
  .text-link { gap: 7px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
