/* PFBoost: typography and interaction study of usedrop.io.
   Presentation only. Existing application controls, routes and data stay intact. */
@import url('/fonts/drop-fonts.css?v=20261026-motion-1');

:root {
  --display-sans: 'Manrope', 'Inter', Arial, sans-serif;
  --display-serif: 'Prata', Georgia, serif;
  --drop-sand: #ffffff;
  --drop-orange: #eb652b;
  --drop-green: #c7d8c5;
}
.workspace-intro h1, html:lang(en) .workspace-intro h1,
.workspace-section-heading h2, .service-guide h2, .guide-hero h1,
.guide-section h2, .guide-cta h2, .scene-heading, .footer-wordmark {
  font-family: var(--display-sans);
  font-weight: 400;
}
.workspace-intro {
  grid-template-columns: minmax(0, 1.5fr) minmax(260px, .7fr);
  align-items: start;
  padding-top: clamp(40px, 4.5vw, 88px);
  padding-bottom: clamp(44px, 4.5vw, 88px);
}
.workspace-intro h1, html:lang(en) .workspace-intro h1 {
  font-size: clamp(60px, 6.2vw, 136px);
  line-height: .99;
  letter-spacing: -.055em;
}
.workspace-intro-copy { padding-top: .35em; }
.workspace-intro-copy p { font-size: clamp(16px, 1.1vw, 21px); line-height: 1.45; }
.workspace-intro-copy p + p { font-size: clamp(14px, .9vw, 18px); }
.workspace-section-heading h2, .service-guide h2, .guide-section h2, .guide-cta h2 {
  letter-spacing: -.045em;
  line-height: .98;
}
.workspace-section-heading h2 { font-size: clamp(44px, 4.6vw, 100px); }
.setup-note h2 { font-family: var(--display-serif); font-weight: 400; font-size: clamp(34px, 4.3vw, 86px); letter-spacing: -.06em; }
.guide-fox { display: block; width: clamp(170px, 23vw, 390px); height: auto; margin-top: 32px; transform: rotate(-9deg); }
.guide-fox { transform-origin: 50% 65%; animation: fox-sway 7s ease-in-out infinite; animation-play-state: paused; }
.guide-fox.is-in-view { animation-play-state: running; }
@keyframes fox-sway { 0%, 100% { transform: rotate(-6deg); } 50% { transform: rotate(3deg); } }
@media (prefers-reduced-motion: reduce) { .guide-fox { animation: none; } }
.service-guide { background: var(--drop-sand); }
.service-guide-list > div { border: 0; padding-block: 26px; }
.service-guide-list dt { font-family: var(--display-sans); font-weight: 400; }
.service-guide-list dd { color: #4c4c4c; }
.hero-showcase { padding-bottom: clamp(64px, 7vw, 132px); }
.hero-scene { border-radius: 2.6vw; }

/* Reference primary button: the fill retracts to the left-hand dot,
   which becomes an arrow as a second label enters from above (500ms).
   All ornament ignores pointers, preserving delegated click handlers. */
.btn, .nav #loginBtn { border-radius: 8px; }
:where(.btn, .hero-cta, .nav #loginBtn).drop-button {
  --button-fill: var(--ink);
  --button-base: var(--drop-sand);
  --button-text: var(--drop-sand);
  --button-hover-text: var(--ink);
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 54px;
  padding: 17px 22px;
  border: 1px solid var(--button-fill);
  border-radius: 9px;
  background: var(--button-base);
  color: var(--button-text);
  font: 650 14px/1.3 var(--display-sans);
  text-transform: uppercase;
  text-decoration: none;
  overflow: hidden;
  vertical-align: middle;
  transition: transform 160ms var(--ease-out);
}
.hero-cta.drop-button { border-radius: 9px; padding: 22px 28px; min-height: 70px; font-size: 18px; }
.nav #loginBtn.drop-button { padding: 16px 20px; background: var(--button-base); color: var(--button-text); border-radius: 9px; }
.hero-cta.drop-button:hover { background: var(--button-base); }
.drop-button.secondary {
  --button-fill: var(--ink);
  --button-base: var(--paper);
  --button-text: var(--ink);
  --button-hover-text: var(--paper);
  border-color: var(--ink);
}
.type-cta.drop-button { --button-fill: #fff; --button-base: var(--ink); --button-text: var(--ink); --button-hover-text: #fff; }
.drop-button::before {
  content: '';
  position: absolute;
  top: 50%; left: 31px;
  width: calc(200% + 80px); height: auto; aspect-ratio: 1;
  border-radius: 50%;
  background: var(--button-fill);
  transform: translate(-50%, -50%) scale(1);
  transition: transform 500ms cubic-bezier(.33,0,0,1);
  z-index: -1;
  pointer-events: none;
}
.drop-button > *, .drop-button > * * { pointer-events: none; }
.drop-label { position: relative; display: block; overflow: hidden; }
.drop-label-main { display: block; transition: transform 500ms var(--ease-out); }
.drop-label-copy { position: absolute; inset: 0; color: var(--button-hover-text); transform: translateY(-120%); transition: transform 500ms var(--ease-out); white-space: nowrap; }
.drop-label-copy::after { content: attr(data-label); }
.drop-arrow { order: -1; display: block; flex: 0 0 20px; width: 20px; height: 20px; position: relative; overflow: hidden; font: 23px/18px Arial,sans-serif; }
.drop-arrow::before { content: ''; position: absolute; inset: 6px; border-radius: 50%; background: currentColor; transition: transform 500ms cubic-bezier(.33,0,0,1); }
.drop-arrow::after { content: '→'; display: block; position: absolute; inset: 0; transform: translateX(-100%) scale(0); color: var(--button-hover-text); transition: transform 500ms cubic-bezier(.33,0,0,1); }
.drop-button.secondary::before { transform: translate(-50%, -50%) scale(0); }
.drop-button.secondary .drop-arrow::before { transform: scale(0); }
.drop-button.secondary .drop-arrow::after { color: var(--ink); transform: none; }
.drop-button:active:not(:disabled) { transform: scale(.97); }
.drop-button:focus-visible:active { transform: none; }
.drop-button:disabled { cursor: not-allowed; opacity: .5; }
.drop-button:focus-visible { outline: 3px solid var(--pink); outline-offset: 4px; }
.drop-button[hidden] { display: none !important; }
/* Keep the animated fill inside the payment button on narrow screens.
   The legacy mobile tariff rule sets this button to position: static. */
#searchTariffPayBtn.drop-button { position: relative; }
@media (hover:hover) and (pointer:fine) {
  .drop-button:hover:not(:disabled)::before { transform: translate(-50%, -50%) scale(0); }
  .drop-button:hover:not(:disabled) .drop-label-main { transform: translateY(120%); }
  .drop-button:hover:not(:disabled) .drop-label-copy { transform: translateY(0); }
  .drop-button:hover:not(:disabled) .drop-arrow::before { transform: scale(0); }
  .drop-button:hover:not(:disabled) .drop-arrow::after { transform: translateX(0) scale(1); }
  .drop-button.secondary:hover:not(:disabled)::before { transform: translate(-50%, -50%) scale(1); }
  .drop-button.secondary:hover:not(:disabled) .drop-arrow::after { color: var(--paper); }
}

/* Oversized, tightly stacked type. Images emerge as the title shifts sideways. */
.type-showcase {
  background: var(--ink);
  color: var(--drop-sand);
  padding: clamp(72px, 9vw, 180px) 0 clamp(44px, 5vw, 100px);
  overflow: clip;
}
.type-lines { width: 100%; padding-inline: 3.2vw; }
.type-line { overflow: clip; padding: 8px 0; }
.type-line:nth-child(1) { --row-index: 0; }
.type-line:nth-child(2) { --row-index: 1; }
.type-line:nth-child(3) { --row-index: 2; }
.type-line:nth-child(4) { --row-index: 3; }
.project-source { opacity: .75; }
.type-row {
  --photo-size: 8.8vw;
  --image-direction: 1;
  --shift: 0px;
  --image-shift: 48%;
  --image-opacity: 0;
  --sticker-shift: 110%;
  --sticker-opacity: 0;
  position: relative;
  width: fit-content;
  max-width: 100%;
  min-height: 9vw;
  margin-inline: auto;
  display: flex;
  align-items: center;
  color: var(--drop-sand);
  text-decoration: none;
  outline-offset: 3px;
}
.type-row.reverse { --image-direction: -1; }
.type-title {
  display: block;
  position: relative;
  z-index: 1;
  background: var(--ink);
  font: 400 10.6vw/.94 var(--display-sans);
  letter-spacing: -.065em;
  white-space: nowrap;
  transform: translateX(calc(var(--shift) * var(--image-direction)));
  transition: transform 650ms var(--ease-out);
}
.type-row.serif .type-title {
  font: 400 9.2vw/.98 var(--display-serif);
  letter-spacing: -.065em;
}
.type-row.lavender { color: var(--lavender); }
.type-row.orange { color: var(--drop-orange); }
.type-row.spotlight .type-title { font-size: 9.6vw; }
html:lang(en) .type-row.spotlight .type-title { font-size: 9.1vw; }
html:lang(en) .type-row.serif .type-title { font-size: 9.3vw; }
.type-photo {
  position: absolute;
  left: calc(var(--photo-size) * -.55);
  top: 50%;
  width: var(--photo-size); height: var(--photo-size);
  border-radius: 1.125vw;
  overflow: hidden;
  opacity: var(--image-opacity);
  transform: translate(calc(var(--image-shift) * var(--image-direction)), -50%);
  transition: transform 650ms var(--ease-out), opacity 300ms ease;
}
.reverse .type-photo { left: auto; right: calc(var(--photo-size) * -.55); }
.type-photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 35%; }
.type-photo.is-fox { border-radius: 0; overflow: visible; }
.type-photo.is-fox img { object-fit: contain; }
.type-sticker {
  position: absolute;
  z-index: 2;
  max-width: 42%;
  overflow: hidden;
  color: var(--ink);
  font: 500 clamp(10px, .85vw, 18px)/1.2 var(--display-sans);
  text-transform: uppercase;
  pointer-events: none;
  border-radius: 6px;
}
.type-sticker > span {
  position: relative;
  display: block;
  padding: .48em .65em;
  border-radius: inherit;
  background: var(--lavender);
  opacity: var(--sticker-opacity);
  transform: translateY(var(--sticker-shift));
  transition: transform 500ms 80ms var(--ease-out), opacity 200ms 80ms ease;
}
.sticker-one { left: 19%; top: 57%; }
.sticker-two { right: 3%; top: 32%; }
.sticker-two > span { background: var(--drop-green); }
.serif .sticker-one > span { background: var(--drop-orange); }
.serif .sticker-two > span { background: var(--lavender); }
.sticker-text { display: block; }
.sticker-repeat { position: absolute; inset: .48em .65em; transform: translateX(120%); white-space: nowrap; }
.type-showcase.is-visible .spotlight,
.type-row:focus-visible {
  --shift: 4.9vw;
  --image-shift: 0%;
  --image-opacity: 1;
  --sticker-shift: 0%;
  --sticker-opacity: 1;
}
.type-row:focus-visible { outline: 2px solid var(--lavender); }
.type-row:focus-visible *, .type-row:focus-visible { transition-duration: 0s; transition-delay: 0s; }
@media (hover:hover) and (pointer:fine) {
  .type-lines:has(.type-line:hover) .type-line:not(:hover) .type-row,
  .type-lines:has(.type-row:focus-visible) .type-row:not(:focus-visible) {
    --shift: 0px; --image-shift: 48%; --image-opacity: 0; --sticker-shift: 110%; --sticker-opacity: 0;
  }
  .type-line:hover .type-row { --shift: 4.9vw; --image-shift: 0%; --image-opacity: 1; --sticker-shift: 0%; --sticker-opacity: 1; }
  .type-row:hover .sticker-text { animation: sticker-pass 4s 600ms linear infinite; }
  .type-row:hover .sticker-repeat { animation: sticker-repeat 4s 600ms linear infinite; }
}
.type-showcase-end { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: 4vw var(--page-gutter) 0; }
.type-showcase-end p { max-width: 470px; margin: 0; font: 400 clamp(18px, 1.8vw, 32px)/1.2 var(--display-sans); letter-spacing: -.03em; }
.type-showcase-end .hero-cta { margin: 0; flex-shrink: 0; }
.container:has(#page-projects.active) .type-showcase,
.container:has(#page-admin.active) .type-showcase { display: none; }
@media (prefers-reduced-motion:no-preference) {
  .type-showcase.is-visible .type-row { animation: type-rise 1000ms var(--ease-out) both; animation-delay: calc(var(--row-index) * 80ms); }
}
@keyframes type-rise { from { transform: translateY(115%); } to { transform: translateY(0); } }
@keyframes sticker-pass { to { transform: translateX(-120%); } }
@keyframes sticker-repeat { to { transform: translateX(0); } }
@media (max-width:820px) {
  .workspace-intro { grid-template-columns: 1fr; gap: 28px; }
  .workspace-intro h1, html:lang(en) .workspace-intro h1 { font-size: 10vw; }
  .hero-scene { border-radius: 26px; }
  .type-line { padding-block: 6px; }
  .type-showcase { padding-top: 60px; }
  .type-sticker { font-size: 9px; max-width: 49%; }
  .type-photo { border-radius: 9px; }
  .type-showcase-end { padding-top: 32px; }
}
@media (max-width:640px) {
  .nav #loginBtn.drop-button { min-height: 44px; padding: 12px 15px; font-size: 12px; }
  .nav #loginBtn .drop-arrow { display: none; }
  .workspace-intro h1, html:lang(en) .workspace-intro h1 { font-size: 10.4vw; }
  .workspace-intro-copy p { font-size: 16px; }
  .hero-showcase { padding-bottom: 48px; }
  .type-lines { padding-inline: 16px; }
  .type-line { padding-block: 8px; }
  .type-row { --photo-size: 17vw; min-height: 17vw; }
  .type-title { font-size: 10.9vw; }
  .type-row.serif .type-title, html:lang(en) .type-row.serif .type-title { font-size: 9.8vw; }
  .type-row.spotlight .type-title, html:lang(en) .type-row.spotlight .type-title { font-size: 8.3vw; }
  .type-photo { left: calc(var(--photo-size) * -.4); }
  .reverse .type-photo { right: calc(var(--photo-size) * -.4); }
  .type-showcase.is-visible .spotlight { --shift: 8.5vw; }
  .type-sticker { font-size: 11px; max-width: none; text-transform: none; }
  .sticker-one { left: 12%; top: 82%; }
  .sticker-two { right: 0; top: 5%; }
  .type-sticker > span { padding: .4em .5em; }
  .sticker-repeat { inset: .4em .5em; }
  .type-showcase-end { flex-direction: column; align-items: flex-start; gap: 22px; }
  .type-showcase-end p { max-width: 260px; }
  .drop-button { max-width: 100%; }
  .guide-fox { width: 180px; margin-top: 18px; }
}
/* The typographic showcase is now the first screen. Its type responds to
   viewport height as well as width so the primary action stays in view. */
.container:has(.home-hero):not(:has(#page-projects.active, #page-admin.active)) .header {
  min-height: 94px;
  padding-block: 18px;
  background: var(--ink);
  color: var(--drop-sand);
}
.container:not(:has(#page-projects.active, #page-admin.active)):has(.home-hero) .header :is(.logo, .nav a) { color: var(--drop-sand); }
.container:not(:has(#page-projects.active, #page-admin.active)):has(.home-hero) .nav #loginBtn {
  --button-fill: var(--drop-sand);
  --button-base: var(--ink);
  --button-text: var(--ink);
  --button-hover-text: var(--drop-sand);
  color: var(--ink);
}
.container:not(:has(#page-projects.active, #page-admin.active)):has(.home-hero) .language-switch { border-color: #666; }
.container:not(:has(#page-projects.active, #page-admin.active)):has(.home-hero) .language-switch [data-language] { color: #ddd; }
.container:not(:has(#page-projects.active, #page-admin.active)):has(.home-hero) .language-switch [data-language].active { background: var(--drop-sand); color: var(--ink); }
.container:not(:has(#page-projects.active, #page-admin.active)):has(.home-hero) .nav-user { color: #ccc; }
.home-hero {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  min-height: calc(100svh - 94px);
  padding: 20px var(--page-gutter) 36px;
}
.hero-eyebrow { display: flex; justify-content: space-between; gap: 24px; font: 500 clamp(15px, 1.3vw, 22px)/1.4 var(--display-sans); }
.hero-platforms { color: #aaa; }
.home-hero .type-lines { flex: 1; display: flex; flex-direction: column; justify-content: center; padding: 0; margin: 0; font-weight: 400; }
.home-hero .type-line { display: block; padding-block: 5px; }
.home-hero .type-row { --photo-size: min(9vw, 14svh, 180px); min-height: 0; }
.home-hero .type-title,
.home-hero .type-row.spotlight .type-title,
html:lang(en) .home-hero .type-title { font-size: min(10.2vw, 12svh, 190px); line-height: 1.04; }
.home-hero .type-row.serif .type-title,
html:lang(en) .home-hero .type-row.serif .type-title { font-size: min(9.2vw, 11.6svh, 184px); line-height: 1.06; letter-spacing: -.065em; }
.home-hero .type-sticker { font-size: clamp(11px, .95vw, 17px); font-weight: 500; }
.home-hero .type-showcase-end { padding: 0; gap: 48px; }
.home-hero .type-showcase-end p { max-width: 640px; font-size: clamp(22px, 2.2vw, 38px); line-height: 1.3; }
.home-hero .type-cta { min-height: 76px; padding: 24px 32px; gap: 20px; font-size: clamp(16px, 1.35vw, 24px); }
.home-hero .type-cta::before { left: 44px; }
.home-hero .type-cta .drop-arrow { flex-basis: 24px; width: 24px; height: 24px; font-size: 27px; line-height: 22px; }
.home-hero .type-cta .drop-arrow::before { inset: 4px; }
.home-hero :focus-visible { outline-color: var(--lavender); }
.hero-showcase { padding-top: clamp(48px, 5vw, 100px); padding-bottom: 0; }

/* A single capsule with a white selected segment, as in the reference.
   Existing buttons and their active state remain owned by app.js. */
#toolTabs, .tariff-tool-switch {
  display: flex; width: fit-content; max-width: calc(100% - 2 * var(--page-gutter));
  flex-wrap: nowrap; gap: 4px; padding: 6px; border: 1px solid var(--ink);
  border-radius: 100px; background: var(--ink);
}
#toolTabs .tab, .tariff-tool-switch .tab {
  min-width: 0; min-height: 56px; padding: 14px 26px;
  font: 500 16px/1.3 var(--display-sans); border-color: transparent !important;
  color: var(--paper) !important; background: transparent !important;
}
#toolTabs .tab.active, .tariff-tool-switch .tab.active {
  color: var(--ink) !important; background: var(--paper) !important;
}
#toolTabs .tab:not(.active):hover, .tariff-tool-switch .tab:not(.active):hover { background: #333 !important; }
.tariff-tool-switch { max-width: 100%; }
.tariff-tool-switch .tab { min-height: 48px; padding: 12px 20px; font-size: 14px; }
@media (max-width:820px) {
  .home-hero { min-height: calc(100svh - 110px); padding-top: 22px; gap: 24px; }
  .hero-eyebrow { font-size: 15px; }
  .home-hero .type-showcase-end { gap: 24px; }
  .home-hero .type-showcase-end p { font-size: 23px; max-width: 420px; }
  .home-hero .type-cta { padding: 22px; font-size: 15px; gap: 14px; min-height: 66px; }
  .home-hero .type-cta::before { left: 34px; }
  #toolTabs .tab { font-size: 14px; padding-inline: 18px; }
}
@media (max-width:640px) {
  .home-hero { min-height: calc(100svh - 142px); padding: 18px 20px 30px; gap: 24px; }
  .hero-eyebrow { display: block; max-width: 280px; font-size: 16px; }
  .hero-platforms { display: none; }
  .home-hero .type-lines { padding-block: 18px; }
  .home-hero .type-line { padding-block: 10px; overflow: visible; }
  .home-hero .type-title, .home-hero .type-row.spotlight .type-title,
  html:lang(en) .home-hero .type-title { font-size: 12.6vw; }
  .home-hero .type-row.serif .type-title, html:lang(en) .home-hero .type-row.serif .type-title { font-size: 12.8vw; }
  .home-hero .type-row.finale .type-title { font-size: 10.4vw; }
  .home-hero .type-row { --photo-size: 16vw; }
  .home-hero .type-sticker { font-size: 10px; }
  .home-hero .sticker-one { top: 78%; left: 6%; }
  .home-hero .sticker-two { top: -12%; right: 1%; }
  .home-hero .type-showcase-end { gap: 22px; }
  .home-hero .type-showcase-end p { max-width: 100%; font-size: 21px; line-height: 1.35; }
  .home-hero .type-cta { width: 100%; font-size: 16px; min-height: 66px; }
  .hero-cta.drop-button { font-size: 16px; }
  #toolTabs { width: calc(100% - 2 * var(--page-gutter)); border-radius: 30px; gap: 0; padding: 5px; }
  #toolTabs .tab { flex: 1; font-size: 12px; padding: 10px 7px; white-space: normal; }
  .tariff-tool-switch { width: 100%; }
  .tariff-tool-switch .tab { flex: 1; font-size: 12px; padding: 10px 8px; }
}
@media (min-width:641px) and (max-height:650px) {
  .home-hero { gap: 16px; padding-block: 12px 24px; }
  .home-hero .type-showcase-end p { font-size: 22px; }
  .home-hero .type-cta { min-height: 62px; padding-block: 18px; }
}
@media (max-width:640px) and (max-height:700px) {
  .home-hero { gap: 16px; padding-block: 12px 20px; }
  .home-hero .type-lines { padding-block: 0; }
  .home-hero .type-line { padding-block: 6px; }
  .home-hero .type-showcase-end { gap: 14px; }
}
@media (max-width:360px) {
  .container:has(.home-hero):not(:has(#page-projects.active, #page-admin.active)) .header { padding-block: 12px; gap: 10px; }
  .home-hero { min-height: calc(100svh - 158px); }
  .home-hero .type-cta { font-size: 14px; padding: 18px 16px; min-height: 62px; gap: 10px; }
  .home-hero .type-cta::before { left: 28px; }
  .home-hero .type-showcase-end p { font-size: 20px; }
}
@media (max-width:360px) and (max-height:600px) {
  .home-hero { gap: 8px; padding-block: 8px 14px; }
  .home-hero .type-line { padding-block: 3px; }
  .home-hero .type-showcase-end { gap: 10px; }
  .home-hero .type-showcase-end p { font-size: 18px; }
  .home-hero .type-cta { min-height: 54px; padding-block: 14px; }
}

/* Resolve older application button rules explicitly. Their pill shape and
   hidden pseudo-element otherwise override the shared reference treatment. */
.btn.drop-button:not(.btn-danger),
.btn.drop-button:not(.btn-danger):hover {
  min-height: 54px;
  padding: 17px 22px;
  border: 1px solid var(--button-fill);
  border-radius: 9px;
  background: var(--button-base);
  color: var(--button-text);
  font: 650 14px/1.3 var(--display-sans);
  box-shadow: none; /* taste-skill-ignore: removes legacy button shadows. */
  filter: none;
  text-shadow: none; /* taste-skill-ignore: removes legacy text shadows. */
  transform: none;
  transition: transform 160ms var(--ease-out);
}
.btn.drop-button::before {
  display: block;
  inset: 50% auto auto 31px;
  border: 0;
  border-radius: 50%;
  box-shadow: none; /* taste-skill-ignore: clears the old decorative pseudo-element shadow. */
  opacity: 1;
}
.btn.drop-button:not(.btn-danger):active:not(:disabled) { transform: scale(.97); }
.btn.drop-button:not(.btn-danger):focus-visible:active { transform: none; }
.btn.drop-button:not(.btn-danger):disabled { opacity: .55; color: var(--button-text); transform: none; }
.btn.drop-button .drop-arrow::before { inset: 5px; }
.btn.drop-button .drop-label-copy { white-space: normal; }
/* App card/modal styles must not recolor the animated label's spans. */
#addMapBtn.drop-button { color: var(--button-text); }
.drop-button > .drop-label,
.drop-button > .drop-label > .drop-label-main,
.drop-button > .drop-arrow { color: inherit; font-weight: inherit; }
.drop-button > .drop-label > .drop-label-copy { color: var(--button-hover-text); font-weight: inherit; }
.launch-area .btn.drop-button { min-height: 62px; padding: 19px 26px; font-size: 15px; }
.launch-area .btn.drop-button::before { left: 36px; }

/* The first working section reads as a form, directly after the hero. */
.project-entry { padding: 38px var(--page-gutter) 18px; align-items: center; gap: 24px; }
.project-entry h2 { font-size: clamp(26px, 2.2vw, 38px); line-height: 1.2; letter-spacing: -.035em; }
.project-entry p { max-width: 540px; margin: 0; font-size: 17px; line-height: 1.45; }
.project-entry ~ #status { padding-top: 0; margin-bottom: 18px; }
#page-add .block { background: var(--surface); color: var(--ink); --text-primary: var(--ink); --text-secondary: var(--muted); }
#page-add .block-title { display: block; color: var(--ink); font-size: clamp(22px, 1.8vw, 30px); margin-bottom: 18px; }
#page-add :is(input, textarea), #page-maps :is(input, textarea) {
  background: #fff; color: var(--ink); border: 1.5px solid #999992; border-radius: 9px;
  font-size: 16px; min-height: 56px; padding: 16px 18px;
}
#page-add :is(input, textarea)::placeholder, #page-maps :is(input, textarea)::placeholder { color: #6d6d66; opacity: 1; }
#page-add :is(input, textarea):focus, #page-maps :is(input, textarea):focus {
  border-color: var(--ink); outline: 2px solid var(--ink); outline-offset: 2px; box-shadow: none; /* taste-skill-ignore: removes legacy field shadows. */
}
#page-add .btn-link { color: var(--ink); text-decoration-color: #777; }
#page-add .btn-link:hover { color: var(--pink); }
#page-add .region-chip { border-color: #aaa; border-radius: 9px; font-size: 14px; background: #fff; }
#page-add .region-chip.active { border-color: var(--ink); background: var(--ink); color: #fff; }
#page-add .region-chip:hover:not(.active) { border-color: var(--ink); background: #e9e9e4; }
#page-add .form-group small { color: var(--muted); }
@media (max-width:820px) {
  .project-entry { flex-direction: column; align-items: flex-start; gap: 10px; }
  .project-entry p { max-width: 100%; }
}
@media (max-width:640px) {
  .project-entry { padding-top: 28px; padding-bottom: 14px; }
  .project-entry h2 { font-size: 26px; }
  .project-entry p { font-size: 16px; }
  .launch-area .btn.drop-button { width: 100%; }
}

/* The hero has one animation owner (drop-motion.js). CSS transition reversal
   shortening and the staggered entrance used to fight hover handovers. */
.home-hero .type-lines { opacity: 0; }
.home-hero.motion-ready .type-lines { opacity: 1; }
.home-hero .type-title { transform: translate3d(0, 0, 0); transition: none; pointer-events: none; }
.home-hero .type-photo { transform: translate3d(0, -50%, 0); opacity: 0; transition: none; pointer-events: none; }
.home-hero .type-sticker > span { transform: translate3d(0, 110%, 0); opacity: 0; transition: none; }
.home-hero.is-visible .type-row { animation: none; }
.home-hero .type-row:hover .sticker-text,
.home-hero .type-row:hover .sticker-repeat { animation: none; }

/* Addition controls already carry a plus in their actual label. */
.projects-actions .drop-button .drop-arrow{display:none}
/* Completed subscription state: readable status, without a disabled CTA fill. */
.btn.drop-button.plan-is-active:disabled{
  opacity:1;background:#ffffff9e;color:var(--ink);border-color:transparent;
  min-height:48px;padding:13px 17px;gap:10px;font-weight:450;font-size:15px;
  text-transform:none;cursor:default;box-shadow:none;
}
.btn.drop-button.plan-is-active::before{display:none}
.btn.drop-button.plan-is-active .drop-arrow{width:20px;height:20px;flex-basis:20px;overflow:visible}
.btn.drop-button.plan-is-active .drop-arrow::before{display:none}
.btn.drop-button.plan-is-active .drop-arrow::after{
  content:'';color:var(--ink);width:7px;height:12px;left:6px;top:2px;
  border:solid currentColor;border-width:0 1.6px 1.6px 0;transform:rotate(45deg);
}
.btn.drop-button.plan-is-active .drop-label-main{transform:none}
.btn.drop-button.plan-is-active .drop-label-copy{display:none}

/* Semantic headings and crawlable language links retain the existing layout. */
.hero-eyebrow h1 { margin: 0; font: inherit; color: inherit; letter-spacing: inherit; max-width: 75%; }
.language-switch [data-language] { display: inline-flex; align-items: center; justify-content: center; text-decoration: none; }
@media (max-width: 700px) { .hero-eyebrow h1 { max-width: none; } }

/* Footer navigation uses the same readable display type as the page. */
.workspace-footer .footer-navigation { margin-top: clamp(32px, 5vw, 72px); }
.workspace-footer .footer-links { display: flex; flex-wrap: wrap; gap: 16px 56px; }
.workspace-footer .footer-links a {
  display: inline-flex; align-items: center; gap: 16px; min-height: 48px;
  font: 400 clamp(22px, 2.1vw, 32px)/1.3 var(--display-sans);
  letter-spacing: -.035em; text-decoration: none; text-underline-offset: .2em;
}
.workspace-footer .footer-links a > [aria-hidden] { color: var(--lavender); }
.workspace-footer .footer-links a:hover { text-decoration: underline; }
.workspace-footer .footer-links a:focus-visible { outline: 2px solid currentColor; outline-offset: 6px; }
html:lang(en) .workspace-footer .footer-links .locale-ru,
html:lang(ru) .workspace-footer .footer-links .locale-en { display: none; }
.workspace-footer .footer-meta {
  margin-top: 32px; padding-top: 24px; padding-right: 210px; flex-wrap: wrap;
  font: 400 15px/1.5 var(--display-sans); letter-spacing: 0;
}
.back-to-top {
  position: fixed; right: max(24px, env(safe-area-inset-right)); bottom: max(24px, env(safe-area-inset-bottom));
  z-index: 15; display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 56px; padding: 14px 18px; border: 1px solid #b8afda; border-radius: 14px;
  background: #b8afda; color: #101010; text-decoration: none;
  font: 500 16px/1.2 var(--display-sans); box-shadow: 0 3px 16px #10101020;
  transition: transform 160ms cubic-bezier(.23, 1, .32, 1);
}
.back-to-top[hidden] { display: none; }
body:has(.modal-overlay.active) .back-to-top { visibility: hidden; }
.back-to-top svg { width: 24px; height: 24px; flex-shrink: 0; }
.back-to-top:hover { transform: translateY(-2px); }
.back-to-top:active { transform: scale(.97); }
.back-to-top:focus-visible { outline: 2px solid white; outline-offset: 3px; box-shadow: 0 0 0 5px #101010; }
@media (max-width: 640px) {
  .workspace-footer .footer-links { flex-direction: column; align-items: flex-start; gap: 12px; }
  .workspace-footer .footer-links a { font-size: 22px; gap: 12px; }
  .workspace-footer .footer-meta { margin-top: 28px; padding-right: 0; padding-bottom: 80px; flex-direction: column; gap: 8px; font-size: 14px; }
  .back-to-top { right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); min-height: 52px; }
}
@media (prefers-reduced-motion: reduce) { .back-to-top { transition: none; } }
