/*
Theme Name: フォーム点犬
Theme URI: https://form-tenken.com/
Author: フォーム点犬
Author URI: https://form-tenken.com/
Description: 制作会社向け・問い合わせフォーム自動監視サービス「フォーム点犬」の販売サイト用テーマです。
Requires at least: 6.5
Tested up to: 6.8
Requires PHP: 8.0
Version: 0.2.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: form-tenken
*/

:root {
  --ft-ink: #171311;
  --ft-deep: #171311;
  --ft-accent: #df2b20;
  --ft-accent-dark: #9f1f18;
  --ft-brown: #a85b20;
  --ft-highlight: #f2c69f;
  --ft-cream: #fff4e9;
  --ft-paper: #fffdfa;
  --ft-red: #df2b20;
  --ft-line: #e2d7ce;
  --ft-muted: #6d625b;
  --ft-shadow: 0 18px 50px rgba(74, 39, 25, 0.13);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  color: var(--ft-ink);
  background: var(--ft-paper);
  font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", "YuGothic", "Noto Sans JP", sans-serif;
  line-height: 1.8;
}

a {
  text-underline-offset: 0.2em;
}

.wp-site-blocks {
  overflow: hidden;
}

.ft-container {
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto;
}

.ft-narrow {
  width: min(780px, calc(100% - 40px));
  margin-inline: auto;
}

.ft-announcement {
  margin: 0;
  padding: 8px 20px;
  color: #fff;
  background: var(--ft-deep);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-align: center;
}

.ft-header {
  position: relative;
  z-index: 20;
  padding: 18px 0;
  border-bottom: 1px solid rgba(74, 39, 25, 0.12);
  background: rgba(255, 254, 249, 0.96);
}

.ft-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.ft-brand,
.ft-site-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  color: var(--ft-deep);
  font-size: 1.42rem;
  font-weight: 900;
  letter-spacing: 0.02em;
  text-decoration: none;
}

.ft-site-title {
  margin: 0;
  font-size: inherit;
  font-weight: inherit;
  line-height: 1.2;
}

.ft-site-title a,
.ft-preview-site-title {
  color: inherit;
  text-decoration: none;
}

.ft-site-logo {
  margin: 0;
}

.ft-site-logo img {
  display: block;
  width: auto;
  max-width: 230px;
  max-height: 58px;
  object-fit: contain;
}

.ft-brand-logo-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.ft-brand-logo {
  display: block;
  width: auto;
  max-width: 270px;
  max-height: 64px;
  object-fit: contain;
}

.ft-site-brand:has(.custom-logo-link) .ft-site-title {
  display: none;
}

.ft-brand-mark {
  display: inline-grid;
  width: 42px;
  height: 42px;
  margin: 0;
  place-items: center;
  border: 2px solid var(--ft-deep);
  border-radius: 50% 50% 46% 46%;
  color: var(--ft-deep);
  background: var(--ft-highlight);
  font-size: 1rem;
  font-weight: 900;
  line-height: 1;
  transform: rotate(-4deg);
}

.ft-header-links {
  display: flex;
  align-items: center;
  gap: 22px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.9rem;
  font-weight: 700;
}

.ft-header-links a {
  color: var(--ft-ink);
  text-decoration: none;
}

.ft-header-links a:hover,
.ft-header-links a:focus-visible {
  color: var(--ft-accent);
}

.ft-button .wp-block-button__link,
.wp-block-button.ft-button .wp-block-button__link {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 14px 24px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: var(--ft-accent);
  box-shadow: 0 8px 0 var(--ft-accent-dark);
  font-size: 0.98rem;
  font-weight: 800;
  line-height: 1.4;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.ft-button .wp-block-button__link:hover,
.ft-button .wp-block-button__link:focus-visible {
  color: #fff;
  background: #c6241a;
  box-shadow: 0 5px 0 var(--ft-accent-dark);
  transform: translateY(3px);
}

.ft-button-small .wp-block-button__link {
  min-height: 44px;
  padding: 10px 18px;
  box-shadow: none;
  font-size: 0.86rem;
}

.ft-button-outline .wp-block-button__link {
  color: var(--ft-deep);
  background: transparent;
  box-shadow: inset 0 0 0 2px var(--ft-deep);
}

.ft-button-outline .wp-block-button__link:hover,
.ft-button-outline .wp-block-button__link:focus-visible {
  color: #fff;
  background: var(--ft-deep);
  box-shadow: inset 0 0 0 2px var(--ft-deep);
  transform: none;
}

.ft-hero {
  position: relative;
  padding: clamp(64px, 9vw, 118px) 0 88px;
  background:
    radial-gradient(circle at 92% 15%, rgba(242, 198, 159, 0.58) 0 13%, transparent 13.3%),
    linear-gradient(145deg, #fffdfa 0%, #fff2e8 100%);
}

.ft-hero::after {
  position: absolute;
  right: -90px;
  bottom: -140px;
  width: 300px;
  height: 300px;
  border: 60px solid rgba(168, 91, 32, 0.07);
  border-radius: 50%;
  content: "";
}

.ft-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.92fr);
  align-items: center;
  gap: clamp(44px, 7vw, 92px);
}

.ft-eyebrow {
  display: inline-block;
  margin: 0 0 20px;
  padding: 6px 12px;
  border: 1px solid rgba(168, 91, 32, 0.28);
  border-radius: 999px;
  color: #7f4218;
  background: #fff0e2;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.ft-hero h1 {
  max-width: 760px;
  margin: 0 0 24px;
  color: var(--ft-deep);
  font-size: clamp(2.35rem, 4.4vw, 4rem);
  font-weight: 900;
  letter-spacing: -0.045em;
  line-height: 1.12;
  word-break: keep-all;
}

.ft-hero h1 em {
  position: relative;
  color: var(--ft-accent);
  font-style: normal;
  white-space: nowrap;
}

.ft-hero h1 em::after {
  position: absolute;
  right: 0;
  bottom: -5px;
  left: 0;
  height: 7px;
  border-radius: 99px;
  background: var(--ft-brown);
  content: "";
  opacity: 0.7;
}

.ft-hero-lead {
  max-width: 670px;
  margin: 0 0 28px;
  color: #3e4c43;
  font-size: clamp(1rem, 1.8vw, 1.17rem);
  line-height: 1.95;
}

.ft-hero-note {
  margin: 18px 0 0;
  color: var(--ft-muted);
  font-size: 0.84rem;
}

.ft-monitor-card {
  position: relative;
  z-index: 2;
  padding: 28px;
  border: 1px solid rgba(74, 39, 25, 0.12);
  border-radius: 26px;
  background: #fff;
  box-shadow: var(--ft-shadow);
  transform: rotate(1.2deg);
}

.ft-monitor-card::before {
  position: absolute;
  top: -18px;
  right: 24px;
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--ft-deep);
  background: var(--ft-highlight);
  box-shadow: 0 6px 16px rgba(74, 39, 25, 0.12);
  content: "異常なし ワン！";
  font-size: 0.78rem;
  font-weight: 900;
  transform: rotate(3deg);
}

.ft-monitor-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--ft-line);
}

.ft-monitor-title strong {
  color: var(--ft-deep);
  font-size: 1.06rem;
}

.ft-status-dot {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin: 0;
  color: var(--ft-brown);
  font-size: 0.8rem;
  font-weight: 800;
}

.ft-status-dot::before {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--ft-brown);
  box-shadow: 0 0 0 5px rgba(168, 91, 32, 0.14);
  content: "";
}

.ft-timeline {
  margin: 0;
  padding: 0;
  list-style: none;
}

.ft-timeline li {
  position: relative;
  display: grid;
  grid-template-columns: 66px 20px 1fr;
  gap: 10px;
  align-items: start;
  padding: 0 0 22px;
  color: #344139;
  font-size: 0.9rem;
}

.ft-timeline li:last-child {
  padding-bottom: 0;
}

.ft-timeline li:not(:last-child)::after {
  position: absolute;
  top: 18px;
  bottom: 3px;
  left: 84px;
  width: 2px;
  background: #cae6d5;
  content: "";
}

.ft-time {
  color: var(--ft-muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.76rem;
}

.ft-check {
  display: grid;
  width: 20px;
  height: 20px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--ft-brown);
  font-size: 0.68rem;
  line-height: 1;
}

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

.ft-section-cream {
  background: var(--ft-cream);
}

.ft-section-deep {
  color: #fff;
  background: var(--ft-deep);
}

.ft-section-heading {
  max-width: 760px;
  margin: 0 auto 52px;
  text-align: center;
}

.ft-dog-heading::before,
.ft-final-cta-inner::before {
  display: block;
  width: 84px;
  height: 84px;
  margin: 0 auto 16px;
  border: 1px solid rgba(168, 91, 32, 0.18);
  border-radius: 50%;
  background-color: #fff4e9;
  background-image: url("assets/logo-form-tenken.png");
  background-position: left center;
  background-repeat: no-repeat;
  background-size: auto 112%;
  box-shadow: 0 10px 24px rgba(74, 39, 25, 0.12);
  content: "";
}

.ft-dog-heading-light::before {
  border-color: rgba(255, 255, 255, 0.3);
  background-color: #fff;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.2);
}

.ft-final-cta-inner::before {
  width: 96px;
  height: 96px;
  margin-bottom: 20px;
}

.ft-section-heading-left {
  margin-inline: 0;
  text-align: left;
}

.ft-kicker {
  margin: 0 0 10px;
  color: var(--ft-accent);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.ft-section-deep .ft-kicker {
  color: var(--ft-highlight);
}

.ft-section h2 {
  margin: 0 0 18px;
  color: var(--ft-deep);
  font-size: clamp(1.9rem, 4vw, 3.25rem);
  font-weight: 900;
  letter-spacing: -0.035em;
  line-height: 1.3;
}

.ft-section-deep h2 {
  color: #fff;
}

.ft-section-heading > p:last-child {
  margin-bottom: 0;
  color: var(--ft-muted);
}

.ft-section-deep .ft-section-heading > p:last-child {
  color: #d8e5dd;
}

.ft-story {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 48px;
  align-items: center;
}

.ft-story-scene {
  position: relative;
  padding: 34px;
  border-radius: 24px;
  color: #fff;
  background: var(--ft-deep);
  box-shadow: var(--ft-shadow);
}

.ft-story-scene::after {
  position: absolute;
  right: -12px;
  bottom: 34px;
  width: 28px;
  height: 28px;
  background: var(--ft-deep);
  content: "";
  transform: rotate(45deg);
}

.ft-story-time {
  margin: 0 0 14px;
  color: var(--ft-highlight);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.06em;
}

.ft-story-quote {
  margin: 0;
  font-size: clamp(1.2rem, 2.5vw, 1.62rem);
  font-weight: 800;
  line-height: 1.65;
}

.ft-story-copy p {
  margin-top: 0;
  color: #3e4c43;
  font-size: 1.03rem;
}

.ft-story-copy strong {
  color: var(--ft-deep);
  background: linear-gradient(transparent 60%, var(--ft-highlight) 60%);
}

.ft-compare {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  align-items: stretch;
  gap: 26px;
}

.ft-compare-card {
  align-self: stretch;
  height: 100%;
  margin-block: 0 !important;
  padding: 34px;
  border: 1px solid var(--ft-line);
  border-radius: 22px;
  background: #fff;
}

.ft-compare-before {
  background: #fff9f6;
}

.ft-compare-after {
  border-color: rgba(223, 43, 32, 0.28);
  background: #fff7f3;
  box-shadow: var(--ft-shadow);
}

.ft-label {
  display: inline-block;
  margin: 0 0 16px;
  padding: 4px 10px;
  border-radius: 999px;
  color: #fff;
  background: #7b817d;
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.ft-compare-after .ft-label {
  background: var(--ft-accent);
}

.ft-compare-card h3 {
  margin: 0 0 18px;
  color: var(--ft-deep);
  font-size: 1.35rem;
  line-height: 1.45;
}

.ft-check-list,
.ft-x-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.ft-check-list li,
.ft-x-list li {
  position: relative;
  margin-bottom: 13px;
  padding-left: 30px;
  color: #445249;
}

.ft-check-list li::before,
.ft-x-list li::before {
  position: absolute;
  top: 0.08em;
  left: 0;
  display: grid;
  width: 21px;
  height: 21px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  font-size: 0.68rem;
  font-weight: 900;
}

.ft-check-list li::before {
  background: var(--ft-accent);
  content: "✓";
}

.ft-x-list li::before {
  background: #9caaa1;
  content: "×";
}

.ft-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  align-items: stretch;
  gap: 22px;
  counter-reset: step;
}

.ft-step {
  position: relative;
  align-self: stretch;
  height: 100%;
  margin-block: 0 !important;
  min-height: 270px;
  padding: 32px;
  border: 1px solid var(--ft-line);
  border-radius: 22px;
  background: #fff;
  counter-increment: step;
}

.ft-step::before {
  display: grid;
  width: 45px;
  height: 45px;
  margin-bottom: 24px;
  place-items: center;
  border-radius: 15px;
  color: var(--ft-deep);
  background: var(--ft-highlight);
  content: counter(step, decimal-leading-zero);
  font-size: 0.84rem;
  font-weight: 900;
}

.ft-step h3 {
  margin: 0 0 12px;
  color: var(--ft-deep);
  font-size: 1.2rem;
  line-height: 1.5;
}

.ft-step p {
  margin: 0;
  color: var(--ft-muted);
  font-size: 0.94rem;
}

.ft-scope-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-auto-rows: 1fr;
  align-items: stretch;
  gap: 28px;
}

.ft-scope-card {
  align-self: stretch;
  height: 100%;
  margin-block: 0 !important;
  padding: 34px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.08);
}

.ft-scope-card h3 {
  margin: 0 0 20px;
  color: #fff;
  font-size: 1.22rem;
}

.ft-scope-card .ft-check-list li,
.ft-scope-card .ft-x-list li {
  color: #e1ebe5;
}

.ft-scope-note {
  margin: 28px 0 0;
  color: #cbd9d0;
  font-size: 0.88rem;
  text-align: center;
}

.ft-resale-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 58px;
  align-items: center;
}

.ft-revenue-card {
  padding: 34px;
  border: 1px solid rgba(168, 91, 32, 0.22);
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--ft-shadow);
}

.ft-revenue-title {
  margin: 0 0 24px;
  color: var(--ft-deep);
  font-size: 1.08rem;
  font-weight: 900;
}

.ft-revenue-row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 0;
  border-bottom: 1px solid var(--ft-line);
}

.ft-revenue-row strong {
  color: var(--ft-deep);
}

.ft-revenue-result {
  margin: 24px 0 8px;
  color: var(--ft-accent);
  font-size: clamp(1.9rem, 5vw, 3rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.2;
}

.ft-caption {
  color: var(--ft-muted);
  font-size: 0.78rem;
}

.ft-price-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.ft-price-card {
  position: relative;
  padding: 34px 28px;
  border: 1px solid var(--ft-line);
  border-radius: 22px;
  background: #fff;
}

.ft-price-card-featured {
  border: 2px solid var(--ft-accent);
  box-shadow: var(--ft-shadow);
  transform: translateY(-8px);
}

.ft-popular {
  position: absolute;
  top: -15px;
  right: 22px;
  padding: 5px 12px;
  border-radius: 999px;
  color: #fff;
  background: var(--ft-accent);
  font-size: 0.72rem;
  font-weight: 900;
}

.ft-plan-name {
  margin: 0 0 8px;
  color: var(--ft-deep);
  font-size: 1.14rem;
  font-weight: 900;
}

.ft-plan-for {
  min-height: 3.7em;
  margin: 0 0 18px;
  color: var(--ft-muted);
  font-size: 0.84rem;
}

.ft-price {
  margin: 0 0 20px;
  color: var(--ft-deep);
  font-size: 2.1rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.2;
}

.ft-price small {
  font-size: 0.78rem;
  letter-spacing: 0;
}

.ft-pilot {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 36px;
  align-items: center;
  margin-top: 58px;
  padding: clamp(30px, 5vw, 50px);
  border-radius: 26px;
  color: #fff;
  background: var(--ft-deep);
  box-shadow: var(--ft-shadow);
}

.ft-pilot h3 {
  margin: 0 0 10px;
  color: #fff;
  font-size: clamp(1.45rem, 3vw, 2rem);
}

.ft-pilot p {
  margin: 0;
  color: #d9e6de;
}

.ft-pilot .ft-button .wp-block-button__link {
  color: var(--ft-deep);
  background: var(--ft-highlight);
  box-shadow: 0 8px 0 #b96d35;
}

.ft-faq {
  display: grid;
  gap: 14px;
  max-width: 840px;
  margin-inline: auto;
}

.ft-faq details {
  padding: 22px 24px;
  border: 1px solid var(--ft-line);
  border-radius: 16px;
  background: #fff;
}

.ft-faq summary {
  position: relative;
  padding-right: 34px;
  color: var(--ft-deep);
  cursor: pointer;
  font-weight: 800;
  list-style: none;
}

.ft-faq summary::-webkit-details-marker {
  display: none;
}

.ft-faq summary::after {
  position: absolute;
  top: 0;
  right: 2px;
  color: var(--ft-accent);
  content: "+";
  font-size: 1.35rem;
  line-height: 1;
}

.ft-faq details[open] summary::after {
  content: "−";
}

.ft-faq details p {
  margin: 16px 0 0;
  color: var(--ft-muted);
  font-size: 0.92rem;
}

.ft-next-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 850px;
  margin: 34px auto 22px;
}

.ft-next-steps > div {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 14px 16px;
  border: 1px solid rgba(74, 39, 25, 0.13);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.74);
  color: var(--ft-ink);
  font-size: 0.86rem;
  font-weight: 800;
  text-align: left;
}

.ft-next-steps strong {
  display: grid;
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--ft-brown);
  font-size: 0.75rem;
}

.ft-form-shell {
  max-width: 850px;
  margin: 0 auto;
  padding: clamp(26px, 5vw, 48px);
  border: 1px solid rgba(74, 39, 25, 0.14);
  border-radius: 26px;
  background: #fff;
  box-shadow: var(--ft-shadow);
  text-align: left;
}

.ft-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px 20px;
}

.ft-field {
  display: grid;
  gap: 8px;
  color: var(--ft-ink);
  font-size: 0.91rem;
  font-weight: 800;
}

.ft-field-wide {
  grid-column: 1 / -1;
}

.ft-field b,
.ft-field em {
  display: inline-block;
  margin-left: 6px;
  padding: 2px 7px;
  border-radius: 99px;
  font-size: 0.67rem;
  font-style: normal;
  letter-spacing: 0.04em;
  vertical-align: 0.12em;
}

.ft-field b {
  color: #fff;
  background: var(--ft-accent);
}

.ft-field em {
  color: var(--ft-muted);
  background: #f1ece8;
}

.ft-field input,
.ft-field select,
.ft-field textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  border: 1px solid #cfc3ba;
  border-radius: 11px;
  color: var(--ft-ink);
  background: #fff;
  font: inherit;
  font-weight: 500;
  line-height: 1.5;
}

.ft-field textarea {
  min-height: 120px;
  resize: vertical;
}

.ft-field input:focus,
.ft-field select:focus,
.ft-field textarea:focus {
  border-color: var(--ft-brown);
  box-shadow: 0 0 0 4px rgba(168, 91, 32, 0.13);
  outline: 0;
}

.ft-field small {
  color: var(--ft-muted);
  font-size: 0.75rem;
  font-weight: 500;
}

.ft-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 24px 0 18px;
  color: #4d443e;
  font-size: 0.86rem;
}

.ft-consent input {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin-top: 4px;
  accent-color: var(--ft-accent);
}

.ft-consent a {
  color: var(--ft-accent-dark);
  font-weight: 800;
}

.ft-form-submit {
  display: flex;
  width: 100%;
  min-height: 58px;
  align-items: center;
  justify-content: center;
  padding: 15px 24px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: var(--ft-accent);
  box-shadow: 0 8px 0 var(--ft-accent-dark);
  cursor: pointer;
  font: inherit;
  font-size: 1rem;
  font-weight: 900;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.ft-form-submit:hover,
.ft-form-submit:focus-visible {
  background: #c6241a;
  box-shadow: 0 5px 0 var(--ft-accent-dark);
  transform: translateY(3px);
}

.ft-form-safe-note,
.ft-form-footnote {
  color: var(--ft-muted);
  font-size: 0.78rem;
  text-align: center;
}

.ft-form-safe-note {
  margin: 16px 0 0;
}

.ft-form-footnote {
  margin: 16px auto 0 !important;
}

.ft-form-errors,
.ft-form-success {
  margin-bottom: 24px;
  padding: 18px 20px;
  border-radius: 14px;
}

.ft-form-errors {
  border: 1px solid rgba(223, 43, 32, 0.28);
  color: #7e1b15;
  background: #fff2f0;
}

.ft-form-errors ul {
  margin: 10px 0 0;
  padding-left: 1.3em;
}

.ft-form-success {
  border: 1px solid rgba(168, 91, 32, 0.28);
  color: #4f2b14;
  background: #fff5eb;
  text-align: center;
}

.ft-form-success strong {
  font-size: 1.2rem;
}

.ft-form-success p {
  margin: 8px 0 0;
}

.ft-hp {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
}

.ft-final-cta {
  position: relative;
  padding: clamp(80px, 11vw, 132px) 0;
  text-align: center;
  background: var(--ft-highlight);
}

.ft-final-cta h2 {
  max-width: 820px;
  margin: 0 auto 22px;
  color: var(--ft-deep);
  font-size: clamp(2rem, 4.7vw, 3.7rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.25;
}

.ft-final-cta > .ft-container > p {
  max-width: 680px;
  margin: 0 auto 28px;
  color: #365142;
}

.ft-footer {
  padding: 52px 0 26px;
  color: #d8e4dc;
  background: #102b20;
}

.ft-footer-grid {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
}

.ft-footer .ft-brand,
.ft-footer .ft-site-brand {
  color: #fff;
}

.ft-footer .ft-brand-mark {
  border-color: var(--ft-highlight);
  color: var(--ft-deep);
}

.ft-footer-copy {
  max-width: 440px;
  margin: 16px 0 0;
  color: #b9cbc0;
  font-size: 0.86rem;
}

.ft-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 24px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.84rem;
}

.ft-footer-links a {
  color: #e5eee8;
}

.ft-copyright {
  margin: 36px 0 0;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: #90a99b;
  font-size: 0.74rem;
}

.ft-page-main {
  padding: 72px 0 110px;
}

.ft-page-main h1 {
  color: var(--ft-deep);
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 1.3;
}

.ft-page-main .wp-block-post-content {
  max-width: 820px;
  margin-inline: auto;
}

.ft-page-main .wp-block-post-content h2 {
  margin-top: 2.4em;
  color: var(--ft-deep);
}

.ft-page-main .wp-block-post-content h3 {
  margin-top: 2em;
  color: var(--ft-deep);
}

@media (max-width: 900px) {
  .ft-header-links li:not(:last-child) {
    display: none;
  }

  .ft-hero-grid,
  .ft-story,
  .ft-resale-grid {
    grid-template-columns: 1fr;
  }

  .ft-monitor-card {
    max-width: 620px;
    margin-inline: auto;
    transform: none;
  }

  .ft-story-scene::after {
    right: auto;
    bottom: -12px;
    left: 48px;
  }

  .ft-steps,
  .ft-price-grid {
    grid-template-columns: 1fr;
  }

  .ft-step {
    min-height: 0;
  }

  .ft-price-card-featured {
    transform: none;
  }
}

@media (max-width: 680px) {
  .ft-container,
  .ft-narrow {
    width: min(100% - 28px, 1120px);
  }

  .ft-header {
    padding: 12px 0;
  }

  .ft-brand {
    font-size: 1.14rem;
  }

  .ft-site-brand {
    font-size: 1.14rem;
  }

  .ft-site-logo img {
    max-width: 170px;
    max-height: 44px;
  }

  .ft-brand-logo {
    max-width: 190px;
    max-height: 48px;
  }

  .ft-brand-mark {
    width: 36px;
    height: 36px;
  }

  .ft-header-links .ft-button-small .wp-block-button__link {
    min-height: 38px;
    padding: 8px 12px;
    font-size: 0.75rem;
  }

  .ft-hero {
    padding-top: 58px;
  }

  .ft-hero-grid {
    gap: 58px;
  }

  .ft-hero h1 {
    font-size: clamp(2.1rem, 10.5vw, 2.95rem);
  }

  .ft-monitor-card,
  .ft-story-scene,
  .ft-compare-card,
  .ft-step,
  .ft-scope-card,
  .ft-revenue-card,
  .ft-price-card {
    padding: 25px;
  }

  .ft-compare,
  .ft-scope-grid {
    grid-template-columns: 1fr;
  }

  .ft-pilot {
    grid-template-columns: 1fr;
  }

  .ft-footer-grid {
    flex-direction: column;
  }

  .ft-footer-links {
    flex-direction: column;
  }

  .ft-next-steps,
  .ft-form-grid {
    grid-template-columns: 1fr;
  }

  .ft-field-wide {
    grid-column: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
