/* ---------------------------------------------------------------------
   1sales: product page and trial page
   Layout follows the 1sales product site; the interface mockups (.ui-*)
   are built in HTML so numbers and labels stay sharp and translatable.
   --------------------------------------------------------------------- */

/* Backgrounds: red glow on dark sections, fine dot texture on light ones */
.s1-glow { overflow: hidden; }
.s1-glow::before {
   content: "";
   position: absolute;
   inset: 0;
   background:
      radial-gradient(ellipse 55% 45% at 85% 0%, rgba(196, 33, 38, 0.22), transparent 70%),
      radial-gradient(ellipse 40% 35% at 0% 100%, rgba(122, 20, 20, 0.2), transparent 70%);
   pointer-events: none;
}
.s1-glow > .container { position: relative; }
.s1-textured { background-image: radial-gradient(rgba(16, 24, 32, 0.07) 1px, transparent 1px), linear-gradient(180deg, #EFEFEB, var(--warm)); background-size: 22px 22px, auto; }
.s1-textured.light { background-image: radial-gradient(rgba(16, 24, 32, 0.06) 1px, transparent 1px), linear-gradient(180deg, var(--white), #F6F6F3); }

/* Shared lists */
.s1-checks { list-style: none; display: grid; gap: 10px; margin-top: 22px; }
.s1-checks li { display: flex; gap: 12px; align-items: flex-start; }
.s1-checks .ico { display: none; }
.s1-checks li::before { content: ""; flex-shrink: 0; width: 10px; height: 5px; margin: 8px 2px 0 2px; border-left: 2px solid var(--red); border-bottom: 2px solid var(--red); transform: rotate(-45deg); }
.dark .s1-checks li { color: #DCE1E6; }
.dark .s1-checks li::before, .is-featured .s1-checks li::before { border-color: var(--red-bright); }
.s1-checks.small { gap: 8px; margin-top: 14px; font-size: 15px; }
.s1-checks.small li::before { margin-top: 7px; }
.s1-center { margin-top: 72px; text-align: center; }

/* Hero */
.s1-hero h1 { font-size: clamp(36px, 3.4vw, 50px); }
.s1-hero .hero-text { max-width: 640px; }
.s1-hero .hero-lead { max-width: 580px; }
.s1-hero-inner { position: relative; }
/* Hero image fades into the navy on the left; both cards sit side by side
   in the darker lower part of the image */
.s1-hero .hero-bg img { -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 35%); mask-image: linear-gradient(90deg, transparent 0, #000 35%); }
.s1-hero::before { background: linear-gradient(90deg, var(--navy) 0%, var(--navy) 38%, rgba(16, 24, 32, 0.35) 55%, rgba(16, 24, 32, 0) 72%), linear-gradient(0deg, rgba(16, 24, 32, 0.9) 0%, rgba(16, 24, 32, 0) 30%); }
.s1-hero-floats { position: absolute; right: var(--container-padding); bottom: 40px; display: flex; align-items: flex-end; gap: 16px; }
.s1-hero-floats .ui-float { position: static; }
.s1-ticks { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 26px; font-size: 15px; color: var(--muted-dark); }
.s1-ticks li { display: inline-flex; align-items: center; gap: 8px; }
.s1-ticks .ico { width: 16px; height: 16px; color: var(--red-bright); }

/* Stage: photo with floating interface cards. The main card overhangs the
   photo towards the text, the small cards sit on the outer corners, so the
   middle of the photo stays visible. */
.s1-stage { position: relative; padding: 32px 0; }
.s1-photo { position: relative; overflow: hidden; border-radius: 16px; box-shadow: 0 30px 70px rgba(0, 0, 0, 0.45); }
.s1-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.s1-photo img.mirror { transform: scaleX(-1); }
.s1-photo.dim::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(16, 24, 32, 0.7) 0%, rgba(16, 24, 32, 0.25) 55%, rgba(16, 24, 32, 0.05) 100%); }
.s1-row.flip .s1-photo.dim::after { background: linear-gradient(270deg, rgba(16, 24, 32, 0.7) 0%, rgba(16, 24, 32, 0.25) 55%, rgba(16, 24, 32, 0.05) 100%); }
.s1-stage .s1-main { position: absolute; left: -8%; top: 50%; width: 66%; transform: translateY(-50%); }
.s1-stage .s1-main.narrow { width: 58%; }
.s1-row.flip .s1-stage .s1-main { left: auto; right: -8%; }
.ui-float { position: absolute; z-index: 2; width: 236px; }
.s1-f-top-right { top: 0; right: -28px; }
.s1-f-bottom-right { bottom: 0; right: 5%; }
.s1-f-bottom-left { bottom: 0; left: -24px; }
.s1-row.flip .s1-f-top-right { right: auto; left: -28px; }
.s1-row.flip .s1-f-bottom-right { right: auto; left: 5%; }

/* Interface cards */
.ui-card, .ui-float { padding: 18px 20px; border-radius: 12px; font-size: 13px; line-height: 1.45; box-shadow: 0 24px 50px rgba(0, 0, 0, 0.4); }
.ui-card { z-index: 1; background: rgba(26, 36, 48, 0.96); border: 1px solid var(--navy-line); color: #DCE1E6; }
.ui-card.ui-light, .ui-white { background: var(--white); color: var(--text); border: 0; }
.ui-red { background: linear-gradient(160deg, #A51C1C, #6A1212); color: var(--white); }
.ui-dark { background: #151E28; border: 1px solid var(--navy-line); color: #DCE1E6; }
.ui-card p, .ui-float p { margin: 0; }
.ui-muted { color: var(--muted-dark); font-size: 12px; }
.ui-white .ui-muted, .ui-light .ui-muted { color: var(--muted); }
.ui-title { display: flex; align-items: center; gap: 8px; margin-bottom: 12px !important; font-weight: 600; font-size: 14px; }
.ui-title.big { font-size: 16px; color: var(--white); }
.ui-label { display: flex; align-items: center; gap: 6px; margin-bottom: 6px !important; font-size: 12px; font-weight: 500; }
.ui-label .ico { width: 14px; height: 14px; color: currentColor; }
.ui-red .ui-label, .ui-dark .ui-label { color: rgba(255, 255, 255, 0.85); }
.ui-big { font-size: 30px; font-weight: 800; line-height: 1.1; color: var(--white); }
.ui-strong { font-weight: 600; font-size: 14px; }
.ui-meta { margin-top: 8px !important; padding-top: 8px; border-top: 1px solid rgba(255, 255, 255, 0.2); font-size: 12px; opacity: 0.85; }
.ui-chip-icon { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; border-radius: 6px; background: var(--navy); }
.ui-chip-icon .ico { width: 14px; height: 14px; color: var(--white); }
.ui-rows { margin: 0; display: grid; gap: 6px; }
.ui-rows div { display: flex; justify-content: space-between; gap: 12px; }
.ui-rows dd { margin: 0; font-weight: 700; white-space: nowrap; }
.ui-rows .on { margin: 4px -8px 0; padding: 6px 8px; border-radius: 6px; background: var(--red); color: var(--white); }
.ui-red .ui-rows { margin-top: 10px; padding-top: 10px; border-top: 1px solid rgba(255, 255, 255, 0.2); }
.ui-dot { display: inline-block; width: 8px; height: 8px; margin-right: 6px; border-radius: 50%; background: var(--red-bright); }
.ui-dot.green { background: #2FB463; }
.ui-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.ui-head strong { color: var(--white); }
.ui-bar { height: 6px; margin: 8px 0; border-radius: 3px; background: rgba(255, 255, 255, 0.1); overflow: hidden; }
.ui-bar span { display: block; height: 100%; border-radius: 3px; background: var(--red-bright); }
.ui-bar.green span { background: #2FB463; }
.ui-bar.grey span { background: #6B7682; }
.ui-bar.light { background: rgba(255, 255, 255, 0.25); }
.ui-bar.light span { background: var(--white); }
.ui-white .ui-bar { background: #E8E8E4; }
.ui-contact { display: flex; align-items: center; gap: 12px; margin: 14px 0; }
.ui-contact > div { flex: 1; min-width: 0; }
.ui-contact strong { display: block; font-size: 15px; color: var(--white); }
.ui-white .ui-contact strong, .ui-light .ui-contact strong { color: var(--text); font-size: 14px; }
.ui-contact.small { margin: 0 0 12px; }
.ui-avatar { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; flex-shrink: 0; border-radius: 10px; background: #2A3644; font-weight: 700; font-size: 13px; color: var(--white); }
.ui-avatar.dark { width: 32px; height: 32px; border-radius: 50%; background: var(--navy); font-size: 11px; }
.ui-pill { display: inline-flex; align-items: center; gap: 4px; padding: 3px 10px; border-radius: 999px; font-size: 11px; font-weight: 600; white-space: nowrap; }
.ui-pill.red { background: var(--red); color: var(--white); }
.ui-pill.light { background: #EFEFEB; color: var(--text); margin-top: 6px; }
.ui-pill.light .ico { width: 12px; height: 12px; color: currentColor; }
.ui-pill.dark { background: #2A3644; color: #DCE1E6; font-weight: 500; }
.ui-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.ui-box { padding: 12px 14px; border-radius: 8px; background: rgba(255, 255, 255, 0.04); }
.ui-box .ui-label { color: #F0B8B8; }
.ui-label.plain { color: var(--muted-dark); }
.ui-red .ui-label.plain, .ui-dark .ui-label.plain { color: rgba(255, 255, 255, 0.8); }
.ui-stack { margin: 0; }
.ui-stack dt { font-size: 11px; color: var(--muted-dark); }
.ui-stack dd { margin: 0 0 8px; font-weight: 600; color: var(--white); }
.ui-results { list-style: none; display: grid; gap: 5px; }
.ui-results li { display: flex; align-items: center; gap: 8px; padding: 5px 8px; border-radius: 6px; background: rgba(255, 255, 255, 0.05); }
.ui-results li span { display: inline-flex; align-items: center; justify-content: center; width: 18px; height: 18px; border-radius: 4px; background: rgba(255, 255, 255, 0.1); font-size: 11px; }
.ui-results li.on { background: var(--red); color: var(--white); }
.ui-progress { margin-bottom: 10px; }
.ui-progress p { display: flex; justify-content: space-between; font-weight: 600; }
.ui-progress .ui-bar { margin: 5px 0 3px; }
.ui-progress small { font-size: 11px; color: #2FB463; }
.ui-funnel { list-style: none; display: grid; gap: 8px; margin-top: 12px; }
.ui-funnel li { display: grid; grid-template-columns: 96px 1fr 40px; align-items: center; gap: 10px; }
.ui-funnel b { width: var(--w); min-width: 36px; padding: 4px 8px; border-radius: 4px; background: #3A4756; color: var(--white); font-size: 12px; }
.ui-funnel li.on b { background: var(--red); }
.ui-funnel em { font-style: normal; font-size: 12px; color: var(--muted-dark); text-align: right; }
.ui-steps { display: flex; align-items: center; gap: 12px; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--navy-line); }
.ui-steps .ico { width: 18px; height: 18px; color: var(--muted-dark); }
.ui-steps .ui-muted { margin-left: auto; }
.ui-bubble { margin: 0 0 10px !important; padding: 10px 12px; border-radius: 10px; background: #F2F2EE; }
.ui-ab { display: grid; grid-template-columns: 14px 1fr 36px; align-items: center; gap: 8px; font-weight: 600; }
.ui-post { margin: 4px 0 12px !important; }
.ui-chart { display: flex; align-items: flex-end; gap: 6px; height: 110px; padding: 10px; border-radius: 8px; background: #F2F2EE; }
.ui-chart i { flex: 1; height: var(--h); border-radius: 3px 3px 0 0; background: #C9C9C0; }
.ui-chart i.on { background: var(--red); }
.ui-axis { display: flex; justify-content: space-between; margin-top: 4px !important; font-size: 11px; color: var(--muted); }
.ui-reacts { display: flex; gap: 18px; margin-top: 10px !important; padding-top: 10px; border-top: 1px solid #E8E8E4; }
.ui-slot { margin-bottom: 8px; padding: 8px 10px; border-radius: 8px; background: #F2F2EE; }
.ui-slot p { display: flex; justify-content: space-between; align-items: center; }
.ui-slot .ui-pill.light { margin: 0; background: var(--white); }
.ui-path { list-style: none; display: grid; gap: 8px; }
.ui-path p { display: flex; gap: 8px; align-items: baseline; }
.ui-path span { flex: 1; }
.ui-path em { font-style: normal; font-size: 12px; color: var(--muted-dark); }
.ui-path b { min-width: 40px; text-align: right; color: var(--white); }
.ui-path .ui-bar { margin: 4px 0 0; }
.ui-hint { display: flex; gap: 8px; margin-top: 12px !important; padding: 10px 12px; border-radius: 8px; background: rgba(196, 33, 38, 0.14); border: 1px solid rgba(226, 52, 58, 0.4); }
.ui-hint .ico { width: 16px; height: 16px; color: var(--red-bright); }
.ui-hint strong { color: var(--white); }
.ui-team { display: grid; grid-template-columns: 32px 1fr auto auto; align-items: center; gap: 8px; margin-bottom: 8px; }
.ui-state { display: inline-flex; align-items: center; gap: 5px; font-size: 11px; }
.ui-state::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.ui-state.green { color: #1F9A52; }
.ui-state.amber { color: #D9822B; }

/* Live figures */
.s1-live { background: var(--navy-card); border-top: 1px solid var(--navy-line); border-bottom: 1px solid var(--navy-line); color: #C9D0D7; }
.s1-live-grid { display: grid; grid-template-columns: 300px auto auto 1fr; gap: 56px; align-items: center; padding-top: 44px; padding-bottom: 44px; }
.s1-live-intro p { font-size: 14px; color: var(--muted-dark); }
.live-label { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 8px !important; font-size: 14px; font-weight: 600; color: var(--white) !important; }
.live-dot { position: relative; width: 10px; height: 10px; border-radius: 50%; background: var(--red-bright); }
.live-dot::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 2px solid var(--red-bright); opacity: 0; animation: live-pulse 2s ease-out infinite; }
@keyframes live-pulse { 0% { transform: scale(0.5); opacity: 0.8; } 100% { transform: scale(1.4); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .live-dot::after { animation: none; } }
.s1-live-fig strong { display: block; font-size: clamp(34px, 3.6vw, 52px); font-weight: 800; line-height: 1.05; color: var(--white); letter-spacing: -0.02em; }
.s1-live-fig span { font-size: 15px; color: var(--muted-dark); }

/* A working day: you | time | system, plus the list of chores on the right */
.s1-day-grid { display: grid; grid-template-columns: 1fr 360px; gap: 48px; align-items: start; }
.s1-day-head, .s1-day li { display: grid; grid-template-columns: 1fr 72px 1fr; gap: 16px; }
.s1-day-head { margin-bottom: 16px; font-size: 15px; font-weight: 600; }
.s1-day-head span:first-child { color: var(--red); }
.s1-day-head span:last-child { grid-column: 3; }
.s1-day { position: relative; list-style: none; }
.s1-day::before { content: ""; position: absolute; top: 0; bottom: 0; left: 50%; width: 1.5px; background: var(--stone); }
.s1-day li { margin-bottom: 14px; }
.s1-day time { grid-column: 2; grid-row: 1; align-self: start; justify-self: center; position: relative; margin-top: 18px; padding: 3px 9px; border: 1px solid var(--stone); border-radius: 999px; background: var(--white); font-size: 13px; font-weight: 600; font-variant-numeric: tabular-nums; }
.s1-day li.you .s1-day-card { grid-column: 1; grid-row: 1; }
.s1-day li.sys .s1-day-card { grid-column: 3; grid-row: 1; }
.s1-day-card { padding: 18px 20px; border-radius: var(--radius-lg); background: var(--white); box-shadow: 0 10px 26px rgba(16, 24, 32, 0.07); }
.s1-day li.sys .s1-day-card { background: var(--navy); color: #C9D0D7; box-shadow: 0 14px 30px rgba(16, 24, 32, 0.2); }
.s1-day-tag { display: flex; align-items: center; gap: 6px; margin-bottom: 6px !important; font-size: 12px; font-weight: 600; color: var(--red); }
.s1-day li.sys .s1-day-tag { color: #F07D7D; }
.s1-day-tag .ico { width: 14px; height: 14px; color: currentColor; }
.s1-day-card strong { display: block; margin-bottom: 4px; font-size: 17px; font-weight: 600; line-height: 1.3; }
.s1-day li.sys .s1-day-card strong { color: var(--white); }
.s1-day-card p { font-size: 15px; color: var(--muted); }
.s1-day li.sys .s1-day-card p { color: #B9C2CB; }
.s1-day li.sys .s1-day-card .s1-day-tag { color: #F07D7D; }
.s1-chores { position: sticky; top: calc(var(--header-height) + 24px); padding: 30px 28px; border-radius: var(--radius-lg); background: var(--navy); color: #DCE1E6; box-shadow: 0 24px 50px rgba(16, 24, 32, 0.25); }
.s1-chores h3 { margin-bottom: 18px; font-size: 24px; color: var(--white); }
.s1-chores ul { list-style: none; }
.s1-chores li { padding: 14px 0; border-top: 1px solid var(--navy-line); }
.s1-chores s, .s1-chores span { display: flex; gap: 10px; font-size: 15px; }
.s1-chores s { color: #E2343A; text-decoration-color: rgba(226, 52, 58, 0.8); }
.s1-chores s::before { content: "×"; text-decoration: none; display: inline-block; }
.s1-chores span { margin-top: 4px; font-weight: 600; color: var(--white); }
.s1-chores span::before { content: "✓"; color: var(--white); }

/* Every channel delivers: alternating rows */
.s1-row { display: grid; grid-template-columns: 0.72fr 1.28fr; gap: 64px; align-items: center; margin-top: 112px; }
.s1-row.flip { grid-template-columns: 1.28fr 0.72fr; }
.s1-row.flip .s1-row-text { order: 2; }
.s1-row-text h3 { font-size: clamp(30px, 3vw, 40px); margin-bottom: 18px; letter-spacing: -0.02em; line-height: 1.12; }
.s1-row-text > p { font-size: 17px; color: #C9D0D7; }

/* One system instead of ten tools */
.s1-features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px 40px; }
.s1-features h3 { display: flex; align-items: center; gap: 10px; margin: 0; font-size: 19px; }
.s1-features h3::before { content: ""; width: 4px; height: 18px; background: var(--red); transform: skewX(-14deg); }
.s1-features .s1-checks li { color: var(--text); }

/* Three steps */
.s1-steps { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 40px; }
.s1-steps li { padding: 30px 28px; border: 1px solid var(--navy-line); border-radius: var(--radius-lg); background: var(--navy-card); }
.s1-num { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; margin-bottom: 20px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, var(--red), var(--crimson)); color: var(--white); font-weight: 700; }
.s1-steps h3 { font-size: 20px; }
.s1-steps p { font-size: 15px; color: var(--muted-dark); }

/* Packages */
.billing-toggle { display: flex; width: fit-content; margin: -16px auto 48px; padding: 5px; border: 1px solid var(--stone); border-radius: 999px; background: #F2F2EE; }
.billing-toggle button, .billing-toggle label span { display: inline-flex; align-items: center; gap: 8px; padding: 9px 22px; border: 0; border-radius: 999px; background: none; font: inherit; font-size: 15px; font-weight: 500; color: var(--muted); cursor: pointer; }
.billing-toggle button.is-active { background: var(--navy); color: var(--white); }
.save-pill { display: inline-block; padding: 3px 10px; border-radius: 999px; background: var(--red); color: var(--white); font-size: 13px; font-weight: 600; }
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.price-card { position: relative; display: flex; flex-direction: column; padding: 34px 30px; border: 1px solid #E2E2DC; border-radius: var(--radius-lg); background: var(--white); box-shadow: 0 14px 34px rgba(16, 24, 32, 0.06); }
.price-card.is-featured { border-color: var(--navy); background: var(--navy); color: #DCE1E6; box-shadow: 0 30px 60px rgba(16, 24, 32, 0.3); }
.price-badge { position: absolute; top: 30px; right: 26px; padding: 4px 12px; border-radius: 999px; background: var(--red); color: var(--white); font-size: 13px; font-weight: 600; }
.price-card h3 { font-size: 28px; margin-bottom: 4px; }
.price-card.is-featured h3 { color: var(--white); }
.price-slogan { min-height: 3.2em; color: var(--muted); font-size: 16px; }
.is-featured .price-slogan, .is-featured .price-unit, .is-featured .price span { color: var(--muted-dark); }
.price { display: flex; align-items: baseline; gap: 8px; margin: 10px 0 0; }
.price strong { font-size: 48px; font-weight: 800; line-height: 1; letter-spacing: -0.02em; }
.is-featured .price strong { color: var(--white); }
.price span { font-size: 14px; color: var(--muted); }
.price-unit { margin: 6px 0 22px; font-size: 14px; color: var(--muted); }
.price-btn { width: 100%; margin-bottom: 26px; }
.price-list-head { margin: 0; padding-top: 22px; border-top: 1px solid #E8E8E4; font-size: 15px; font-weight: 600; }
.is-featured .price-list-head { border-top-color: var(--navy-line); color: var(--white); }
.is-featured .s1-checks li { color: #DCE1E6; }
.price-foot { margin-top: 32px; text-align: center; font-size: 15px; color: var(--muted); }

/* Partner section and closing */
.product-of { margin-top: 10px; font-size: 14px; color: var(--muted); }
.closing-btns { justify-content: center; }

/* Responsive */
@media (max-width: 1100px) {
   .s1-day-grid { grid-template-columns: 1fr; }
   .s1-chores { position: static; }
   .s1-live-grid { grid-template-columns: 1fr 1fr; gap: 28px 40px; }
   .s1-live-intro { grid-column: 1 / -1; }
   .price-grid { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
   .price-slogan { min-height: 0; }
}

@media (max-width: 900px) {
   .s1-row, .s1-row.flip { grid-template-columns: 1fr; gap: 28px; margin-top: 72px; }
   .s1-row.flip .s1-row-text { order: 0; }
   .s1-stage .s1-main { left: 3%; }
   .s1-row.flip .s1-stage .s1-main { right: 3%; }
   .s1-f-top-right, .s1-row.flip .s1-f-top-right { right: 0; left: auto; top: -8px; }
   .s1-f-bottom-right, .s1-row.flip .s1-f-bottom-right { right: 3%; left: auto; }
   .s1-f-bottom-left { left: 0; }
   .s1-features { grid-template-columns: 1fr 1fr; }
   .s1-steps { grid-template-columns: 1fr; }
   .s1-day::before { left: 31px; }
   .s1-day-head { display: none; }
   .s1-day li, .s1-day li.you, .s1-day li.sys { grid-template-columns: 64px 1fr; gap: 12px; }
   .s1-day time { grid-column: 1; margin-top: 14px; }
   .s1-day li.you .s1-day-card, .s1-day li.sys .s1-day-card { grid-column: 2; }
}

@media (max-width: 640px) {
   /* On phones the interface cards stack below the photo instead of floating */
   .s1-stage { padding: 0; display: grid; gap: 14px; }
   .s1-stage .s1-main, .s1-stage .s1-main.narrow, .ui-float,
   .s1-row.flip .s1-stage .s1-main, .s1-row.flip .s1-f-top-right, .s1-row.flip .s1-f-bottom-right { position: static; width: auto; transform: none; }
   .s1-photo img { aspect-ratio: 16 / 10; }
   .ui-cols { grid-template-columns: 1fr; }
   .s1-features { grid-template-columns: 1fr; gap: 32px; }
   .s1-live-grid { grid-template-columns: 1fr; }
   .price strong { font-size: 42px; }
}

/* ---------------------------------------------------------------------
   Trial page
   --------------------------------------------------------------------- */

.trial { padding-top: 88px; background: radial-gradient(ellipse at 90% 0%, #3A1419 0%, var(--navy) 50%); }
.trial [hidden] { display: none !important; }
.trial h1 { font-size: clamp(38px, 5vw, 60px); margin-bottom: 20px; }
.trial > .container > .lead { margin-bottom: 48px; }
.trial-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 32px; align-items: start; }
.trial-card { min-width: 0; padding: 32px; border: 1px solid var(--navy-line); border-radius: var(--radius-lg); background: var(--navy-card); }
.trial-card h2 { font-size: 22px; margin: 0; color: var(--white); }
.trial-card-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 22px; }
.billing-toggle.small { margin: 0; padding: 4px; background: var(--navy); }
.billing-toggle.small label span { padding: 7px 16px; font-size: 15px; }
.billing-toggle input, .plan-option input { position: absolute; opacity: 0; pointer-events: none; }
.billing-toggle input:focus-visible + span { outline: 2px solid var(--white); }
.plan-option { position: relative; display: flex; align-items: center; gap: 16px; margin-bottom: 12px; padding: 18px 20px 18px 52px; border: 1px solid var(--navy-line); border-radius: var(--radius); cursor: pointer; transition: border-color var(--transition-fast), background var(--transition-fast); }
.plan-option::before { content: ""; position: absolute; left: 20px; top: 50%; width: 18px; height: 18px; margin-top: -9px; border: 2px solid var(--muted-dark); border-radius: 50%; }
.plan-option.is-selected { border-color: var(--red); background: rgba(196, 33, 38, 0.1); }
.plan-option.is-selected::before { border-color: var(--red-bright); background: radial-gradient(circle, var(--red-bright) 0 4px, transparent 5px); }
.plan-option:has(input:focus-visible) { outline: 2px solid var(--white); }
.plan-main { flex: 1; min-width: 0; }
.plan-main strong { display: flex; align-items: center; gap: 10px; font-size: 18px; color: var(--white); }
.plan-main small, .plan-price small { display: block; font-size: 14px; color: var(--muted-dark); }
.plan-badge { padding: 2px 10px; border-radius: 999px; background: rgba(196, 33, 38, 0.25); color: var(--red-bright); font-size: 12px; font-style: normal; font-weight: 600; }
.plan-price { text-align: right; white-space: nowrap; }
.plan-price strong { font-size: 18px; color: var(--white); }
.save-line { margin: 6px 0 4px; }
.plan-note { font-size: 14px; color: var(--muted-dark); }
.trial-timeline { list-style: none; margin-top: 22px; padding-top: 22px; border-top: 1px solid var(--navy-line); display: grid; gap: 16px; }
.trial-timeline li { position: relative; padding-left: 26px; }
.trial-timeline li::before { content: ""; position: absolute; left: 0; top: 7px; width: 10px; height: 10px; border-radius: 50%; background: var(--red-bright); }
.trial-timeline li:not(:last-child)::after { content: ""; position: absolute; left: 4px; top: 22px; bottom: -14px; width: 2px; background: var(--navy-line); }
.trial-timeline strong { display: block; color: var(--white); font-weight: 600; }
.trial-timeline span { font-size: 15px; color: var(--muted-dark); }

.trial-form { background: var(--white); border-color: var(--white); color: var(--text); }
.trial-form h2 { color: var(--text); margin-bottom: 22px; }
.field { display: block; margin-bottom: 18px; }
.field span { display: block; margin-bottom: 6px; font-size: 15px; font-weight: 600; }
.field input { width: 100%; height: 50px; padding: 0 14px; border: 1px solid var(--stone); border-radius: var(--radius); font: inherit; color: var(--text); background: var(--white); }
.field input:focus { outline: 2px solid var(--crimson); outline-offset: 0; border-color: var(--crimson); }
.code-toggle { margin-bottom: 18px; padding: 0; border: 0; background: none; font: inherit; font-size: 15px; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-small { font-size: 14px; color: var(--muted); }
.trial-submit { width: 100%; margin: 6px 0 16px; }
.trial-submit:disabled { opacity: 0.6; cursor: wait; }
.form-message { margin-bottom: 12px; padding: 12px 16px; border-radius: var(--radius); background: rgba(196, 33, 38, 0.08); color: var(--crimson); font-size: 15px; }
.form-fallback { width: 100%; margin-bottom: 16px; }
.form-links { font-size: 14px; color: var(--muted); }
.form-links a { color: var(--text); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.trial-trust { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 16px 40px; margin-top: 48px; color: var(--muted-dark); font-size: 15px; }
.trial-trust li { display: inline-flex; align-items: center; gap: 10px; }
.trial-trust .ico { width: 22px; height: 22px; color: var(--red-bright); }

@media (max-width: 900px) {
   .trial { padding-top: 56px; }
   .trial-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
   .trial-card { padding: 24px 18px; }
   .plan-option { flex-wrap: wrap; padding-left: 48px; }
   .plan-price { text-align: left; }
}
.billing-toggle.small { border-color: var(--navy-line); }
.billing-toggle.small label span { color: var(--muted-dark); }
.billing-toggle.small input:checked + span { background: var(--crimson); color: var(--white); }

/* Channel photos run out to the window edge and fade towards the text */
.s1-row .s1-photo { --bleed: calc(max(0px, (100vw - var(--container-max)) / 2) + var(--container-padding)); margin-right: calc(-1 * var(--bleed)); border-radius: 0; box-shadow: none; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 22%); mask-image: linear-gradient(90deg, transparent 0, #000 22%); }
.s1-row.flip .s1-photo { margin-right: 0; margin-left: calc(-1 * var(--bleed)); -webkit-mask-image: linear-gradient(270deg, transparent 0, #000 22%); mask-image: linear-gradient(270deg, transparent 0, #000 22%); }
.s1-row .s1-photo img { aspect-ratio: 3 / 2; }
.s1-row .s1-photo.dim::after { background: rgba(16, 24, 32, 0.18); }
.s1-row .s1-f-top-right { right: 28%; top: -8px; }
.s1-row.flip .s1-f-top-right { left: 30%; right: auto; }
.s1-row .s1-stage .s1-main { left: 0; }
.s1-row.flip .s1-stage .s1-main { right: 0; left: auto; }

/* Icon rings as on the home page; brighter red on the dark band */
.s1-filled .icon-points li { align-items: flex-start; }
.s1-filled .icon-points .link-arrow { font-size: 15px; color: var(--crimson); white-space: nowrap; }
.dark.s1-filled .icon-ring { border-color: var(--red-bright); background: rgba(16, 24, 32, 0.55); }
.dark.s1-filled .icon-ring .ico { color: var(--red-bright); }

@media (max-width: 1100px) {
   .s1-hero-floats { display: none; }
}

@media (max-width: 900px) {
   .s1-row .s1-photo, .s1-row.flip .s1-photo { margin: 0; border-radius: 16px; -webkit-mask-image: none; mask-image: none; }
   .s1-row .s1-stage .s1-main { left: 3%; }
   .s1-row.flip .s1-stage .s1-main { right: 3%; }
}
.s1-ticks .ico { display: none; }
.s1-ticks li::before { content: ""; width: 9px; height: 5px; margin-bottom: 3px; border-left: 2px solid var(--red-bright); border-bottom: 2px solid var(--red-bright); transform: rotate(-45deg); }
