/* A full-height photo and a three-stop appointment timeline. */
.hero { background: #f6f3eb; }
.hero-grid { grid-template-columns: minmax(0, 1.18fr) minmax(0, .82fr); gap: clamp(22px, 4vw, 68px); align-items: center; min-height: 0; padding-block: clamp(36px, 5vw, 80px); }
.hero-copy { padding: 0; }
.hero-copy h1 { font: 500 clamp(44px, 5.4vw, 82px)/1.02 Georgia, "Times New Roman", serif; letter-spacing: -.055em; overflow-wrap: anywhere; text-wrap: balance; }
.hero-lead { font-size: clamp(16px, 1.5vw, 21px); }
.hero-actions { align-items: baseline; gap: 16px 22px; }
.trial-note { display: inline-block; margin-top: 18px; color: #625753; font-size: .875rem; text-decoration: underline; text-underline-offset: 4px; }
.cover-story { position: relative; align-self: center; min-height: 0; background: #453b34; border-radius: 12px; overflow: hidden; isolation: isolate; }
.cover-story img { width: 100%; height: auto; }
.cover-story figcaption { position: absolute; inset: auto 0 0; padding: 80px 8% 6%; display: flex; align-items: baseline; justify-content: space-between; gap: 12px; color: #fff; background: linear-gradient(transparent, #241710e8); }
.cover-story figcaption > :first-child { font: italic 500 clamp(38px, 5vw, 78px)/1 Georgia, serif; letter-spacing: -.08em; }
.bridge-grid p a { display: inline-flex; align-items: center; flex-wrap: wrap; justify-content: center; gap: 8px; }
.journey { background: #fdfbf6; }
.journey-list { list-style: none; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: clamp(16px, 3vw, 40px); }
.journey-list li { display: flex; flex-direction: column; border-top: 2px solid #c9bfb3; }
.journey-copy { display: flex; gap: 14px; align-items: baseline; padding: 22px 0; flex-grow: 1; }
.journey-index { font: italic 2.2rem/1 Georgia,serif; color: var(--red); }
.journey-copy h3 { font-size: clamp(17px,1.6vw,24px); line-height: 1.3; letter-spacing: -.025em; }
.journey-list figure { background: #ece6db; padding: 22px 12px 15px; text-align: center; border-radius: 5px; }
.journey-list li:nth-child(2) figure { background: #dbece6; }
.journey-list figure a { display: inline-block; max-width: 90%; }
.journey-list img { width: clamp(132px, 13vw, 198px); border-radius: 12px; box-shadow: 0 7px 16px #20171827; }
.journey-list figcaption { margin-top: 12px; color: #504d4b; font-size: .8rem; }
.ai-section { background: #f3eae3; }
.ai-grid { display: grid; grid-template-columns: 1.12fr 1fr; gap: 7%; align-items: center; }
.ai-copy h2 { margin: 14px 0 20px; }
.ai-setup { min-width: 0; }
.integration-guide > summary { padding: 20px 0; font-weight: 700; cursor: pointer; }
.download-panel { grid-template-rows: auto auto 1fr auto; }
.panel-note { grid-column: 1/-1; margin-top: 18px; font-size: .94rem; }
.store-ios-notice { flex-basis: 100%; order: 1; font-size: .9rem; text-decoration: underline; text-underline-offset: 4px; padding-block: 8px; }
.trial-title { margin: 18px 0 26px; font: 500 clamp(36px, 4vw, 64px)/1.06 Georgia, serif; }
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); }
  .ai-grid { grid-template-columns: 1fr; gap: 26px; }
}
@media (max-width: 760px) {
  .hero-grid { grid-template-columns: 1fr; gap: 26px; }
  .hero-copy { padding: 0; }
  .hero-copy h1 { font-size: clamp(41px, 9vw, 65px); }
  .cover-story figcaption { padding: 28px 18px 10px; }
  .journey-list { grid-template-columns: 1fr; }
  .journey-list li { display: grid; grid-template-columns: 1fr minmax(130px, .8fr); align-items: start; gap: 14px; padding-top: 18px; }
  .journey-copy { flex-direction: column; padding: 0; }
}
@media (max-width: 420px) {
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 14px; }
  .bridge-grid p a { gap: 4px; }
}
.demo-web-link { display: inline-flex; margin-bottom: 22px; }
/* Keep navigation and downloads within reach at every screen width. */
:root { --header-height: 112px; scroll-padding-top: calc(var(--header-height) + 16px); }
.skip { z-index: 40; }
.navigation-header { position: sticky; top: 0; z-index: 30; box-shadow: 0 4px 18px #19191b08; }
.navigation-header .header-inner { width: min(1480px, calc(100% - 48px)); display: flex; flex-wrap: wrap; gap: 8px 24px; padding-block: 12px; }
.navigation-header .brand { flex-shrink: 0; }
.navigation-header .main-nav { display: flex; flex: 1 1 560px; flex-wrap: wrap; justify-content: center; gap: 4px 20px; margin: 0; padding: 0; overflow: visible; white-space: normal; }
.navigation-header .main-nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 6px 0; font-size: 16px; line-height: 1.4; }
.navigation-header .main-nav a::after { bottom: 2px; }
.navigation-header .header-actions { flex-shrink: 0; margin-left: auto; }
.navigation-header .header-cta { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; font-size: 14px; line-height: 1.4; }
.menu-toggle { display: none; align-items: center; justify-content: center; gap: 10px; min-height: 44px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 9px; background: transparent; color: var(--ink); font-size: 16px; font-weight: 700; cursor: pointer; }
.menu-toggle-icon, .menu-toggle-icon::before, .menu-toggle-icon::after { display: block; width: 18px; height: 2px; background: currentColor; }
.menu-toggle-icon { position: relative; }
.menu-toggle-icon::before, .menu-toggle-icon::after { content: ""; position: absolute; left: 0; }
.menu-toggle-icon::before { top: -6px; }
.menu-toggle-icon::after { top: 6px; }
.menu-toggle[aria-expanded="true"] .menu-toggle-icon { background: transparent; }
.menu-toggle[aria-expanded="true"] .menu-toggle-icon::before { top: 0; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle-icon::after { top: 0; transform: rotate(-45deg); }
@media (max-width: 1100px) {
  .navigation-header .header-inner { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 10px 16px; }
  .navigation-header .brand { grid-column: 1; grid-row: 1; }
  .navigation-header .header-actions { grid-column: 2; grid-row: 1; justify-self: end; margin: 0; }
  .menu-toggle { grid-column: 3; grid-row: 1; }
  .menu-toggle:not([hidden]) { display: inline-flex; }
  .navigation-header .main-nav { grid-column: 1 / -1; grid-row: 2; display: grid; grid-template-columns: minmax(0, 1fr); gap: 4px; max-height: 60vh; max-height: 60dvh; overflow-y: auto; padding: 8px 4px; border-top: 1px solid var(--line); }
  .navigation-header .main-nav a { padding: 10px 8px; overflow-wrap: anywhere; }
  .navigation-ready .navigation-header .main-nav:not(.is-open) { display: none; }
}
@media (max-width: 600px) {
  .navigation-header .header-inner { width: calc(100% - 28px); grid-template-columns: minmax(0, 1fr) auto; padding-block: 10px; gap: 8px 12px; }
  .menu-toggle { grid-column: 2; }
  .navigation-header .header-actions { grid-column: 1 / -1; grid-row: 2; justify-self: stretch; justify-content: space-between; gap: 10px; }
  .navigation-header .header-cta { min-width: 0; padding: 10px 12px; white-space: normal; text-align: center; }
  .navigation-header .language-form { flex-shrink: 0; }
  .navigation-header .language-form select { max-width: 108px; padding-left: 8px; }
  .navigation-header .main-nav { grid-row: 3; max-height: 50vh; max-height: 50dvh; }
}
@media (prefers-reduced-motion: reduce) {
  :root { scroll-behavior: auto; }
}

/* Detailed product information remains available without JavaScript. */
.feature-catalog { background: #eeeae1; }
.feature-catalog-grid { display: grid; grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); gap: clamp(28px, 6vw, 90px); align-items: start; }
.feature-catalog .section-heading { min-width: 0; margin-bottom: 0; }
.feature-catalog h2 { font-size: clamp(32px, 3.5vw, 50px); overflow-wrap: anywhere; }
.feature-topics { min-width: 0; border-top: 1px solid #bdb7ab; }
.feature-topic { border-bottom: 1px solid #bdb7ab; }
.feature-topic > summary { display: flex; gap: 16px; align-items: flex-start; padding: 23px 0; cursor: pointer; list-style: none; }
.feature-topic > summary::-webkit-details-marker { display: none; }
.feature-topic-number { color: var(--red); font: italic 1.35rem/1.3 Georgia, serif; flex: none; }
.feature-topic-heading { min-width: 0; flex: 1; }
.feature-topic-title { display: block; font-size: 19px; font-weight: 700; line-height: 1.35; letter-spacing: -.02em; overflow-wrap: anywhere; }
.feature-topic-summary { display: block; margin-top: 7px; color: #56534f; font-size: 14px; line-height: 1.55; }
.feature-topic-toggle { flex: none; display: grid; place-items: center; width: 26px; height: 26px; font-size: 26px; color: var(--red); line-height: 1; transition: transform .2s ease; }
.feature-topic[open] > summary .feature-topic-toggle { transform: rotate(45deg); }
.feature-topic-body { padding: 0 0 26px 40px; }
.feature-explanation + .feature-explanation { margin-top: 24px; }
.feature-explanation h3 { margin-bottom: 8px; font-size: 17px; line-height: 1.4; letter-spacing: -.015em; overflow-wrap: anywhere; }
.feature-explanation p { font-size: 15px; color: #45433f; overflow-wrap: anywhere; }
.function-details-link { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 0 0 24px; padding: 12px 0; border-bottom: 1px solid #665358; color: #fff; font-weight: 600; }
.function-details-link:hover { color: #efbdc7; }
@media (max-width: 860px) {
  .feature-catalog-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 420px) {
  .feature-topic > summary { gap: 10px; }
  .feature-topic-title { font-size: 17px; }
  .feature-topic-body { padding-left: 0; }
}

/* Three aligned plans with the Business plan picked out in brand red. */
.pricing-heading { max-width: 860px; }
.pricing-heading h2 { color: #581e2b; }
.plan-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; padding-top: 12px; }
.plan-card { position: relative; min-width: 0; padding: 34px 28px; border: 1px solid #dbc7cb; border-radius: 22px; background: #fffaf8; color: #332226; }
.plan-card h3 { margin-bottom: 22px; font-size: 23px; line-height: 1.25; letter-spacing: -.025em; overflow-wrap: anywhere; }
.plan-business { background: #302026; color: #fff; border-color: var(--red); box-shadow: 0 18px 40px #8c29351a; }
.plan-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px; line-height: 1.2; }
.plan-price strong { font: 600 clamp(42px, 4.2vw, 62px)/1 Georgia, serif; letter-spacing: -.045em; white-space: nowrap; }
.plan-price > span { color: #76565e; font-size: 14px; }
.plan-business .plan-price > span { color: #dfc5cd; }
.plan-description { min-height: 44px; margin: 14px 0 18px; color: #76565e; font-size: 14px; }
.plan-card > .button { width: 100%; min-height: 62px; gap: 12px; font-size: 14px; line-height: 1.4; }
.plan-card:not(.plan-free) > .button { margin-top: 76px; }
.plan-card:not(.plan-business) > .button { background: #ede2e0; color: #482932; border: 1px solid #dfcdcf; }
.plan-features { list-style: none; margin-top: 28px; }
.plan-features li { display: flex; gap: 10px; margin: 14px 0; font-size: 15px; line-height: 1.5; }
.plan-features li > :first-child { flex: none; color: var(--red); font-weight: 700; }
.plan-business .plan-features li > :first-child { color: #f3a3ad; }
.plan-features li > :last-child { min-width: 0; overflow-wrap: anywhere; }
.plan-limit { padding-top: 14px; border-top: 1px solid #dbc7cb; font-weight: 700; }
.plans-trial-note { max-width: 940px; margin: 30px auto 0; color: #76565e; font-size: 15px; text-align: center; }
@media (min-width: 761px) and (max-width: 1050px) {
  .plan-grid { gap: 14px; }
  .plan-card { padding: 30px 18px; }
  .plan-description { min-height: 64px; }
  .plan-card > .button { min-height: 82px; }
  .plan-card:not(.plan-free) > .button { margin-top: 96px; }
}
@media (max-width: 760px) {
  .plan-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .plan-card { padding: 30px 24px; }
  .plan-price strong { font-size: 56px; }
  .plan-description { min-height: 0; }
  .plan-card:not(.plan-free) > .button { margin-top: 22px; }
  .plans-trial-note { text-align: left; }
}

/* Smartax company identity and product navigation. */
.company-footer { padding: 58px 0 22px; }
.company-footer-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 1fr); gap: 50px; }
.smartax-logo { display: inline-block; padding: 7px; background: #fff; border-radius: 12px; }
.smartax-logo img { width: 86px; height: 86px; }
.company-footer .company-name { margin: 20px 0 8px; color: #fff; font-size: 14px; font-weight: 700; line-height: 1.5; }
.company-identity address { font-size: 14px; font-style: normal; color: #d1dfdb; }
.company-registration { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 10px 0 0; font-size: 13px; color: #d1dfdb; }
.company-registration > div { display: flex; gap: 7px; }
.company-registration dt { font-weight: 700; }
.company-registration dd { margin: 0; }
.company-footer .footer-title { margin: 4px 0 24px; color: #fff; font-size: 16px; font-weight: 700; letter-spacing: .02em; line-height: 1.3; }
.company-footer .footer-product > a, .company-footer .footer-contact > a { display: block; width: fit-content; max-width: 100%; margin-bottom: 14px; color: #d1dfdb; font-size: 14px; line-height: 1.5; overflow-wrap: anywhere; }
.company-footer .footer-product > a:hover, .company-footer .footer-contact > a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.social-links { display: flex; flex-wrap: wrap; list-style: none; gap: 10px; margin-top: 24px; }
.company-footer .social-links a { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid #ffffff35; border-radius: 9px; color: #e3eeea; background: #ffffff08; transition: background .2s ease, border-color .2s ease; }
.company-footer .social-links a:hover { background: #ffffff19; border-color: #ffffff80; }
.company-footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-top: 44px; padding-top: 22px; border-top: 1px solid #ffffff25; }
.company-footer-bottom .brand { font-size: 23px; }
.company-footer-bottom .brand-icon { width: 28px; height: 28px; }
.company-footer-bottom small { color: #d1dfdb; }
@media (max-width: 760px) {
  .company-footer-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 36px 24px; }
  .company-identity { grid-column: 1 / -1; }
}
@media (max-width: 420px) {
  .company-footer-grid { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .company-footer .footer-title { margin-bottom: 18px; }
  .company-footer-bottom { flex-wrap: wrap; }
}

/* The AI plan pairs a midnight-teal surface with warm metallic accents. */
.plan-ai { overflow: hidden; padding-bottom: 390px; background: radial-gradient(ellipse at 95% 100%, #3d6468 0, transparent 65%), linear-gradient(145deg, #163c43, #10242e 75%); color: #fff; border-color: #bfa471; box-shadow: 0 18px 44px #133c4326; }
.plan-ai h3, .plan-ai .plan-price strong { color: #f2dcad; }
.plan-ai .plan-price > span { color: #c8dcd9; }
.plan-card.plan-ai > .button { background: #e4c891; color: #152d33; border-color: #e4c891; }
.plan-card.plan-ai > .button:hover { background: #f1dbb0; }
.plan-ai .plan-features li > :first-child { color: #e4c891; }
.plan-assistant { position: absolute; right: 0; bottom: 0; width: min(78%, 280px); height: auto; pointer-events: none; }
@media (max-width: 760px) {
  .plan-ai { padding-bottom: 360px; }
  .plan-assistant { width: min(78%, 260px); }
}
