/*
Theme Name: Impact
Theme URI: https://impactorthotics.ca
Author: Impact (1000978301 ONTARIO INC.)
Author URI: https://impactorthotics.ca
Description: The Impact Orthotics site: software first — one subscription for the browser and desktop apps. A block theme: every page, the header and the footer are edited in the Site Editor. Works with the Impact Core and Impact AFO Modifier plugins.
Version: 1.2.15
Requires at least: 6.5
Tested up to: 6.9
Requires PHP: 7.4
License: Proprietary
Text Domain: impact
*/

/* ---- small parts the patterns use ------------------------------------------------------------ */
.iafo-eyebrow {
	color: var(--wp--preset--color--orange-text);
	font-weight: 700;
	font-size: 0.8125rem;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	margin: 0;
}
.iafo-on-dark .iafo-eyebrow { color: #ff9b78; }

.iafo-pills { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0; }
.iafo-pill {
	display: inline-flex; align-items: center; gap: 0.5rem;
	padding: 0.3rem 0.75rem; border-radius: 999px;
	font-size: 0.8125rem; font-weight: 700; line-height: 1.3;
	background: var(--wp--preset--color--orange-soft); color: #8a2a0c;
}
.iafo-pill--teal { background: var(--wp--preset--color--teal-soft); color: #03505e; }
.iafo-pill--dark { background: #134f5d; color: #bfe0e6; font-weight: 600; }
.iafo-pill--soon { background: transparent; border: 1px dashed #4f8a97; color: #9fc4cc; font-weight: 600; }
.iafo-pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--wp--preset--color--orange); }

/* lists with check marks */
.iafo-checks { list-style: none; padding-left: 0 !important; margin: 0; display: grid; gap: 0.6rem; }
.iafo-checks li { position: relative; padding-left: 1.85rem; }
.iafo-checks li::before {
	content: ""; position: absolute; left: 0; top: 0.2em; width: 1.2rem; height: 1.2rem;
	background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23027185' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
}
.iafo-checks--inline { display: flex; flex-wrap: wrap; gap: 0.6rem 1.6rem; font-size: 0.875rem; color: var(--wp--preset--color--muted); }

/* cards (block styles on Group: Card, Card on dark, Featured card, Coming soon) */
.is-style-card {
	background: var(--wp--preset--color--white);
	border: 1.5px solid var(--wp--preset--color--line);
	border-radius: 16px;
}
.is-style-card-dark { background: #0b4552; border: 1px solid #1b5b69; border-radius: 16px; color: #b9d3d9; }
.is-style-card-dark h1, .is-style-card-dark h2, .is-style-card-dark h3, .is-style-card-dark h4 { color: #fff; }
.is-style-card-soon { background: #082f38; border: 1px dashed #2a6b79; border-radius: 16px; color: #9fc4cc; }
.is-style-card-soon h3 { color: #fff; }
.is-style-card-featured {
	background: var(--wp--preset--color--white);
	border: 2px solid var(--wp--preset--color--teal);
	border-radius: 16px;
	box-shadow: var(--wp--preset--shadow--card);
}
a.iafo-card-link { color: inherit; text-decoration: none; display: block; height: 100%; }
.is-style-card:has(> a.iafo-card-link:hover), .is-style-card-dark:has(> a.iafo-card-link:hover) { border-color: var(--wp--preset--color--teal); }
.iafo-card-more { font-weight: 600; margin-top: auto !important; }
.is-style-card-dark .iafo-card-more { color: #fff; }

/* the icon square on cards */
.iafo-icon {
	width: 52px; height: 52px; border-radius: 13px; display: flex; align-items: center; justify-content: center;
	background: var(--wp--preset--color--teal-soft); margin: 0;
}
.iafo-icon--orange { background: var(--wp--preset--color--orange-soft); }

/* the "+" between the browser and desktop cards */
.iafo-plus {
	width: 48px; height: 48px; border-radius: 50%; background: var(--wp--preset--color--orange); color: #1a0802;
	font-family: var(--wp--preset--font-family--heading); font-weight: 700; font-size: 28px;
	display: flex; align-items: center; justify-content: center; margin: auto;
}
@media (max-width: 781px) { .iafo-plus { margin: 0.25rem auto; } }

/* numbered steps */
.iafo-step { border-top: 3px solid var(--wp--preset--color--teal); padding-top: 1.25rem; }
.iafo-step--orange { border-top-color: var(--wp--preset--color--orange); }
.iafo-step-num { font-family: var(--wp--preset--font-family--heading); font-weight: 700; font-size: 0.95rem; color: var(--wp--preset--color--teal); margin: 0; }
.iafo-step--orange .iafo-step-num { color: var(--wp--preset--color--orange-text); }

/* the app window in the hero */
.iafo-window {
	border-radius: 14px; background: #fff; border: 1px solid #d6e2e6; box-shadow: var(--wp--preset--shadow--window);
	overflow: hidden; font-size: 12px; line-height: 1.4;
}
.iafo-window__bar { display: flex; align-items: center; gap: 8px; padding: 11px 14px; background: #f1f5f6; border-bottom: 1px solid #e1e9ec; }
.iafo-window__bar i { width: 11px; height: 11px; border-radius: 50%; display: inline-block; }
.iafo-window__url { margin-left: 12px; flex: 1; background: #fff; border-radius: 6px; padding: 4px 12px; color: #5b6f78; }
.iafo-window__body { display: flex; min-height: 360px; }
.iafo-window__steps { width: 176px; flex: none; background: #f6f8f9; border-right: 1px solid #e3eaed; padding: 12px 10px; display: flex; flex-direction: column; gap: 5px; }
.iafo-window__steps > div { padding: 6px 8px; border-radius: 6px; color: #5b6f78; display: flex; gap: 8px; }
.iafo-window__steps .done { background: #fff; }
.iafo-window__steps .done b { color: #1f7a3c; }
.iafo-window__steps .later { color: #8b9ba2; }
.iafo-window__now { background: #fff; border: 1.5px solid #f2a585; border-radius: 7px; padding: 8px !important; flex-direction: column; gap: 7px !important; }
.iafo-window__now strong { color: #0b2a33; }
.iafo-window__now span { display: flex; justify-content: space-between; color: #3f5560; }
.iafo-window__bar-fill { height: 5px; border-radius: 3px; background: #e6eef0; }
.iafo-window__bar-fill > b { display: block; width: 62%; height: 5px; border-radius: 3px; background: #027185; }
.iafo-window__view { flex: 1; min-width: 0; display: flex; align-items: center; justify-content: center; padding: 16px;
	background: radial-gradient(ellipse at 50% 35%, #f2f6f8, #d5dee5); }
@media (max-width: 600px) { .iafo-window__steps { display: none; } }

/* the subscription bar */
.iafo-bar { border-radius: 16px; }
.iafo-bar p { margin: 0; }

/* FAQ (Details blocks) */
.wp-block-details summary { font-weight: 600; font-size: 1.0625rem; cursor: pointer; }
.wp-block-details > *:not(summary) { color: var(--wp--preset--color--muted); }


/* ---- header and footer ------------------------------------------------------------------------ */
/* (1.1.9) the header's lower edge: a thin brand strip, teal with an orange end as in the logo, and a soft shadow
   that appears once the page scrolls under the header (browsers without scroll timelines just keep the strip) */
.wp-site-blocks > header.wp-block-template-part::after {
	content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; pointer-events: none;
	background: linear-gradient(90deg, var(--wp--preset--color--teal, #027185) 0, #0590a8 82%, var(--wp--preset--color--orange, #ee5423) 82%);
}
@supports (animation-timeline: scroll()) {
	.wp-site-blocks > header.wp-block-template-part {
		animation: iafo-header-lift linear both; animation-timeline: scroll(root); animation-range: 0 120px;
	}
	@keyframes iafo-header-lift {
		from { box-shadow: 0 0 0 rgba(6, 50, 60, 0); }
		to   { box-shadow: 0 10px 28px -12px rgba(6, 50, 60, 0.35); }
	}
}
/* (1.1.7) the header stays at the top while the page scrolls under it */
.wp-site-blocks > header.wp-block-template-part { position: sticky; top: 0; z-index: 100; }
body.admin-bar .wp-site-blocks > header.wp-block-template-part { top: var(--wp-admin--admin-bar--height, 32px); }
@media (max-width: 600px) { body.admin-bar .wp-site-blocks > header.wp-block-template-part { top: 0; } }
html { scroll-padding-top: 6rem; }	/* links to #sections land below the header, not behind it */
.iafo-header .wp-block-site-logo img { height: 48px; width: auto; }
.iafo-header .wp-block-navigation a:hover { color: var(--wp--preset--color--teal); }
.iafo-footer a { color: #c5d6db; text-decoration: none; }
.iafo-footer a:hover { color: #fff; }
.iafo-footer .iafo-footer-logo { background: #fff; border-radius: 10px; padding: 10px 12px; display: inline-block; }
.iafo-footer .iafo-footer-logo img { height: 40px; width: auto; display: block; }

/* buttons: the outline style */
.wp-block-button.is-style-outline > .wp-block-button__link {
	border: 1.5px solid #c6d5da; background: #fff; color: var(--wp--preset--color--ink);
}
.wp-block-button.is-style-outline > .wp-block-button__link:hover { background: #eef6f7; color: var(--wp--preset--color--ink); }
.iafo-on-dark .wp-block-button.is-style-outline > .wp-block-button__link { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.55); }
.iafo-on-dark .wp-block-button:not(.is-style-outline) > .wp-block-button__link { background: #fff; color: #04596a; }

/* screen-reader text */
.iafo-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* fixes after the first look */
.is-style-card-dark a, .is-style-card-dark .iafo-card-more a { color: #9fe0ea; }
.is-style-card-dark a:hover { color: #fff; }
.iafo-checks--inline { margin-top: 1.25rem !important; }
.wp-block-shortcode, .iafo-bar .impact-price { margin: 0; }
.iafo-mobile-only { display: none !important; }
@media (max-width: 599px) {
	.iafo-header-actions { display: none !important; }
	.wp-block-navigation__responsive-container.is-menu-open .iafo-mobile-only { display: flex !important; }
}

/* ---- (1.2.0) the lab first: the original site's feel in the new style --------------------------------- */
/* rounded pill buttons, as on the original site */
.wp-element-button, .wp-block-button__link, .impact-btn { border-radius: 999px !important; }

/* the hero: dark teal, a soft light behind the picture, and a curved lower edge */
.iafo-hero-lab { position: relative; overflow: hidden;
	background: radial-gradient(ellipse 70% 90% at 78% 40%, #0b6577 0%, rgba(11, 101, 119, 0) 70%), linear-gradient(135deg, #04262e 0%, #06323c 45%, #035566 100%); }
.iafo-hero-lab::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: clamp(36px, 5vw, 70px); pointer-events: none;
	background: no-repeat bottom / 100% 100% url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 70' preserveAspectRatio='none'%3E%3Cpath d='M0 70 C 420 0 1020 0 1440 70 Z' fill='%23ffffff'/%3E%3C/svg%3E"); }
.iafo-hero-lab > * { position: relative; z-index: 1; }
.iafo-hero-lab h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
.iafo-hero-lab .wp-block-button:not(.is-style-outline) > .wp-block-button__link { background: #fff; color: #04596a; }
.iafo-hero-lab .wp-block-button:not(.is-style-outline) > .wp-block-button__link:hover { background: #e6f2f4; }
.iafo-hero-lab__soft { margin-top: var(--wp--preset--spacing--40) !important; font-size: 0.95rem; }
.iafo-hero-lab__soft a { display: inline-flex; align-items: center; gap: 0.6rem; color: #d3e7eb; text-decoration: none; padding: 0.4rem 0.9rem 0.4rem 0.4rem;
	border: 1px solid rgba(255, 255, 255, 0.22); border-radius: 999px; background: rgba(255, 255, 255, 0.06); }
.iafo-hero-lab__soft a:hover { color: #fff; border-color: rgba(255, 255, 255, 0.45); }
.iafo-hero-lab__soft span { background: var(--wp--preset--color--orange); color: #1a0802; font-weight: 700; font-size: 0.75rem; letter-spacing: 0.04em;
	text-transform: uppercase; padding: 0.2rem 0.55rem; border-radius: 999px; }
.iafo-hero-art { display: block; width: 100%; height: auto; max-width: 560px; margin: 0 auto; }
@media (max-width: 781px) { .iafo-hero-art { max-width: 380px; } }

/* the services: four cards, the software's marked "New" */
.iafo-services { align-items: stretch !important; }
.iafo-service { padding: 0 !important; transition: transform 0.15s, box-shadow 0.15s, border-color 0.15s; }
.iafo-service:hover { transform: translateY(-3px); }
.iafo-service .iafo-card-link { display: flex; flex-direction: column; gap: 0.75rem; padding: 1.75rem; position: relative; }
.iafo-service h3 { margin: 0.5rem 0 0; font-size: 1.25rem; }
.iafo-service p { margin: 0; color: var(--wp--preset--color--muted); }
.iafo-service .iafo-card-more { color: var(--wp--preset--color--teal); padding-top: 0.5rem; }
.iafo-service--software { background: linear-gradient(180deg, #fff7f3 0%, #ffffff 60%); border-color: #f6cbb9 !important; }
.iafo-service--software .iafo-card-more { color: var(--wp--preset--color--orange-text); }
.iafo-new { position: absolute; top: 1.5rem; right: 1.5rem; background: var(--wp--preset--color--orange); color: #1a0802; font-weight: 700;
	font-size: 0.7rem; letter-spacing: 0.05em; text-transform: uppercase; padding: 0.25rem 0.6rem; border-radius: 999px; }
@media (min-width: 782px) and (max-width: 1100px) { .iafo-services { flex-wrap: wrap !important; } .iafo-services > .wp-block-column { flex-basis: calc(50% - 0.65rem) !important; } }

/* how we work */
.iafo-workflow-more { font-size: 1.0625rem; color: var(--wp--preset--color--muted); }
.iafo-workflow-more a { font-weight: 600; }

/* the software, featured */
.iafo-apps { list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; gap: 0.6rem; }
.iafo-apps li { display: grid; gap: 0.1rem; padding: 0.8rem 1rem 0.8rem 2.6rem; position: relative; border-radius: 12px;
	background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.1); }
.iafo-apps li::before { content: ""; position: absolute; left: 1rem; top: 1.15rem; width: 0.6rem; height: 0.6rem; border-radius: 50%; background: var(--wp--preset--color--orange); }
.iafo-apps strong { color: #fff; font-family: var(--wp--preset--font-family--heading); }
.iafo-apps span { color: #b9d3d9; font-size: 0.95rem; }
.iafo-software-cta .impact-price { font-size: 1.25rem; }
.iafo-on-dark .wp-block-button:not(.is-style-outline) > .wp-block-button__link { background: #fff; color: #04596a; }

/* contact (home) */
.iafo-contact-lead a { color: #fff; font-weight: 600; }
.iafo-service .iafo-card-link { height: 100%; box-sizing: border-box; }
.iafo-service .iafo-card-more { margin-top: auto !important; }
.iafo-hero-lab__soft span { flex: none; white-space: nowrap; }
.wp-site-blocks > main, .wp-site-blocks > footer { margin-block-start: 0; }	/* the dark sections meet the header and the footer */
@media (max-width: 781px) { .iafo-software-window { display: none; } }

/* (1.2.1) design services and software, pushed equally */
.iafo-choices { display: grid; grid-template-columns: 1fr 1fr; gap: 0.85rem; margin-top: var(--wp--preset--spacing--40); }
.iafo-choice { display: flex; align-items: center; gap: 0.85rem; padding: 1rem 1.1rem; border-radius: 16px; text-decoration: none; color: #fff;
	background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.22); transition: background 0.15s, border-color 0.15s, transform 0.15s; }
.iafo-choice:hover { background: rgba(255, 255, 255, 0.14); border-color: rgba(255, 255, 255, 0.5); color: #fff; transform: translateY(-2px); }
.iafo-choice > span:nth-child(2) { display: grid; gap: 0.15rem; flex: 1; min-width: 0; }
.iafo-choice strong { font-family: var(--wp--preset--font-family--heading); font-size: 1.05rem; }
.iafo-choice em { font-style: normal; font-size: 0.875rem; color: #b9d3d9; line-height: 1.35; }
.iafo-choice > b { font-size: 1.2rem; opacity: 0.8; }
.iafo-choice__icon { flex: none; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--wp--preset--color--teal); }
.iafo-choice__icon--orange { background: var(--wp--preset--color--orange); }
@media (max-width: 600px) { .iafo-choices { grid-template-columns: 1fr; } }

.iafo-pillars { align-items: stretch !important; }
.iafo-pillar { position: relative; display: flex; flex-direction: column; gap: 0.65rem; padding: clamp(1.75rem, 3vw, 2.5rem) !important;
	background: #fff; border: 1.5px solid var(--wp--preset--color--line); border-radius: 20px; box-shadow: 0 24px 50px -30px rgba(6, 50, 60, 0.35); overflow: hidden; }
.iafo-pillar::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--wp--preset--color--teal); }
.iafo-pillar--software::before { background: var(--wp--preset--color--orange); }
.iafo-pillar .iafo-icon { margin-bottom: 0.4rem; }
.iafo-pillar .iafo-eyebrow { margin: 0; }
.iafo-pillar h3 { margin: 0; font-size: clamp(1.5rem, 2.4vw, 1.85rem); }
.iafo-pillar__text { margin: 0; color: var(--wp--preset--color--muted); font-size: 1.0625rem; }
.iafo-pillar .iafo-checks { margin: 0.4rem 0 0; padding: 0; list-style: none; display: grid; gap: 0.5rem; }
.iafo-pillar__actions { margin-top: auto; padding-top: 1.25rem; display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem; }
.iafo-pillar__link { font-weight: 600; text-decoration: none; }
.iafo-pillar--software .iafo-pillar__link { color: var(--wp--preset--color--orange-text); }

.iafo-steps-list { list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; gap: 1rem; }
.iafo-steps-list li { display: flex; gap: 1rem; align-items: flex-start; }
.iafo-steps-list b { flex: none; width: 2.4rem; height: 2.4rem; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--wp--preset--color--teal);
	border: 1.5px solid rgba(2, 113, 133, 0.3); font-family: var(--wp--preset--font-family--heading); font-size: 0.9rem; }
.iafo-steps-list li:last-child b { color: var(--wp--preset--color--orange-text); border-color: rgba(238, 84, 35, 0.4); }
.iafo-steps-list span { display: grid; gap: 0.15rem; color: var(--wp--preset--color--muted); }
.iafo-steps-list strong { color: var(--wp--preset--color--ink); font-family: var(--wp--preset--font-family--heading); font-size: 1.05rem; }

.iafo-deliver { display: grid; gap: 0.75rem; }
.iafo-deliver__card { display: flex; gap: 1rem; align-items: flex-start; background: #fff; border: 1.5px solid var(--wp--preset--color--line); border-radius: 18px;
	padding: 1.4rem 1.5rem; box-shadow: var(--wp--preset--shadow--card); }
.iafo-deliver__card .iafo-icon { flex: none; }
.iafo-deliver__card strong { font-family: var(--wp--preset--font-family--heading); font-size: 1.15rem; color: var(--wp--preset--color--ink); }
.iafo-deliver__card p { margin: 0.25rem 0 0; color: var(--wp--preset--color--muted); }
.iafo-deliver__arrow { justify-self: center; font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--wp--preset--color--muted);
	background: #fff; border: 1px solid var(--wp--preset--color--line); border-radius: 999px; padding: 0.2rem 0.8rem; }
.iafo-deliver__foot { display: flex; align-items: center; gap: 0.5rem; margin: 0.5rem 0 0; color: var(--wp--preset--color--muted); font-size: 0.95rem; }
.iafo-deliver__foot svg { flex: none; }

/* (1.2.2) real renders: the brace on its scan, and the printed brace */
.iafo-hero-figure { position: relative; margin: 0; }
.iafo-hero-figure img { display: block; width: 100%; height: auto; filter: drop-shadow(0 30px 40px rgba(2, 20, 26, 0.45)); }
.iafo-chip { position: absolute; display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.45rem 0.9rem; border-radius: 999px; font-size: 0.85rem; font-weight: 600;
	color: #fff; background: rgba(6, 50, 60, 0.55); border: 1px solid rgba(255, 255, 255, 0.3); backdrop-filter: blur(6px); white-space: nowrap; }
.iafo-chip::before { content: ""; width: 0.5rem; height: 0.5rem; border-radius: 50%; background: #8fd3df; }
.iafo-chip--scan { top: 8%; right: 14%; }
.iafo-chip--brace { bottom: 6%; left: 4%; }
.iafo-chip--brace::before { background: var(--wp--preset--color--orange); }
@media (max-width: 600px) { .iafo-chip { font-size: 0.75rem; padding: 0.35rem 0.7rem; } }
.iafo-device { margin: 0 0 0.25rem; padding: 1.25rem 1.5rem 1rem; background: #fff; border: 1.5px solid var(--wp--preset--color--line); border-radius: 18px;
	box-shadow: var(--wp--preset--shadow--card); text-align: center; }
.iafo-device img { display: block; width: 100%; max-width: 420px; height: auto; margin: 0 auto; }
.iafo-device figcaption { margin-top: 0.5rem; font-size: 0.9rem; color: var(--wp--preset--color--muted); }
.iafo-deliver__card { padding: 1.1rem 1.3rem; }

/* (1.2.3) the brace images as live 3D previews */
.iafo-viewer { position: relative; aspect-ratio: 1100 / 798; touch-action: pan-y; cursor: grab; user-select: none; -webkit-user-select: none; }
.iafo-viewer--device { aspect-ratio: 867 / 700; max-width: 460px; margin: 0 auto; }
.iafo-viewer.is-dragging { cursor: grabbing; }
.iafo-viewer > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; transition: opacity 0.6s; max-width: none !important; }
.iafo-viewer__canvas { position: absolute; inset: 0; width: 100% !important; height: 100% !important; opacity: 0; transition: opacity 0.6s; }
.iafo-viewer.is-live > img { opacity: 0; }
.iafo-viewer.is-live > .iafo-viewer__canvas { opacity: 1; }
.iafo-viewer__hint { position: absolute; right: 0.75rem; bottom: 0.5rem; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.02em; opacity: 0; transition: opacity 0.3s;
	padding: 0.25rem 0.6rem; border-radius: 999px; pointer-events: none; }
.iafo-viewer.is-live > .iafo-viewer__hint { opacity: 0.75; }
.iafo-viewer.is-live:hover > .iafo-viewer__hint { opacity: 1; }
.iafo-viewer--hero .iafo-viewer__hint { color: #d3e7eb; background: rgba(6, 50, 60, 0.5); border: 1px solid rgba(255, 255, 255, 0.2); bottom: auto; top: 0.25rem; right: 0.25rem; }
.iafo-viewer--device .iafo-viewer__hint { color: var(--wp--preset--color--muted); background: var(--wp--preset--color--soft); }
.iafo-hero-figure .iafo-viewer > img { filter: drop-shadow(0 30px 40px rgba(2, 20, 26, 0.45)); }
.iafo-device img { max-width: none; }
@media (prefers-reduced-motion: reduce) { .iafo-viewer > img, .iafo-viewer__canvas { transition: none; } }
/* (1.2.4) the mirrored view (hand upper right, thumb up): the labels sit in the empty corners */
.iafo-chip--brace { top: 4%; bottom: auto; left: 0; }
.iafo-chip--scan { top: auto; bottom: 26%; right: 0; }
.iafo-viewer--hero .iafo-viewer__hint { top: auto; bottom: 0.25rem; right: 0.25rem; }

/* (1.2.5) the software as one suite of packages */
.iafo-badge { display: inline-block; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; padding: 0.2rem 0.6rem; border-radius: 999px; white-space: nowrap; }
.iafo-badge--ready { background: #1f7a3c; color: #fff; }
.iafo-badge--soon { background: var(--wp--preset--color--orange); color: #1a0802; }
.iafo-package__head { display: flex; align-items: center; flex-wrap: wrap; gap: 0.6rem; margin: 0 0 0.75rem; }
.iafo-package__head strong { font-family: var(--wp--preset--font-family--heading); font-size: 1.1rem; color: #fff; }
.iafo-package { margin-top: 1.5rem; }
.iafo-package .iafo-apps { margin-top: 0; }
.iafo-coming { display: flex; align-items: center; flex-wrap: wrap; gap: 0.6rem; margin: 0.9rem 0 0; color: #b9d3d9; font-size: 0.95rem; }
.iafo-suite { display: grid; grid-template-columns: 1.5fr 1fr; gap: 1.25rem; margin-top: var(--wp--preset--spacing--50); }
.iafo-suite__main, .iafo-suite__all, .iafo-suite__soon { padding: 1.75rem; }
.iafo-suite__features { display: grid; gap: 1.25rem; margin-top: 0.5rem; }
.iafo-suite__features > div { padding-left: 1.1rem; border-left: 3px solid var(--wp--preset--color--orange); }
.iafo-suite__features h3 { margin: 0 0 0.3rem; font-size: 1.15rem; color: #fff; }
.iafo-suite__features p { margin: 0; color: #b9d3d9; }
.iafo-suite__side { display: grid; gap: 1.25rem; align-content: start; }
.iafo-suite__all h3 { margin: 0 0 0.75rem; font-size: 1.1rem; color: #fff; }
.iafo-suite__all .iafo-checks { margin: 0; padding: 0; list-style: none; display: grid; gap: 0.45rem; color: #d3e7eb; }
.iafo-suite__soon p { margin: 0; }
.iafo-suite__soon .iafo-package__head { margin-bottom: 0.5rem; }
@media (max-width: 900px) { .iafo-suite { grid-template-columns: 1fr; } }

/* (1.2.6) screenshots of the software */
.iafo-screens { display: grid; gap: var(--wp--preset--spacing--60); margin-top: var(--wp--preset--spacing--50); }
.iafo-screens__head h3 { margin: 0 0 0.3rem; font-size: 1.35rem; }
.iafo-screens__head p { margin: 0; color: var(--wp--preset--color--muted); }
.iafo-screens__strip { display: grid; grid-auto-flow: column; grid-auto-columns: min(78%, 720px); gap: 1.25rem; overflow-x: auto;
	scroll-snap-type: x mandatory; padding: 1.25rem 0.25rem 1.5rem; margin: 0 -0.25rem; scrollbar-width: thin; }
.iafo-screens__strip:focus-visible { outline: 2px solid var(--wp--preset--color--teal); outline-offset: 4px; border-radius: 8px; }
.iafo-shot { margin: 0; scroll-snap-align: start; }
.iafo-shot img { display: block; width: 100%; height: auto; border-radius: 12px; border: 1px solid #d6e2e6; box-shadow: 0 18px 40px -22px rgba(6, 50, 60, 0.45);
	transition: transform 0.15s, box-shadow 0.15s; }
.iafo-shot a:hover img { transform: translateY(-2px); box-shadow: 0 24px 50px -22px rgba(6, 50, 60, 0.55); }
.iafo-shot figcaption { margin-top: 0.6rem; font-size: 0.92rem; color: var(--wp--preset--color--muted); }
@media (max-width: 600px) { .iafo-screens__strip { grid-auto-columns: 88%; } }
.iafo-appshot { margin: 0; }
.iafo-appshot img { display: block; width: 100%; height: auto; border-radius: 14px; border: 1px solid rgba(255, 255, 255, 0.15); box-shadow: 0 30px 70px rgba(0, 0, 0, 0.35); }
@media (max-width: 781px) { .iafo-software-window { display: block; } }

/* (1.2.8) the cloud storage highlight: icon beside the words on wide screens */
.iafo-cloud-card { display: grid !important; grid-template-columns: auto 1fr; column-gap: 1.25rem; align-items: start; }
.iafo-cloud-card > .iafo-icon { grid-row: span 2; }
.iafo-cloud-card h3, .iafo-cloud-card p { margin: 0 !important; }
.iafo-cloud-card p { margin-top: 0.4rem !important; }
@media (max-width: 600px) { .iafo-cloud-card { grid-template-columns: 1fr; row-gap: 0.75rem; } .iafo-cloud-card > .iafo-icon { grid-row: auto; } }

/* (1.2.9) the screenshots sit in the dark teal band (where the suite section was) */
.iafo-screens-dark .iafo-screens__head h3 { color: #fff; }
.iafo-screens-dark .iafo-screens__head p, .iafo-screens-dark .iafo-shot figcaption { color: #b9d3d9; }
.iafo-screens-dark .iafo-shot img { border-color: rgba(255, 255, 255, 0.14); box-shadow: 0 20px 44px -18px rgba(0, 0, 0, 0.6); }
.iafo-screens-dark .iafo-shot a:hover img { box-shadow: 0 26px 54px -18px rgba(0, 0, 0, 0.7); }
.iafo-screens-dark .iafo-screens__strip { scrollbar-color: rgba(255, 255, 255, 0.3) transparent; }

/* Privacy (Software page): heading, then three cards */
.iafo-privacy__head { max-width: 860px; }
.iafo-privacy__head p.has-large-font-size { margin-top: 0.75rem; }
.iafo-privacy__cols > .wp-block-column.is-style-card { background: #fff; padding: 1.75rem; }
.iafo-privacy__cols h3 { margin: 0 0 1rem; font-size: 1.15rem; }
.iafo-privacy__cols .iafo-checks { font-size: 0.95rem; }
