/*
Theme Name: Foodwork Renewal
Theme URI: https://foodwork-design.com/
Author: Foodwork Design System
Description: 飲食現場の業務改善とSmartShiftを分かりやすく伝える、Foodwork Design System専用のブロックテーマです。
Version: 1.9.0
Requires at least: 6.6
Requires PHP: 7.4
Text Domain: foodwork-renewal
*/

:root {
  --fw-ink: #11251f;
  --fw-ink-soft: #31453f;
  --fw-paper: #f7f6f0;
  --fw-white: #ffffff;
  --fw-line: #dbe2dc;
  --fw-green: #1d6852;
  --fw-green-dark: #124736;
  --fw-mint: #dff1e8;
  --fw-lime: #dff36a;
  --fw-orange: #ff7a4d;
  --fw-blue: #1d64e8;
  --fw-shadow: 0 24px 70px rgba(17, 37, 31, 0.1);
  --fw-radius: 24px;
  --fw-shell: min(1180px, calc(100vw - 40px));
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--fw-paper);
  color: var(--fw-ink);
  overflow-x: hidden;
}

a {
  transition: color 0.2s ease, opacity 0.2s ease, transform 0.2s ease;
}

.fw-main {
  margin-top: 0;
}

.fw-section {
  padding: clamp(72px, 9vw, 120px) 0;
}

.fw-section--white {
  background: var(--fw-white);
}

.fw-section--dark {
  background: var(--fw-ink);
  color: var(--fw-white);
}

.fw-section--tint {
  background: #edf4ef;
}

.fw-shell {
  width: var(--fw-shell);
  max-width: var(--fw-shell) !important;
  margin-inline: auto;
}

.fw-eyebrow {
  color: var(--fw-green);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  line-height: 1.4;
  margin: 0 0 18px;
  text-transform: uppercase;
}

.fw-section--dark .fw-eyebrow,
.fw-cta .fw-eyebrow {
  color: var(--fw-lime);
}

.fw-section-title {
  font-size: clamp(2rem, 4vw, 3.5rem);
  letter-spacing: -0.045em;
  line-height: 1.18;
  margin: 0;
  max-width: 820px;
}

.fw-section-lead {
  color: #5a6a65;
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  line-height: 1.95;
  margin: 24px 0 0;
  max-width: 720px;
}

.fw-section--dark .fw-section-lead {
  color: #bdcbc6;
}

/* Header */
.fw-header-shell {
  background: rgba(247, 246, 240, 0.92);
  border-bottom: 1px solid rgba(17, 37, 31, 0.08);
  backdrop-filter: blur(16px);
  position: relative;
  z-index: 30;
}

.fw-header-inner {
  min-height: 78px;
  width: var(--fw-shell);
  max-width: var(--fw-shell) !important;
  margin-inline: auto;
}

.fw-brand a {
  color: var(--fw-ink);
  font-size: clamp(0.95rem, 2vw, 1.18rem);
  font-weight: 850;
  letter-spacing: -0.035em;
  text-decoration: none;
}

.fw-nav {
  font-size: 0.88rem;
  font-weight: 700;
}

.fw-nav .wp-block-navigation-item__content {
  color: var(--fw-ink);
}

.fw-nav .wp-block-navigation-item:last-child .wp-block-navigation-item__content {
  background: var(--fw-ink);
  border-radius: 999px;
  color: var(--fw-white);
  padding: 11px 19px;
}

/* Hero */
.fw-hero {
  background:
    radial-gradient(circle at 83% 22%, rgba(223, 243, 106, 0.64), transparent 23%),
    radial-gradient(circle at 8% 88%, rgba(255, 122, 77, 0.13), transparent 26%),
    var(--fw-paper);
  min-height: min(830px, calc(100vh - 78px));
  overflow: hidden;
  padding: clamp(76px, 10vw, 145px) 0 62px;
  position: relative;
}

.fw-hero::after {
  border: 1px solid rgba(17, 37, 31, 0.12);
  border-radius: 50%;
  content: "";
  height: 560px;
  position: absolute;
  right: -300px;
  top: 32px;
  width: 560px;
}

.fw-hero-copy {
  position: relative;
  z-index: 2;
}

.fw-hero-title {
  font-size: clamp(3.4rem, 8.5vw, 7.6rem);
  font-weight: 850;
  letter-spacing: -0.075em;
  line-height: 0.98;
  margin: 0;
  max-width: 1000px;
}

.fw-hero-title mark {
  background: transparent;
  color: var(--fw-green);
  padding: 0;
}

.fw-hero-lead {
  color: var(--fw-ink-soft);
  font-size: clamp(1.05rem, 2vw, 1.32rem);
  line-height: 1.9;
  margin: 34px 0 0;
  max-width: 710px;
}

.fw-actions {
  margin-top: 38px;
}

.fw-actions .wp-block-button__link,
.fw-cta .wp-block-button__link {
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 800;
  padding: 15px 26px;
}

.fw-btn-primary .wp-block-button__link {
  background: var(--fw-ink);
  color: var(--fw-white);
}

.fw-btn-primary .wp-block-button__link:hover {
  background: var(--fw-green);
  transform: translateY(-2px);
}

.fw-btn-secondary .wp-block-button__link {
  background: transparent;
  border: 1px solid var(--fw-ink);
  color: var(--fw-ink);
}

.fw-btn-secondary .wp-block-button__link:hover {
  background: var(--fw-white);
  transform: translateY(-2px);
}

.fw-proof-grid {
  border-top: 1px solid rgba(17, 37, 31, 0.16);
  gap: 0 !important;
  margin-top: clamp(70px, 10vw, 126px);
  padding-top: 28px;
}

.fw-proof-item {
  border-right: 1px solid rgba(17, 37, 31, 0.14);
  min-height: 82px;
  padding: 5px 30px 0 0;
}

.fw-proof-item:last-child {
  border-right: 0;
}

.fw-proof-number {
  font-size: clamp(1.2rem, 2.2vw, 1.7rem);
  font-weight: 850;
  letter-spacing: -0.04em;
  margin: 0;
}

.fw-proof-label {
  color: #66736f;
  font-size: 0.78rem;
  line-height: 1.6;
  margin: 8px 0 0;
}

/* Problem cards */
.fw-card-grid {
  gap: 18px !important;
  margin-top: 54px;
}

.fw-card {
  background: var(--fw-white);
  border: 1px solid var(--fw-line);
  border-radius: var(--fw-radius);
  box-shadow: 0 12px 36px rgba(17, 37, 31, 0.05);
  min-height: 250px;
  padding: clamp(24px, 3vw, 36px);
}

.fw-card-number {
  align-items: center;
  background: var(--fw-mint);
  border-radius: 999px;
  color: var(--fw-green-dark);
  display: inline-flex;
  font-size: 0.76rem;
  font-weight: 850;
  height: 38px;
  justify-content: center;
  margin: 0;
  width: 38px;
}

.fw-card-title {
  font-size: clamp(1.18rem, 2vw, 1.45rem);
  letter-spacing: -0.035em;
  line-height: 1.45;
  margin: 34px 0 0;
}

.fw-card-copy {
  color: #64716d;
  font-size: 0.92rem;
  line-height: 1.8;
  margin: 16px 0 0;
}

/* Solutions */
.fw-solution-grid {
  gap: 20px !important;
  margin-top: 58px;
}

.fw-solution-card {
  border-top: 1px solid rgba(255, 255, 255, 0.28);
  min-height: 330px;
  padding: 30px 26px 18px 0;
}

.fw-solution-index {
  color: var(--fw-lime);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  margin: 0;
}

.fw-solution-title {
  color: var(--fw-white);
  font-size: clamp(1.45rem, 2.6vw, 2rem);
  letter-spacing: -0.04em;
  line-height: 1.35;
  margin: 42px 0 0;
}

.fw-solution-copy {
  color: #bdcbc6;
  font-size: 0.95rem;
  line-height: 1.9;
  margin: 20px 0 0;
}

.fw-text-link {
  color: inherit;
  font-size: 0.88rem;
  font-weight: 800;
  text-underline-offset: 5px;
}

/* Product */
.fw-product-wrap {
  background: var(--fw-white);
  border: 1px solid var(--fw-line);
  border-radius: 32px;
  box-shadow: var(--fw-shadow);
  overflow: hidden;
  padding: clamp(30px, 5vw, 66px);
}

.fw-product-grid {
  align-items: center !important;
  gap: clamp(34px, 6vw, 74px) !important;
}

.fw-product-logo {
  color: var(--fw-blue);
  font-size: 1.05rem;
  font-weight: 850;
  letter-spacing: 0.02em;
  margin: 0;
}

.fw-product-title {
  font-size: clamp(2.15rem, 4.6vw, 4rem);
  letter-spacing: -0.055em;
  line-height: 1.13;
  margin: 22px 0 0;
}

.fw-product-copy {
  color: #5f6c68;
  line-height: 1.95;
  margin: 24px 0 0;
}

.fw-check-list {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
}

.fw-check-list li {
  border-top: 1px solid var(--fw-line);
  font-size: 0.92rem;
  font-weight: 700;
  padding: 13px 0 13px 26px;
  position: relative;
}

.fw-check-list li::before {
  color: var(--fw-blue);
  content: "✓";
  font-weight: 900;
  left: 0;
  position: absolute;
}

.fw-product-shot {
  margin: 0;
  transform: none;
}

.fw-product-shot img {
  border: 1px solid #dce5f7;
  border-radius: 20px;
  box-shadow: 0 18px 44px rgba(29, 100, 232, 0.14);
  height: auto;
}

/* Tools */
.fw-tool-grid {
  gap: 18px !important;
  margin-top: 50px;
}

.fw-tool-card {
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--fw-radius);
  min-height: 230px;
  padding: 30px;
}

.fw-tool-card--featured {
  background: var(--fw-lime);
  border-color: var(--fw-lime);
  color: var(--fw-ink);
}

.fw-tool-status {
  color: #b9c8c3;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  margin: 0;
  text-transform: uppercase;
}

.fw-tool-card--featured .fw-tool-status {
  color: var(--fw-green-dark);
}

.fw-tool-title {
  color: var(--fw-white);
  font-size: 1.5rem;
  letter-spacing: -0.04em;
  margin: 40px 0 0;
}

.fw-tool-card--featured .fw-tool-title {
  color: var(--fw-ink);
}

.fw-tool-copy {
  color: #bdcbc6;
  font-size: 0.9rem;
  line-height: 1.75;
  margin: 14px 0 0;
}

.fw-tool-card--featured .fw-tool-copy {
  color: var(--fw-ink-soft);
}

/* Posts */
.fw-post-grid {
  gap: 18px !important;
  margin-top: 54px;
}

.fw-post-card {
  background: var(--fw-white);
  border: 1px solid var(--fw-line);
  border-radius: var(--fw-radius);
  min-height: 310px;
  padding: 30px;
}

.fw-post-card .taxonomy-category a {
  color: var(--fw-green);
  font-size: 0.74rem;
  font-weight: 800;
  text-decoration: none;
}

.fw-post-card .wp-block-post-title {
  font-size: 1.24rem;
  line-height: 1.55;
  margin: 28px 0 0;
}

.fw-post-card .wp-block-post-title a {
  color: var(--fw-ink);
  text-decoration: none;
}

.fw-post-card .wp-block-post-excerpt {
  color: #66736f;
  font-size: 0.88rem;
  line-height: 1.75;
  margin-top: 18px;
}

.fw-post-card .wp-block-post-date {
  color: #86918d;
  font-size: 0.76rem;
  margin-top: auto;
}

.fw-empty {
  background: var(--fw-white);
  border: 1px dashed #abb8b2;
  border-radius: var(--fw-radius);
  color: #66736f;
  padding: 34px;
}

/* Profile */
.fw-profile-grid {
  align-items: center !important;
  gap: clamp(40px, 8vw, 100px) !important;
}

.fw-profile-card {
  background: var(--fw-green);
  border-radius: 32px;
  color: var(--fw-white);
  min-height: 430px;
  overflow: hidden;
  padding: clamp(34px, 5vw, 60px);
  position: relative;
}

.fw-profile-card::after {
  background: var(--fw-lime);
  border-radius: 50%;
  bottom: -120px;
  content: "";
  height: 280px;
  position: absolute;
  right: -60px;
  width: 280px;
}

.fw-profile-mark {
  color: var(--fw-lime);
  font-size: clamp(4rem, 8vw, 7rem);
  font-weight: 850;
  letter-spacing: -0.08em;
  line-height: 1;
  margin: 0;
  position: relative;
  z-index: 1;
}

.fw-profile-role {
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1.6;
  margin: 70px 0 0;
  max-width: 280px;
  position: relative;
  z-index: 1;
}

.fw-profile-copy {
  color: #52635d;
  line-height: 2;
  margin: 26px 0 0;
}

.fw-profile-list {
  margin: 28px 0 0;
  padding-left: 1.2em;
}

.fw-profile-list li {
  margin-bottom: 10px;
}

/* CTA */
.fw-cta {
  background: var(--fw-orange);
  border-radius: 34px;
  color: var(--fw-ink);
  overflow: hidden;
  padding: clamp(42px, 8vw, 90px);
  position: relative;
}

.fw-cta::after {
  border: 1px solid rgba(17, 37, 31, 0.25);
  border-radius: 50%;
  content: "";
  height: 360px;
  position: absolute;
  right: -130px;
  top: -180px;
  width: 360px;
}

.fw-cta-title {
  font-size: clamp(2.3rem, 6vw, 5rem);
  letter-spacing: -0.06em;
  line-height: 1.08;
  margin: 0;
  max-width: 840px;
  position: relative;
  z-index: 1;
}

.fw-cta-copy {
  font-size: 1rem;
  line-height: 1.85;
  margin: 28px 0 0;
  max-width: 650px;
  position: relative;
  z-index: 1;
}

.fw-cta .wp-block-buttons {
  position: relative;
  z-index: 1;
}

.fw-cta .wp-block-button__link {
  background: var(--fw-ink);
  color: var(--fw-white);
}

/* Footer */
.fw-footer {
  background: var(--fw-ink);
  color: var(--fw-white);
  padding: 64px 0 34px;
}

.fw-footer-inner {
  width: var(--fw-shell);
  max-width: var(--fw-shell) !important;
  margin-inline: auto;
}

.fw-footer-brand {
  font-size: clamp(1.25rem, 3vw, 1.8rem);
  font-weight: 850;
  letter-spacing: -0.04em;
  margin: 0;
}

.fw-footer-copy {
  color: #aebdb8;
  font-size: 0.86rem;
  line-height: 1.8;
  margin: 14px 0 0;
  max-width: 460px;
}

.fw-footer-meta {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  color: #91a19b;
  font-size: 0.72rem;
  margin-top: 56px;
  padding-top: 24px;
}

/* Inner pages */
.fw-entry {
  width: min(860px, calc(100vw - 40px));
  max-width: min(860px, calc(100vw - 40px)) !important;
  margin-inline: auto;
  padding: clamp(70px, 9vw, 120px) 0;
}

.fw-entry .wp-block-post-title {
  font-size: clamp(2.4rem, 6vw, 4.8rem);
  letter-spacing: -0.055em;
  line-height: 1.15;
}

.fw-entry .wp-block-post-content {
  font-size: 1.02rem;
  line-height: 1.95;
  margin-top: 46px;
}

/* Responsive */
@media (max-width: 880px) {
  :root {
    --fw-shell: min(100% - 28px, 1180px);
  }

  .fw-header-inner {
    min-height: 68px;
  }

  .fw-nav .wp-block-navigation__responsive-container-open {
    display: flex;
  }

  .fw-hero {
    min-height: auto;
    padding-top: 70px;
  }

  .fw-proof-grid,
  .fw-card-grid,
  .fw-solution-grid,
  .fw-tool-grid,
  .fw-profile-grid,
  .fw-product-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
  }

  .fw-proof-grid {
    grid-template-columns: 1fr 1fr !important;
  }

  .fw-proof-item:nth-child(2) {
    border-right: 0;
  }

  .fw-proof-item {
    border-bottom: 1px solid rgba(17, 37, 31, 0.14);
    padding: 18px 18px 18px 0;
  }

  .fw-product-shot {
    margin-top: 12px;
    transform: none;
  }
}

@media (max-width: 560px) {
  .fw-section {
    padding: 68px 0;
  }

  .fw-hero-title {
    font-size: clamp(3rem, 16vw, 4.3rem);
  }

  .fw-actions {
    align-items: stretch !important;
    flex-direction: column;
  }

  .fw-actions .wp-block-button,
  .fw-actions .wp-block-button__link {
    width: 100%;
  }

  .fw-actions .wp-block-button__link {
    text-align: center;
  }

  .fw-card {
    min-height: auto;
  }

  .fw-profile-card {
    min-height: 350px;
  }
}

/* Footer navigation and privacy-policy links. */
.fw-footer-top {
  gap: clamp(36px, 7vw, 90px) !important;
}

.fw-footer-links {
  gap: 12px 28px !important;
}

.fw-footer-links p {
  margin: 0;
}

.fw-footer-links a {
  color: #dce7e3;
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
}

.fw-footer-links a:hover,
.fw-footer-links a:focus-visible {
  color: var(--fw-lime);
}

.ct-consent a {
  color: var(--fw-green);
  font-weight: 750;
  text-underline-offset: 3px;
}

@media (max-width: 700px) {
  .fw-footer-top {
    display: grid !important;
    grid-template-columns: 1fr !important;
  }

  .fw-footer-links {
    margin-top: 18px;
  }
}

/* SmartShift detail page */
.ss-shell {
  margin-inline: auto;
  max-width: var(--fw-shell) !important;
  width: var(--fw-shell);
}

.ss-hero {
  background:
    radial-gradient(circle at 84% 12%, rgba(75, 139, 255, 0.5), transparent 28%),
    radial-gradient(circle at 8% 92%, rgba(81, 118, 255, 0.22), transparent 32%),
    #071c43;
  color: #fff;
  overflow: hidden;
  padding: clamp(74px, 9vw, 126px) 0 0;
  position: relative;
}

.ss-hero::after {
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 50%;
  content: "";
  height: 620px;
  position: absolute;
  right: -330px;
  top: -170px;
  width: 620px;
}

.ss-logo {
  background: transparent;
  border-radius: 0;
  margin: 0;
  max-width: 340px;
  overflow: visible;
  position: relative;
  z-index: 2;
}

.ss-logo img {
  display: block;
  height: auto;
  width: 100%;
}

.ss-hero-title {
  color: #fff;
  font-size: clamp(3.4rem, 8vw, 7.1rem);
  letter-spacing: -0.075em;
  line-height: 0.98;
  margin: 42px 0 0;
  max-width: 960px;
  position: relative;
  z-index: 2;
}

.ss-hero-lead {
  color: #cbd8ee;
  font-size: clamp(1.04rem, 1.8vw, 1.24rem);
  line-height: 1.9;
  margin: 32px 0 0;
  max-width: 720px;
  position: relative;
  z-index: 2;
}

.ss-actions {
  margin-top: 34px;
  position: relative;
  z-index: 2;
}

.ss-account-note {
  color: #51627c;
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.7;
  margin: 22px 0 -14px;
  position: relative;
  z-index: 2;
}

.ss-account-note--on-dark {
  color: #d6e1f2;
}

.ss-actions .wp-block-button__link {
  border-radius: 999px;
  font-size: 0.94rem;
  font-weight: 800;
  padding: 15px 26px;
}

.ss-btn-light .wp-block-button__link {
  background: #fff;
  color: #071c43;
}

.ss-btn-outline .wp-block-button__link {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.72);
  color: #fff;
}

.ss-btn-primary .wp-block-button__link {
  background: #1768e9;
  color: #fff;
}

.ss-hero-shot {
  margin: clamp(60px, 8vw, 100px) 0 -5px;
  position: relative;
  z-index: 2;
}

.ss-hero-shot img {
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 24px 24px 0 0;
  box-shadow: 0 34px 80px rgba(0, 0, 0, 0.36);
  display: block;
  height: auto;
  width: 100%;
}

.ss-benefit-bar {
  background: #fff;
  border-bottom: 1px solid #dce5f5;
  padding: 38px 0;
}

.ss-benefit-grid {
  gap: 0 !important;
}

.ss-benefit-grid > .wp-block-column {
  border-right: 1px solid #dce5f5;
  padding: 6px 38px;
}

.ss-benefit-grid > .wp-block-column:first-child {
  padding-left: 0;
}

.ss-benefit-grid > .wp-block-column:last-child {
  border-right: 0;
}

.ss-benefit-label,
.ss-feature-index {
  color: #1768e9;
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  margin: 0;
  text-transform: uppercase;
}

.ss-benefit-title {
  color: #10284e;
  font-size: 1.2rem;
  letter-spacing: -0.035em;
  margin: 18px 0 0;
}

.ss-benefit-copy {
  color: #65748c;
  font-size: 0.85rem;
  line-height: 1.7;
  margin: 9px 0 0;
}

.ss-definition {
  background: #eaf2ff;
}

.ss-definition-lead {
  color: #4f627f;
  font-size: clamp(1.08rem, 2vw, 1.35rem);
  line-height: 1.95;
  margin: 32px 0 0;
  max-width: 940px;
}

.ss-definition-lead strong {
  color: #10284e;
}

.ss-definition-grid {
  gap: 18px !important;
  margin-top: 52px;
}

.ss-definition-card {
  background: #fff;
  border: 1px solid #cbdaf0;
  border-radius: 24px;
  min-height: 270px;
  padding: clamp(30px, 4vw, 46px);
}

.ss-definition-card--soft {
  background: #dce9ff;
}

.ss-definition-label {
  color: #1768e9;
  font-size: 0.74rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  margin: 0;
}

.ss-definition-title {
  color: #10284e;
  font-size: clamp(1.45rem, 3vw, 2.15rem);
  letter-spacing: -0.045em;
  line-height: 1.35;
  margin: 30px 0 0;
}

.ss-definition-copy {
  color: #5f6f87;
  line-height: 1.9;
  margin: 20px 0 0;
}

.ss-section {
  padding: clamp(76px, 9vw, 126px) 0;
}

.ss-section--white {
  background: #fff;
}

.ss-section--navy {
  background: #071c43;
  color: #fff;
}

.ss-section--pale {
  background: #eaf2ff;
}

.ss-eyebrow {
  color: #1768e9;
  font-size: 0.74rem;
  font-weight: 850;
  letter-spacing: 0.13em;
  margin: 0 0 18px;
  text-transform: uppercase;
}

.ss-section--navy .ss-eyebrow {
  color: #78a9ff;
}

.ss-section-title {
  color: #10284e;
  font-size: clamp(2.25rem, 5vw, 4.4rem);
  letter-spacing: -0.06em;
  line-height: 1.13;
  margin: 0;
  max-width: 940px;
}

.ss-section--navy .ss-section-title {
  color: #fff;
}

.ss-step-grid {
  gap: 18px !important;
  margin-top: 56px;
}

.ss-step-card {
  background: #f3f7fd;
  border: 1px solid #dbe5f5;
  border-radius: 24px;
  min-height: 286px;
  padding: 34px;
}

.ss-step-number {
  align-items: center;
  background: #1768e9;
  border-radius: 50%;
  color: #fff;
  display: inline-flex;
  font-size: 0.78rem;
  font-weight: 850;
  height: 42px;
  justify-content: center;
  margin: 0;
  width: 42px;
}

.ss-step-title {
  color: #10284e;
  font-size: 1.4rem;
  letter-spacing: -0.04em;
  line-height: 1.45;
  margin: 42px 0 0;
}

.ss-step-copy {
  color: #65748c;
  font-size: 0.9rem;
  line-height: 1.8;
  margin: 16px 0 0;
}

.ss-features {
  background: #f4f7fc;
}

.ss-feature-row {
  border-top: 1px solid #cad6e9;
  margin-top: 78px;
  padding-top: 72px;
}

.ss-feature-grid {
  align-items: center !important;
  gap: clamp(36px, 6vw, 76px) !important;
}

.ss-feature-title {
  color: #10284e;
  font-size: clamp(1.8rem, 3.5vw, 2.75rem);
  letter-spacing: -0.05em;
  line-height: 1.28;
  margin: 22px 0 0;
}

.ss-feature-copy {
  color: #5f6f87;
  line-height: 1.95;
  margin: 24px 0 0;
}

.ss-feature-list {
  color: #243b60;
  font-size: 0.9rem;
  line-height: 1.7;
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
}

.ss-feature-list li {
  border-top: 1px solid #d7e0ef;
  padding: 12px 0 12px 24px;
  position: relative;
}

.ss-feature-list li::before {
  color: #1768e9;
  content: "✓";
  font-weight: 900;
  left: 0;
  position: absolute;
}

.ss-feature-image {
  margin: 0;
}

.ss-feature-image img {
  background: #fff;
  border: 1px solid #dbe5f5;
  border-radius: 20px;
  box-shadow: 0 20px 58px rgba(26, 61, 116, 0.11);
  display: block;
  height: auto;
  width: 100%;
}

.ss-fit-grid {
  display: grid !important;
  gap: 16px !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 56px;
}

.ss-fit-item {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 18px;
  color: #fff;
  font-size: 1rem;
  font-weight: 750;
  line-height: 1.6;
  margin: 0;
  min-height: 100px;
  padding: 26px 28px 26px 62px;
  position: relative;
}

.ss-fit-item::before {
  color: #79a9ff;
  content: "✓";
  font-size: 1.1rem;
  font-weight: 900;
  left: 28px;
  position: absolute;
}

.ss-availability {
  background: #f4f7fc;
}

.ss-availability-grid {
  align-items: start !important;
  gap: clamp(44px, 8vw, 100px) !important;
}

.ss-status-badge {
  background: #dce9ff;
  border: 1px solid #b7cdf3;
  border-radius: 999px;
  color: #125bc7;
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 850;
  margin: 32px 0 0;
  padding: 10px 16px;
}

.ss-status-copy {
  color: #5f6f87;
  line-height: 1.95;
  margin: 24px 0 0;
}

.ss-paid-note {
  background: #10284e;
  border-radius: 20px;
  color: #dce7f7;
  line-height: 1.9;
  margin: 28px 0 0;
  padding: 24px 28px;
}

.ss-paid-note strong {
  color: #fff;
}

.ss-start-list {
  background: #fff;
  border: 1px solid #d7e1f0;
  border-radius: 28px;
  overflow: hidden;
}

.ss-start-item {
  display: grid;
  gap: 10px 22px;
  grid-template-columns: 48px 1fr;
  padding: 30px 34px;
}

.ss-start-item + .ss-start-item {
  border-top: 1px solid #d7e1f0;
}

.ss-start-number {
  align-items: center;
  background: #1768e9;
  border-radius: 50%;
  color: #fff;
  display: flex;
  font-size: 0.72rem;
  font-weight: 850;
  grid-row: 1 / span 2;
  height: 42px;
  justify-content: center;
  margin: 0;
  width: 42px;
}

.ss-start-title {
  color: #10284e;
  font-size: 1.3rem;
  letter-spacing: -0.035em;
  margin: 0;
}

.ss-start-copy {
  color: #65748c;
  font-size: 0.9rem;
  line-height: 1.8;
  margin: 0;
}

.ss-faq {
  border-bottom: 1px solid #d7e0ef;
  color: #10284e;
  margin: 0;
  padding: 26px 0;
}

.ss-faq:first-of-type {
  border-top: 1px solid #d7e0ef;
  margin-top: 52px;
}

.ss-faq summary {
  cursor: pointer;
  font-size: clamp(1.05rem, 2vw, 1.24rem);
  font-weight: 800;
  list-style-position: outside;
}

.ss-faq p {
  color: #65748c;
  line-height: 1.9;
  margin: 20px 0 0;
  max-width: 820px;
}

.ss-faq-list {
  color: #445a78;
  line-height: 1.8;
  margin: 18px 0 0;
  max-width: 820px;
  padding-left: 22px;
}

.ss-faq-list li + li {
  margin-top: 5px;
}

.ss-final-cta {
  background: #fff;
  border: 1px solid #ccdafa;
  border-radius: 32px;
  box-shadow: 0 24px 70px rgba(23, 104, 233, 0.12);
  padding: clamp(42px, 7vw, 82px);
}

.ss-final-title {
  color: #10284e;
  font-size: clamp(2.5rem, 6vw, 5rem);
  letter-spacing: -0.065em;
  line-height: 1.08;
  margin: 0;
}

.ss-final-copy {
  color: #65748c;
  line-height: 1.85;
  margin: 26px 0 0;
}

@media (max-width: 880px) {
  .ss-benefit-grid,
  .ss-definition-grid,
  .ss-step-grid,
  .ss-feature-grid,
  .ss-availability-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
  }

  .ss-benefit-grid > .wp-block-column {
    border-bottom: 1px solid #dce5f5;
    border-right: 0;
    padding: 26px 0;
  }

  .ss-benefit-grid > .wp-block-column:last-child {
    border-bottom: 0;
  }

  .ss-feature-grid--reverse > .wp-block-column:first-child {
    grid-row: 2;
  }

  .ss-feature-row {
    margin-top: 58px;
    padding-top: 52px;
  }

  .ss-definition-card {
    min-height: auto;
  }
}

@media (max-width: 600px) {
  .ss-hero-title {
    font-size: clamp(3rem, 15vw, 4.6rem);
  }

  .ss-logo {
    max-width: 270px;
  }

  .ss-actions {
    align-items: stretch !important;
    flex-direction: column;
  }

  .ss-actions .wp-block-button,
  .ss-actions .wp-block-button__link {
    text-align: center;
    width: 100%;
  }

  .ss-fit-grid {
    grid-template-columns: 1fr;
  }

  .ss-step-card {
    min-height: auto;
  }

  .ss-start-item {
    padding: 26px 24px;
  }
}

/* SmartShift how-to page */
.howto-hero {
  background:
    radial-gradient(circle at 86% 12%, rgba(65, 129, 255, 0.48), transparent 27%),
    radial-gradient(circle at 7% 90%, rgba(76, 111, 255, 0.2), transparent 32%),
    #071c43;
  color: #fff;
  overflow: hidden;
  padding: clamp(68px, 8vw, 112px) 0 0;
  position: relative;
}

.howto-hero::after {
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  content: "";
  height: 560px;
  position: absolute;
  right: -300px;
  top: -170px;
  width: 560px;
}

.howto-eyebrow {
  color: #82afff;
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.14em;
  margin: 40px 0 0;
  position: relative;
  text-transform: uppercase;
  z-index: 2;
}

.howto-hero-title {
  color: #fff;
  font-size: clamp(3.1rem, 7vw, 6.6rem);
  letter-spacing: -0.075em;
  line-height: 1.02;
  margin: 22px 0 0;
  max-width: 1050px;
  position: relative;
  z-index: 2;
}

.howto-hero-lead {
  color: #cad8ee;
  font-size: clamp(1.02rem, 1.8vw, 1.22rem);
  line-height: 1.9;
  margin: 30px 0 0;
  max-width: 780px;
  position: relative;
  z-index: 2;
}

.howto-hero-shot {
  margin: clamp(56px, 7vw, 88px) 0 -5px;
  position: relative;
  z-index: 2;
}

.howto-hero-shot img {
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 24px 24px 0 0;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.34);
  display: block;
  height: auto;
  width: 100%;
}

.howto-flow {
  background: #fff;
  border-bottom: 1px solid #dce5f5;
  padding: 34px 0;
}

.howto-flow-grid {
  gap: 0 !important;
}

.howto-flow-grid > .wp-block-column {
  border-right: 1px solid #dce5f5;
  padding: 5px 28px;
}

.howto-flow-grid > .wp-block-column:first-child {
  padding-left: 0;
}

.howto-flow-grid > .wp-block-column:last-child {
  border-right: 0;
}

.howto-flow-label {
  color: #1768e9;
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  margin: 0;
}

.howto-flow-title {
  color: #10284e;
  font-size: 1.02rem;
  font-weight: 800;
  margin: 12px 0 0;
}

.howto-intro {
  background: #eaf2ff;
  padding: clamp(76px, 9vw, 124px) 0;
}

.howto-intro-copy {
  color: #526681;
  font-size: clamp(1.04rem, 2vw, 1.28rem);
  line-height: 1.95;
  margin: 30px 0 0;
  max-width: 930px;
}

.howto-intro-copy strong {
  color: #10284e;
}

.howto-toc {
  background: #fff;
  border: 1px solid #cbdaf0;
  border-radius: 26px;
  margin-top: 48px;
  padding: clamp(28px, 5vw, 46px);
}

.howto-toc-title {
  color: #10284e;
  font-size: 1.18rem;
  font-weight: 850;
  margin: 0;
}

.howto-toc-list {
  display: grid;
  gap: 0 34px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  list-style: none;
  margin: 26px 0 0;
  padding: 0;
}

.howto-toc-list li {
  border-top: 1px solid #dce5f3;
  counter-increment: howto-toc;
  padding: 15px 0 15px 30px;
  position: relative;
}

.howto-toc-list li::before {
  color: #1768e9;
  content: "→";
  font-weight: 900;
  left: 0;
  position: absolute;
}

.howto-toc-list a {
  color: #29476f;
  font-size: 0.92rem;
  font-weight: 750;
  text-decoration: none;
}

.howto-toc-list a:hover,
.howto-toc-list a:focus-visible {
  color: #1768e9;
}

.howto-steps {
  background: #fff;
  padding: 0;
}

.howto-step {
  border-top: 1px solid #d3deed;
  padding: clamp(72px, 9vw, 118px) 0;
  scroll-margin-top: 90px;
}

.howto-step:first-child {
  border-top: 0;
}

.howto-step-grid {
  align-items: center !important;
  gap: clamp(38px, 6vw, 76px) !important;
}

.howto-step-number {
  color: #1768e9;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  margin: 0;
}

.howto-step-title {
  color: #10284e;
  font-size: clamp(2rem, 4vw, 3.5rem);
  letter-spacing: -0.06em;
  line-height: 1.17;
  margin: 22px 0 0;
}

.howto-step-copy {
  color: #5d6f88;
  line-height: 1.95;
  margin: 25px 0 0;
}

.howto-checklist {
  color: #29476f;
  font-size: 0.9rem;
  line-height: 1.7;
  list-style: none;
  margin: 26px 0 0;
  padding: 0;
}

.howto-checklist li {
  border-top: 1px solid #dce4f0;
  padding: 12px 0 12px 26px;
  position: relative;
}

.howto-checklist li::before {
  color: #1768e9;
  content: "✓";
  font-weight: 900;
  left: 0;
  position: absolute;
}

.howto-tip {
  background: #eaf2ff;
  border-left: 3px solid #1768e9;
  color: #526681;
  font-size: 0.86rem;
  line-height: 1.8;
  margin: 24px 0 0;
  padding: 16px 18px;
}

.howto-tip strong {
  color: #10284e;
}

.howto-step-image {
  margin: 0;
}

.howto-step-image img {
  background: #fff;
  border: 1px solid #d6e2f2;
  border-radius: 20px;
  box-shadow: 0 20px 58px rgba(22, 68, 133, 0.12);
  display: block;
  height: auto;
  width: 100%;
}

.howto-step--start {
  padding-top: clamp(78px, 10vw, 132px);
}

.howto-open-card {
  background:
    radial-gradient(circle at 90% 10%, rgba(86, 147, 255, 0.52), transparent 36%),
    #071c43;
  border-radius: 26px;
  color: #fff;
  min-height: 330px;
  padding: clamp(30px, 5vw, 46px);
}

.howto-open-label {
  color: #83b0ff;
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  margin: 0;
}

.howto-open-title {
  color: #fff;
  font-size: clamp(1.55rem, 3vw, 2.2rem);
  letter-spacing: -0.045em;
  line-height: 1.35;
  margin: 46px 0 0;
}

.howto-open-copy {
  color: #cbd8ee;
  line-height: 1.8;
  margin: 18px 0 0;
}

.howto-price-note {
  background: #071c43;
  border-radius: 28px;
  color: #fff;
  margin: 14px 0 clamp(72px, 9vw, 118px);
  padding: clamp(34px, 6vw, 62px);
}

.howto-price-label {
  color: #82afff;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  margin: 0;
}

.howto-price-title {
  color: #fff;
  font-size: clamp(1.7rem, 3.5vw, 2.8rem);
  letter-spacing: -0.045em;
  line-height: 1.35;
  margin: 22px 0 0;
}

.howto-price-copy {
  color: #cbd8ee;
  line-height: 1.9;
  margin: 22px 0 0;
  max-width: 860px;
}

.howto-price-copy strong {
  color: #fff;
}

.howto-free-list {
  color: #e5edfa;
  display: grid;
  gap: 10px;
  list-style: none;
  margin: 28px 0 0;
  max-width: 860px;
  padding: 0;
}

.howto-free-list li {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  padding: 15px 18px 15px 46px;
  position: relative;
}

.howto-free-list li::before {
  color: #82afff;
  content: "✓";
  font-weight: 900;
  left: 20px;
  position: absolute;
}

.howto-step--finish {
  background: #f2f6fc;
  border: 1px solid #d4dfef;
  border-radius: 30px;
  margin-bottom: clamp(78px, 10vw, 132px);
  padding: clamp(42px, 7vw, 78px);
}

.howto-finish-list {
  background: #fff;
  border: 1px solid #d7e2f0;
  border-radius: 22px;
  overflow: hidden;
}

.howto-finish-item {
  color: #5d6f88;
  line-height: 1.8;
  margin: 0;
  padding: 23px 26px;
}

.howto-finish-item + .howto-finish-item {
  border-top: 1px solid #dce4f0;
}

.howto-finish-item strong {
  color: #10284e;
}

.howto-faq-section {
  background: #f4f7fc;
  padding: clamp(76px, 9vw, 124px) 0;
}

.howto-cta-section {
  background: #eaf2ff;
  padding: clamp(70px, 9vw, 112px) 0;
}

@media (max-width: 880px) {
  .howto-flow-grid,
  .howto-step-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
  }

  .howto-flow-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .howto-flow-grid > .wp-block-column {
    border-bottom: 1px solid #dce5f5;
    border-right: 0;
    padding: 20px 16px;
  }

  .howto-flow-grid > .wp-block-column:first-child {
    padding-left: 16px;
  }

  .howto-step--reverse .howto-step-grid > .wp-block-column:first-child {
    grid-row: 2;
  }

  .howto-toc-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .howto-hero-title {
    font-size: clamp(2.8rem, 14vw, 4.2rem);
  }

  .howto-flow-grid {
    grid-template-columns: 1fr !important;
  }

  .howto-flow-grid > .wp-block-column {
    padding: 18px 0;
  }

  .howto-flow-grid > .wp-block-column:first-child {
    padding-left: 0;
  }

  .howto-step--finish {
    border-left: 0;
    border-radius: 0;
    border-right: 0;
    margin-inline: calc(50% - 50vw);
    padding-inline: max(20px, calc((100vw - var(--fw-shell)) / 2));
    width: 100vw;
  }
}

/* Foodwork Answers hub */
.answers-hero {
  background:
    radial-gradient(circle at 88% 20%, rgba(223, 243, 106, 0.24), transparent 28%),
    radial-gradient(circle at 9% 85%, rgba(68, 149, 119, 0.25), transparent 30%),
    var(--fw-ink);
  color: #fff;
  overflow: hidden;
  padding: clamp(92px, 12vw, 166px) 0;
  position: relative;
}

.answers-hero::after {
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  content: "";
  height: 540px;
  position: absolute;
  right: -270px;
  top: -210px;
  width: 540px;
}

.answers-eyebrow {
  color: var(--fw-lime);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.15em;
  margin: 0;
  position: relative;
  z-index: 1;
}

.answers-hero-title {
  color: #fff;
  font-size: clamp(3.2rem, 7.3vw, 6.9rem);
  letter-spacing: -0.075em;
  line-height: 1;
  margin: 30px 0 0;
  max-width: 1050px;
  position: relative;
  z-index: 1;
}

.answers-hero-lead {
  color: #c9d8d2;
  font-size: clamp(1.04rem, 2vw, 1.3rem);
  line-height: 1.95;
  margin: 35px 0 0;
  max-width: 780px;
  position: relative;
  z-index: 1;
}

.answers-definition {
  background: var(--fw-lime);
  padding: clamp(58px, 7vw, 88px) 0;
}

.answers-definition-copy {
  color: var(--fw-ink-soft);
  font-size: clamp(1.08rem, 2.1vw, 1.36rem);
  line-height: 1.95;
  margin: 26px 0 0;
  max-width: 990px;
}

.answers-definition-copy strong {
  color: var(--fw-ink);
}

.answers-featured {
  background: var(--fw-paper);
  padding: clamp(78px, 10vw, 132px) 0;
}

.answers-feature-card {
  background: #fff;
  border: 1px solid var(--fw-line);
  border-radius: 30px;
  box-shadow: var(--fw-shadow);
  margin-top: 50px;
  overflow: hidden;
  padding: clamp(34px, 6vw, 66px);
}

.answers-feature-grid {
  align-items: stretch !important;
  gap: clamp(30px, 6vw, 72px) !important;
}

.answers-card-label {
  color: var(--fw-green);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.11em;
  margin: 0;
}

.answers-card-title {
  color: var(--fw-ink);
  font-size: clamp(2.1rem, 4.5vw, 4rem);
  letter-spacing: -0.06em;
  line-height: 1.15;
  margin: 28px 0 0;
}

.answers-card-copy {
  color: #607069;
  line-height: 1.9;
  margin: 28px 0 0;
  max-width: 680px;
}

.answers-card-summary {
  background: var(--fw-mint);
  border-radius: 22px;
  height: 100%;
  padding: 30px;
}

.answers-card-summary p {
  color: var(--fw-ink);
  margin: 0;
}

.answers-card-summary ul {
  color: #496159;
  line-height: 1.8;
  margin: 22px 0 0;
  padding-left: 20px;
}

.answers-next-title {
  color: var(--fw-ink);
  font-size: clamp(1.45rem, 3vw, 2rem);
  letter-spacing: -0.04em;
  margin: 76px 0 0;
}

.answers-topic-grid {
  display: grid !important;
  gap: 14px !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 28px;
}

.answers-topic {
  background: #fff;
  border: 1px solid var(--fw-line);
  border-radius: 16px;
  color: var(--fw-ink-soft);
  font-size: 0.94rem;
  font-weight: 750;
  margin: 0;
  padding: 22px 24px;
}

.answers-topic span {
  color: var(--fw-green);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  margin-right: 10px;
}

.answers-cta-section {
  background: #fff;
  padding: clamp(74px, 9vw, 116px) 0;
}

/* AIO answer article */
.answer-hero {
  background:
    radial-gradient(circle at 90% 12%, rgba(223, 243, 106, 0.19), transparent 27%),
    var(--fw-ink);
  color: #fff;
  padding: clamp(72px, 10vw, 132px) 0;
}

.answer-breadcrumb {
  color: #a8bbb4;
  font-size: 0.8rem;
  margin: 0;
}

.answer-breadcrumb a {
  color: var(--fw-lime);
  text-decoration: none;
}

.answer-breadcrumb span {
  margin: 0 8px;
}

.answer-eyebrow {
  color: var(--fw-lime);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  margin: 48px 0 0;
}

.answer-hero-title {
  color: #fff;
  font-size: clamp(3rem, 7vw, 6.4rem);
  letter-spacing: -0.075em;
  line-height: 1.03;
  margin: 25px 0 0;
  max-width: 1080px;
}

.answer-hero-lead {
  color: #c8d8d2;
  font-size: clamp(1.04rem, 2vw, 1.26rem);
  line-height: 1.95;
  margin: 34px 0 0;
  max-width: 820px;
}

.answer-body {
  background: #fff;
}

.answer-shell {
  margin-inline: auto;
  max-width: 980px !important;
  width: min(980px, calc(100vw - 40px));
}

.answer-direct {
  background: var(--fw-lime);
  border-radius: 28px;
  margin-top: -34px;
  padding: clamp(34px, 6vw, 64px);
  position: relative;
  z-index: 2;
}

.answer-direct-label {
  color: var(--fw-green-dark);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  margin: 0;
}

.answer-direct-copy {
  color: var(--fw-ink-soft);
  font-size: clamp(1.08rem, 2vw, 1.32rem);
  line-height: 2;
  margin: 24px 0 0;
}

.answer-direct-copy strong {
  color: var(--fw-ink);
}

.answer-section {
  border-top: 1px solid var(--fw-line);
  padding: clamp(78px, 10vw, 126px) 0;
}

.answer-direct + .answer-section {
  border-top: 0;
}

.answer-section-index {
  color: var(--fw-green);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  margin: 0;
}

.answer-section-title {
  color: var(--fw-ink);
  font-size: clamp(2.25rem, 5vw, 4.4rem);
  letter-spacing: -0.065em;
  line-height: 1.13;
  margin: 24px 0 0;
}

.answer-copy {
  color: #5c6c66;
  font-size: 1rem;
  line-height: 2;
  margin: 30px 0 0;
  max-width: 840px;
}

.answer-condition-grid {
  display: grid !important;
  gap: 12px !important;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin-top: 42px;
}

.answer-condition-card {
  background: var(--fw-paper);
  border: 1px solid var(--fw-line);
  border-radius: 18px;
  min-height: 172px;
  padding: 22px 18px;
}

.answer-condition-card p {
  color: #64736e;
  font-size: 0.82rem;
  line-height: 1.65;
  margin: 0;
}

.answer-condition-card span {
  align-items: center;
  background: var(--fw-green);
  border-radius: 50%;
  color: #fff;
  display: flex;
  font-size: 0.68rem;
  font-weight: 900;
  height: 30px;
  justify-content: center;
  margin-bottom: 28px;
  width: 30px;
}

.answer-condition-card strong {
  color: var(--fw-ink);
  display: block;
  font-size: 1rem;
  margin-bottom: 5px;
}

.answer-note {
  background: var(--fw-mint);
  border-left: 4px solid var(--fw-green);
  color: #4d625a;
  line-height: 1.9;
  margin: 34px 0 0;
  padding: 22px 26px;
}

.answer-note strong {
  color: var(--fw-ink);
}

.answer-process {
  margin-top: 48px;
}

.answer-process-item {
  display: grid;
  gap: 10px 28px;
  grid-template-columns: 54px 1fr;
  padding: 28px 0;
}

.answer-process-item + .answer-process-item {
  border-top: 1px solid var(--fw-line);
}

.answer-process-number {
  align-items: center;
  background: var(--fw-green);
  border-radius: 50%;
  color: #fff;
  display: flex;
  font-size: 0.7rem;
  font-weight: 900;
  grid-row: 1 / span 2;
  height: 46px;
  justify-content: center;
  margin: 0;
  width: 46px;
}

.answer-process-item h3 {
  color: var(--fw-ink);
  font-size: 1.3rem;
  letter-spacing: -0.035em;
  margin: 0;
}

.answer-process-item > p:last-child {
  color: #61716b;
  line-height: 1.8;
  margin: 0;
}

.answer-boundary-grid {
  gap: 18px !important;
  margin-top: 48px;
}

.answer-boundary-card {
  border-radius: 24px;
  min-height: 360px;
  padding: clamp(30px, 5vw, 46px);
}

.answer-boundary-card--auto {
  background: var(--fw-mint);
  border: 1px solid #bcd9cb;
}

.answer-boundary-card--human {
  background: var(--fw-paper);
  border: 1px solid var(--fw-line);
}

.answer-boundary-label {
  color: var(--fw-green);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  margin: 0;
}

.answer-boundary-card h3 {
  color: var(--fw-ink);
  font-size: clamp(1.55rem, 3vw, 2.15rem);
  letter-spacing: -0.045em;
  margin: 30px 0 0;
}

.answer-boundary-card ul {
  color: #52645d;
  line-height: 1.9;
  margin: 28px 0 0;
  padding-left: 20px;
}

.answer-table {
  margin: 46px 0 0;
  overflow-x: auto;
}

.answer-table table {
  border-collapse: collapse;
  min-width: 700px;
  width: 100%;
}

.answer-table th,
.answer-table td {
  border: 1px solid var(--fw-line);
  color: #53645e;
  line-height: 1.7;
  padding: 18px 20px;
  text-align: left;
}

.answer-table th {
  background: var(--fw-ink);
  color: #fff;
  font-size: 0.86rem;
}

.answer-table td:first-child {
  color: var(--fw-ink);
  font-weight: 800;
}

.answer-smartshift {
  background: var(--fw-paper);
  border: 1px solid var(--fw-line);
  border-radius: 30px;
  margin-bottom: clamp(78px, 10vw, 126px);
  padding: clamp(38px, 7vw, 68px);
}

.answer-smartshift-grid {
  align-items: center !important;
  gap: clamp(36px, 6vw, 68px) !important;
}

.answer-smartshift-image {
  margin: 0;
}

.answer-smartshift-image img {
  border: 1px solid #d6e1da;
  border-radius: 18px;
  box-shadow: var(--fw-shadow);
  display: block;
  height: auto;
  width: 100%;
}

.answer-final {
  background: var(--fw-lime);
  padding: clamp(78px, 10vw, 132px) 0;
}

.answer-final-title {
  color: var(--fw-ink);
  font-size: clamp(2.8rem, 6.5vw, 5.8rem);
  letter-spacing: -0.07em;
  line-height: 1.06;
  margin: 0;
}

.answer-final-copy {
  color: var(--fw-ink-soft);
  font-size: 1.08rem;
  line-height: 1.9;
  margin: 30px 0 0;
  max-width: 760px;
}

@media (max-width: 880px) {
  .answers-feature-grid,
  .answer-boundary-grid,
  .answer-smartshift-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
  }

  .answer-condition-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .answer-condition-card {
    min-height: auto;
  }
}

@media (max-width: 600px) {
  .answers-hero-title,
  .answer-hero-title {
    font-size: clamp(2.8rem, 14vw, 4.3rem);
  }

  .answers-topic-grid,
  .answer-condition-grid {
    grid-template-columns: 1fr;
  }

  .answer-process-item {
    gap: 10px 18px;
    grid-template-columns: 46px 1fr;
  }

  .answer-smartshift {
    border-left: 0;
    border-radius: 0;
    border-right: 0;
    margin-inline: calc(50% - 50vw);
    padding-inline: max(20px, calc((100vw - var(--fw-shell)) / 2));
    width: 100vw;
  }
}

/* Contact page */
.ct-page {
  background:
    radial-gradient(circle at 12% 12%, rgba(223, 243, 106, 0.46), transparent 24%),
    var(--fw-paper);
  min-height: 760px;
  padding: clamp(74px, 9vw, 126px) 0;
}

.ct-shell {
  margin-inline: auto;
  max-width: var(--fw-shell) !important;
  width: var(--fw-shell);
}

.ct-grid {
  align-items: flex-start !important;
  gap: clamp(50px, 8vw, 110px) !important;
}

.ct-eyebrow {
  color: var(--fw-green);
  font-size: 0.74rem;
  font-weight: 850;
  letter-spacing: 0.14em;
  margin: 0 0 18px;
  text-transform: uppercase;
}

.ct-title {
  color: var(--fw-ink);
  font-size: clamp(2.55rem, 5.5vw, 5rem);
  letter-spacing: -0.065em;
  line-height: 1.08;
  margin: 0;
}

.ct-lead {
  color: #52635d;
  line-height: 1.95;
  margin: 28px 0 0;
}

.ct-note {
  border-top: 1px solid #cbd6cf;
  margin-top: 54px;
  padding-top: 26px;
}

.ct-note-label {
  color: var(--fw-green);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.11em;
  margin: 0;
  text-transform: uppercase;
}

.ct-note-list {
  color: #5d6c67;
  font-size: 0.84rem;
  line-height: 1.8;
  margin: 18px 0 0;
  padding-left: 1.2em;
}

.ct-note-list li {
  margin-bottom: 8px;
}

.ct-form {
  background: #fff;
  border: 1px solid var(--fw-line);
  border-radius: 28px;
  box-shadow: var(--fw-shadow);
  padding: clamp(28px, 5vw, 54px);
  position: relative;
}

.ct-field {
  margin-bottom: 26px;
}

.ct-field label {
  color: var(--fw-ink);
  display: block;
  font-size: 0.9rem;
  font-weight: 800;
  margin-bottom: 10px;
}

.ct-field label span {
  color: #b54b2b;
  font-size: 0.68rem;
  margin-left: 7px;
}

.ct-field input,
.ct-field select,
.ct-field textarea {
  background: #f8faf8;
  border: 1px solid #bdcbc3;
  border-radius: 12px;
  box-sizing: border-box;
  color: var(--fw-ink);
  font: inherit;
  padding: 14px 15px;
  width: 100%;
}

.ct-field textarea {
  min-height: 190px;
  resize: vertical;
}

.ct-field input:focus,
.ct-field select:focus,
.ct-field textarea:focus {
  border-color: var(--fw-green);
  box-shadow: 0 0 0 3px rgba(29, 104, 82, 0.14);
  outline: 0;
}

.ct-consent {
  align-items: flex-start;
  color: #52635d;
  display: flex;
  font-size: 0.84rem;
  gap: 10px;
  line-height: 1.65;
}

.ct-consent input {
  height: 18px;
  margin-top: 2px;
  width: 18px;
}

.ct-submit {
  background: var(--fw-ink);
  border: 0;
  border-radius: 999px;
  color: #fff;
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 850;
  margin-top: 28px;
  padding: 16px 28px;
  width: 100%;
}

.ct-submit:hover {
  background: var(--fw-green);
}

.ct-form-note {
  color: #7b8883;
  font-size: 0.72rem;
  line-height: 1.6;
  margin: 14px 0 0;
  text-align: center;
}

.ct-honeypot {
  left: -9999px;
  opacity: 0;
  position: absolute;
  top: -9999px;
}

.ct-alert {
  border-radius: 14px;
  line-height: 1.7;
  margin-bottom: 18px;
  padding: 18px 20px;
}

.ct-alert--success {
  background: #dff1e8;
  border: 1px solid #8ac2ad;
  color: #124736;
}

.ct-alert--error {
  background: #fff0ea;
  border: 1px solid #e6a18b;
  color: #7d321d;
}

@media (max-width: 880px) {
  .ct-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
  }

  .ct-note {
    margin-bottom: 12px;
  }
}

@media (max-width: 560px) {
  .ct-page {
    padding-top: 64px;
  }

  .ct-form {
    border-radius: 20px;
  }
}

/* Profile page */
.pf-shell {
  margin-inline: auto;
  max-width: var(--fw-shell) !important;
  width: var(--fw-shell);
}

.pf-hero {
  background:
    radial-gradient(circle at 79% 18%, rgba(223, 243, 106, 0.74), transparent 24%),
    var(--fw-paper);
  overflow: hidden;
  padding: clamp(78px, 10vw, 138px) 0;
}

.pf-hero-grid {
  align-items: center !important;
  gap: clamp(50px, 8vw, 110px) !important;
}

.pf-eyebrow {
  color: var(--fw-green);
  font-size: 0.74rem;
  font-weight: 850;
  letter-spacing: 0.14em;
  margin: 0 0 18px;
  text-transform: uppercase;
}

.pf-hero-title {
  color: var(--fw-ink);
  font-size: clamp(3rem, 7.2vw, 6.5rem);
  letter-spacing: -0.075em;
  line-height: 1.02;
  margin: 0;
}

.pf-hero-lead {
  color: #52635d;
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  line-height: 1.95;
  margin: 32px 0 0;
  max-width: 720px;
}

.pf-identity {
  background: var(--fw-green);
  border-radius: 30px;
  color: #fff;
  min-height: 410px;
  overflow: hidden;
  padding: clamp(34px, 5vw, 54px);
  position: relative;
}

.pf-identity::after {
  background: var(--fw-lime);
  border-radius: 50%;
  bottom: -130px;
  content: "";
  height: 300px;
  position: absolute;
  right: -80px;
  width: 300px;
}

.pf-monogram {
  color: var(--fw-lime);
  font-size: clamp(4rem, 8vw, 6.5rem);
  font-weight: 850;
  letter-spacing: -0.08em;
  line-height: 1;
  margin: 0;
  position: relative;
  z-index: 1;
}

.pf-role {
  font-size: 1.05rem;
  font-weight: 850;
  margin: 78px 0 0;
  position: relative;
  z-index: 1;
}

.pf-role-copy {
  color: #d8e5df;
  font-size: 0.88rem;
  line-height: 1.8;
  margin: 14px 0 0;
  position: relative;
  z-index: 1;
}

.pf-section {
  padding: clamp(78px, 9vw, 126px) 0;
}

.pf-section--white {
  background: #fff;
}

.pf-section--dark {
  background: var(--fw-ink);
  color: #fff;
}

.pf-section-title {
  color: var(--fw-ink);
  font-size: clamp(2.15rem, 4.8vw, 4rem);
  letter-spacing: -0.06em;
  line-height: 1.16;
  margin: 0;
}

.pf-section--dark .pf-section-title {
  color: #fff;
}

.pf-section--dark .pf-eyebrow {
  color: var(--fw-lime);
}

.pf-story-grid {
  align-items: flex-start !important;
  gap: clamp(50px, 9vw, 124px) !important;
}

.pf-story-lead {
  color: var(--fw-ink);
  font-size: clamp(1.25rem, 2.4vw, 1.75rem);
  font-weight: 750;
  letter-spacing: -0.025em;
  line-height: 1.75;
  margin: 0;
}

.pf-story-copy {
  color: #5b6964;
  line-height: 2;
  margin: 30px 0 0;
}

.pf-experience-grid {
  gap: 18px !important;
  margin-top: 58px;
}

.pf-experience-card {
  border-top: 1px solid rgba(255, 255, 255, 0.25);
  min-height: 290px;
  padding: 28px 22px 18px 0;
}

.pf-card-index {
  color: var(--fw-lime);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.11em;
  margin: 0;
}

.pf-card-title {
  color: #fff;
  font-size: 1.5rem;
  letter-spacing: -0.04em;
  margin: 58px 0 0;
}

.pf-card-copy {
  color: #b8c8c2;
  font-size: 0.9rem;
  line-height: 1.85;
  margin: 18px 0 0;
}

.pf-principle-grid {
  gap: 18px !important;
  margin-top: 54px;
}

.pf-principle-card {
  background: #fff;
  border: 1px solid var(--fw-line);
  border-radius: 24px;
  min-height: 300px;
  padding: 34px;
}

.pf-principle-number {
  color: var(--fw-green);
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  margin: 0;
}

.pf-principle-title {
  color: var(--fw-ink);
  font-size: 1.35rem;
  letter-spacing: -0.035em;
  line-height: 1.45;
  margin: 62px 0 0;
}

.pf-principle-copy {
  color: #61706b;
  font-size: 0.9rem;
  line-height: 1.85;
  margin: 17px 0 0;
}

.pf-cta {
  background: var(--fw-orange);
  border-radius: 32px;
  overflow: hidden;
  padding: clamp(44px, 8vw, 88px);
  position: relative;
}

.pf-cta::after {
  border: 1px solid rgba(17, 37, 31, 0.24);
  border-radius: 50%;
  content: "";
  height: 370px;
  position: absolute;
  right: -150px;
  top: -190px;
  width: 370px;
}

.pf-cta-title {
  color: var(--fw-ink);
  font-size: clamp(2.4rem, 6vw, 5rem);
  letter-spacing: -0.065em;
  line-height: 1.08;
  margin: 0;
  position: relative;
  z-index: 1;
}

.pf-actions {
  margin-top: 36px;
  position: relative;
  z-index: 1;
}

.pf-actions .wp-block-button__link {
  border-radius: 999px;
  font-size: 0.94rem;
  font-weight: 850;
  padding: 15px 25px;
}

.pf-btn-primary .wp-block-button__link {
  background: var(--fw-ink);
  color: #fff;
}

.pf-btn-secondary .wp-block-button__link {
  background: transparent;
  border: 1px solid var(--fw-ink);
  color: var(--fw-ink);
}

@media (max-width: 880px) {
  .pf-hero-grid,
  .pf-story-grid,
  .pf-experience-grid,
  .pf-principle-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
  }

  .pf-identity {
    min-height: 350px;
  }
}

@media (max-width: 560px) {
  .pf-hero-title {
    font-size: clamp(3rem, 15vw, 4.5rem);
  }

  .pf-principle-card,
  .pf-experience-card {
    min-height: auto;
  }

  .pf-actions {
    align-items: stretch !important;
    flex-direction: column;
  }

  .pf-actions .wp-block-button,
  .pf-actions .wp-block-button__link {
    text-align: center;
    width: 100%;
  }
}
