/* Fieldnote Forms – accessible web form designs for WordPress, a demo by Drago Katić Development
   Fonts (SIL Open Font License, see fonts/OFL-*.txt): Lexend, Atkinson Hyperlegible
   Pages are generated by arhiva/alati/gen_fieldnote.py */

@font-face {
  font-family: "Lexend";
  src: url("fonts/lexend.woff2") format("woff2");
  font-weight: 500 700;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Lexend";
  src: url("fonts/lexend-ext.woff2") format("woff2");
  font-weight: 500 700;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Atkinson Hyperlegible";
  src: url("fonts/atkinson-400.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Atkinson Hyperlegible";
  src: url("fonts/atkinson-400-ext.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Atkinson Hyperlegible";
  src: url("fonts/atkinson-700.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Atkinson Hyperlegible";
  src: url("fonts/atkinson-700-ext.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --paper: #f6f1e7;
  --paper-2: #efe7d8;
  --card: #fffdf8;
  --ink: #1f2a44;
  --ink-2: #2c3a5c;
  --muted: #5b6477;
  --line: #d8ccb7;
  --fern: #2e7658;
  --fern-dark: #245f47;
  --fern-soft: #dcefe4;
  --marigold: #e9b949;
  --error: #b3261e;
  --error-soft: #fbe4e1;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 1px 0 #fff inset, 0 24px 48px -30px rgba(31, 42, 68, .45);
  --display: "Lexend", system-ui, sans-serif;
  --body: "Atkinson Hyperlegible", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --wrap: 1140px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  background-image: radial-gradient(rgba(31, 42, 68, .06) 1px, transparent 1px);
  background-size: 22px 22px;
  color: var(--ink);
  font: 400 1.0625rem/1.6 var(--body);
  overflow-x: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
}

h1,
h2,
h3 {
  margin: 0 0 .5em;
  font-family: var(--display);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -.02em;
}

h1 {
  font-size: clamp(2.2rem, 1.4rem + 3.2vw, 3.6rem);
}

h2 {
  font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.3rem);
}

h3 {
  font-size: 1.15rem;
  font-weight: 600;
}

p {
  margin: 0 0 1em;
}

a {
  color: var(--fern-dark);
}

:focus-visible {
  outline: 3px solid var(--marigold);
  outline-offset: 2px;
}

.fn-wrap {
  width: min(100% - 40px, var(--wrap));
  margin-inline: auto;
}

.fn-skip {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
}

.fn-skip:focus {
  top: 12px;
}

.fn-kicker {
  margin-bottom: .7em;
  color: var(--fern);
  font-family: var(--display);
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.fn-lead {
  max-width: 40rem;
  color: var(--muted);
  font-size: 1.2rem;
}

.fn-link {
  color: var(--fern-dark);
  font-weight: 700;
  text-underline-offset: 3px;
}

/* ---------- buttons ---------- */
.fn-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 12px 24px;
  border: 2px solid transparent;
  border-radius: 12px;
  font: 700 1rem var(--display);
  text-decoration: none;
  cursor: pointer;
  transition: background-color .2s, border-color .2s, color .2s, transform .2s var(--ease);
}

.fn-btn:active {
  transform: translateY(1px);
}

.fn-btn-primary {
  background: var(--fern);
  color: #fff;
  box-shadow: 0 4px 0 var(--fern-dark);
}

.fn-btn-primary:hover {
  background: var(--fern-dark);
}

.fn-btn-quiet {
  border-color: var(--ink);
  background: transparent;
  color: var(--ink);
}

.fn-btn-quiet:hover {
  background: var(--ink);
  color: #fff;
}

/* ---------- header ---------- */
.fn-header {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid var(--line);
  background: rgba(246, 241, 231, .92);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.fn-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 70px;
}

.fn-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font: 700 1.2rem var(--display);
  letter-spacing: -.02em;
  text-decoration: none;
}

.fn-brand em {
  color: var(--fern);
  font-style: normal;
}

.fn-nav ul {
  display: flex;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.fn-nav a {
  display: block;
  padding: 8px 14px;
  border-radius: 10px;
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
}

.fn-nav a:hover {
  background: var(--paper-2);
}

.fn-nav a[aria-current="page"] {
  background: var(--ink);
  color: #fff;
}

.fn-menu {
  display: none;
  min-height: 44px;
  padding: 8px 16px;
  border: 2px solid var(--ink);
  border-radius: 10px;
  background: transparent;
  color: var(--ink);
  font: 700 1rem var(--display);
  cursor: pointer;
}

/* ---------- index ---------- */
.fn-hero {
  padding: clamp(50px, 8vw, 100px) 0 clamp(40px, 6vw, 80px);
}

.fn-hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 50px;
  align-items: center;
}

.fn-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.fn-hero-demo {
  position: relative;
  min-height: 360px;
}

.fn-paper {
  position: absolute;
  width: 62%;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: var(--shadow);
}

.fn-paper.p1 {
  top: 0;
  left: 4%;
  transform: rotate(-4deg);
}

.fn-paper.p2 {
  top: 26%;
  right: 0;
  transform: rotate(3deg);
}

.fn-paper.p3 {
  bottom: 0;
  left: 14%;
  transform: rotate(-1deg);
}

.fn-wire .w-line {
  fill: none;
  stroke: var(--line);
  stroke-width: 2;
}

.fn-wire .w-ink {
  fill: var(--ink);
}

.fn-wire .w-accent {
  fill: var(--fern);
}

.fn-wire .w-soft {
  fill: var(--paper-2);
}

.fn-section {
  padding: clamp(60px, 8vw, 100px) 0;
}

.fn-section-head {
  max-width: 44rem;
  margin-bottom: 40px;
}

.fn-section-head p:last-child {
  color: var(--muted);
}

.fn-kit {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.fn-kit-card a {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 16px 16px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  color: var(--ink);
  text-decoration: none;
  transition: transform .25s var(--ease), box-shadow .25s, border-color .25s;
}

.fn-kit-card a:hover {
  border-color: var(--fern);
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.fn-kit-card .fn-wire {
  margin-bottom: 14px;
  border-radius: 10px;
  background: var(--paper);
}

.fn-kit-card h3 {
  margin-bottom: 6px;
}

.fn-kit-card p {
  color: var(--muted);
  font-size: .98rem;
}

.fn-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: auto 0 0;
}

.fn-tags span {
  padding: 2px 10px;
  border-radius: 999px;
  background: var(--fern-soft);
  color: var(--fern-dark);
  font-size: .85rem;
  font-weight: 700;
}

.fn-section-ink {
  background: var(--ink);
  color: #fff;
}

.fn-section-ink .fn-kicker {
  color: var(--marigold);
}

.fn-principles,
.fn-wp-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.fn-principles li {
  padding-top: 18px;
  border-top: 3px solid var(--marigold);
  color: #c9d0e0;
}

.fn-principles strong,
.fn-wp-steps strong {
  display: block;
  margin-bottom: 6px;
  color: #fff;
  font: 600 1.15rem var(--display);
}

.fn-wp-steps {
  grid-template-columns: repeat(3, 1fr);
  counter-reset: step;
}

.fn-wp-steps li {
  position: relative;
  padding: 26px 22px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  color: var(--muted);
  counter-increment: step;
}

.fn-wp-steps li::before {
  content: counter(step);
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 14px;
  border-radius: 50%;
  background: var(--marigold);
  color: var(--ink);
  font: 700 1rem var(--display);
}

.fn-wp-steps strong {
  color: var(--ink);
}

/* ---------- form pages ---------- */
.fn-crumbs {
  padding: 26px 0 0;
  color: var(--muted);
  font-size: .95rem;
}

.fn-crumbs a {
  color: var(--muted);
}

.fn-page-head {
  padding: 26px 0 30px;
}

.fn-stage {
  display: grid;
  justify-items: center;
}

.fn-card {
  width: min(100%, 480px);
  padding: clamp(22px, 4vw, 36px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--card);
  box-shadow: var(--shadow);
}

.fn-stage-wide .fn-card {
  width: 100%;
}

.fn-stage-split {
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--card);
  box-shadow: var(--shadow);
}

.fn-stage-split .fn-card {
  width: 100%;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.fn-split-art {
  position: relative;
  align-self: stretch;
  width: 100%;
  min-height: 320px;
  overflow: hidden;
  padding: 36px;
  background: var(--fern);
  color: var(--fern-soft);
  font: 500 1.3rem/1.3 var(--display);
}

.fn-split-art p {
  position: relative;
  z-index: 1;
}

.fn-split-art strong {
  color: #fff;
  font-size: 2rem;
}

.fn-shape {
  position: absolute;
  border-radius: 50%;
}

.fn-shape.s1 {
  right: -60px;
  bottom: -60px;
  width: 240px;
  height: 240px;
  background: var(--marigold);
}

.fn-shape.s2 {
  left: 30px;
  bottom: 40px;
  width: 90px;
  height: 90px;
  border: 14px solid var(--fern-soft);
  opacity: .5;
}

.fn-shape.s3 {
  right: 90px;
  top: 40%;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--ink);
  transform: rotate(20deg);
}

/* fields */
.fn-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 16px;
}

.fn-form > .fn-btn {
  grid-column: 1 / -1;
  width: 100%;
  margin-top: 6px;
}

.fn-field,
.fn-check,
.fn-choices,
.fn-status,
.fn-summary,
.fn-row-between,
.fn-meter,
.fn-meter-text,
.fn-card-brand,
.fn-when-password,
.fn-steps,
.fn-step-label,
.fn-step {
  grid-column: 1 / -1;
}

.fn-field-half {
  grid-column: span 1;
}

.fn-field label,
.fn-choices legend {
  display: block;
  margin-bottom: 6px;
  color: var(--ink);
  font-weight: 700;
}

.fn-optional {
  color: var(--muted);
  font-weight: 400;
}

.fn-hint {
  margin: -2px 0 8px;
  color: var(--muted);
  font-size: .92rem;
}

.fn-field input,
.fn-field select,
.fn-field textarea {
  width: 100%;
  min-height: 52px;
  padding: 12px 14px;
  border: 2px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  transition: border-color .2s, box-shadow .2s;
}

.fn-field textarea {
  resize: vertical;
}

.fn-field input:hover,
.fn-field select:hover,
.fn-field textarea:hover {
  border-color: #b9ab93;
}

.fn-field input:focus,
.fn-field select:focus,
.fn-field textarea:focus {
  border-color: var(--fern);
  box-shadow: 0 0 0 4px var(--fern-soft);
  outline: none;
}

.fn-field [aria-invalid="true"] {
  border-color: var(--error);
  background: var(--error-soft);
}

.fn-field [aria-invalid="false"].is-checked {
  border-color: var(--fern);
}

.fn-error {
  display: flex;
  gap: 6px;
  margin: 6px 0 0;
  color: var(--error);
  font-size: .95rem;
  font-weight: 700;
}

.fn-error::before {
  content: "!";
  display: inline-grid;
  flex: none;
  place-items: center;
  width: 20px;
  height: 20px;
  margin-top: 2px;
  border-radius: 50%;
  background: var(--error);
  color: #fff;
  font-size: .8rem;
}

.fn-error[hidden] {
  display: none;
}

.fn-password {
  position: relative;
}

.fn-password input {
  padding-right: 84px;
}

.fn-show-pass {
  position: absolute;
  top: 7px;
  right: 7px;
  min-height: 38px;
  padding: 0 12px;
  border: 0;
  border-radius: 8px;
  background: var(--paper-2);
  color: var(--ink);
  font: 700 .9rem var(--body);
  cursor: pointer;
}

html:not(.js) .fn-show-pass {
  display: none;
}

.fn-check {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4px 10px;
  align-items: start;
}

.fn-check input,
.fn-choice input {
  width: 22px;
  height: 22px;
  margin: 2px 0 0;
  accent-color: var(--fern);
}

.fn-check .fn-error {
  grid-column: 1 / -1;
}

.fn-row-between {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
}

.fn-row-between .fn-check {
  grid-column: auto;
}

.fn-choices {
  margin: 0;
  padding: 0;
  border: 0;
}

.fn-choice-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.fn-choice {
  display: flex;
  flex: 1 1 180px;
  gap: 10px;
  align-items: center;
  padding: 12px 14px;
  border: 2px solid var(--line);
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
}

.fn-choice:has(input:checked) {
  border-color: var(--fern);
  background: var(--fern-soft);
}

.fn-summary {
  padding: 14px 16px;
  border-left: 5px solid var(--error);
  border-radius: 10px;
  background: var(--error-soft);
}

.fn-summary[hidden] {
  display: none;
}

.fn-summary p {
  margin: 0 0 4px;
  font-weight: 700;
}

.fn-summary ul {
  margin: 0;
  padding-left: 20px;
}

.fn-summary a {
  color: var(--error);
}

.fn-status {
  margin: 0;
}

.fn-status:not(:empty) {
  padding: 14px 16px;
  border-left: 5px solid var(--fern);
  border-radius: 10px;
  background: var(--fern-soft);
  color: var(--fern-dark);
  font-weight: 700;
}

.fn-after {
  margin: 20px 0 0;
  color: var(--muted);
  text-align: center;
}

/* strength meter */
.fn-meter {
  height: 8px;
  margin-top: -8px;
  overflow: hidden;
  border-radius: 8px;
  background: var(--paper-2);
}

.fn-meter span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: 8px;
  background: var(--error);
  transition: width .3s var(--ease), background-color .3s;
}

.fn-meter[data-score="2"] span {
  background: var(--marigold);
}

.fn-meter[data-score="3"] span,
.fn-meter[data-score="4"] span {
  background: var(--fern);
}

.fn-meter-text {
  margin: -10px 0 0;
  color: var(--muted);
  font-size: .92rem;
}

html:not(.js) .fn-meter,
html:not(.js) .fn-meter-text {
  display: none;
}

/* reset password key */
.fn-key {
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  margin: 0 auto 22px;
  border-radius: 50%;
  background: var(--fern-soft);
}

.fn-key svg {
  width: 42px;
  fill: none;
  stroke: var(--fern-dark);
  stroke-width: 3.5;
  stroke-linecap: round;
}

/* header login mock */
.fn-mock-site {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.fn-mock-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 26px;
  align-items: flex-end;
  justify-content: space-between;
  padding: 16px 20px 20px;
  background: var(--ink);
  color: #fff;
}

.fn-mock-logo {
  padding-bottom: 12px;
  font: 700 1.3rem var(--display);
}

.fn-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: flex-end;
}

.fn-inline .fn-field {
  width: 210px;
}

.fn-inline .fn-field label {
  color: #dfe4ee;
  font-size: .9rem;
}

.fn-inline .fn-field input {
  min-height: 46px;
}

.fn-inline > .fn-btn {
  width: auto;
  min-height: 46px;
  margin: 0;
  background: var(--marigold);
  box-shadow: none;
  color: var(--ink);
}

.fn-inline .fn-error,
.fn-inline .fn-status,
.fn-inline .fn-summary {
  flex-basis: 100%;
}

.fn-inline .fn-error {
  color: #ffb4aa;
}

.fn-inline .fn-status:not(:empty) {
  color: var(--fern-dark);
}

.fn-mock-body {
  padding: 28px 22px 34px;
}

.fn-mock-title {
  font: 700 1.2rem var(--display);
}

.fn-mock-lines span {
  display: block;
  height: 10px;
  margin-top: 12px;
  border-radius: 6px;
  background: var(--paper-2);
}

.fn-mock-lines span:nth-child(2) {
  width: 86%;
}

.fn-mock-lines span:nth-child(3) {
  width: 64%;
}

/* multi-step */
.fn-step {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 16px;
  margin: 0;
  padding: 0;
  border: 0;
}

.fn-step legend {
  margin-bottom: 14px;
  font: 600 1.2rem var(--display);
}

.fn-step[hidden] {
  display: none;
}

html:not(.js) .fn-step + .fn-step {
  padding-top: 20px;
  border-top: 1px dashed var(--line);
}

.fn-step-nav {
  display: flex;
  grid-column: 1 / -1;
  justify-content: space-between;
  gap: 10px;
}

.fn-step-nav [data-step="next"] {
  margin-left: auto;
}

html:not(.js) .fn-step-nav,
html:not(.js) .fn-steps {
  display: none;
}

.js .fn-multistep:not(.is-last) > .fn-btn-primary {
  display: none;
}

.fn-steps {
  display: flex;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: s;
}

.fn-steps li {
  flex: 1;
  padding-top: 10px;
  border-top: 5px solid var(--paper-2);
  color: var(--muted);
  font-weight: 700;
  counter-increment: s;
}

.fn-steps li::before {
  content: counter(s) ". ";
}

.fn-steps li.is-done,
.fn-steps li.is-current {
  border-top-color: var(--fern);
  color: var(--ink);
}

.fn-step-label {
  margin: 0;
}

/* checkout */
.fn-checkout {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 30px;
  align-items: start;
}

.fn-card-brand {
  margin: -10px 0 0;
  color: var(--fern-dark);
  font-weight: 700;
}

.fn-order {
  padding: 22px;
  border-radius: var(--radius);
  background: var(--paper);
}

.fn-order h2 {
  font-size: 1.3rem;
}

.fn-order ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.fn-order li,
.fn-total {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px dashed var(--line);
}

.fn-total {
  margin: 8px 0 0;
  border: 0;
  font-size: 1.2rem;
}

.fn-total strong {
  font-family: var(--display);
}

/* notes and pager */
.fn-notes {
  max-width: 760px;
  margin: 60px auto 0;
}

.fn-notes ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.fn-notes li {
  position: relative;
  padding-left: 34px;
  color: var(--muted);
}

.fn-notes li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--fern-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10l3 3 7-7' fill='none' stroke='%23245f47' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat;
}

.fn-pager {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  max-width: 760px;
  margin: 50px auto 80px;
}

.fn-pager a {
  padding: 16px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
}

.fn-pager a:last-child {
  text-align: right;
}

.fn-pager a:hover {
  border-color: var(--fern);
}

.fn-pager small {
  display: block;
  color: var(--muted);
  font-weight: 400;
}

/* ---------- footer ---------- */
.fn-footer {
  padding: 46px 0 30px;
  border-top: 1px solid var(--line);
  background: var(--paper-2);
  color: var(--muted);
}

.fn-footer-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 24px 50px;
}

.fn-footer .fn-brand {
  margin-bottom: 10px;
}

.fn-footer .made-by {
  margin: 0;
}

.fn-copy {
  margin-top: 26px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: .95rem;
}

/* ---------- reveal ---------- */
.js .fn-fade {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}

.js .fn-fade.is-visible {
  opacity: 1;
  transform: none;
}

/* ---------- responsive ---------- */
@media (max-width: 1000px) {
  .fn-kit {
    grid-template-columns: repeat(2, 1fr);
  }

  .fn-principles {
    grid-template-columns: repeat(2, 1fr);
  }

  .fn-checkout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .fn-menu {
    display: block;
  }

  .fn-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    padding: 10px 20px 20px;
    border-bottom: 1px solid var(--line);
    background: var(--paper);
  }

  .fn-header.is-open .fn-nav {
    display: block;
  }

  .fn-nav ul {
    flex-direction: column;
  }

  .fn-nav a {
    padding: 12px 14px;
  }

  html:not(.js) .fn-menu {
    display: none;
  }

  html:not(.js) .fn-header-row {
    flex-wrap: wrap;
  }

  html:not(.js) .fn-nav {
    position: static;
    display: block;
    padding: 0 0 12px;
    border: 0;
  }

  html:not(.js) .fn-nav ul {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .fn-hero-grid,
  .fn-stage-split,
  .fn-wp-steps {
    grid-template-columns: 1fr;
  }

  .fn-hero-demo {
    min-height: 300px;
  }

  .fn-split-art {
    min-height: 180px;
  }

  .fn-shape.s1 {
    right: -50px;
    bottom: -80px;
    width: 160px;
    height: 160px;
  }

  .fn-shape.s3 {
    right: 40px;
    top: 24px;
  }

  .fn-footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  body {
    font-size: 1rem;
  }

  .fn-kit,
  .fn-principles,
  .fn-pager {
    grid-template-columns: 1fr;
  }

  .fn-pager a:last-child {
    text-align: left;
  }

  .fn-form,
  .fn-step {
    grid-template-columns: 1fr;
  }

  .fn-field-half {
    grid-column: 1 / -1;
  }

  .fn-inline,
  .fn-inline .fn-field {
    width: 100%;
  }

  .fn-inline > .fn-btn {
    width: 100%;
  }

  .fn-hero-demo {
    min-height: 240px;
  }
}

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

  *,
  *::before,
  *::after {
    transition: none !important;
  }

  .js .fn-fade {
    opacity: 1;
    transform: none;
  }
}
