/* Fulltastic UI layer for the client area (theme "fulltastic").
   Plain CSS on top of the theme's compiled Tailwind, so no build step is needed.
   Colours come from the theme tokens (hsl(var(--color-*))) so light and dark mode both work. */

/* ---- Header: the fulltastic.com dark bar ---- */
.ft-header { background: #0D0D11 !important; border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important; }
.ft-navlinks > a, .ft-navlinks .ft-trigger { position: relative; color: #D6D5DB !important; font-size: 15px !important; font-weight: 500 !important; }
.ft-navlinks > a:hover, .ft-navlinks .ft-trigger:hover, .ft-navlinks > a.text-primary { color: #FFFFFF !important; }
.ft-navlinks > a::after { content: ''; position: absolute; left: 12px; right: 12px; bottom: 6px; height: 2px; border-radius: 2px; background: #E30613;
  transform: scaleX(0); transform-origin: left; transition: transform .25s cubic-bezier(.65, 0, .35, 1); }
.ft-navlinks > a:hover::after, .ft-navlinks > a.text-primary::after { transform: scaleX(1); }

/* ---- Buttons: small, uppercase, 6px corners ---- */
.ft-btn { min-height: 44px; border-radius: 6px !important; font-size: 12.5px !important; font-weight: 600 !important; letter-spacing: 0.04em; text-transform: uppercase;
  transition: background-color .15s ease, box-shadow .2s ease, transform .12s ease, border-color .15s ease !important; }
.ft-btn:active:not(:disabled) { transform: translateY(1px) scale(0.985); }
.ft-btn-primary { background: #E30613 !important; color: #FFFFFF !important; border: 0 !important; }
.ft-btn-primary:hover:not(:disabled) { background: #C70511 !important; box-shadow: 0 10px 24px -10px rgba(227, 6, 19, 0.75); }
.ft-btn-secondary { background: transparent !important; color: hsl(var(--color-base)) !important; border: 1px solid hsl(var(--color-base)) !important; }
.ft-btn-secondary:hover:not(:disabled) { background: hsl(var(--color-base) / 0.06) !important; }
.dark .ft-btn-secondary { border-color: rgba(255, 255, 255, 0.4) !important; color: #FFFFFF !important; }

/* ---- Forms ---- */
.ft-ui main :is(input[type=text], input[type=email], input[type=password], input[type=number], input[type=tel], input[type=url], input[type=search], select, textarea) {
  min-height: 48px; border-radius: 8px !important; font-size: 15px; }
.ft-ui main :is(input, select, textarea):focus { outline: 2px solid hsl(var(--color-primary)) !important; outline-offset: 1px; box-shadow: none !important; }
.ft-ui main label { font-weight: 500; }

/* ---- Cards, headings, sidebar ---- */
.ft-ui main .rounded-lg { border-radius: 14px; }
.ft-ui main h1 { letter-spacing: -0.025em; }
#main-aside { background: hsl(var(--color-background)) !important; }
#main-aside a { position: relative; border-radius: 8px; }
#main-aside a.text-primary { background: hsl(var(--color-primary) / 0.07); color: hsl(var(--color-base)) !important; }
#main-aside a.text-primary::before { content: ''; position: absolute; left: -12px; top: 8px; bottom: 8px; width: 3px; border-radius: 3px; background: #E30613; }

/* ---- Eyebrow + section heading, as on fulltastic.com ---- */
.ft-eyebrow { display: flex; align-items: center; gap: 12px; font-size: 15px; color: hsl(var(--color-muted)); }
.ft-eyebrow::before { content: ''; width: 28px; height: 2px; border-radius: 2px; background: #E30613; }
.ft-h2 { margin: 12px 0 0; font-weight: 400; font-size: clamp(30px, 3.6vw, 48px); line-height: 1.08; letter-spacing: -0.035em; }

/* ---- Hero: dark band with blueprint grid and the red -> crimson -> violet glow ---- */
.ft-hero { position: relative; overflow: hidden; isolation: isolate; background: #0D0D11; color: #FFFFFF; }
.ft-hero::before { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 56px 56px; -webkit-mask-image: radial-gradient(60% 90% at 78% 40%, #000, transparent 85%); mask-image: radial-gradient(60% 90% at 78% 40%, #000, transparent 85%); }
.ft-hero::after { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(45% 70% at 88% 30%, rgba(227, 6, 19, 0.42), transparent 70%), radial-gradient(30% 45% at 97% 5%, rgba(196, 18, 107, 0.32), transparent 70%),
              radial-gradient(18% 30% at 100% 0%, rgba(122, 31, 209, 0.25), transparent 70%), radial-gradient(60% 80% at 100% 100%, rgba(142, 4, 16, 0.45), transparent 70%); }
.ft-hero-in { padding-top: clamp(56px, 8vw, 104px); padding-bottom: clamp(56px, 8vw, 104px); }
.ft-hero .ft-eyebrow { color: #D6D5DB; }
.ft-hero h1 { margin: 18px 0 0; max-width: 820px; font-weight: 400; font-size: clamp(38px, 5.2vw, 72px); line-height: 1.03; letter-spacing: -0.035em; color: #FFFFFF; }
.ft-hero-lead { margin: 22px 0 0; max-width: 580px; font-size: 18px; line-height: 1.55; color: #D6D5DB; }
.ft-hero-lead p { margin: 0; }
.ft-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.ft-actions a { display: inline-flex; }
.ft-actions .ft-btn { width: auto !important; padding-left: 22px !important; padding-right: 22px !important; min-height: 48px; }

/* ---- Service cards ---- */
.ft-section { padding-top: clamp(48px, 7vw, 96px); padding-bottom: clamp(48px, 7vw, 96px); }
.ft-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 16px; margin-top: 36px; }
.ft-card { display: flex; flex-direction: column; gap: 12px; padding: 24px; border-radius: 14px; border: 1px solid hsl(var(--color-neutral));
  background: hsl(var(--color-background)); transition: transform .25s cubic-bezier(.2, .7, .2, 1), box-shadow .25s ease, border-color .25s ease; }
.ft-card:hover { transform: translateY(-3px); border-color: hsl(var(--color-primary) / 0.45); box-shadow: 0 18px 40px -22px rgba(13, 13, 17, 0.35); }
.ft-card h3 { margin: 0; font-size: 20px; font-weight: 600; letter-spacing: -0.02em; }
.ft-card img { border-radius: 10px; }
.ft-card .ft-link { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; color: hsl(var(--color-primary)); font-size: 15px; font-weight: 500; }
.ft-empty { margin-top: 36px; padding: 28px; border-radius: 14px; border: 1px dashed hsl(var(--color-neutral)); color: hsl(var(--color-muted)); }

/* ---- Footer: the fulltastic.com dark footer ---- */
.ft-footer { position: relative; overflow: hidden; isolation: isolate; width: 100%; margin-top: clamp(64px, 10vw, 140px); background: #0D0D11; color: #B3B2BA; border-top: 1px solid rgba(255, 255, 255, 0.1); }
.ft-footer-in { padding-top: clamp(48px, 6vw, 72px); padding-bottom: 28px; }
.ft-footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px 48px; padding-bottom: 36px; border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
.ft-footer-brand { max-width: 420px; }
.ft-footer-brand p { margin: 18px 0 0; font-size: 14.5px; line-height: 1.6; }
.ft-footer-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 28px; flex: 1 1 520px; max-width: 760px; }
.ft-footer-cols h4 { margin: 0 0 12px; font-size: 12px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: #FFFFFF; }
.ft-footer-cols a { display: block; padding: 5px 0; font-size: 14.5px; color: #B3B2BA; transition: color .15s ease; }
.ft-footer-cols a:hover { color: #FFFFFF; }
.ft-footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 28px; padding-top: 24px; font-size: 13.5px; }
.ft-footer-mark { position: absolute; z-index: -1; right: -50px; bottom: -140px; width: clamp(180px, 20vw, 300px); opacity: 0.06; pointer-events: none; }

@media (prefers-reduced-motion: reduce) {
  .ft-btn, .ft-card, .ft-navlinks > a::after { transition: none !important; }
  .ft-card:hover { transform: none; }
}

/* Outline button on the dark hero, in both modes */
.ft-hero .ft-btn-secondary { color: #FFFFFF !important; border-color: rgba(255, 255, 255, 0.4) !important; }
.ft-hero .ft-btn-secondary:hover:not(:disabled) { background: rgba(255, 255, 255, 0.08) !important; border-color: #FFFFFF !important; }

/* Footer columns must shrink on phones */
.ft-footer-cols { flex: 1 1 300px; min-width: 0; grid-template-columns: repeat(auto-fit, minmax(min(130px, 100%), 1fr)); }

/* ---- Sign-in screen (UpCloud-style split): no site header/footer ---- */
body:has(.ft-auth) > nav, body:has(.ft-auth) nav.ft-header, body:has(.ft-auth) .ft-footer { display: none !important; }
body:has(.ft-auth) main { margin-top: 0 !important; }
.ft-auth { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); min-height: 100dvh; background: hsl(var(--color-background)); }
.ft-auth-form { display: flex; flex-direction: column; padding: 32px clamp(20px, 5vw, 72px); }
.ft-auth-logo { display: inline-flex; align-self: flex-start; min-height: 44px; align-items: center; }
.ft-auth-box { width: 100%; max-width: 420px; margin: auto; padding: 48px 0; }
.ft-auth-box-wide { max-width: 560px; }
.ft-auth-fields { display: flex; flex-direction: column; gap: 18px; }
.ft-auth-box h1 { margin: 0; font-weight: 400; font-size: clamp(32px, 3.2vw, 44px); line-height: 1.08; letter-spacing: -0.035em; }
.ft-auth-sub { margin: -6px 0 10px; font-size: 16px; color: hsl(var(--color-muted)); }
.ft-auth-sub a, .ft-auth-forgot { color: hsl(var(--color-primary)); font-weight: 500; }
.ft-auth-sub a:hover, .ft-auth-forgot:hover { text-decoration: underline; }
.ft-auth label { font-size: 14px !important; font-weight: 500 !important; color: hsl(var(--color-base)) !important; margin-bottom: 6px !important; }
.ft-auth input[type=email], .ft-auth input[type=password], .ft-auth input[type=text] {
  min-height: 50px; padding: 0 14px !important; font-size: 15px !important; border-radius: 8px !important;
  background: hsl(var(--color-background)) !important; border: 1px solid hsl(var(--color-neutral)) !important; box-shadow: none !important;
  transition: border-color .15s ease, box-shadow .15s ease !important; }
.ft-auth input[type=email]:hover, .ft-auth input[type=password]:hover { border-color: hsl(var(--color-muted)) !important; }
.ft-auth input[type=email]:focus, .ft-auth input[type=password]:focus { outline: none !important; border-color: #E30613 !important; box-shadow: 0 0 0 3px rgba(227, 6, 19, 0.15) !important; }
.ft-auth-pw { position: relative; }
.ft-auth-forgot { position: absolute; top: 0; right: 0; font-size: 14px; line-height: 20px; }
.ft-auth input[type=checkbox] { width: 18px; height: 18px; accent-color: #E30613; }
.ft-auth .ft-btn-primary { min-height: 50px; margin-top: 6px; font-size: 13px !important; }
.ft-auth-or { display: flex; align-items: center; gap: 12px; font-size: 13px; color: hsl(var(--color-muted)); }
.ft-auth-or::before, .ft-auth-or::after { content: ''; flex: 1; height: 1px; background: hsl(var(--color-neutral)); }
.ft-auth-oauth { display: flex; flex-wrap: wrap; gap: 10px; }
.ft-auth-oauth a { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; border: 1px solid hsl(var(--color-neutral)); border-radius: 8px; font-size: 14px; font-weight: 500; }
.ft-auth-foot { display: flex; flex-wrap: wrap; gap: 6px 20px; font-size: 13px; color: hsl(var(--color-muted)); }
.ft-auth-foot a:hover { color: hsl(var(--color-base)); }

.ft-auth-panel .ft-eyebrow { color: #D6D5DB; }
.ft-auth-panel h2 { margin: 16px 0 0; font-weight: 400; font-size: clamp(34px, 3.4vw, 52px); line-height: 1.05; letter-spacing: -0.035em; }
.ft-auth-panel-in > p { margin: 16px 0 0; font-size: 17px; line-height: 1.55; color: #B3B2BA; }
.ft-auth-card { margin-top: 0; padding: 20px; border-radius: 14px; background: rgba(18, 18, 23, 0.72); border: 1px solid rgba(255, 255, 255, 0.12);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.8); }
.ft-auth-card-head { display: flex; align-items: center; gap: 10px; font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 13.5px; }
.ft-auth-dot { width: 8px; height: 8px; border-radius: 50%; background: #2BD47D; box-shadow: 0 0 0 4px rgba(43, 212, 125, 0.18); }
.ft-auth-tag { margin-left: auto; padding: 2px 8px; border-radius: 999px; font-family: 'Instrument Sans', sans-serif; font-size: 11px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: #2BD47D; background: rgba(43, 212, 125, 0.12); }
.ft-auth-bars { display: grid; gap: 10px; margin-top: 18px; }
.ft-auth-bars div { display: grid; grid-template-columns: 64px 1fr 40px; align-items: center; gap: 12px; font-size: 13px; color: #B3B2BA; }
.ft-auth-bars i { position: relative; height: 6px; border-radius: 6px; background: rgba(255, 255, 255, 0.08); overflow: hidden; }
.ft-auth-bars i::after { content: ''; position: absolute; inset: 0 auto 0 0; width: var(--w); border-radius: 6px; background: linear-gradient(90deg, #E30613, #C4126B); }
.ft-auth-bars b { font-family: 'JetBrains Mono', monospace; font-weight: 500; color: #FFFFFF; text-align: right; }
.ft-auth-spark { display: block; width: 100%; height: 56px; margin-top: 16px; }
.ft-auth-points { margin: 32px 0 0; padding: 0; list-style: none; display: grid; gap: 12px; font-size: 15.5px; color: #D6D5DB; }
.ft-auth-points li { display: flex; align-items: center; gap: 12px; }
.ft-auth-points li::before { content: ''; flex: none; width: 20px; height: 20px; border-radius: 50%; background: rgba(227, 6, 19, 0.18)
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FF4B55' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center / 12px no-repeat; }

/* Auth screens: shared extras */
.ft-auth-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 16px; }
.ft-auth-grid > * { min-width: 0; }
.ft-auth-grid .ft-span-2, .ft-auth-grid > div:not(fieldset) { grid-column: 1 / -1; }
@media (max-width: 520px) { .ft-auth-grid { grid-template-columns: 1fr; } }
.ft-auth-inline-link { color: hsl(var(--color-primary)); font-weight: 500; text-decoration: underline; }
.ft-auth-back { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; font-size: 14.5px; font-weight: 500; color: hsl(var(--color-muted)); }
.ft-auth-back:hover { color: hsl(var(--color-base)); }
.ft-auth-icon { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 12px; background: #FDECEC; color: #E30613; }
.dark .ft-auth-icon { background: rgba(227, 6, 19, 0.16); color: #FF4B55; }
.ft-auth-note { margin: 4px 0 -6px; font-size: 14.5px; color: hsl(var(--color-muted)); }
.ft-auth input:disabled { opacity: .7; cursor: not-allowed; background: hsl(var(--color-background-secondary)) !important; }

.ft-auth-otp-form { display: flex; flex-direction: column; gap: 22px; }
.ft-otp { display: flex; align-items: center; gap: 8px; }
.ft-otp-cell { width: 100%; max-width: 56px; height: 60px; flex: 1; text-align: center; font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 22px; font-weight: 500;
  color: hsl(var(--color-base)); background: hsl(var(--color-background)); border: 1px solid hsl(var(--color-neutral)); border-radius: 10px; transition: border-color .15s ease, box-shadow .15s ease; }
.ft-otp-cell:focus { outline: none; border-color: #E30613; box-shadow: 0 0 0 3px rgba(227, 6, 19, 0.15); }
.ft-otp-sep { flex: none; width: 12px; height: 2px; border-radius: 2px; background: hsl(var(--color-neutral)); }

.ft-auth-steps { display: grid; gap: 4px; padding: 14px; }
.ft-auth-steps > div { display: flex; align-items: center; gap: 14px; padding: 10px; border-radius: 10px; font-size: 15px; color: #B3B2BA; }
.ft-auth-steps b { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.18); font-family: 'JetBrains Mono', monospace; font-size: 12.5px; font-weight: 500; color: #D6D5DB; }
.ft-auth-steps .is-done { background: rgba(227, 6, 19, 0.12); color: #FFFFFF; }
.ft-auth-steps .is-done b { border-color: transparent; background: #E30613; color: #FFFFFF; }
.ft-auth-steps em { margin-left: auto; font-style: normal; font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: #FF4B55; }
.ft-auth-lock { display: flex; align-items: center; gap: 16px; }
.ft-auth-lock svg { flex: none; width: 44px; height: 44px; padding: 10px; border-radius: 12px; background: rgba(227, 6, 19, 0.16); color: #FF4B55; }
.ft-auth-lock strong { display: block; font-size: 15.5px; font-weight: 600; }
.ft-auth-lock span { display: block; margin-top: 2px; font-size: 14px; color: #B3B2BA; }

/* ---- Auth photo panel: full-bleed photo, glass card floating on it, copy anchored at the bottom ---- */
.ft-auth-panel { position: relative; overflow: hidden; isolation: isolate; margin: 12px; border-radius: 20px; background: #0D0D11; color: #FFFFFF;
  display: flex; flex-direction: column; justify-content: flex-end; min-height: 0; }
.dark .ft-auth-panel { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08); }
.ft-auth-photo { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: center; max-width: none;
  transform: scale(1.06); animation: ft-kenburns 24s ease-in-out infinite alternate; }
@keyframes ft-kenburns { to { transform: scale(1.14) translate3d(-1.5%, -1%, 0); } }
.ft-auth-panel::before { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, rgba(13, 13, 17, 0.25) 0%, rgba(13, 13, 17, 0.05) 30%, rgba(13, 13, 17, 0.7) 62%, rgba(13, 13, 17, 0.96) 100%),
              radial-gradient(60% 50% at 100% 0%, rgba(122, 31, 209, 0.28), transparent 70%); }
.ft-auth-panel::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; z-index: 1;
  background: linear-gradient(90deg, #E30613, #C4126B 70%, #7A1FD1); }
.ft-auth-panel-logo { display: none; }
.ft-auth-float { position: absolute; top: clamp(28px, 6vh, 64px); right: clamp(24px, 4vw, 56px); width: min(340px, 70%);
  animation: ft-float 7s ease-in-out infinite alternate; }
@keyframes ft-float { to { transform: translate3d(0, -10px, 0); } }
.ft-auth-toast { position: absolute; top: calc(clamp(28px, 6vh, 64px) + 190px); right: clamp(150px, 16vw, 260px); display: flex; align-items: center; gap: 10px;
  padding: 10px 14px; border-radius: 12px; font-size: 13.5px; background: rgba(255, 255, 255, 0.94); color: #0D0D11; box-shadow: 0 20px 40px -18px rgba(0, 0, 0, 0.7);
  animation: ft-float 6s ease-in-out .8s infinite alternate-reverse; }
.ft-auth-toast i { display: inline-flex; width: 24px; height: 24px; border-radius: 50%; background: #E9F9F0; color: #14975A; align-items: center; justify-content: center; font-style: normal; font-weight: 700; }
.ft-auth-toast b { font-weight: 600; }
.ft-auth-card { background: rgba(13, 13, 17, 0.62); border: 1px solid rgba(255, 255, 255, 0.16); -webkit-backdrop-filter: blur(14px) saturate(140%); backdrop-filter: blur(14px) saturate(140%); }
.ft-auth-panel-in { position: relative; width: 100%; max-width: 560px; padding: 0 clamp(28px, 4vw, 56px) clamp(36px, 6vh, 56px); }
.ft-auth-panel .ft-eyebrow { color: #FFFFFF; }
.ft-auth-panel-in > p { color: #D6D5DB; }
.ft-auth-points { margin-top: 24px; }

/* Tablet and phone: the photo becomes a banner above the form */
@media (max-width: 960px) {
  .ft-auth { grid-template-columns: 1fr; grid-template-rows: auto 1fr; }
  .ft-auth-panel { order: -1; min-height: clamp(220px, 42vw, 360px); margin: 10px 10px 0; border-radius: 16px; }
  .ft-auth-panel-logo { display: block; position: absolute; top: 20px; left: 20px; height: 26px; width: auto; }
  .ft-auth-form .ft-auth-logo { display: none; }
  .ft-auth-float, .ft-auth-toast, .ft-auth-points { display: none; }
  .ft-auth-panel-in { padding: 0 20px 24px; }
  .ft-auth-panel h2 { font-size: clamp(28px, 5vw, 40px); margin-top: 10px; }
  .ft-auth-panel-in > p { margin-top: 8px; font-size: 15.5px; }
  .ft-auth-box { padding: 32px 0 40px; }
  .ft-auth-form { padding-top: 8px; padding-bottom: 24px; }
}
@media (max-width: 600px) {
  .ft-auth-panel-in > p { display: none; }
  .ft-auth-panel .ft-eyebrow { font-size: 13.5px; }
}
@media (prefers-reduced-motion: reduce) { .ft-auth-photo, .ft-auth-float, .ft-auth-toast { animation: none; } }
@media (max-width: 960px) { .ft-auth-box { margin: 0 auto; } .ft-auth-foot { margin-top: auto; } }

/* Header is always dark: anything without its own colour (menu button, icons) must be white */
.ft-header { color: #FFFFFF; }
.ft-header button[aria-label="Toggle Menu"] { min-width: 44px; min-height: 44px; color: #FFFFFF; }
.ft-header button[aria-label="Toggle Menu"]:hover { background: rgba(255, 255, 255, 0.1); }
.ft-header select { color: #FFFFFF !important; background-color: #16161C !important; border-color: rgba(255, 255, 255, 0.16) !important; }
.ft-header select option { color: #FFFFFF; background: #16161C; }

/* ---- Product catalogue: compact hero, family tabs, plan table ---- */
.ft-hero-compact { padding-top: clamp(40px, 6vw, 72px); padding-bottom: clamp(32px, 5vw, 56px); }
.ft-crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: #B3B2BA; }
.ft-crumbs a:hover { color: #FFFFFF; }
.ft-crumbs [aria-current] { color: #FFFFFF; }
.ft-hero .ft-hero-lead p { margin: 0; }
.ft-family-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px; }
.ft-family-tabs a { display: flex; flex-direction: column; justify-content: center; min-height: 56px; padding: 8px 18px; border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.16); background: rgba(255, 255, 255, 0.03); color: #D6D5DB; transition: border-color .15s ease, background .15s ease; }
.ft-family-tabs a span { font-size: 15px; font-weight: 600; color: #FFFFFF; }
.ft-family-tabs a small { font-size: 13px; color: #B3B2BA; }
.ft-family-tabs a:hover { border-color: rgba(255, 255, 255, 0.4); }
.ft-family-tabs a.is-on { background: #FFFFFF; border-color: #FFFFFF; }
.ft-family-tabs a.is-on span { color: #0D0D11; }
.ft-family-tabs a.is-on small { color: #545454; }
.ft-from { display: flex; align-items: baseline; gap: 4px; margin-top: 4px; }
.ft-from strong { font-size: 30px; font-weight: 600; letter-spacing: -0.02em; color: hsl(var(--color-primary)); }
.ft-from small { font-size: 14px; color: hsl(var(--color-muted)); }

.ft-plans { border: 1px solid hsl(var(--color-neutral)); border-radius: 14px; overflow: hidden; background: hsl(var(--color-background)); }
.ft-plan { display: grid; grid-template-columns: minmax(80px, 0.8fr) repeat(var(--cols), minmax(0, 1fr)) minmax(110px, 1fr) 128px; align-items: center; gap: 16px;
  padding: 16px 20px; border-top: 1px solid hsl(var(--color-neutral)); transition: background .15s ease; }
.ft-plan:first-child { border-top: 0; }
.ft-plan:not(.ft-plan-head):hover { background: hsl(var(--color-background-secondary)); }
.ft-plan-head { padding-top: 12px; padding-bottom: 12px; background: hsl(var(--color-background-secondary)); font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: hsl(var(--color-muted)); }
.ft-plan .ft-spec { display: contents; }
.ft-plan .ft-spec > div { min-width: 0; }
.ft-plan .ft-spec dt { display: none; }
.ft-plan .ft-spec dd { margin: 0; font-size: 15.5px; font-weight: 500; }
.ft-plan .ft-spec dd small { display: block; font-size: 12.5px; font-weight: 400; color: hsl(var(--color-muted)); }
.ft-plan-name { font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 16px; font-weight: 500; }
.ft-plan-name:hover { color: hsl(var(--color-primary)); }
.ft-plan-price { text-align: right; }
.ft-plan-price strong { font-size: 20px; font-weight: 600; letter-spacing: -0.01em; }
.ft-plan-price small { font-size: 13px; color: hsl(var(--color-muted)); }
.ft-plan-cta .ft-btn { min-height: 40px; }
.ft-plans-note { margin-top: 14px; font-size: 13.5px; color: hsl(var(--color-muted)); }

@media (max-width: 900px) {
  .ft-plans { border: 0; background: none; display: grid; gap: 12px; overflow: visible; }
  .ft-plan-head { display: none; }
  .ft-plan { grid-template-columns: 1fr auto; gap: 14px 12px; padding: 18px; border: 1px solid hsl(var(--color-neutral)); border-radius: 14px; background: hsl(var(--color-background)); }
  .ft-plan:first-child { border-top: 1px solid hsl(var(--color-neutral)); }
  .ft-plan .ft-spec { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 12px; order: 2; }
  .ft-plan .ft-spec dt { display: block; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: hsl(var(--color-muted)); }
  .ft-plan-name { order: 0; font-size: 18px; }
  .ft-plan-price { order: 1; }
  .ft-plan-cta { grid-column: 1 / -1; order: 3; }
}

/* Spec list outside the plan table (product and checkout pages): a row of tiles */
.ft-ui div:has(> article > .ft-spec) { max-height: none !important; overflow: visible !important; }
.ft-ui article:has(> .ft-spec) { max-width: none !important; }
.ft-ui .prose .ft-spec, .ft-ui article .ft-spec { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 10px; margin: 0; }
.ft-ui article .ft-spec > div { padding: 14px 16px; border: 1px solid hsl(var(--color-neutral)); border-radius: 12px; background: hsl(var(--color-background)); }
.ft-ui article .ft-spec dt { margin: 0; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: hsl(var(--color-muted)); }
.ft-ui article .ft-spec dd { margin: 4px 0 0; padding: 0; font-size: 20px; font-weight: 600; letter-spacing: -0.01em; color: hsl(var(--color-base)); }
.ft-ui article .ft-spec dd small { display: block; font-size: 12.5px; font-weight: 400; letter-spacing: 0; color: hsl(var(--color-muted)); }

/* Guest homepage: locked catalogue prompt */
.ft-locked { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 24px 32px; padding: clamp(24px, 4vw, 40px); border-radius: 18px;
  border: 1px solid hsl(var(--color-neutral)); background: hsl(var(--color-background-secondary)); }
.ft-locked .ft-h2 { font-size: clamp(26px, 2.8vw, 38px); margin-top: 8px; }
.ft-locked p { margin: 10px 0 0; font-size: 16px; color: hsl(var(--color-muted)); }
.ft-locked .ft-actions .ft-btn { width: auto !important; }
@media (max-width: 860px) { .ft-locked { grid-template-columns: 1fr; } }

/* ---- Configure / checkout (mirrors fulltastic.com/configure) ---- */
.ft-cfg { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 380px); gap: 28px; align-items: start; }
.ft-cfg-steps { display: grid; gap: 16px; min-width: 0; }
.ft-step { padding: clamp(20px, 2.4vw, 28px); border: 1px solid hsl(var(--color-neutral)); border-radius: 14px; background: hsl(var(--color-background)); }
.ft-step > header { display: flex; gap: 14px; margin-bottom: 20px; }
.ft-step > header b { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 50%;
  background: #0D0D11; color: #FFFFFF; font-size: 13px; font-weight: 600; }
.dark .ft-step > header b { background: #FFFFFF; color: #0D0D11; }
.ft-step h2 { margin: 2px 0 0; font-size: 19px; font-weight: 600; letter-spacing: -0.015em; }
.ft-step header p { margin: 4px 0 0; font-size: 14.5px; line-height: 1.5; color: hsl(var(--color-muted)); }
.ft-step header p p { margin: 0; }

.ft-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.ft-chips + .ft-plan-grid, .ft-plan-grid + .ft-chips { margin-top: 16px; }
.ft-chip { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: 8px; cursor: pointer;
  border: 1px solid hsl(var(--color-neutral)); background: hsl(var(--color-background)); font-size: 14.5px; font-weight: 500; transition: border-color .15s ease, background .15s ease; }
.ft-chip:hover { border-color: hsl(var(--color-muted)); }
.ft-chip small { font-size: 12.5px; color: hsl(var(--color-muted)); }
.ft-chip.is-on, .ft-chip:has(input:checked) { border-color: #0D0D11; background: #0D0D11; color: #FFFFFF; }
.ft-chip.is-on small, .ft-chip:has(input:checked) small { color: #D6D5DB; }
.dark .ft-chip.is-on, .dark .ft-chip:has(input:checked) { border-color: #FFFFFF; background: #FFFFFF; color: #0D0D11; }
.ft-chip:has(input:focus-visible) { outline: 2px solid #E30613; outline-offset: 2px; }
.ft-chip-mono { font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 13.5px; }

.ft-plan-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(190px, 100%), 1fr)); gap: 10px; }
.ft-plan-card { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 16px; border-radius: 12px; border: 1px solid hsl(var(--color-neutral));
  background: hsl(var(--color-background)); transition: border-color .15s ease, box-shadow .15s ease; }
.ft-plan-card:hover { border-color: hsl(var(--color-muted)); }
.ft-plan-card.is-on { border: 2px solid #E30613; padding: 15px; background: #FFF7F7; box-shadow: 0 10px 24px -16px rgba(227, 6, 19, 0.6); }
.dark .ft-plan-card.is-on { background: rgba(227, 6, 19, 0.08); }
.ft-plan-card-top { display: flex; align-items: center; justify-content: space-between; }
.ft-plan-card-top strong { font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 15px; font-weight: 500; }
.ft-plan-card-top i { width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid hsl(var(--color-neutral)); }
.ft-plan-card.is-on .ft-plan-card-top i { border: 0; background: #E30613 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center / 12px no-repeat; }
.ft-plan-card-price { font-size: 22px; font-weight: 600; letter-spacing: -0.02em; color: hsl(var(--color-primary)); }
.ft-plan-card-price small { margin-left: 2px; font-size: 13px; font-weight: 400; color: hsl(var(--color-muted)); }
.ft-plan-card-specs { display: grid; gap: 2px; font-size: 13px; color: hsl(var(--color-muted)); }

.ft-addon { display: flex; align-items: center; gap: 14px; min-height: 56px; padding: 14px 16px; border-radius: 12px; cursor: pointer; border: 1px solid hsl(var(--color-neutral)); }
.ft-addon.is-on, .ft-addon:has(input:checked) { border: 2px solid #E30613; padding: 13px 15px; }
.ft-addon input { width: 18px; height: 18px; accent-color: #E30613; }
.ft-addon span { flex: 1; font-size: 15px; }
.ft-addon em { font-style: normal; font-size: 14px; font-weight: 600; white-space: nowrap; }
.ft-fields { display: grid; gap: 16px; }
.ft-err { margin-top: 8px; font-size: 13.5px; color: #C4040F; }

.ft-summary { position: sticky; top: 88px; display: grid; gap: 12px; }
.ft-summary-card { padding: 24px; border-radius: 16px; background: #0D0D11; color: #FFFFFF; border: 1px solid rgba(255, 255, 255, 0.08); box-shadow: 0 30px 60px -36px rgba(13, 13, 17, 0.7); }
.ft-summary-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.ft-summary-head h2 { margin: 0; font-size: 18px; font-weight: 600; }
.ft-summary-head span { padding: 3px 10px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.2); font-size: 12px; color: #D6D5DB; }
.ft-summary-lines { margin: 18px 0 0; display: grid; }
.ft-summary-lines > div { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; padding: 14px 0; border-top: 1px solid rgba(255, 255, 255, 0.1); }
.ft-summary-lines dt { grid-column: 1 / -1; font-size: 11.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #8F8E98; }
.ft-summary-lines dd { margin: 0; }
.ft-summary-lines dd strong { display: block; font-size: 15px; font-weight: 500; }
.ft-summary-lines dd small { display: block; margin-top: 2px; font-size: 12.5px; color: #B3B2BA; }
.ft-summary-lines .ft-amt { align-self: start; font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 14px; color: #D6D5DB; text-align: right; }
.ft-summary-totals { display: grid; gap: 8px; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, 0.1); font-size: 14px; color: #B3B2BA; }
.ft-summary-totals > div { display: flex; justify-content: space-between; gap: 12px; }
.ft-summary-total { align-items: baseline; padding-top: 4px; color: #FFFFFF; }
.ft-summary-total span { font-size: 15px; font-weight: 500; }
.ft-summary-total strong { font-size: 32px; font-weight: 600; letter-spacing: -0.025em; }
.ft-summary-cta { width: 100%; margin-top: 20px; min-height: 52px !important; justify-content: center; display: inline-flex; align-items: center; }
.ft-summary-sold { margin-top: 18px; font-size: 14px; color: #FF4B55; }
.ft-summary-notes { margin: 18px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; font-size: 13.5px; color: #B3B2BA; }
.ft-summary-notes li { display: flex; gap: 10px; align-items: center; }
.ft-summary-notes li::before { content: ''; flex: none; width: 16px; height: 16px; border-radius: 50%; background: rgba(43, 212, 125, 0.15)
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232BD47D' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center / 10px no-repeat; }
.ft-summary-help { display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 12px 16px; border-radius: 12px; border: 1px solid hsl(var(--color-neutral)); font-size: 14px; color: hsl(var(--color-muted)); }
.ft-summary-help span { color: hsl(var(--color-primary)); font-weight: 500; }
.ft-summary-help svg { color: hsl(var(--color-primary)); }

@media (max-width: 1000px) {
  .ft-cfg { grid-template-columns: 1fr; }
  .ft-summary { position: static; }
}

/* Location cards with flags, grouped by region (OVH style) */
.ft-regions { display: grid; gap: 18px; }
.ft-region h3 { margin: 0 0 10px; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: hsl(var(--color-muted)); }
.ft-loc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(240px, 100%), 1fr)); gap: 10px; }
.ft-loc { position: relative; display: flex; align-items: center; gap: 14px; min-height: 72px; padding: 14px 16px; border-radius: 12px; cursor: pointer;
  border: 1px solid hsl(var(--color-neutral)); background: hsl(var(--color-background)); transition: border-color .15s ease, box-shadow .15s ease; }
.ft-loc:hover { border-color: hsl(var(--color-muted)); }
.ft-loc img { flex: none; width: 36px; height: 27px; border-radius: 4px; object-fit: cover; box-shadow: 0 0 0 1px rgba(13, 13, 17, 0.08); }
.ft-loc span { flex: 1; min-width: 0; display: grid; }
.ft-loc strong { font-size: 15.5px; font-weight: 600; }
.ft-loc small { font-size: 13px; color: hsl(var(--color-muted)); }
.ft-loc code { font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 11.5px; color: hsl(var(--color-muted)); }
.ft-loc i { flex: none; width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid hsl(var(--color-neutral)); }
.ft-loc.is-on, .ft-loc:has(input:checked) { border: 2px solid #E30613; padding: 13px 15px; background: #FFF7F7; box-shadow: 0 10px 24px -16px rgba(227, 6, 19, 0.6); }
.dark .ft-loc.is-on, .dark .ft-loc:has(input:checked) { background: rgba(227, 6, 19, 0.08); }
.ft-loc.is-on i, .ft-loc:has(input:checked) i { border: 0; background: #E30613 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center / 12px no-repeat; }
.ft-loc:has(input:focus-visible) { outline: 2px solid #E30613; outline-offset: 2px; }
.ft-sum-loc { display: flex !important; align-items: center; gap: 8px; }
.ft-sum-loc img { width: 20px; height: 15px; border-radius: 2px; }

/* Billing period cards (Hostinger style) */
.ft-periods { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(150px, 100%), 1fr)); gap: 10px; }
.ft-period { position: relative; display: flex; flex-direction: column; gap: 4px; padding: 16px; border-radius: 12px; cursor: pointer;
  border: 1px solid hsl(var(--color-neutral)); background: hsl(var(--color-background)); transition: border-color .15s ease; }
.ft-period:hover { border-color: hsl(var(--color-muted)); }
.ft-period.is-on, .ft-period:has(input:checked) { border: 2px solid #E30613; padding: 15px; background: #FFF7F7; }
.dark .ft-period.is-on, .dark .ft-period:has(input:checked) { background: rgba(227, 6, 19, 0.08); }
.ft-period:has(input:focus-visible) { outline: 2px solid #E30613; outline-offset: 2px; }
.ft-period-name { font-size: 15px; font-weight: 600; }
.ft-period-save { position: absolute; top: -10px; right: 12px; padding: 2px 8px; border-radius: 999px; background: #E30613; color: #FFFFFF; font-size: 11.5px; font-weight: 700; letter-spacing: .02em; }
.ft-period-pm { margin-top: 4px; font-size: 22px; font-weight: 600; letter-spacing: -0.02em; }
.ft-period-pm small { font-size: 13px; font-weight: 400; color: hsl(var(--color-muted)); }
.ft-period-total { font-size: 12.5px; color: hsl(var(--color-muted)); }

/* Phone checkout bar */
.ft-mbar { display: none; }
@media (max-width: 1000px) {
  body:has(.ft-mbar) .ft-footer { padding-bottom: 84px; }
  .ft-mbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: flex; align-items: center; justify-content: space-between; gap: 16px;
    padding: 12px clamp(16px, 4vw, 32px) calc(12px + env(safe-area-inset-bottom)); background: #0D0D11; color: #FFFFFF; border-top: 1px solid rgba(255, 255, 255, 0.1); }
  .ft-mbar div { display: grid; }
  .ft-mbar small { font-size: 12px; color: #B3B2BA; }
  .ft-mbar strong { font-size: 22px; font-weight: 600; letter-spacing: -0.02em; }
  .ft-mbar .ft-btn { width: auto; min-height: 48px; padding: 0 24px; }
  .ft-plan-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Regions side by side; billing periods on one row when there is room */
.ft-regions { grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); align-items: start; }
.ft-region .ft-loc-grid { grid-template-columns: 1fr; }
.ft-periods { grid-template-columns: repeat(auto-fit, minmax(min(118px, 100%), 1fr)); padding-top: 8px; }
.ft-period { padding: 14px 12px; }
.ft-period.is-on, .ft-period:has(input:checked) { padding: 13px 11px; }
.ft-period-pm { font-size: 20px; }
@media (max-width: 600px) { .ft-periods { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
