/* ARROZ LP theme: header/footer/hero + support for the imported WordPress / VK block markup */
.lp-wrap { width: min(1140px, 100% - 40px); margin-inline: auto; }
.lp-narrow { max-width: 820px; }

/* header */
.lp-header { position: sticky; top: 0; z-index: 100; background: rgba(255, 255, 255, .96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.lp-header__in { display: flex; align-items: center; justify-content: space-between; min-height: 72px; gap: 16px; }
.lp-logo img { display: block; width: 150px; height: auto; }
.lp-menu { display: none; }
.lp-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 4px; }
.lp-nav a { display: block; padding: 8px 12px; font-size: .9rem; font-weight: 600; text-decoration: none; color: var(--ink); border-radius: 6px; }
.lp-nav a:hover { color: var(--navy); background: var(--bg-soft); }
.lp-btn { display: inline-block; padding: 10px 18px !important; background: var(--navy); color: #fff !important; border: 1px solid var(--navy); border-radius: 6px; font-weight: 700; text-decoration: none; line-height: 1.4; }
.lp-btn:hover { background: var(--navy-dark) !important; color: #fff !important; }
.lp-btn--ghost { background: #fff; color: var(--navy) !important; }
.lp-btn--ghost:hover { background: var(--gold-soft) !important; color: var(--navy) !important; }
@media (max-width: 1000px) {
  .lp-nav--wide { display: none; }
  .lp-menu { display: block; position: relative; }
  .lp-menu summary { display: grid; place-content: center; gap: 5px; width: 44px; height: 44px; cursor: pointer; list-style: none; }
  .lp-menu summary::-webkit-details-marker { display: none; }
  .lp-menu summary span { display: block; width: 22px; height: 2px; background: var(--navy); }
  .lp-menu nav { position: absolute; right: 0; top: 54px; width: min(320px, 90vw); background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 12px 30px rgba(15, 19, 80, .12); padding: 10px; }
  .lp-menu nav ul { flex-direction: column; align-items: stretch; }
  .lp-menu nav .lp-btn { text-align: center; margin-top: 6px; }
}

/* hero slider */
.lp-hero { width: 100%; position: relative; overflow: hidden; background: var(--navy); color: #fff; aspect-ratio: 1920 / 606; min-height: 320px; }
.lp-hero__slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .8s ease, visibility .8s; }
.lp-hero__slide.is-active { opacity: 1; visibility: visible; }
.lp-hero__slide picture, .lp-hero__slide img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.lp-hero__text { position: relative; z-index: 1; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 24px; text-shadow: 0 2px 12px rgba(0, 0, 0, .35); }
.lp-hero__title { margin: 0; font-size: clamp(1.4rem, 3.2vw, 2.4rem); font-weight: 700; line-height: 1.4; }
.lp-hero__sub { margin: 8px 0 22px; font-size: clamp(.95rem, 1.6vw, 1.2rem); }
.lp-hero__cta { display: inline-block; padding: 10px 28px; border: 1px solid #fff; border-radius: 4px; color: #fff; text-decoration: none; font-weight: 700; box-shadow: 0 0 3px var(--gold); transition: background .3s, border-color .3s; }
.lp-hero__cta:hover { background: var(--navy); border-color: var(--navy); color: #fff; }
.lp-hero__nav { position: absolute; top: 50%; translate: 0 -50%; z-index: 2; width: 44px; height: 44px; border: 0; background: transparent; color: #fff; font-size: 2.2rem; cursor: pointer; }
.lp-hero__nav--prev { left: 8px; } .lp-hero__nav--next { right: 8px; }
.lp-hero__dots { position: absolute; bottom: 14px; left: 0; right: 0; z-index: 2; display: flex; justify-content: center; gap: 8px; }
.lp-hero__dots button { width: 10px; height: 10px; padding: 0; border-radius: 999px; border: 0; background: rgba(255, 255, 255, .5); cursor: pointer; transition: width .3s; }
.lp-hero__dots button[aria-current="true"] { width: 26px; background: #fff; }
@media (max-width: 767px) { .lp-hero { aspect-ratio: 16 / 9; } }

/* page head */
.lp-pagehead { background: linear-gradient(120deg, var(--navy) 0%, #1d2470 100%); color: #fff; padding: 40px 0 36px; }
/* page <style> blocks set bare h1/h2 colours; the title band must stay white */
.lp-pagehead h1 { margin: 6px 0 0 !important; font-size: clamp(1.5rem, 3vw, 2.1rem) !important; line-height: 1.4 !important; color: #fff !important; }
.lp-crumbs { font-size: .8rem; color: rgba(255, 255, 255, .75); }
.lp-crumbs a { color: rgba(255, 255, 255, .85); }
/* slim breadcrumb bar for pages that bring their own header section */
.lp-crumbbar { background: var(--bg-soft); border-bottom: 1px solid var(--line); padding: 10px 0; }
.lp-crumbbar .lp-crumbs { color: var(--muted); }
.lp-crumbbar .lp-crumbs a { color: var(--navy); }
.lp-content--ownhero { padding-top: 0; }

/* content area: imported block markup */
.lp-content { padding: 48px 0 72px; }
.lp-content--home { padding-top: 24px; }
.lp-content > :not(.alignfull):not(.wp-block-cover):not(dialog) { width: min(1140px, 100% - 40px); margin-left: auto; margin-right: auto; }
.lp-content > .alignfull, .lp-content > .wp-block-cover { width: 100%; }
.lp-content .wp-block-cover__inner-container > *, .lp-content .wp-block-group > :not(.alignfull) { max-width: 1140px; margin-left: auto; margin-right: auto; }
/* default typography only: :where() keeps specificity at zero so each page's own <style> wins */
:where(.lp-content) :where(h1, h2) { font-size: clamp(1.35rem, 2.4vw, 1.75rem); line-height: 1.5; color: var(--navy); margin: 2.2em 0 .8em; }
:where(.lp-content) :where(h3) { font-size: 1.2rem; line-height: 1.5; color: var(--navy); margin: 1.8em 0 .6em; }
:where(.lp-content) :where(p) { margin: 0 0 1em; }
:where(.lp-content) :where(ul, ol) { padding-left: 1.5em; }
:where(.lp-content) :where(li + li) { margin-top: .3em; }
:where(.lp-content) :where(table) { width: 100%; }
:where(.lp-content) :where(th, td) { border: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top; }
:where(.lp-content) :where(hr), :where(.wp-block-separator) { border: 0; border-top: 1px solid var(--line); margin: 2.5em auto; }
/* text on navy backgrounds stays readable */
:where(.has-vk-color-primary-background-color, .wp-block-cover:not(.is-light)) :where(h1, h2, h3, h4, p, li) { color: #fff; }
.has-text-align-center { text-align: center; }
.has-text-align-right { text-align: right; }
.has-white-color { color: #fff !important; }
.has-white-background-color { background-color: #fff !important; }
.has-black-color { color: #000 !important; }
.has-vk-color-primary-background-color { background-color: var(--navy) !important; }
.has-vk-color-primary-color { color: var(--navy) !important; }
.has-vk-color-custom-1-color { color: var(--gold) !important; }
.has-vk-color-custom-1-background-color { background-color: var(--gold) !important; }
.has-vivid-red-color { color: #cf2e2e !important; }
.is-style-vk-heading-plain { border: 0 !important; padding: 0 !important; background: none !important; }
.is-style-vk-heading-plain::before, .is-style-vk-heading-plain::after { display: none !important; }

/* VK margin utilities */
.vk_block-margin-0--margin-top { margin-top: 0 !important; }
.vk_block-margin-0--margin-bottom { margin-bottom: 0 !important; }
.vk_block-margin-xs--margin-top { margin-top: var(--vk-margin-xs) !important; }
.vk_block-margin-xs--margin-bottom { margin-bottom: var(--vk-margin-xs) !important; }
.vk_block-margin-sm--margin-top { margin-top: var(--vk-margin-sm) !important; }
.vk_block-margin-sm--margin-bottom { margin-bottom: var(--vk-margin-sm) !important; }
.vk_block-margin-md--margin-top { margin-top: var(--vk-margin-md) !important; }
.vk_block-margin-md--margin-bottom { margin-bottom: var(--vk-margin-md) !important; }
.vk_block-margin-lg--margin-top { margin-top: var(--vk-margin-lg) !important; }
.vk_block-margin-lg--margin-bottom { margin-bottom: var(--vk-margin-lg) !important; }
.vk_block-margin-xl--margin-top { margin-top: var(--vk-margin-xl) !important; }
.vk_block-margin-xl--margin-bottom { margin-bottom: var(--vk-margin-xl) !important; }
.vk_spacer { overflow: hidden; }
.vk_spacer-display-pc, .vk_spacer-display-tablet, .vk_spacer-display-mobile { display: none; }
@media (min-width: 992px) { .vk_spacer-display-pc { display: block; } }
@media (min-width: 576px) and (max-width: 991px) { .vk_spacer-display-tablet { display: block; } }
@media (max-width: 575px) { .vk_spacer-display-mobile { display: block; } }

/* columns */
.wp-block-columns { display: flex; flex-wrap: wrap; gap: 2em; margin-bottom: 1.75em; }
.wp-block-column { flex: 1 1 0; min-width: 0; }
.wp-block-columns.are-vertically-aligned-center, .wp-block-column.is-vertically-aligned-center { align-self: center; }
.wp-block-columns.are-vertically-aligned-center { align-items: center; }
@media (min-width: 782px) {
  .wp-block-columns { flex-wrap: nowrap; }
  .wp-block-column[style*="flex-basis"] { flex-grow: 0; }
  .wp-block-columns.is-vk-row-reverse { flex-direction: row-reverse; }
}
@media (max-width: 781px) {
  .wp-block-columns:not(.is-not-stacked-on-mobile) > .wp-block-column { flex-basis: 100% !important; }
  .wp-block-column[style*="padding"] { padding-left: 0 !important; padding-right: 0 !important; }
}

/* cover */
.wp-block-cover { position: relative; display: flex; align-items: center; justify-content: center; overflow: hidden; min-height: 430px; padding: 1em; }
.wp-block-cover__background { position: absolute; inset: 0; z-index: 0; background-color: #000; }
.wp-block-cover__background.has-background-dim { opacity: .5; }
.wp-block-cover__background.has-background-dim-100 { opacity: 1; }
.wp-block-cover__background.has-background-dim-80 { opacity: .8; }
.wp-block-cover__background.has-background-dim-60 { opacity: .6; }
.wp-block-cover__background.has-background-dim-40 { opacity: .4; }
.wp-block-cover__background.has-background-dim-20 { opacity: .2; }
.wp-block-cover__background.has-background-dim-0 { opacity: 0; }
.wp-block-cover__image-background { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; z-index: 0; }
.wp-block-cover__inner-container { position: relative; z-index: 1; width: 100%; }
.wp-block-cover:not(.is-light) .wp-block-cover__inner-container { color: #fff; }
.wp-block-cover:not(.is-light) .wp-block-cover__inner-container :is(h2, h3) { color: inherit; }

/* group, image, buttons */
.wp-block-group { box-sizing: border-box; }
.wp-block-group.has-background { padding: 2em; }
.wp-block-image { margin: 0 0 1em; }
.wp-block-image img { vertical-align: bottom; }
.wp-block-image.aligncenter, .aligncenter { text-align: center; margin-left: auto; margin-right: auto; }
.wp-block-image.aligncenter img { margin-inline: auto; }
.wp-block-image figcaption { font-size: .85rem; color: var(--muted); text-align: center; }
.wp-block-buttons { display: flex; flex-wrap: wrap; gap: .75em; margin: 1.5em auto; justify-content: center; }
.wp-block-button__link { display: inline-block; padding: 12px 28px; background: var(--navy); color: #fff; border-radius: 4px; text-decoration: none; font-weight: 700; transition: background .2s; }
.wp-block-button__link:hover { background: var(--navy-dark); color: #fff; }
.wp-block-button.is-style-outline .wp-block-button__link { background: transparent; color: var(--navy); border: 2px solid currentColor; }
.vk_button { margin: 1em 0; }
.vk_button-align-center { text-align: center; }
.vk_button-align-right { text-align: right; }
.vk_button-align-left { text-align: left; }
.vk_button-align-block .vk_button_link { display: block; }
.vk_button_link { display: inline-block; padding: 12px 26px; background: var(--navy); color: #fff !important; border-radius: 4px; text-decoration: none; text-align: center; line-height: 1.5; transition: opacity .2s; }
.vk_button_link:hover { opacity: .9; color: #fff !important; }
.vk_button_link.btn-sm { padding: 9px 20px; font-size: .9rem; }
.vk_button_link.btn-lg { padding: 16px 34px; font-size: 1.1rem; }
.vk_button_link_txt { font-weight: 700; }
.vk_button_link_subCaption { margin: 2px 0 0 !important; font-size: .78rem; opacity: .9; }
.video-embed { position: relative; aspect-ratio: 16 / 9; }
.video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.wp-block-embed { margin: 0 auto 1.5em; max-width: 860px; }
.wp-block-quote { margin: 1.5em 0; padding: 12px 20px; border-left: 4px solid var(--gold); background: var(--bg-soft); }

/* HubSpot embeds */
.hs-form-frame, .meetings-iframe-container { max-width: 760px; margin: 0 auto; }

/* popups on the sample page */
dialog.popup { max-width: min(680px, 92vw); max-height: 90vh; border: 0; border-radius: 12px; padding: 32px 24px 24px; box-shadow: 0 20px 60px rgba(0, 0, 0, .3); }
dialog.popup::backdrop { background: rgba(15, 19, 80, .55); }
.popup__close { position: absolute; top: 8px; right: 10px; border: 0; background: none; font-size: 1.8rem; line-height: 1; cursor: pointer; color: var(--muted); }

/* footer */
.lp-footer { background: var(--navy); color: #d8dbec; }
.lp-footer__in { display: grid; grid-template-columns: 1.2fr 1.4fr 1fr 1fr; gap: 32px; padding: 48px 0 32px; }
.lp-footer__brand img { background: #fff; padding: 10px 14px; border-radius: 6px; width: 170px; }
.lp-footer__brand p { font-size: .85rem; margin: 12px 0 0; }
.lp-footer__title { margin: 0 0 10px; font-weight: 700; color: #fff; letter-spacing: .04em; }
.lp-footer ul { list-style: none; margin: 0; padding: 0; }
.lp-footer li { margin: 0 0 6px; }
.lp-footer a { color: #d8dbec; font-size: .86rem; text-decoration: none; }
.lp-footer a:hover { color: #fff; text-decoration: underline; }
.lp-footer__copy { margin: 0; padding: 16px 20px 24px; text-align: center; font-size: .78rem; border-top: 1px solid rgba(255, 255, 255, .12); }
@media (max-width: 900px) { .lp-footer__in { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .lp-footer__in { grid-template-columns: 1fr; } }

/* Web接客 (chat) widget styles are injected by /assets/chat.js */
.br-md { display: none; } @media (min-width: 768px) { .br-md { display: inline; } }

/* plan cards: the page's own mobile rule is declared before its base rule, so restate it here */
@media (max-width: 767px) {
  .lp-content .arroz-plans { grid-template-columns: minmax(0, 1fr); row-gap: 24px; width: auto; left: auto; transform: none; margin-left: 0; margin-right: 0; }
}
/* safety net against horizontal scrolling from full-bleed tricks in imported markup */
main { overflow-x: clip; }

/* ---------- design fixes (2026-12-02 review) ---------- */

/* navy title bands made of a columns block (/partner-program/): compact, with inner padding */
.lp-content .wp-block-columns.has-background { padding-left: clamp(18px, 3vw, 32px) !important; padding-right: clamp(18px, 3vw, 32px) !important; padding-top: 18px !important; padding-bottom: 18px !important; margin-top: 2.5em !important; margin-bottom: 1.2em !important; border-radius: 8px; align-items: center; }
.lp-content .wp-block-columns.has-background :is(h2, h3) { margin: 0 !important; font-size: clamp(1.2rem, 2vw, 1.5rem); }
.lp-content .wp-block-columns.has-background > .wp-block-column > :last-child { margin-bottom: 0; }

/* /plans-features/: centred section headings and centred plan cards */
.page-plans-features .lp-content h2 { text-align: center; }
.page-plans-features .lp-content h2 + p, .page-plans-features .lp-content h2 + p + p { text-align: center; }
.lp-content .arroz-plans { left: auto !important; transform: none !important; width: 100% !important; max-width: 1120px !important; margin-left: auto !important; margin-right: auto !important; }
.lp-content .arroz-plan-table-wrap, .lp-content .arroz-feature-table-wrap, .lp-content .plan-table-wrap { margin-left: auto; margin-right: auto; }

/* trial / demo CTA band: royal-blue gradient so it stands apart from the navy footer */
.lp-content .wp-block-cover:has(a.vk_button_link[href="/trial/"]) { background: linear-gradient(120deg, #1f2c6e 0%, #34528f 55%, #34528f 100%); padding: 64px 20px !important; min-height: 0 !important; margin-bottom: 0; }
.lp-content .wp-block-cover:has(a.vk_button_link[href="/trial/"]) .wp-block-cover__background { opacity: 0 !important; }
.lp-content .wp-block-cover:has(a.vk_button_link[href="/trial/"]) .wp-block-cover__image-background { display: none; }
.lp-content .wp-block-cover:has(a.vk_button_link[href="/trial/"]) .wp-block-columns { max-width: 860px; gap: 20px; }
.lp-content .wp-block-cover a.vk_button_link { border-radius: 999px; padding: 16px 24px; box-shadow: 0 10px 24px rgba(0, 0, 0, .18); transition: transform .15s, box-shadow .15s; }
.lp-content .wp-block-cover a.vk_button_link:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(0, 0, 0, .25); opacity: 1; }
.lp-content .wp-block-cover a.vk_button_link[href="/trial/"] { background: var(--gold) !important; color: var(--navy) !important; border: 0; }
.lp-content .wp-block-cover a.vk_button_link[href="/trial/"] * { color: var(--navy) !important; }
.lp-content .wp-block-cover a.vk_button_link[href*="meetings"] { background: #fff !important; color: var(--navy) !important; border: 0; }
.lp-content .wp-block-cover a.vk_button_link[href*="meetings"] * { color: var(--navy) !important; }

/* partner CTA band: warm light background, clearly different from both CTA and footer */
.lp-content .wp-block-cover:has(a.vk_button_link[href="/partner-program/"]) { background: #f6efe6; min-height: 0 !important; padding: 56px 20px !important; margin-bottom: 0; }
.lp-content .wp-block-cover:has(a.vk_button_link[href="/partner-program/"]) :is(.wp-block-cover__background, .wp-block-cover__image-background) { display: none; }
.lp-content .wp-block-cover:has(a.vk_button_link[href="/partner-program/"]) :is(h2, p:not(.vk_button_link_subCaption)) { color: var(--navy) !important; }
.lp-content .wp-block-cover a.vk_button_link[href="/partner-program/"] { background: var(--navy) !important; color: #fff !important; }

/* no white gap between a full-width closing band and the footer */
.lp-content:has(> :is(.wp-block-cover, .alignfull):last-child) { padding-bottom: 0; }
.lp-content > .wp-block-vk-blocks-spacer:last-child { display: none; }
.lp-footer { border-top: 4px solid var(--gold); }

/* ---------- presets that imported markup uses (were undefined → white-on-white) ---------- */
.has-vk-color-primary-dark-background-color { background-color: var(--navy-dark) !important; }
.has-vk-color-primary-vivid-background-color { background-color: #111558 !important; }
.has-base-2-background-color { background-color: #f6f7f9 !important; }
.has-cyan-bluish-gray-background-color { background-color: #abb8c3 !important; }
.has-border-normal-background-color { background-color: var(--line) !important; }
.has-border-normal-color { color: var(--line) !important; }
.has-large-font-size { font-size: clamp(1.2rem, 2vw, 1.45rem) !important; }
.has-small-font-size { font-size: .875rem !important; }
.alignwide { max-width: 1240px; margin-left: auto; margin-right: auto; }
.vk_block-margin-xs--height { height: var(--vk-margin-xs); }
.vk_block-margin-sm--height { height: var(--vk-margin-sm); }
.vk_block-margin-md--height { height: var(--vk-margin-md); }
.vk_block-margin-lg--height { height: var(--vk-margin-lg); }
.vk_block-margin-xl--height { height: var(--vk-margin-xl); }
.is-style-vk-heading-background_fill_lightgray { background: var(--bg-soft); padding: .6em .9em; border-radius: 6px; }
ul.is-style-vk-check-mark { list-style: none; padding-left: 0; }
ul.is-style-vk-check-mark li { position: relative; padding-left: 1.6em; }
ul.is-style-vk-check-mark li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--gold); font-weight: 700; }

/* ---------- polish ---------- */
/* centred section headings get a gold accent line */
.lp-content h2.has-text-align-center:not(.wp-block-cover h2):not(.has-white-color)::after { content: ""; display: block; width: 44px; height: 3px; margin: 14px auto 0; border-radius: 2px; background: var(--gold); }
.lp-content h2.is-style-asterisk::before { content: none; }

/* buttons */
.wp-block-button__link { border-radius: 999px; padding: 13px 30px; box-shadow: 0 6px 16px rgba(15, 19, 80, .16); transition: transform .15s, box-shadow .15s, background .15s; }
.wp-block-button__link:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(15, 19, 80, .22); }
.wp-block-button.is-style-outline .wp-block-button__link { box-shadow: none; background: #fff; }
.vk_button_link { border-radius: 999px; }

/* top page: problem cards lift on hover */
.arroz-issue-card { transition: transform .15s, box-shadow .15s; }
.arroz-issue-card:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(15, 19, 80, .08); }

/* top page: "generated content" grid as cards */
.lp-content .wp-block-columns.vk-cols--hasbtn { gap: 20px; }
.lp-content .wp-block-columns.vk-cols--hasbtn > .wp-block-column { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 24px 22px 18px; box-shadow: 0 4px 14px rgba(15, 19, 80, .05); transition: transform .15s, box-shadow .15s; }
.lp-content .wp-block-columns.vk-cols--hasbtn > .wp-block-column:hover { transform: translateY(-3px); box-shadow: 0 12px 26px rgba(15, 19, 80, .1); }
.lp-content .wp-block-columns.vk-cols--hasbtn h4 { color: var(--navy); font-size: 1.05rem; text-align: center; }
.lp-content .wp-block-columns.vk-cols--hasbtn p { font-size: .9rem; color: var(--muted); line-height: 1.75; }

/* top page: plan overview as cards, Business highlighted */
.lp-content .wp-block-columns:has(> .wp-block-column > ul.is-style-vk-check-mark) { gap: 20px; align-items: stretch; }
.lp-content .wp-block-columns:has(> .wp-block-column > ul.is-style-vk-check-mark) > .wp-block-column { background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--navy); border-radius: 14px; padding: 8px 24px 24px; box-shadow: 0 6px 18px rgba(15, 19, 80, .06); }
.lp-content .wp-block-columns:has(> .wp-block-column > ul.is-style-vk-check-mark) > .wp-block-column:last-child { border-top-color: var(--gold); background: linear-gradient(180deg, #fffaf3 0%, #fff 40%); }
.lp-content .wp-block-columns:has(> .wp-block-column > ul.is-style-vk-check-mark) h4 { font-size: 1.35rem; color: var(--navy); margin: 0; }
.lp-content .wp-block-columns:has(> .wp-block-column > ul.is-style-vk-check-mark) h4 + * , .lp-content .wp-block-columns:has(> .wp-block-column > ul.is-style-vk-check-mark) .wp-block-group + p { color: var(--muted); font-size: .9rem; }

/* /plans-features/: closing CTA as two side-by-side panels */
.page-plans-features .lp-content > .wp-block-group.alignfull.has-white-background-color:last-child { display: grid; grid-template-columns: 1fr 1fr; background: none !important; }
.page-plans-features .lp-content > .wp-block-group.alignfull.has-white-background-color:last-child > .wp-block-group { padding: 0 clamp(24px, 5vw, 72px); text-align: center; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.page-plans-features .lp-content > .wp-block-group.alignfull.has-white-background-color:last-child > .wp-block-group:first-child { background: #f6efe6 !important; }
.page-plans-features .lp-content > .wp-block-group.alignfull.has-white-background-color:last-child > .wp-block-group:last-child { background: linear-gradient(120deg, #1f2c6e 0%, #34528f 55%, #34528f 100%) !important; }
.page-plans-features .lp-content > .wp-block-group.alignfull.has-white-background-color:last-child h3 { font-size: 1.6rem; margin: 0; }
.page-plans-features .lp-content > .wp-block-group.alignfull.has-white-background-color:last-child p { max-width: 460px; margin-left: auto; margin-right: auto; line-height: 1.8; }
.page-plans-features .lp-content > .wp-block-group.alignfull.has-white-background-color:last-child > .wp-block-group:last-child .wp-block-button__link { background: #fff; color: var(--navy) !important; border: 0; }
@media (max-width: 781px) { .page-plans-features .lp-content > .wp-block-group.alignfull.has-white-background-color:last-child { grid-template-columns: 1fr; } }
.page-plans-features .lp-content:has(> .wp-block-group.alignfull:last-child) { padding-bottom: 0; }
.page-plans-features .lp-content > .wp-block-group.alignfull.has-white-background-color:last-child { margin: 0 !important; padding: 0 !important; width: 100% !important; max-width: none !important; }
.page-plans-features .lp-content > .wp-block-group.alignfull.has-white-background-color:last-child > .wp-block-group { margin: 0 !important; max-width: none !important; }
/* top page: closing press note as a compact news strip */
.is-home .lp-content { padding-bottom: 0; }
.is-home .lp-content > .wp-block-columns:last-child { margin: 0 auto; padding: 22px 0 26px; font-size: .9rem; }
.is-home .lp-content > .wp-block-columns:last-child p { margin: 0 0 .3em; }
.is-home .lp-content > .wp-block-columns:last-child p:first-child:empty, .is-home .lp-content > .wp-block-columns:last-child p:first-child:has(> br:only-child) { display: none; }

/* ---------- top page review 2 ---------- */
/* "コンテンツ作成における課題はありませんか？" on one line; phrases stay unbroken on small screens */
.br-md, .br-md.br-md { display: none !important; }
.text-nowrap { white-space: nowrap; display: inline-block; }

/* empty column left over in the "generated content" grid */
.lp-content .wp-block-columns.vk-cols--hasbtn > .wp-block-column:not(:has(img, p, h4)) { visibility: hidden; border: 0; box-shadow: none; background: none; }
@media (max-width: 781px) { .lp-content .wp-block-columns.vk-cols--hasbtn > .wp-block-column:not(:has(img, p, h4)) { display: none; } }

/* problem cards: icon + text, 4 + 3 centred */
.lp-content .arroz-issues { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; max-width: 1080px; margin: 8px auto 0; }
.lp-content .arroz-issue-card { flex: 0 1 calc(25% - 12px); min-width: 230px; min-height: 0; flex-direction: row; align-items: center; gap: 14px; padding: 18px 18px; border: 1px solid var(--line); border-radius: 14px; background: #fff; text-align: left; box-shadow: 0 4px 14px rgba(15, 19, 80, .05); position: relative; overflow: hidden; }
.lp-content .arroz-issue-card::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--gold); opacity: .85; }
.lp-content .arroz-issue-card img { flex: 0 0 64px; width: 64px !important; height: 64px !important; margin: 0 !important; padding: 8px; border-radius: 50%; background: var(--gold-soft); mix-blend-mode: multiply; object-fit: contain; }
.lp-content .arroz-issue-card p { font-size: .95rem !important; line-height: 1.6 !important; text-align: left; }
.lp-content .arroz-issue-card:hover { border-color: var(--gold); }
@media (max-width: 1100px) { .lp-content .arroz-issue-card { flex-basis: calc(50% - 8px); } }
@media (max-width: 600px) { .lp-content .arroz-issue-card { flex-basis: 100%; } }
.lp-content .arroz-issues { max-width: 1140px; gap: 18px; }
.lp-content .arroz-issue-card { padding: 20px 20px 20px 18px; gap: 16px; }
.lp-content .arroz-issue-card img { flex-basis: 76px; width: 76px !important; height: 76px !important; padding: 0; }
.lp-content .arroz-issue-card p { font-size: 1rem !important; }
.lp-content .arroz-issue-card { flex-basis: calc(25% - 14px); }
@media (max-width: 1100px) { .lp-content .arroz-issue-card { flex-basis: calc(50% - 9px); } }
@media (max-width: 600px) { .lp-content .arroz-issue-card { flex-basis: 100%; } }
@media (max-width: 781px) {
  .lp-content .wp-block-cover__inner-container { padding-left: 20px; padding-right: 20px; }
  .lp-content .wp-block-cover .vk_button { text-align: center; }
}
.lp-content .arroz-issue-card::before { content: none; display: none; }
.lp-content .arroz-issue-card { padding: 20px 22px; }
.lp-content .arroz-issue-card p { flex: 1; }

/* ---------- title band centred, tighter vertical rhythm ---------- */
:root { --vk-margin-lg: 3rem; --vk-margin-xl: 4.5rem; }
.lp-pagehead { text-align: center; padding: 44px 0 40px; }
.lp-pagehead h1::after { content: ""; display: block; width: 44px; height: 3px; margin: 14px auto 0; border-radius: 2px; background: var(--gold); }
.lp-content { padding-top: 40px; }
:where(.lp-content) :where(h1, h2, h3):first-child { margin-top: 0; }
.lp-content > .wp-block-vk-blocks-spacer:first-child, .lp-content > .wp-block-spacer:first-child { display: none; }
.lp-content:has(> .alignfull:first-child) { padding-top: 0; }

/* ---------- unified page title (same look as /solutions/) ---------- */
.lp-titlehead { text-align: center; padding: 56px 0 8px; }
.lp-titlehead h1 { margin: 0 0 18px; color: var(--navy); font-size: clamp(1.6rem, 3vw, 2.25rem); line-height: 1.45; font-weight: 800; }
.lp-titlehead p { max-width: 820px; margin: 0 auto; color: #444; font-size: 1.0625rem; line-height: 1.9; }
.lp-content--titled { padding-top: 40px; }
.lp-content--titled:has(> .alignfull:first-child) { padding-top: 32px; }
/* the /solutions/ hero heading is promoted to <h1>; keep its original styling */
.lp-content .arroz-solutions-hero h1 { margin: 0 0 18px; color: var(--navy); font-size: clamp(1.6rem, 3vw, 2.25rem); line-height: 1.45; font-weight: 800; }
.lp-content .arroz-solutions-hero p { color: #444; font-size: 1.0625rem; }

/* ---------- smaller page titles ---------- */
.lp-titlehead h1 { font-size: clamp(1.45rem, 2.6vw, 2rem); }
.lp-content--ownhero h1 { font-size: clamp(1.5rem, 2.8vw, 2.15rem) !important; line-height: 1.4 !important; }

/* ---------- /plans-features/ tables on phones: no sideways scrolling, all four columns visible ---------- */
@media (max-width: 768px) {
  .lp-content .arroz-feature-table, .lp-content .arroz-plan-table, .lp-content .plan-table { min-width: 0 !important; table-layout: fixed; font-size: 12.5px !important; }
  .lp-content .arroz-feature-table th, .lp-content .arroz-feature-table td,
  .lp-content .arroz-plan-table th, .lp-content .arroz-plan-table td { padding: 10px 4px !important; word-break: break-word; }
  .lp-content .arroz-feature-table thead th:first-child, .lp-content .arroz-plan-table thead th:first-child { width: 43% !important; }
  .lp-content .arroz-feature-table tbody th, .lp-content .arroz-plan-table tbody th { padding-left: 8px !important; }
  .lp-content .arroz-feature-table thead th, .lp-content .arroz-plan-table thead th { font-size: 12px !important; }
  .lp-content .arroz-feature-table td.available { font-size: 15px !important; }
  .lp-content .arroz-feature-table__group-note { display: block; margin: 2px 0 0 !important; font-size: 11px; }
}
@media (max-width: 768px) {
  .lp-content .arroz-feature-table thead th, .lp-content .arroz-plan-table thead th { font-size: 11px !important; word-break: keep-all !important; overflow-wrap: normal !important; letter-spacing: -.01em; }
  .lp-content .arroz-feature-table thead th:first-child, .lp-content .arroz-plan-table thead th:first-child { width: 40% !important; }
}
/* the small label above the title repeated the title once the product name was dropped */
.lp-content--ownhero .eyebrow { display: none; }
@media (max-width: 767px) { .lp-content .arroz-plans { width: auto !important; margin: 32px 16px !important; } }

/* ======================================================================
   Palette & button system (2026-12-02)
   navy #0F1350 / gold #B99165 / action blue #34528f
   backgrounds: white, #F6F7F9, #F6EFE6 — text #1F2333 / #5B6275
   Buttons: apply / book / contact / download = gold; navigation = white with navy outline
   ====================================================================== */
.lp-content .wp-block-cover:has(a.vk_button_link[href="/trial/"]),
.page-plans-features .lp-content > .wp-block-group.alignfull.has-white-background-color:last-child > .wp-block-group:last-child { background: linear-gradient(125deg, #1f2c6e 0%, #34528f 100%) !important; }

/* secondary (navigation) buttons */
:is(.wp-block-button__link, .vk_button_link, .button, .arroz-solutions-button, .arroz-sec__btn, .arroz-doc__btn):not(.btn-lg) {
  background: #fff !important; color: var(--navy) !important; border: 1.5px solid var(--navy) !important; box-shadow: none !important;
  border-radius: 999px !important; font-weight: 700; letter-spacing: .02em; transition: background .2s, color .2s, border-color .2s, transform .15s;
}
:is(.wp-block-button__link, .vk_button_link, .button, .arroz-solutions-button, .arroz-sec__btn, .arroz-doc__btn):not(.btn-lg):hover { background: var(--navy) !important; color: #fff !important; transform: translateY(-1px); }
:is(.wp-block-button__link, .vk_button_link, .button, .arroz-solutions-button, .arroz-sec__btn, .arroz-doc__btn):not(.btn-lg):hover * { color: #fff !important; }
:is(.wp-block-button__link, .vk_button_link):not(.btn-lg) * { color: inherit !important; }

/* primary (conversion) buttons */
:is(.wp-block-button__link, .vk_button_link, .button, .arroz-solutions-button, .arroz-sec__btn, .arroz-doc__btn, .lp-btn):not(.btn-lg):not([class*="ghost"]):is([href="/trial/"], [href*="/meetings/arroz/"], [href="/contact/"], [href*="app.arroz.d-crossing.com/starter"], [href="#download"], [href="/download/"], [href="/security-document/"]) {
  background: var(--gold) !important; color: var(--navy) !important; border-color: var(--gold) !important; box-shadow: 0 8px 20px rgba(185, 145, 101, .28) !important;
}
:is(.wp-block-button__link, .vk_button_link, .button, .arroz-solutions-button, .arroz-sec__btn, .arroz-doc__btn, .lp-btn):not(.btn-lg):not([class*="ghost"]):is([href="/trial/"], [href*="/meetings/arroz/"], [href="/contact/"], [href*="app.arroz.d-crossing.com/starter"], [href="#download"], [href="/download/"], [href="/security-document/"]):hover {
  background: #a67d50 !important; border-color: #a67d50 !important; color: #fff !important;
}
/* on dark panels the secondary button stays white without an outline */
:is(.has-vk-color-primary-background-color, .has-vk-color-primary-dark-background-color, [class*="dark"], .arroz-sec__cta) :is(.wp-block-button__link, .button, .arroz-sec__btn):not([href="/trial/"]):not([href*="/meetings/arroz/"]):not([href="/security-document/"]) { border-color: #fff !important; }

/* header: the contact button is the one gold action, download stays quiet */
.lp-nav .lp-btn:not(.lp-btn--ghost) { background: var(--gold) !important; border-color: var(--gold) !important; color: var(--navy) !important; }
.lp-nav .lp-btn:not(.lp-btn--ghost):hover { background: #a67d50 !important; border-color: #a67d50 !important; color: #fff !important; }
.lp-nav .lp-btn--ghost { border-color: var(--navy) !important; }

/* refined details */
.lp-crumbbar { background: #f6f7f9; }
.lp-footer { background: var(--navy-deep); }
.lp-footer__copy { color: rgba(255, 255, 255, .6); }
.lp-content .wp-block-cover:has(a.vk_button_link[href="/partner-program/"]) { background: #f6efe6 !important; }
.lp-content .wp-block-cover a.vk_button_link[href="/partner-program/"] { background: #fff !important; color: var(--navy) !important; border: 1.5px solid var(--navy) !important; box-shadow: none !important; }
.lp-content .wp-block-cover a.vk_button_link[href="/partner-program/"] * { color: var(--navy) !important; }
.lp-content .wp-block-cover a.vk_button_link[href="/partner-program/"]:hover { background: var(--navy) !important; }
.lp-content .wp-block-cover a.vk_button_link[href="/partner-program/"]:hover * { color: #fff !important; }

/* gold for buttons and decorative lines is lighter (#CBB082) so navy text reads clearly; gold TEXT keeps #B99165 */
:root { --gold-btn: #cbb082; --gold-btn-hover: #bfa06d; }
:is(.wp-block-button__link, .vk_button_link, .button, .arroz-solutions-button, .arroz-sec__btn, .arroz-doc__btn, .lp-btn):not(.btn-lg):not([class*="ghost"]):is([href="/trial/"], [href*="/meetings/arroz/"], [href="/contact/"], [href*="app.arroz.d-crossing.com/starter"], [href="#download"], [href="/download/"], [href="/security-document/"]) { background: var(--gold-btn) !important; border-color: var(--gold-btn) !important; box-shadow: 0 8px 20px rgba(203, 176, 130, .3) !important; }
:is(.wp-block-button__link, .vk_button_link, .button, .arroz-solutions-button, .arroz-sec__btn, .arroz-doc__btn, .lp-btn):not(.btn-lg):not([class*="ghost"]):is([href="/trial/"], [href*="/meetings/arroz/"], [href="/contact/"], [href*="app.arroz.d-crossing.com/starter"], [href="#download"], [href="/download/"], [href="/security-document/"]):hover { background: var(--gold-btn-hover) !important; border-color: var(--gold-btn-hover) !important; color: var(--navy) !important; }
.lp-nav .lp-btn:not(.lp-btn--ghost) { background: var(--gold-btn) !important; border-color: var(--gold-btn) !important; }
.lp-nav .lp-btn:not(.lp-btn--ghost):hover { background: var(--gold-btn-hover) !important; border-color: var(--gold-btn-hover) !important; color: var(--navy) !important; }
.lp-content .wp-block-cover a.vk_button_link[href="/trial/"] { background: var(--gold-btn) !important; }
.lp-content .wp-block-cover a.vk_button_link[href="/trial/"]:hover { background: var(--gold-btn-hover) !important; }
.arroz-plans .arroz-plan--featured a.arroz-plan__btn { background: var(--gold-btn) !important; color: var(--navy) !important; }
.lp-content h2.has-text-align-center:not(.wp-block-cover h2):not(.has-white-color)::after, .lp-footer { border-color: var(--gold-btn); }
.lp-content h2.has-text-align-center:not(.wp-block-cover h2):not(.has-white-color)::after { background: var(--gold-btn); }
.lp-footer { border-top-color: var(--gold-btn); }
