/* ==========================================================================
   One Web Graphics: problem-led pages (2026-11)
   Components for the new homepage, solution pages, pricing and free check.
   Uses the tokens defined in ow-design.css (load after it).
   ========================================================================== */

.ow-sec { padding: var(--space-section) 0; background: var(--white); }
.ow-sec-alt { background: var(--paper); }
.ow-sec-ink { background: var(--ink); color: #d6e1e8; }
.ow-sec-ink .ow-section-title, .ow-sec-ink h3 { color: var(--white); }
.ow-sec .ow-section-head { display: block; max-width: 820px; margin: 0 0 40px; }
.ow-sec .ow-section-head .ow-section-lede { margin-top: 14px; }
.ow-sec .ow-section-head.is-center { margin-left: auto; margin-right: auto; text-align: center; }
.ow-sec .ow-section-head.is-center .ow-section-lede { margin-left: auto; margin-right: auto; }
.ow-split .ow-section-head { margin-bottom: 20px; }
.ow-eyebrow { display: inline-block; font-size: var(--step--1); font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--leaf-deep); margin: 0 0 12px; }
.ow-ml { font-family: "Noto Sans Malayalam", "Manjari", var(--font-body); }
.ow-note { font-size: var(--step--1); color: var(--ink-3); }

/* Hero business chooser */
.ow-chooser { margin: 28px 0 8px; }
.ow-chooser-label { font-weight: 600; color: var(--ink); margin: 0 0 10px; }
.ow-chooser ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.ow-chooser a {
    display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 16px;
    border: 1px solid var(--line); border-radius: var(--r-pill); background: var(--white);
    color: var(--ink); font-weight: 500; text-decoration: none;
    transition: border-color var(--dur-fast), background var(--dur-fast);
}
.ow-chooser a:hover, .ow-chooser a:focus-visible { border-color: var(--leaf-deep); background: var(--leaf-soft); color: var(--ink); text-decoration: none; }
.ow-trustline { margin: 18px 0 0; font-size: var(--step--1); color: var(--ink-3); }

/* Generic card grid */
.ow-cards { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.ow-card {
    display: flex; flex-direction: column; gap: 10px; padding: 26px; border-radius: var(--r-md);
    background: var(--white); border: 1px solid var(--line);
}
.ow-sec-alt .ow-card { border-color: transparent; }
.ow-card h3 { font-size: var(--step-1); color: var(--ink); margin: 0; line-height: 1.3; }
.ow-card p { margin: 0; }
.ow-card .ow-card-icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--leaf-soft); color: var(--leaf-deep); font-size: 20px; }
.ow-card-link { margin-top: auto; padding-top: 6px; font-weight: 600; color: var(--leaf-deep); }
.ow-card-link:hover { color: var(--ink); }
.ow-card ul { margin: 4px 0 0; padding-left: 20px; }
.ow-card li { margin: 2px 0; }

/* Sector cards */
.ow-sector h3 { font-size: var(--step-2); }
.ow-sector .ow-sector-tag { font-size: var(--step--1); font-weight: 600; color: var(--leaf-deep); text-transform: uppercase; letter-spacing: .04em; margin: 0; }

/* Prices */
.ow-price-grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); }
.ow-price { padding: 26px; border-radius: var(--r-md); background: var(--white); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; }
.ow-price.is-featured { border: 2px solid var(--leaf-deep); }
.ow-price h3 { margin: 0; font-size: var(--step-1); color: var(--ink); }
.ow-price-from { margin: 0; font-size: var(--step--1); color: var(--ink-3); }
.ow-price-amt { font-family: var(--font-display); font-size: var(--step-3); color: var(--ink); line-height: 1.1; }
.ow-price-amt small { font-family: var(--font-body); font-size: var(--step-0); color: var(--ink-3); }
.ow-price ul { margin: 4px 0 0; padding-left: 20px; }
.ow-price .ow-price-time { font-size: var(--step--1); color: var(--ink-3); margin: 0; }
.ow-price .ow-btn { margin-top: auto; }

/* Price table (pricing page) */
.ow-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--white); }
.ow-table { width: 100%; border-collapse: collapse; min-width: 640px; }
.ow-table th, .ow-table td { text-align: left; vertical-align: top; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.ow-table th { background: var(--paper); color: var(--ink); font-weight: 600; }
.ow-table tr:last-child td { border-bottom: 0; }
.ow-table td:nth-child(2) { white-space: nowrap; font-weight: 600; color: var(--ink); }

/* Promise strip */
.ow-promise { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); counter-reset: p; }
.ow-promise li { padding: 22px; border-radius: var(--r-md); background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); }
.ow-promise strong { display: block; color: var(--white); font-size: var(--step-1); margin-bottom: 6px; }

/* Steps (5) */
.ow-steps5 { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); counter-reset: s; }
.ow-steps5 li { counter-increment: s; padding: 22px; border-radius: var(--r-md); background: var(--white); border: 1px solid var(--line); }
.ow-steps5 li::before { content: counter(s); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--leaf-deep); color: var(--white); font-weight: 700; margin-bottom: 12px; }
.ow-steps5 h3 { margin: 0 0 6px; font-size: var(--step-1); color: var(--ink); }
.ow-steps5 p { margin: 0; }

/* Split layout */
.ow-split { display: grid; gap: 40px; align-items: start; grid-template-columns: 1fr; }
@media (min-width: 900px) { .ow-split { grid-template-columns: 1.1fr .9fr; } }

/* Lead form */
.ow-form { display: grid; gap: 16px; padding: 28px; border-radius: var(--r-lg); background: var(--white); border: 1px solid var(--line); }
.ow-form-row { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .ow-form-row { grid-template-columns: 1fr 1fr; } }
.ow-form label { display: block; font-weight: 600; color: var(--ink); margin: 0 0 6px; font-size: var(--step--1); }
.ow-form input, .ow-form select, .ow-form textarea {
    width: 100%; min-height: 48px; padding: 10px 14px; border: 1px solid #b9c7c0; border-radius: var(--r-sm);
    background: var(--white); color: var(--ink); font: inherit;
}
.ow-form textarea { min-height: 96px; }
.ow-form input:focus-visible, .ow-form select:focus-visible, .ow-form textarea:focus-visible { outline: 2px solid var(--leaf-deep); outline-offset: 1px; border-color: var(--leaf-deep); }
.ow-form .ow-btn { justify-self: start; }
.ow-form .hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.ow-form-status { padding: 14px 16px; border-radius: var(--r-sm); background: var(--leaf-soft); color: var(--ink); font-weight: 500; }
.ow-form-status.is-error { background: #fdecea; }

/* FAQ with details */
.ow-faq { max-width: 860px; }
.ow-faq details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.ow-faq details:first-child { border-top: 1px solid var(--line); }
.ow-faq summary { cursor: pointer; font-weight: 600; color: var(--ink); font-size: var(--step-1); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.ow-faq summary::-webkit-details-marker { display: none; }
.ow-faq summary::after { content: "+"; font-size: 24px; line-height: 1; color: var(--leaf-deep); }
.ow-faq details[open] summary::after { content: "\2212"; }
.ow-faq details p { margin: 10px 0 0; max-width: 46em; }

/* Inner page intro (below stunning header) */
.ow-section-title + .ow-lead { margin-top: 16px; }
.ow-lead + .ow-buttons { margin-top: 24px; }
.ow-lead { font-size: var(--step-1); color: var(--ink-2); max-width: 46em; }
.ow-checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ow-checks li { position: relative; padding-left: 30px; }
.ow-checks li::before { content: ""; position: absolute; left: 0; top: .35em; width: 18px; height: 18px; border-radius: 50%; background: var(--leaf-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%231f7a52' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat; }

.ow-callout { padding: 22px 24px; border-left: 4px solid var(--marigold); background: #fff8ec; border-radius: 0 var(--r-sm) var(--r-sm) 0; color: var(--ink); }

@media (max-width: 640px) {
    .ow-card, .ow-price, .ow-form { padding: 20px; }
}
