.ft-page {
  --ink: #20392f; --muted: #4d6558; --line: #d3dfd2; --paper: #f9faf3; --white: #fffffc;
  color: var(--ink); background: var(--paper); padding-bottom: clamp(44px, 7vw, 100px);
  font-family: var(--sans, Manrope, sans-serif);
}
.ft-page *, .ft-page *::before, .ft-page *::after { box-sizing: border-box; }
.ft-page [hidden] { display: none !important; }
.ft-wrap { width: min(1120px, calc(100% - 80px)); margin: 0 auto; }
.ft-page :is(h1,h2,h3,p) { margin: 0; }
.ft-page :is(a,button,input,select,textarea,summary):focus-visible { outline: 3px solid #3776b2; outline-offset: 4px; }
.ft-page a { color: inherit; }
.ft-page p { font-size: 15px; line-height: 1.65; }
.ft-library-hero { display: grid; grid-template-columns: 1.3fr 1fr; align-items: center; gap: 48px; padding: clamp(44px, 5.5vw, 84px) 0 40px; }
.ft-library-hero h1 { font-size: clamp(48px, 6.2vw, 86px); letter-spacing: -.065em; line-height: .99; font-weight: 550; }
.ft-library-hero h1 em { font: italic 400 1.04em/1 var(--serif, Georgia, serif); color: #55744f; letter-spacing: -.04em; }
.ft-library-hero p,.ft-hero p { margin-top: 19px; max-width: 59ch; color: var(--muted); font-size: clamp(16px, 1.4vw, 19px); line-height: 1.55; }
.ft-library-art { position: relative; isolation: isolate; height: 215px; }
.ft-library-art::before { content: ''; position: absolute; inset: 10% -2% 3% -6%; z-index: -1; border-radius: 50%; transform: rotate(-9deg); background: radial-gradient(ellipse, #e7edd9 0%, #f1f3e5 54%, transparent 73%); }
.ft-library-art img { position: absolute; width: 35%; max-width: 146px; height: auto; padding: 10px; border: 1px solid #ffffffd9; border-radius: 25%; box-shadow: 0 8px 0 -4px #ffffffb3, 0 12px 18px #32462612; }
.ft-library-art img:nth-child(1) { left: 4%; top: 32%; z-index: 1; transform: rotate(-12deg); background: #eee8fc; }
.ft-library-art img:nth-child(2) { left: 34%; top: 1%; transform: rotate(7deg); background: #e8f2fb; }
.ft-library-art img:nth-child(3) { right: 4%; bottom: 2%; transform: rotate(11deg); background: #faebd9; }
.ft-categories { display: flex; flex-wrap: wrap; gap: 8px; border-bottom: 1px solid var(--line); padding: 8px 0 24px; }
.ft-categories a { background: var(--white); border: 1px solid var(--line); padding: 9px 13px; min-height: 42px; display: inline-flex; align-items: center; gap: 9px; border-radius: 24px; text-decoration: none; font-size: 13px; font-weight: 600; }
.ft-categories span { color: #637763; font: 11px var(--mono,monospace); }
.ft-collection { padding-top: clamp(26px, 3vw, 42px); scroll-margin-top: 85px; }
.ft-collection h2, .ft-more h2, .ft-reading h2 { font-size: clamp(24px, 2.45vw, 34px); line-height: 1.18; letter-spacing: -.047em; font-weight: 600; }
.ft-card-grid { margin-top: 16px; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; }
.ft-page .ft-card { display: flex; align-items: flex-start; flex-direction: column; position: relative; background: var(--white); border: 1px solid var(--line); border-radius: 17px; text-decoration: none; padding: 15px 21px 22px; box-shadow: 0 3px 8px #233a2010; }
.ft-card img { object-fit: contain; margin-left: -8px; }
.ft-card h3 { font-size: clamp(17px, 1.5vw, 21px); font-weight: 650; line-height: 1.25; letter-spacing: -.04em; margin: 3px 0 8px; }
.ft-card p { color: var(--muted); font-size: 13px; line-height: 1.56; }
.ft-arrow { position: absolute; right: 18px; top: 17px; color: #668365; font-size: 18px; }
.ft-card:hover,.ft-categories a:hover,.ft-more a:hover { border-color: #89a388; background: #f9fcf4; }
.ft-breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; padding: 27px 0 0; font-size: 13px; color: var(--muted); }
.ft-breadcrumb a { text-underline-offset: 3px; }
.ft-breadcrumb span { color: #859381; }
.ft-hero { display: grid; grid-template-columns: minmax(0,1fr) clamp(120px,18vw,205px); align-items: center; gap: 34px; padding: 22px 0 clamp(22px, 3.4vw, 44px); }
.ft-hero h1 { font-size: clamp(42px, 4.6vw, 66px); line-height: 1.04; letter-spacing: -.063em; font-weight: 550; text-wrap: balance; }
.ft-hero p { max-width: 65ch; margin-top: 12px; }
.ft-hero-art { aspect-ratio: 1.17; border-radius: 32% 40% 34% 38%; background: radial-gradient(ellipse, var(--tint) 27%, transparent 72%); display: grid; place-items: center; }
.ft-hero-art img { width: 93%; height: auto; }
.ft-tone-live-chat { --tint: #ebe4f9; }
.ft-tone-knowledge-base { --tint: #e0eee8; }
.ft-tone-support-operations { --tint: #deeefa; }
.ft-tone-ecommerce { --tint: #faead7; }
.ft-tone-ai-and-writing { --tint: #ebe5f5; }
.ft-workbench { display: grid; grid-template-columns: minmax(0,1.12fr) minmax(0,.88fr); border: 1px solid #cbd8c8; border-radius: 22px; overflow: hidden; box-shadow: 0 5px 16px #2136230a; background: var(--white); }
.ft-form, .ft-output { padding: clamp(20px, 2.8vw, 37px); min-width: 0; }
.ft-form fieldset { padding: 0; margin: 0; border: 0; min-width: 0; }
.ft-form legend, .ft-output h2 { font-size: 23px; letter-spacing: -.045em; font-weight: 650; line-height: 1.25; padding: 0; }
.ft-fields { display: grid; gap: 17px 14px; grid-template-columns: repeat(2,minmax(0,1fr)); margin: 20px 0; }
.ft-field:only-child,.ft-wide,.ft-field:last-child:nth-child(odd) { grid-column: 1/-1; }
.ft-field { min-width: 0; }
.ft-field label { display: block; margin-bottom: 6px; font-size: 13px; color: #274532; font-weight: 700; }
.ft-field :is(input,select,textarea) { width: 100%; border: 1px solid #b9cbb9; background: white; color: #1e382e; border-radius: 8px; padding: 9px; font: inherit; font-size: 15px; line-height: 1.4; min-height: 43px; }
.ft-field input[type=color] { padding: 4px; }
.ft-field textarea { display: block; resize: vertical; }
.ft-field small { font-size: 12px; color: var(--muted); font-weight: 400; }
.ft-field>small { display: block; line-height: 1.45; margin-top: 5px; }
.ft-submit,.ft-actions button,.ft-actions a { cursor: pointer; font: inherit; font-size: 14px; font-weight: 650; line-height: 1.4; text-decoration: none; border-radius: 9px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; gap: 12px; padding: 10px 16px; }
.ft-submit { background: #233f31; color: white; border: 1px solid #233f31; }
.ft-submit:hover { background: #36573f; }
.ft-submit:disabled { opacity: .7; cursor: progress; }
.ft-output { background: linear-gradient(135deg,#edf3e7,#f4f7ee); border-left: 1px solid var(--line); }
.ft-output h2 { margin-bottom: 13px; overflow-wrap: anywhere; }
.ft-example p,.ft-result-body { font-size: 15px; color: #344f3d; line-height: 1.65; }
.ft-result-body { white-space: pre-wrap; overflow-wrap: anywhere; max-height: 480px; overflow: auto; }
.ft-example p, .ft-reading p { white-space: pre-line; }
.ft-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 18px; }
.ft-actions :is(button,a) { background: var(--white); color: var(--ink); border: 1px solid #bdcdbb; font-size: 13px; min-height: 38px; }
.ft-output .ft-status { font-size: 13px; margin-top: 12px; }
.ft-status[data-error] { color: #932e20; }
.ft-reading { display: grid; grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr); gap: clamp(30px,6vw,82px); padding: 46px 0; }
.ft-reading p { color: var(--muted); margin-top: 15px; }
.ft-reading .ft-ref,.ft-more>a { display: inline-block; font-size: 13px; text-underline-offset: 4px; margin-top: 14px; }
.ft-faq details { border-bottom: 1px solid var(--line); }
.ft-faq h2 { margin-bottom: 6px; }
.ft-faq summary { position: relative; cursor: pointer; list-style: none; padding: 14px 26px 14px 0; font-size: 15px; font-weight: 600; }
.ft-faq summary::-webkit-details-marker { display: none; }
.ft-faq summary::after { content: '+'; position: absolute; top: 12px; right: 3px; font-size: 19px; }
.ft-faq details[open] summary::after { content: '−'; }
.ft-faq details p { margin: 0 0 16px; font-size: 14px; }
.ft-more { border-top: 1px solid var(--line); padding-top: 26px; }
.ft-more div { margin-top: 14px; display: flex; gap: 10px; flex-wrap: wrap; }
.ft-more div a { display: inline-flex; gap: 9px; align-items: center; padding: 5px 13px 5px 7px; font-size: 14px; font-weight: 600; text-decoration: none; background: var(--white); border: 1px solid var(--line); border-radius: 11px; }
@media(max-width: 850px) {
  .ft-wrap { width: calc(100% - 44px); }
  .ft-card-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .ft-library-hero { gap: 18px; grid-template-columns: 1.4fr 1fr; }
  .ft-library-art { height: 165px; }
  .ft-fields { grid-template-columns: minmax(0,1fr); }
}
@media(max-width: 650px) {
  .ft-wrap { width: calc(100% - 32px); }
  .ft-library-hero { grid-template-columns: minmax(0,1fr) 90px; gap: 6px; padding: 32px 0 22px; }
  .ft-library-hero h1 { font-size: clamp(37px, 9vw, 54px); }
  .ft-library-hero p { font-size: 15px; }
  .ft-library-art { height: 120px; }
  .ft-library-art img { padding: 4px; width: 67%; }
  .ft-library-art img:nth-child(1) { left: 0; top: 2px; }
  .ft-library-art img:nth-child(2) { left: 36%; top: 34px; }
  .ft-library-art img:nth-child(3) { left: 4%; top: 72px; }
  .ft-card-grid { grid-template-columns: minmax(0,1fr); gap: 9px; }
  .ft-page .ft-card { display: grid; grid-template-columns: 57px minmax(0,1fr); gap: 9px; padding: 13px; }
  .ft-card img { width: 60px; height: 60px; margin-left: -3px; }
  .ft-arrow { display: none; }
  .ft-categories { padding-bottom: 18px; }
  .ft-categories a { font-size: 12px; padding: 6px 10px; min-height: 36px; }
  .ft-breadcrumb { padding-top: 20px; }
  .ft-hero { position: relative; display: block; padding: 18px 0 23px; }
  .ft-hero-art { width: 70px; position: absolute; top: 9px; right: -2px; }
  .ft-hero h1 { font-size: clamp(31px,7.5vw,44px); padding-right: 68px; min-height: 63px; display: flex; align-items: center; }
  .ft-hero p { font-size: 15px; }
  .ft-workbench,.ft-reading { grid-template-columns: minmax(0,1fr); }
  .ft-workbench { border-radius: 15px; }
  .ft-output { border-left: 0; border-top: 1px solid var(--line); }
  .ft-reading { gap: 26px; padding: 30px 0; }
  .ft-field input,.ft-field textarea,.ft-field select { font-size: 16px; }
}


.ft-directory-faq { max-width: 780px; margin: 44px 0 0; }
.ft-directory-faq h2 { font-size: clamp(24px, 2.45vw, 34px); font-weight: 600; letter-spacing: -.047em; }
.ft-directory-faq details p { color: var(--muted); }

.ft-focused-tool .ft-breadcrumb { padding-top: 20px; }
.ft-focused-tool .ft-hero {
  display: grid; grid-template-columns: minmax(0, 1fr) 82px; align-items: center; gap: 20px;
  padding: 16px 0 23px;
}
.ft-focused-tool .ft-hero h1 { display: block; padding: 0; min-height: 0; font-size: clamp(32px, 3.6vw, 48px); }
.ft-focused-tool .ft-hero p { margin-top: 8px; max-width: 72ch; font-size: 16px; }
.ft-focused-tool .ft-hero-art { position: static; width: 100%; }
.ft-focused-tool .ft-reading h3 { margin-top: 20px; font-size: 16px; font-weight: 700; }
.ft-focused-tool .ft-reading h3 + p { margin-top: 6px; }
@media (max-width: 650px) {
  .ft-focused-tool .ft-hero { grid-template-columns: minmax(0, 1fr); gap: 0; padding: 14px 0 20px; }
  .ft-focused-tool .ft-hero-art { display: none; }
  .ft-focused-tool .ft-hero p { font-size: 15px; }
}
